From ad0cdb0eff491fde023e4a4c6cac32ccd7f85592 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 7 Feb 2023 23:08:58 +0000 Subject: [PATCH 1/2] 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== --- .../v1alpha/AnalyticsAdminServiceGrpc.java | 10422 ---------------- .../v1beta/AnalyticsAdminServiceGrpc.java | 6139 --------- .../AccessDimensionHeaderOrBuilder.java | 50 - .../v1alpha/AccessMetricHeaderOrBuilder.java | 50 - .../v1alpha/AccessMetricValueOrBuilder.java | 50 - .../v1alpha/AccessQuotaStatusOrBuilder.java | 51 - .../admin/v1alpha/AccessReportProto.java | 393 - ...geUserDataCollectionResponseOrBuilder.java | 24 - .../admin/v1alpha/AnalyticsAdminProto.java | 2150 ---- ...Video360AdvertiserLinkProposalRequest.java | 712 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkProposalResponse.java | 829 -- ...vertiserLinkProposalResponseOrBuilder.java | 71 - .../ArchiveAudienceRequestOrBuilder.java | 54 - ...rchiveCustomDimensionRequestOrBuilder.java | 56 - .../ArchiveCustomMetricRequestOrBuilder.java | 56 - .../admin/v1alpha/AudienceOrBuilder.java | 278 - .../admin/v1alpha/AudienceProto.java | 394 - .../AudienceSequenceFilterOrBuilder.java | 168 - .../AudienceSimpleFilterOrBuilder.java | 96 - .../BatchCreateUserLinksRequestOrBuilder.java | 142 - ...Video360AdvertiserLinkProposalRequest.java | 709 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - .../CreateAudienceRequestOrBuilder.java | 95 - ...CreateConversionEventRequestOrBuilder.java | 97 - ...CreateCustomDimensionRequestOrBuilder.java | 95 - .../CreateCustomMetricRequestOrBuilder.java | 95 - .../CreateDataStreamRequestOrBuilder.java | 95 - ...Video360AdvertiserLinkProposalRequest.java | 1017 -- ...dvertiserLinkProposalRequestOrBuilder.java | 97 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 97 - .../CreateFirebaseLinkRequestOrBuilder.java | 97 - .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 - ...urementProtocolSecretRequestOrBuilder.java | 98 - .../CreatePropertyRequestOrBuilder.java | 69 - .../CreateUserLinkRequestOrBuilder.java | 109 - .../DeleteAccountRequestOrBuilder.java | 58 - ...DeleteConversionEventRequestOrBuilder.java | 58 - .../DeleteDataStreamRequestOrBuilder.java | 56 - ...Video360AdvertiserLinkProposalRequest.java | 709 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 - .../DeleteFirebaseLinkRequestOrBuilder.java | 56 - .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 - ...urementProtocolSecretRequestOrBuilder.java | 58 - .../DeletePropertyRequestOrBuilder.java | 58 - .../DeleteUserLinkRequestOrBuilder.java | 54 - .../v1alpha/GetAccountRequestOrBuilder.java | 58 - ...etAttributionSettingsRequestOrBuilder.java | 56 - .../v1alpha/GetAudienceRequestOrBuilder.java | 56 - .../GetConversionEventRequestOrBuilder.java | 58 - .../GetCustomDimensionRequestOrBuilder.java | 56 - .../GetCustomMetricRequestOrBuilder.java | 56 - ...DataRetentionSettingsRequestOrBuilder.java | 60 - ...etDataSharingSettingsRequestOrBuilder.java | 58 - .../GetDataStreamRequestOrBuilder.java | 56 - ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 - ...GoogleSignalsSettingsRequestOrBuilder.java | 56 - ...urementProtocolSecretRequestOrBuilder.java | 58 - .../v1alpha/GetPropertyRequestOrBuilder.java | 58 - .../v1alpha/GetUserLinkRequestOrBuilder.java | 54 - ...ertiserLinkProposalsResponseOrBuilder.java | 119 - ...ovisionAccountTicketResponseOrBuilder.java | 50 - .../admin/v1alpha/ResourcesProto.java | 800 -- .../UpdateAccountRequestOrBuilder.java | 113 - ...teAttributionSettingsRequestOrBuilder.java | 113 - .../UpdateAudienceRequestOrBuilder.java | 113 - ...DataRetentionSettingsRequestOrBuilder.java | 114 - ...GoogleSignalsSettingsRequestOrBuilder.java | 114 - .../UpdateUserLinkRequestOrBuilder.java | 66 - ...geUserDataCollectionResponseOrBuilder.java | 24 - .../admin/v1beta/AnalyticsAdminProto.java | 1256 -- ...rchiveCustomDimensionRequestOrBuilder.java | 56 - .../ArchiveCustomMetricRequestOrBuilder.java | 56 - ...CreateConversionEventRequestOrBuilder.java | 97 - ...CreateCustomDimensionRequestOrBuilder.java | 95 - .../CreateCustomMetricRequestOrBuilder.java | 95 - .../CreateDataStreamRequestOrBuilder.java | 95 - .../CreateFirebaseLinkRequestOrBuilder.java | 97 - .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 - ...urementProtocolSecretRequestOrBuilder.java | 98 - .../CreatePropertyRequestOrBuilder.java | 69 - .../v1beta/DeleteAccountRequestOrBuilder.java | 58 - ...DeleteConversionEventRequestOrBuilder.java | 58 - .../DeleteDataStreamRequestOrBuilder.java | 56 - .../DeleteFirebaseLinkRequestOrBuilder.java | 56 - .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 - ...urementProtocolSecretRequestOrBuilder.java | 58 - .../DeletePropertyRequestOrBuilder.java | 58 - .../v1beta/GetAccountRequestOrBuilder.java | 58 - .../GetConversionEventRequestOrBuilder.java | 58 - .../GetCustomDimensionRequestOrBuilder.java | 56 - .../GetCustomMetricRequestOrBuilder.java | 56 - ...DataRetentionSettingsRequestOrBuilder.java | 60 - ...etDataSharingSettingsRequestOrBuilder.java | 58 - .../v1beta/GetDataStreamRequestOrBuilder.java | 56 - ...urementProtocolSecretRequestOrBuilder.java | 58 - .../v1beta/GetPropertyRequestOrBuilder.java | 58 - ...ovisionAccountTicketResponseOrBuilder.java | 50 - .../admin/v1beta/ResourcesProto.java | 558 - .../v1alpha/AnalyticsAdminServiceClient.java | 1540 ++- .../AnalyticsAdminServiceSettings.java | 130 + .../admin/v1alpha/gapic_metadata.json | 27 + .../analytics/admin/v1alpha/package-info.java | 0 .../stub/AnalyticsAdminServiceStub.java | 74 + .../AnalyticsAdminServiceStubSettings.java | 538 +- ...cAnalyticsAdminServiceCallableFactory.java | 0 .../stub/GrpcAnalyticsAdminServiceStub.java | 370 + ...nAnalyticsAdminServiceCallableFactory.java | 0 .../HttpJsonAnalyticsAdminServiceStub.java | 578 + ...alyticsAdminServiceClientHttpJsonTest.java | 758 ++ .../AnalyticsAdminServiceClientTest.java | 663 + .../v1alpha/MockAnalyticsAdminService.java | 0 .../MockAnalyticsAdminServiceImpl.java | 193 + .../v1alpha/AnalyticsAdminServiceGrpc.java | 8069 ++++++++++++ .../admin/v1alpha/AccessBetweenFilter.java | 447 +- .../v1alpha/AccessBetweenFilterOrBuilder.java | 34 +- .../admin/v1alpha/AccessDateRange.java | 397 +- .../v1alpha/AccessDateRangeOrBuilder.java | 36 +- .../admin/v1alpha/AccessDimension.java | 325 +- .../admin/v1alpha/AccessDimensionHeader.java | 328 +- .../AccessDimensionHeaderOrBuilder.java | 29 + .../v1alpha/AccessDimensionOrBuilder.java | 27 +- .../admin/v1alpha/AccessDimensionValue.java | 328 +- .../AccessDimensionValueOrBuilder.java | 27 +- .../analytics/admin/v1alpha/AccessFilter.java | 767 +- .../admin/v1alpha/AccessFilterExpression.java | 742 +- .../v1alpha/AccessFilterExpressionList.java | 438 +- .../AccessFilterExpressionListOrBuilder.java | 33 +- .../AccessFilterExpressionOrBuilder.java | 53 +- .../admin/v1alpha/AccessFilterOrBuilder.java | 59 +- .../admin/v1alpha/AccessInListFilter.java | 396 +- .../v1alpha/AccessInListFilterOrBuilder.java | 39 +- .../analytics/admin/v1alpha/AccessMetric.java | 321 +- .../admin/v1alpha/AccessMetricHeader.java | 328 +- .../v1alpha/AccessMetricHeaderOrBuilder.java | 29 + .../admin/v1alpha/AccessMetricOrBuilder.java | 27 +- .../admin/v1alpha/AccessMetricValue.java | 325 +- .../v1alpha/AccessMetricValueOrBuilder.java | 29 + .../admin/v1alpha/AccessNumericFilter.java | 508 +- .../v1alpha/AccessNumericFilterOrBuilder.java | 32 +- .../admin/v1alpha/AccessOrderBy.java | 1461 +-- .../admin/v1alpha/AccessOrderByOrBuilder.java | 40 +- .../analytics/admin/v1alpha/AccessQuota.java | 1037 +- .../admin/v1alpha/AccessQuotaOrBuilder.java | 110 +- .../admin/v1alpha/AccessQuotaStatus.java | 322 +- .../v1alpha/AccessQuotaStatusOrBuilder.java | 29 + .../admin/v1alpha/AccessReportProto.java | 350 + .../analytics/admin/v1alpha/AccessRow.java | 642 +- .../admin/v1alpha/AccessRowOrBuilder.java | 66 +- .../admin/v1alpha/AccessStringFilter.java | 529 +- .../v1alpha/AccessStringFilterOrBuilder.java | 36 +- .../analytics/admin/v1alpha/Account.java | 768 +- .../analytics/admin/v1alpha/AccountName.java | 0 .../admin/v1alpha/AccountOrBuilder.java | 82 +- .../admin/v1alpha/AccountSummary.java | 624 +- .../v1alpha/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 505 +- ...dgeUserDataCollectionRequestOrBuilder.java | 52 +- ...AcknowledgeUserDataCollectionResponse.java | 303 +- ...geUserDataCollectionResponseOrBuilder.java | 9 + .../analytics/admin/v1alpha/ActionType.java | 89 +- .../analytics/admin/v1alpha/ActorType.java | 89 +- .../admin/v1alpha/AnalyticsAdminProto.java | 2248 ++++ ...Video360AdvertiserLinkProposalRequest.java | 587 + ...dvertiserLinkProposalRequestOrBuilder.java | 31 + ...ideo360AdvertiserLinkProposalResponse.java | 657 + ...vertiserLinkProposalResponseOrBuilder.java | 39 + .../admin/v1alpha/ArchiveAudienceRequest.java | 356 +- .../ArchiveAudienceRequestOrBuilder.java | 29 + .../ArchiveCustomDimensionRequest.java | 379 +- ...rchiveCustomDimensionRequestOrBuilder.java | 31 + .../v1alpha/ArchiveCustomMetricRequest.java | 366 +- .../ArchiveCustomMetricRequestOrBuilder.java | 31 + .../admin/v1alpha/AttributionSettings.java | 1016 +- .../v1alpha/AttributionSettingsName.java | 0 .../v1alpha/AttributionSettingsOrBuilder.java | 102 +- .../analytics/admin/v1alpha/Audience.java | 1345 +- .../AudienceDimensionOrMetricFilter.java | 4768 +++---- ...ienceDimensionOrMetricFilterOrBuilder.java | 152 +- .../admin/v1alpha/AudienceEventFilter.java | 586 +- .../v1alpha/AudienceEventFilterOrBuilder.java | 70 +- .../admin/v1alpha/AudienceEventTrigger.java | 497 +- .../AudienceEventTriggerOrBuilder.java | 41 +- .../admin/v1alpha/AudienceFilterClause.java | 678 +- .../AudienceFilterClauseOrBuilder.java | 48 +- .../v1alpha/AudienceFilterExpression.java | 927 +- .../v1alpha/AudienceFilterExpressionList.java | 560 +- ...AudienceFilterExpressionListOrBuilder.java | 51 +- .../AudienceFilterExpressionOrBuilder.java | 73 +- .../admin/v1alpha/AudienceFilterScope.java | 84 +- .../analytics/admin/v1alpha/AudienceName.java | 0 .../admin/v1alpha/AudienceOrBuilder.java | 195 + .../admin/v1alpha/AudienceProto.java | 333 + .../admin/v1alpha/AudienceSequenceFilter.java | 1956 +-- .../AudienceSequenceFilterOrBuilder.java | 104 + .../admin/v1alpha/AudienceSimpleFilter.java | 547 +- .../AudienceSimpleFilterOrBuilder.java | 58 + .../admin/v1alpha/AuditUserLink.java | 602 +- .../admin/v1alpha/AuditUserLinkOrBuilder.java | 72 +- .../admin/v1alpha/AuditUserLinksRequest.java | 461 +- .../AuditUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/AuditUserLinksResponse.java | 484 +- .../AuditUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/BatchCreateUserLinksRequest.java | 721 +- .../BatchCreateUserLinksRequestOrBuilder.java | 96 + .../v1alpha/BatchCreateUserLinksResponse.java | 440 +- ...BatchCreateUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchDeleteUserLinksRequest.java | 631 +- .../BatchDeleteUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchGetUserLinksRequest.java | 512 +- .../BatchGetUserLinksRequestOrBuilder.java | 69 +- .../v1alpha/BatchGetUserLinksResponse.java | 427 +- .../BatchGetUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchUpdateUserLinksRequest.java | 631 +- .../BatchUpdateUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchUpdateUserLinksResponse.java | 440 +- ...BatchUpdateUserLinksResponseOrBuilder.java | 36 +- .../analytics/admin/v1alpha/BigQueryLink.java | 1784 +++ .../admin/v1alpha/BigQueryLinkName.java | 192 + .../admin/v1alpha/BigQueryLinkOrBuilder.java | 215 + ...Video360AdvertiserLinkProposalRequest.java | 587 + ...dvertiserLinkProposalRequestOrBuilder.java | 31 + .../admin/v1alpha/ChangeHistoryChange.java | 4078 +++--- .../v1alpha/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1alpha/ChangeHistoryEvent.java | 730 +- .../v1alpha/ChangeHistoryEventOrBuilder.java | 71 +- .../v1alpha/ChangeHistoryResourceType.java | 200 +- .../admin/v1alpha/ConversionEvent.java | 655 +- .../admin/v1alpha/ConversionEventName.java | 0 .../v1alpha/ConversionEventOrBuilder.java | 72 +- .../admin/v1alpha/CreateAudienceRequest.java | 498 +- .../CreateAudienceRequestOrBuilder.java | 56 + .../v1alpha/CreateConversionEventRequest.java | 554 +- ...CreateConversionEventRequestOrBuilder.java | 58 + .../v1alpha/CreateCustomDimensionRequest.java | 526 +- ...CreateCustomDimensionRequestOrBuilder.java | 56 + .../v1alpha/CreateCustomMetricRequest.java | 510 +- .../CreateCustomMetricRequestOrBuilder.java | 56 + .../v1alpha/CreateDataStreamRequest.java | 498 +- .../CreateDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 809 ++ ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...eDisplayVideo360AdvertiserLinkRequest.java | 647 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + .../v1alpha/CreateFirebaseLinkRequest.java | 510 +- .../CreateFirebaseLinkRequestOrBuilder.java | 58 + .../v1alpha/CreateGoogleAdsLinkRequest.java | 510 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 56 + ...reateMeasurementProtocolSecretRequest.java | 584 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1alpha/CreatePropertyRequest.java | 401 +- .../CreatePropertyRequestOrBuilder.java | 39 + .../CreateSearchAds360LinkRequest.java | 809 ++ ...reateSearchAds360LinkRequestOrBuilder.java | 56 + .../admin/v1alpha/CreateUserLinkRequest.java | 550 +- .../CreateUserLinkRequestOrBuilder.java | 67 + .../admin/v1alpha/CustomDimension.java | 837 +- .../admin/v1alpha/CustomDimensionName.java | 0 .../v1alpha/CustomDimensionOrBuilder.java | 97 +- .../analytics/admin/v1alpha/CustomMetric.java | 1322 +- .../admin/v1alpha/CustomMetricName.java | 0 .../admin/v1alpha/CustomMetricOrBuilder.java | 164 +- .../admin/v1alpha/DataRetentionSettings.java | 553 +- .../v1alpha/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 47 +- .../admin/v1alpha/DataSharingSettings.java | 524 +- .../v1alpha/DataSharingSettingsName.java | 0 .../v1alpha/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1alpha/DataStream.java | 2703 ++-- .../admin/v1alpha/DataStreamName.java | 0 .../admin/v1alpha/DataStreamOrBuilder.java | 135 +- .../admin/v1alpha/DeleteAccountRequest.java | 356 +- .../DeleteAccountRequestOrBuilder.java | 33 + .../v1alpha/DeleteConversionEventRequest.java | 379 +- ...DeleteConversionEventRequestOrBuilder.java | 33 + .../v1alpha/DeleteDataStreamRequest.java | 356 +- .../DeleteDataStreamRequestOrBuilder.java | 31 + ...Video360AdvertiserLinkProposalRequest.java | 587 + ...dvertiserLinkProposalRequestOrBuilder.java | 31 + ...eDisplayVideo360AdvertiserLinkRequest.java | 466 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 + .../v1alpha/DeleteFirebaseLinkRequest.java | 366 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 31 + .../v1alpha/DeleteGoogleAdsLinkRequest.java | 366 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 29 + ...eleteMeasurementProtocolSecretRequest.java | 412 +- ...urementProtocolSecretRequestOrBuilder.java | 33 + .../admin/v1alpha/DeletePropertyRequest.java | 356 +- .../DeletePropertyRequestOrBuilder.java | 33 + .../DeleteSearchAds360LinkRequest.java | 587 + ...eleteSearchAds360LinkRequestOrBuilder.java | 31 + .../admin/v1alpha/DeleteUserLinkRequest.java | 356 +- .../DeleteUserLinkRequestOrBuilder.java | 29 + .../DisplayVideo360AdvertiserLink.java | 1143 +- .../DisplayVideo360AdvertiserLinkName.java | 0 ...isplayVideo360AdvertiserLinkOrBuilder.java | 157 +- ...DisplayVideo360AdvertiserLinkProposal.java | 1325 +- ...layVideo360AdvertiserLinkProposalName.java | 0 ...deo360AdvertiserLinkProposalOrBuilder.java | 169 +- .../admin/v1alpha/ExpandedDataSet.java | 1971 +++ .../admin/v1alpha/ExpandedDataSetFilter.java | 2984 +++++ .../ExpandedDataSetFilterExpression.java | 1330 ++ .../ExpandedDataSetFilterExpressionList.java | 862 ++ ...dDataSetFilterExpressionListOrBuilder.java | 53 + ...andedDataSetFilterExpressionOrBuilder.java | 110 + .../ExpandedDataSetFilterOrBuilder.java | 88 + .../v1alpha/ExpandedDataSetOrBuilder.java | 244 + .../admin/v1alpha/ExpandedDataSetProto.java | 156 + ...utomatedGa4ConfigurationOptOutRequest.java | 601 + ...a4ConfigurationOptOutRequestOrBuilder.java | 35 + ...tomatedGa4ConfigurationOptOutResponse.java | 501 + ...4ConfigurationOptOutResponseOrBuilder.java | 19 + .../analytics/admin/v1alpha/FirebaseLink.java | 569 +- .../admin/v1alpha/FirebaseLinkName.java | 0 .../admin/v1alpha/FirebaseLinkOrBuilder.java | 65 +- .../admin/v1alpha/GetAccountRequest.java | 353 +- .../v1alpha/GetAccountRequestOrBuilder.java | 33 + .../GetAttributionSettingsRequest.java | 379 +- ...etAttributionSettingsRequestOrBuilder.java | 31 + .../admin/v1alpha/GetAudienceRequest.java | 356 +- .../v1alpha/GetAudienceRequestOrBuilder.java | 31 + .../admin/v1alpha/GetBigQueryLinkRequest.java | 594 + .../GetBigQueryLinkRequestOrBuilder.java | 33 + .../v1alpha/GetConversionEventRequest.java | 366 +- .../GetConversionEventRequestOrBuilder.java | 33 + .../v1alpha/GetCustomDimensionRequest.java | 366 +- .../GetCustomDimensionRequestOrBuilder.java | 31 + .../admin/v1alpha/GetCustomMetricRequest.java | 356 +- .../GetCustomMetricRequestOrBuilder.java | 31 + .../GetDataRetentionSettingsRequest.java | 394 +- ...DataRetentionSettingsRequestOrBuilder.java | 35 + .../GetDataSharingSettingsRequest.java | 379 +- ...etDataSharingSettingsRequestOrBuilder.java | 33 + .../admin/v1alpha/GetDataStreamRequest.java | 356 +- .../GetDataStreamRequestOrBuilder.java | 31 + ...Video360AdvertiserLinkProposalRequest.java | 489 +- ...dvertiserLinkProposalRequestOrBuilder.java | 31 + ...tDisplayVideo360AdvertiserLinkRequest.java | 465 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 + .../v1alpha/GetGlobalSiteTagRequest.java | 356 +- .../GetGlobalSiteTagRequestOrBuilder.java | 35 +- .../GetGoogleSignalsSettingsRequest.java | 394 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 31 + .../GetMeasurementProtocolSecretRequest.java | 398 +- ...urementProtocolSecretRequestOrBuilder.java | 33 + .../admin/v1alpha/GetPropertyRequest.java | 356 +- .../v1alpha/GetPropertyRequestOrBuilder.java | 33 + .../v1alpha/GetSearchAds360LinkRequest.java | 587 + .../GetSearchAds360LinkRequestOrBuilder.java | 31 + .../admin/v1alpha/GetUserLinkRequest.java | 356 +- .../v1alpha/GetUserLinkRequestOrBuilder.java | 29 + .../admin/v1alpha/GlobalSiteTag.java | 425 +- .../admin/v1alpha/GlobalSiteTagName.java | 0 .../admin/v1alpha/GlobalSiteTagOrBuilder.java | 44 +- .../admin/v1alpha/GoogleAdsLink.java | 895 +- .../admin/v1alpha/GoogleAdsLinkName.java | 0 .../admin/v1alpha/GoogleAdsLinkOrBuilder.java | 96 +- .../admin/v1alpha/GoogleSignalsConsent.java | 77 +- .../admin/v1alpha/GoogleSignalsSettings.java | 490 +- .../v1alpha/GoogleSignalsSettingsName.java | 0 .../GoogleSignalsSettingsOrBuilder.java | 47 +- .../admin/v1alpha/GoogleSignalsState.java | 80 +- .../admin/v1alpha/IndustryCategory.java | 248 +- .../LinkProposalInitiatingProduct.java | 77 +- .../admin/v1alpha/LinkProposalState.java | 108 +- .../v1alpha/LinkProposalStatusDetails.java | 541 +- .../LinkProposalStatusDetailsOrBuilder.java | 58 +- .../v1alpha/ListAccountSummariesRequest.java | 381 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1alpha/ListAccountSummariesResponse.java | 498 +- ...ListAccountSummariesResponseOrBuilder.java | 42 +- .../admin/v1alpha/ListAccountsRequest.java | 397 +- .../v1alpha/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1alpha/ListAccountsResponse.java | 489 +- .../ListAccountsResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListAudiencesRequest.java | 461 +- .../ListAudiencesRequestOrBuilder.java | 47 +- .../admin/v1alpha/ListAudiencesResponse.java | 489 +- .../ListAudiencesResponseOrBuilder.java | 45 +- .../v1alpha/ListBigQueryLinksRequest.java | 873 ++ .../ListBigQueryLinksRequestOrBuilder.java | 72 + .../v1alpha/ListBigQueryLinksResponse.java | 1033 ++ .../ListBigQueryLinksResponseOrBuilder.java | 75 + .../v1alpha/ListConversionEventsRequest.java | 481 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1alpha/ListConversionEventsResponse.java | 498 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomDimensionsRequest.java | 481 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomDimensionsResponse.java | 498 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomMetricsRequest.java | 461 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomMetricsResponse.java | 478 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListDataStreamsRequest.java | 461 +- .../ListDataStreamsRequestOrBuilder.java | 47 +- .../v1alpha/ListDataStreamsResponse.java | 486 +- .../ListDataStreamsResponseOrBuilder.java | 45 +- ...ideo360AdvertiserLinkProposalsRequest.java | 599 +- ...vertiserLinkProposalsRequestOrBuilder.java | 47 +- ...deo360AdvertiserLinkProposalsResponse.java | 779 +- ...ertiserLinkProposalsResponseOrBuilder.java | 75 + ...DisplayVideo360AdvertiserLinksRequest.java | 570 +- ...deo360AdvertiserLinksRequestOrBuilder.java | 47 +- ...isplayVideo360AdvertiserLinksResponse.java | 719 +- ...eo360AdvertiserLinksResponseOrBuilder.java | 69 +- .../v1alpha/ListFirebaseLinksRequest.java | 475 +- .../ListFirebaseLinksRequestOrBuilder.java | 51 +- .../v1alpha/ListFirebaseLinksResponse.java | 478 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListGoogleAdsLinksRequest.java | 471 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListGoogleAdsLinksResponse.java | 481 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- ...ListMeasurementProtocolSecretsRequest.java | 513 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 675 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1alpha/ListPropertiesRequest.java | 471 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1alpha/ListPropertiesResponse.java | 489 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../v1alpha/ListSearchAds360LinksRequest.java | 862 ++ ...ListSearchAds360LinksRequestOrBuilder.java | 69 + .../ListSearchAds360LinksResponse.java | 1033 ++ ...istSearchAds360LinksResponseOrBuilder.java | 75 + .../admin/v1alpha/ListUserLinksRequest.java | 461 +- .../ListUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/ListUserLinksResponse.java | 489 +- .../ListUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/MeasurementProtocolSecret.java | 545 +- .../MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 63 +- .../analytics/admin/v1alpha/NumericValue.java | 403 +- .../admin/v1alpha/NumericValueOrBuilder.java | 30 +- .../analytics/admin/v1alpha/Property.java | 1715 +-- .../analytics/admin/v1alpha/PropertyName.java | 0 .../admin/v1alpha/PropertyOrBuilder.java | 246 +- .../admin/v1alpha/PropertySummary.java | 525 +- .../v1alpha/PropertySummaryOrBuilder.java | 51 +- .../analytics/admin/v1alpha/PropertyType.java | 89 +- .../ProvisionAccountTicketRequest.java | 448 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 362 +- ...ovisionAccountTicketResponseOrBuilder.java | 29 + .../admin/v1alpha/ResourcesProto.java | 733 ++ .../admin/v1alpha/RunAccessReportRequest.java | 1336 +- .../RunAccessReportRequestOrBuilder.java | 133 +- .../v1alpha/RunAccessReportResponse.java | 942 +- .../RunAccessReportResponseOrBuilder.java | 91 +- .../admin/v1alpha/SearchAds360Link.java | 1960 +++ .../admin/v1alpha/SearchAds360LinkName.java | 198 + .../v1alpha/SearchAds360LinkOrBuilder.java | 212 + .../SearchChangeHistoryEventsRequest.java | 1669 +-- ...chChangeHistoryEventsRequestOrBuilder.java | 277 +- .../SearchChangeHistoryEventsResponse.java | 613 +- ...hChangeHistoryEventsResponseOrBuilder.java | 56 +- .../analytics/admin/v1alpha/ServiceLevel.java | 82 +- ...utomatedGa4ConfigurationOptOutRequest.java | 684 + ...a4ConfigurationOptOutRequestOrBuilder.java | 45 + ...tomatedGa4ConfigurationOptOutResponse.java | 411 + ...4ConfigurationOptOutResponseOrBuilder.java | 9 + .../admin/v1alpha/UpdateAccountRequest.java | 613 +- .../UpdateAccountRequestOrBuilder.java | 75 + .../UpdateAttributionSettingsRequest.java | 668 +- ...teAttributionSettingsRequestOrBuilder.java | 75 + .../admin/v1alpha/UpdateAudienceRequest.java | 610 +- .../UpdateAudienceRequestOrBuilder.java | 75 + .../v1alpha/UpdateCustomDimensionRequest.java | 578 +- ...UpdateCustomDimensionRequestOrBuilder.java | 61 +- .../v1alpha/UpdateCustomMetricRequest.java | 562 +- .../UpdateCustomMetricRequestOrBuilder.java | 61 +- .../UpdateDataRetentionSettingsRequest.java | 669 +- ...DataRetentionSettingsRequestOrBuilder.java | 75 + .../v1alpha/UpdateDataStreamRequest.java | 550 +- .../UpdateDataStreamRequestOrBuilder.java | 61 +- ...eDisplayVideo360AdvertiserLinkRequest.java | 747 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 79 +- .../v1alpha/UpdateGoogleAdsLinkRequest.java | 574 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 64 +- .../UpdateGoogleSignalsSettingsRequest.java | 669 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 75 + ...pdateMeasurementProtocolSecretRequest.java | 576 +- ...urementProtocolSecretRequestOrBuilder.java | 49 +- .../admin/v1alpha/UpdatePropertyRequest.java | 610 +- .../UpdatePropertyRequestOrBuilder.java | 76 +- .../UpdateSearchAds360LinkRequest.java | 898 ++ ...pdateSearchAds360LinkRequestOrBuilder.java | 69 + .../admin/v1alpha/UpdateUserLinkRequest.java | 401 +- .../UpdateUserLinkRequestOrBuilder.java | 36 + .../analytics/admin/v1alpha/UserLink.java | 493 +- .../analytics/admin/v1alpha/UserLinkName.java | 0 .../admin/v1alpha/UserLinkOrBuilder.java | 54 +- .../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 +- .../AsyncAcknowledgeUserDataCollection.java | 0 .../SyncAcknowledgeUserDataCollection.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 .../archiveaudience/AsyncArchiveAudience.java | 0 .../archiveaudience/SyncArchiveAudience.java | 0 .../AsyncArchiveCustomDimension.java | 0 .../SyncArchiveCustomDimension.java | 0 ...iveCustomDimensionCustomdimensionname.java | 0 .../SyncArchiveCustomDimensionString.java | 0 .../AsyncArchiveCustomMetric.java | 0 .../SyncArchiveCustomMetric.java | 0 ...ncArchiveCustomMetricCustommetricname.java | 0 .../SyncArchiveCustomMetricString.java | 0 .../audituserlinks/AsyncAuditUserLinks.java | 0 .../AsyncAuditUserLinksPaged.java | 0 .../audituserlinks/SyncAuditUserLinks.java | 0 .../AsyncBatchCreateUserLinks.java | 0 .../SyncBatchCreateUserLinks.java | 0 .../AsyncBatchDeleteUserLinks.java | 0 .../SyncBatchDeleteUserLinks.java | 0 .../AsyncBatchGetUserLinks.java | 0 .../SyncBatchGetUserLinks.java | 0 .../AsyncBatchUpdateUserLinks.java | 0 .../SyncBatchUpdateUserLinks.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createaudience/AsyncCreateAudience.java | 0 .../createaudience/SyncCreateAudience.java | 0 ...yncCreateAudiencePropertynameAudience.java | 0 .../SyncCreateAudienceStringAudience.java | 0 .../AsyncCreateConversionEvent.java | 0 .../SyncCreateConversionEvent.java | 0 ...rsionEventPropertynameConversionevent.java | 0 ...eConversionEventStringConversionevent.java | 0 .../AsyncCreateCustomDimension.java | 0 .../SyncCreateCustomDimension.java | 0 ...mDimensionPropertynameCustomdimension.java | 0 ...eCustomDimensionStringCustomdimension.java | 0 .../AsyncCreateCustomMetric.java | 0 .../SyncCreateCustomMetric.java | 0 ...eCustomMetricPropertynameCustommetric.java | 0 ...cCreateCustomMetricStringCustommetric.java | 0 .../AsyncCreateDataStream.java | 0 .../SyncCreateDataStream.java | 0 ...reateDataStreamPropertynameDatastream.java | 0 .../SyncCreateDataStreamStringDatastream.java | 0 ...ncCreateDisplayVideo360AdvertiserLink.java | 0 ...ncCreateDisplayVideo360AdvertiserLink.java | 0 ...ertynameDisplayvideo360Advertiserlink.java | 0 ...nkStringDisplayvideo360Advertiserlink.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...Displayvideo360Advertiserlinkproposal.java | 0 ...Displayvideo360Advertiserlinkproposal.java | 0 .../AsyncCreateFirebaseLink.java | 0 .../SyncCreateFirebaseLink.java | 0 ...eFirebaseLinkPropertynameFirebaselink.java | 0 ...cCreateFirebaseLinkStringFirebaselink.java | 0 .../AsyncCreateGoogleAdsLink.java | 0 .../SyncCreateGoogleAdsLink.java | 0 ...oogleAdsLinkPropertynameGoogleadslink.java | 0 ...reateGoogleAdsLinkStringGoogleadslink.java | 0 .../AsyncCreateMeasurementProtocolSecret.java | 0 .../SyncCreateMeasurementProtocolSecret.java | 0 ...tastreamnameMeasurementprotocolsecret.java | 0 ...SecretStringMeasurementprotocolsecret.java | 0 .../createproperty/AsyncCreateProperty.java | 0 .../createproperty/SyncCreateProperty.java | 0 .../SyncCreatePropertyProperty.java | 0 .../AsyncCreateSearchAds360Link.java | 52 + .../SyncCreateSearchAds360Link.java | 48 + ...ds360LinkPropertynameSearchads360Link.java | 45 + ...earchAds360LinkStringSearchads360Link.java | 45 + .../createuserlink/AsyncCreateUserLink.java | 0 .../createuserlink/SyncCreateUserLink.java | 0 ...SyncCreateUserLinkAccountnameUserlink.java | 0 ...yncCreateUserLinkPropertynameUserlink.java | 0 .../SyncCreateUserLinkStringUserlink.java | 0 .../deleteaccount/AsyncDeleteAccount.java | 0 .../deleteaccount/SyncDeleteAccount.java | 0 .../SyncDeleteAccountAccountname.java | 0 .../SyncDeleteAccountString.java | 0 .../AsyncDeleteConversionEvent.java | 0 .../SyncDeleteConversionEvent.java | 0 ...eteConversionEventConversioneventname.java | 0 .../SyncDeleteConversionEventString.java | 0 .../AsyncDeleteDataStream.java | 0 .../SyncDeleteDataStream.java | 0 .../SyncDeleteDataStreamDatastreamname.java | 0 .../SyncDeleteDataStreamString.java | 0 ...ncDeleteDisplayVideo360AdvertiserLink.java | 0 ...ncDeleteDisplayVideo360AdvertiserLink.java | 0 ...LinkDisplayvideo360Advertiserlinkname.java | 0 ...teDisplayVideo360AdvertiserLinkString.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...layvideo360Advertiserlinkproposalname.java | 0 ...yVideo360AdvertiserLinkProposalString.java | 0 .../AsyncDeleteFirebaseLink.java | 0 .../SyncDeleteFirebaseLink.java | 0 ...yncDeleteFirebaseLinkFirebaselinkname.java | 0 .../SyncDeleteFirebaseLinkString.java | 0 .../AsyncDeleteGoogleAdsLink.java | 0 .../SyncDeleteGoogleAdsLink.java | 0 ...cDeleteGoogleAdsLinkGoogleadslinkname.java | 0 .../SyncDeleteGoogleAdsLinkString.java | 0 .../AsyncDeleteMeasurementProtocolSecret.java | 0 .../SyncDeleteMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...DeleteMeasurementProtocolSecretString.java | 0 .../deleteproperty/AsyncDeleteProperty.java | 0 .../deleteproperty/SyncDeleteProperty.java | 0 .../SyncDeletePropertyPropertyname.java | 0 .../SyncDeletePropertyString.java | 0 .../AsyncDeleteSearchAds360Link.java | 51 + .../SyncDeleteSearchAds360Link.java | 47 + ...eSearchAds360LinkSearchads360Linkname.java | 43 + .../SyncDeleteSearchAds360LinkString.java | 43 + .../deleteuserlink/AsyncDeleteUserLink.java | 0 .../deleteuserlink/SyncDeleteUserLink.java | 0 .../SyncDeleteUserLinkString.java | 0 .../SyncDeleteUserLinkUserlinkname.java | 0 ...cFetchAutomatedGa4ConfigurationOptOut.java | 52 + ...cFetchAutomatedGa4ConfigurationOptOut.java | 47 + .../getaccount/AsyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccountAccountname.java | 0 .../getaccount/SyncGetAccountString.java | 0 .../AsyncGetAttributionSettings.java | 0 .../SyncGetAttributionSettings.java | 0 ...butionSettingsAttributionsettingsname.java | 0 .../SyncGetAttributionSettingsString.java | 0 .../getaudience/AsyncGetAudience.java | 0 .../getaudience/SyncGetAudience.java | 0 .../SyncGetAudienceAudiencename.java | 0 .../getaudience/SyncGetAudienceString.java | 0 .../getbigquerylink/AsyncGetBigQueryLink.java | 51 + .../getbigquerylink/SyncGetBigQueryLink.java | 47 + .../SyncGetBigQueryLinkBigquerylinkname.java | 43 + .../SyncGetBigQueryLinkString.java | 43 + .../AsyncGetConversionEvent.java | 0 .../SyncGetConversionEvent.java | 0 ...GetConversionEventConversioneventname.java | 0 .../SyncGetConversionEventString.java | 0 .../AsyncGetCustomDimension.java | 0 .../SyncGetCustomDimension.java | 0 ...GetCustomDimensionCustomdimensionname.java | 0 .../SyncGetCustomDimensionString.java | 0 .../getcustommetric/AsyncGetCustomMetric.java | 0 .../getcustommetric/SyncGetCustomMetric.java | 0 .../SyncGetCustomMetricCustommetricname.java | 0 .../SyncGetCustomMetricString.java | 0 .../AsyncGetDataRetentionSettings.java | 0 .../SyncGetDataRetentionSettings.java | 0 ...tionSettingsDataretentionsettingsname.java | 0 .../SyncGetDataRetentionSettingsString.java | 0 .../AsyncGetDataSharingSettings.java | 0 .../SyncGetDataSharingSettings.java | 0 ...haringSettingsDatasharingsettingsname.java | 0 .../SyncGetDataSharingSettingsString.java | 0 .../getdatastream/AsyncGetDataStream.java | 0 .../getdatastream/SyncGetDataStream.java | 0 .../SyncGetDataStreamDatastreamname.java | 0 .../SyncGetDataStreamString.java | 0 ...AsyncGetDisplayVideo360AdvertiserLink.java | 0 .../SyncGetDisplayVideo360AdvertiserLink.java | 0 ...LinkDisplayvideo360Advertiserlinkname.java | 0 ...etDisplayVideo360AdvertiserLinkString.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...layvideo360Advertiserlinkproposalname.java | 0 ...yVideo360AdvertiserLinkProposalString.java | 0 .../AsyncGetGlobalSiteTag.java | 0 .../SyncGetGlobalSiteTag.java | 0 ...SyncGetGlobalSiteTagGlobalsitetagname.java | 0 .../SyncGetGlobalSiteTagString.java | 0 .../AsyncGetGoogleSignalsSettings.java | 0 .../SyncGetGoogleSignalsSettings.java | 0 ...nalsSettingsGooglesignalssettingsname.java | 0 .../SyncGetGoogleSignalsSettingsString.java | 0 .../AsyncGetMeasurementProtocolSecret.java | 0 .../SyncGetMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...yncGetMeasurementProtocolSecretString.java | 0 .../getproperty/AsyncGetProperty.java | 0 .../getproperty/SyncGetProperty.java | 0 .../SyncGetPropertyPropertyname.java | 0 .../getproperty/SyncGetPropertyString.java | 0 .../AsyncGetSearchAds360Link.java | 51 + .../SyncGetSearchAds360Link.java | 47 + ...tSearchAds360LinkSearchads360Linkname.java | 43 + .../SyncGetSearchAds360LinkString.java | 43 + .../getuserlink/AsyncGetUserLink.java | 0 .../getuserlink/SyncGetUserLink.java | 0 .../getuserlink/SyncGetUserLinkString.java | 0 .../SyncGetUserLinkUserlinkname.java | 0 .../listaccounts/AsyncListAccounts.java | 0 .../listaccounts/AsyncListAccountsPaged.java | 0 .../listaccounts/SyncListAccounts.java | 0 .../AsyncListAccountSummaries.java | 0 .../AsyncListAccountSummariesPaged.java | 0 .../SyncListAccountSummaries.java | 0 .../listaudiences/AsyncListAudiences.java | 0 .../AsyncListAudiencesPaged.java | 0 .../listaudiences/SyncListAudiences.java | 0 .../SyncListAudiencesPropertyname.java | 0 .../SyncListAudiencesString.java | 0 .../AsyncListBigQueryLinks.java | 55 + .../AsyncListBigQueryLinksPaged.java | 63 + .../SyncListBigQueryLinks.java | 52 + .../SyncListBigQueryLinksPropertyname.java | 46 + .../SyncListBigQueryLinksString.java | 46 + .../AsyncListConversionEvents.java | 0 .../AsyncListConversionEventsPaged.java | 0 .../SyncListConversionEvents.java | 0 .../SyncListConversionEventsPropertyname.java | 0 .../SyncListConversionEventsString.java | 0 .../AsyncListCustomDimensions.java | 0 .../AsyncListCustomDimensionsPaged.java | 0 .../SyncListCustomDimensions.java | 0 .../SyncListCustomDimensionsPropertyname.java | 0 .../SyncListCustomDimensionsString.java | 0 .../AsyncListCustomMetrics.java | 0 .../AsyncListCustomMetricsPaged.java | 0 .../SyncListCustomMetrics.java | 0 .../SyncListCustomMetricsPropertyname.java | 0 .../SyncListCustomMetricsString.java | 0 .../listdatastreams/AsyncListDataStreams.java | 0 .../AsyncListDataStreamsPaged.java | 0 .../listdatastreams/SyncListDataStreams.java | 0 .../SyncListDataStreamsPropertyname.java | 0 .../SyncListDataStreamsString.java | 0 ...isplayVideo360AdvertiserLinkProposals.java | 0 ...yVideo360AdvertiserLinkProposalsPaged.java | 0 ...isplayVideo360AdvertiserLinkProposals.java | 0 ...60AdvertiserLinkProposalsPropertyname.java | 0 ...Video360AdvertiserLinkProposalsString.java | 0 ...yncListDisplayVideo360AdvertiserLinks.java | 0 ...stDisplayVideo360AdvertiserLinksPaged.java | 0 ...yncListDisplayVideo360AdvertiserLinks.java | 0 ...ayVideo360AdvertiserLinksPropertyname.java | 0 ...tDisplayVideo360AdvertiserLinksString.java | 0 .../AsyncListFirebaseLinks.java | 0 .../AsyncListFirebaseLinksPaged.java | 0 .../SyncListFirebaseLinks.java | 0 .../SyncListFirebaseLinksPropertyname.java | 0 .../SyncListFirebaseLinksString.java | 0 .../AsyncListGoogleAdsLinks.java | 0 .../AsyncListGoogleAdsLinksPaged.java | 0 .../SyncListGoogleAdsLinks.java | 0 .../SyncListGoogleAdsLinksPropertyname.java | 0 .../SyncListGoogleAdsLinksString.java | 0 .../AsyncListMeasurementProtocolSecrets.java | 0 ...ncListMeasurementProtocolSecretsPaged.java | 0 .../SyncListMeasurementProtocolSecrets.java | 0 ...surementProtocolSecretsDatastreamname.java | 0 ...cListMeasurementProtocolSecretsString.java | 0 .../listproperties/AsyncListProperties.java | 0 .../AsyncListPropertiesPaged.java | 0 .../listproperties/SyncListProperties.java | 0 .../AsyncListSearchAds360Links.java | 55 + .../AsyncListSearchAds360LinksPaged.java | 63 + .../SyncListSearchAds360Links.java | 52 + ...SyncListSearchAds360LinksPropertyname.java | 46 + .../SyncListSearchAds360LinksString.java | 46 + .../listuserlinks/AsyncListUserLinks.java | 0 .../AsyncListUserLinksPaged.java | 0 .../listuserlinks/SyncListUserLinks.java | 0 .../SyncListUserLinksAccountname.java | 0 .../SyncListUserLinksPropertyname.java | 0 .../SyncListUserLinksString.java | 0 .../AsyncProvisionAccountTicket.java | 0 .../SyncProvisionAccountTicket.java | 0 .../runaccessreport/AsyncRunAccessReport.java | 0 .../runaccessreport/SyncRunAccessReport.java | 0 .../AsyncSearchChangeHistoryEvents.java | 0 .../AsyncSearchChangeHistoryEventsPaged.java | 0 .../SyncSearchChangeHistoryEvents.java | 0 ...yncSetAutomatedGa4ConfigurationOptOut.java | 53 + ...yncSetAutomatedGa4ConfigurationOptOut.java | 48 + .../updateaccount/AsyncUpdateAccount.java | 0 .../updateaccount/SyncUpdateAccount.java | 0 .../SyncUpdateAccountAccountFieldmask.java | 0 .../AsyncUpdateAttributionSettings.java | 0 .../SyncUpdateAttributionSettings.java | 0 ...nSettingsAttributionsettingsFieldmask.java | 0 .../updateaudience/AsyncUpdateAudience.java | 0 .../updateaudience/SyncUpdateAudience.java | 0 .../SyncUpdateAudienceAudienceFieldmask.java | 0 .../AsyncUpdateCustomDimension.java | 0 .../SyncUpdateCustomDimension.java | 0 ...stomDimensionCustomdimensionFieldmask.java | 0 .../AsyncUpdateCustomMetric.java | 0 .../SyncUpdateCustomMetric.java | 0 ...dateCustomMetricCustommetricFieldmask.java | 0 .../AsyncUpdateDataRetentionSettings.java | 0 .../SyncUpdateDataRetentionSettings.java | 0 ...ettingsDataretentionsettingsFieldmask.java | 0 .../AsyncUpdateDataStream.java | 0 .../SyncUpdateDataStream.java | 0 ...ncUpdateDataStreamDatastreamFieldmask.java | 0 ...ncUpdateDisplayVideo360AdvertiserLink.java | 0 ...ncUpdateDisplayVideo360AdvertiserLink.java | 0 ...isplayvideo360AdvertiserlinkFieldmask.java | 0 .../AsyncUpdateGoogleAdsLink.java | 0 .../SyncUpdateGoogleAdsLink.java | 0 ...teGoogleAdsLinkGoogleadslinkFieldmask.java | 0 .../AsyncUpdateGoogleSignalsSettings.java | 0 .../SyncUpdateGoogleSignalsSettings.java | 0 ...ettingsGooglesignalssettingsFieldmask.java | 0 .../AsyncUpdateMeasurementProtocolSecret.java | 0 .../SyncUpdateMeasurementProtocolSecret.java | 0 ...retMeasurementprotocolsecretFieldmask.java | 0 .../updateproperty/AsyncUpdateProperty.java | 0 .../updateproperty/SyncUpdateProperty.java | 0 .../SyncUpdatePropertyPropertyFieldmask.java | 0 .../AsyncUpdateSearchAds360Link.java | 52 + .../SyncUpdateSearchAds360Link.java | 48 + ...chAds360LinkSearchads360LinkFieldmask.java | 45 + .../updateuserlink/AsyncUpdateUserLink.java | 0 .../updateuserlink/SyncUpdateUserLink.java | 0 .../SyncUpdateUserLinkUserlink.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../v1beta/AnalyticsAdminServiceClient.java | 0 .../v1beta/AnalyticsAdminServiceSettings.java | 1 + .../admin/v1beta/gapic_metadata.json | 0 .../analytics/admin/v1beta/package-info.java | 0 .../stub/AnalyticsAdminServiceStub.java | 0 .../AnalyticsAdminServiceStubSettings.java | 0 ...cAnalyticsAdminServiceCallableFactory.java | 0 .../stub/GrpcAnalyticsAdminServiceStub.java | 1 + ...nAnalyticsAdminServiceCallableFactory.java | 0 .../HttpJsonAnalyticsAdminServiceStub.java | 0 ...alyticsAdminServiceClientHttpJsonTest.java | 0 .../AnalyticsAdminServiceClientTest.java | 0 .../v1beta/MockAnalyticsAdminService.java | 0 .../v1beta/MockAnalyticsAdminServiceImpl.java | 0 .../v1beta/AnalyticsAdminServiceGrpc.java | 4375 +++++++ .../analytics/admin/v1beta/Account.java | 768 +- .../analytics/admin/v1beta/AccountName.java | 0 .../admin/v1beta/AccountOrBuilder.java | 82 +- .../admin/v1beta/AccountSummary.java | 617 +- .../admin/v1beta/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 470 +- ...dgeUserDataCollectionRequestOrBuilder.java | 44 +- ...AcknowledgeUserDataCollectionResponse.java | 300 +- ...geUserDataCollectionResponseOrBuilder.java | 9 + .../analytics/admin/v1beta/ActionType.java | 89 +- .../analytics/admin/v1beta/ActorType.java | 89 +- .../admin/v1beta/AnalyticsAdminProto.java | 1176 ++ .../v1beta/ArchiveCustomDimensionRequest.java | 379 +- ...rchiveCustomDimensionRequestOrBuilder.java | 31 + .../v1beta/ArchiveCustomMetricRequest.java | 366 +- .../ArchiveCustomMetricRequestOrBuilder.java | 31 + .../admin/v1beta/ChangeHistoryChange.java | 2130 +--- .../v1beta/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1beta/ChangeHistoryEvent.java | 727 +- .../v1beta/ChangeHistoryEventOrBuilder.java | 71 +- .../v1beta/ChangeHistoryResourceType.java | 145 +- .../admin/v1beta/ConversionEvent.java | 603 +- .../admin/v1beta/ConversionEventName.java | 0 .../v1beta/ConversionEventOrBuilder.java | 59 +- .../v1beta/CreateConversionEventRequest.java | 523 +- ...CreateConversionEventRequestOrBuilder.java | 58 + .../v1beta/CreateCustomDimensionRequest.java | 523 +- ...CreateCustomDimensionRequestOrBuilder.java | 56 + .../v1beta/CreateCustomMetricRequest.java | 500 +- .../CreateCustomMetricRequestOrBuilder.java | 56 + .../admin/v1beta/CreateDataStreamRequest.java | 498 +- .../CreateDataStreamRequestOrBuilder.java | 56 + .../v1beta/CreateFirebaseLinkRequest.java | 500 +- .../CreateFirebaseLinkRequestOrBuilder.java | 58 + .../v1beta/CreateGoogleAdsLinkRequest.java | 510 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 56 + ...reateMeasurementProtocolSecretRequest.java | 580 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1beta/CreatePropertyRequest.java | 404 +- .../CreatePropertyRequestOrBuilder.java | 39 + .../admin/v1beta/CustomDimension.java | 772 +- .../admin/v1beta/CustomDimensionName.java | 0 .../v1beta/CustomDimensionOrBuilder.java | 79 +- .../analytics/admin/v1beta/CustomMetric.java | 1213 +- .../admin/v1beta/CustomMetricName.java | 0 .../admin/v1beta/CustomMetricOrBuilder.java | 134 +- .../admin/v1beta/DataRetentionSettings.java | 553 +- .../v1beta/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 44 +- .../admin/v1beta/DataSharingSettings.java | 524 +- .../admin/v1beta/DataSharingSettingsName.java | 0 .../v1beta/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1beta/DataStream.java | 2700 ++-- .../admin/v1beta/DataStreamName.java | 0 .../admin/v1beta/DataStreamOrBuilder.java | 135 +- .../admin/v1beta/DeleteAccountRequest.java | 356 +- .../v1beta/DeleteAccountRequestOrBuilder.java | 33 + .../v1beta/DeleteConversionEventRequest.java | 376 +- ...DeleteConversionEventRequestOrBuilder.java | 33 + .../admin/v1beta/DeleteDataStreamRequest.java | 356 +- .../DeleteDataStreamRequestOrBuilder.java | 31 + .../v1beta/DeleteFirebaseLinkRequest.java | 356 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 31 + .../v1beta/DeleteGoogleAdsLinkRequest.java | 366 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 29 + ...eleteMeasurementProtocolSecretRequest.java | 408 +- ...urementProtocolSecretRequestOrBuilder.java | 33 + .../admin/v1beta/DeletePropertyRequest.java | 356 +- .../DeletePropertyRequestOrBuilder.java | 33 + .../analytics/admin/v1beta/FirebaseLink.java | 524 +- .../admin/v1beta/FirebaseLinkName.java | 0 .../admin/v1beta/FirebaseLinkOrBuilder.java | 53 +- .../admin/v1beta/GetAccountRequest.java | 353 +- .../v1beta/GetAccountRequestOrBuilder.java | 33 + .../v1beta/GetConversionEventRequest.java | 356 +- .../GetConversionEventRequestOrBuilder.java | 33 + .../v1beta/GetCustomDimensionRequest.java | 356 +- .../GetCustomDimensionRequestOrBuilder.java | 31 + .../admin/v1beta/GetCustomMetricRequest.java | 356 +- .../GetCustomMetricRequestOrBuilder.java | 31 + .../GetDataRetentionSettingsRequest.java | 390 +- ...DataRetentionSettingsRequestOrBuilder.java | 35 + .../v1beta/GetDataSharingSettingsRequest.java | 379 +- ...etDataSharingSettingsRequestOrBuilder.java | 33 + .../admin/v1beta/GetDataStreamRequest.java | 356 +- .../v1beta/GetDataStreamRequestOrBuilder.java | 31 + .../GetMeasurementProtocolSecretRequest.java | 395 +- ...urementProtocolSecretRequestOrBuilder.java | 33 + .../admin/v1beta/GetPropertyRequest.java | 353 +- .../v1beta/GetPropertyRequestOrBuilder.java | 33 + .../analytics/admin/v1beta/GoogleAdsLink.java | 870 +- .../admin/v1beta/GoogleAdsLinkName.java | 0 .../admin/v1beta/GoogleAdsLinkOrBuilder.java | 90 +- .../admin/v1beta/IndustryCategory.java | 248 +- .../v1beta/ListAccountSummariesRequest.java | 371 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1beta/ListAccountSummariesResponse.java | 494 +- ...ListAccountSummariesResponseOrBuilder.java | 45 +- .../admin/v1beta/ListAccountsRequest.java | 397 +- .../v1beta/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1beta/ListAccountsResponse.java | 489 +- .../v1beta/ListAccountsResponseOrBuilder.java | 45 +- .../v1beta/ListConversionEventsRequest.java | 471 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1beta/ListConversionEventsResponse.java | 495 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1beta/ListCustomDimensionsRequest.java | 471 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1beta/ListCustomDimensionsResponse.java | 495 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1beta/ListCustomMetricsRequest.java | 461 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1beta/ListCustomMetricsResponse.java | 466 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1beta/ListDataStreamsRequest.java | 461 +- .../ListDataStreamsRequestOrBuilder.java | 47 +- .../admin/v1beta/ListDataStreamsResponse.java | 486 +- .../ListDataStreamsResponseOrBuilder.java | 45 +- .../v1beta/ListFirebaseLinksRequest.java | 461 +- .../ListFirebaseLinksRequestOrBuilder.java | 47 +- .../v1beta/ListFirebaseLinksResponse.java | 466 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1beta/ListGoogleAdsLinksRequest.java | 461 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1beta/ListGoogleAdsLinksResponse.java | 478 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- ...ListMeasurementProtocolSecretsRequest.java | 510 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 671 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1beta/ListPropertiesRequest.java | 471 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1beta/ListPropertiesResponse.java | 489 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../v1beta/MeasurementProtocolSecret.java | 472 +- .../v1beta/MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 45 +- .../analytics/admin/v1beta/Property.java | 1476 +-- .../analytics/admin/v1beta/PropertyName.java | 0 .../admin/v1beta/PropertyOrBuilder.java | 182 +- .../admin/v1beta/PropertySummary.java | 525 +- .../v1beta/PropertySummaryOrBuilder.java | 51 +- .../analytics/admin/v1beta/PropertyType.java | 89 +- .../v1beta/ProvisionAccountTicketRequest.java | 448 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 354 +- ...ovisionAccountTicketResponseOrBuilder.java | 29 + .../admin/v1beta/ResourcesProto.java | 473 + .../SearchChangeHistoryEventsRequest.java | 1410 +-- ...chChangeHistoryEventsRequestOrBuilder.java | 198 +- .../SearchChangeHistoryEventsResponse.java | 607 +- ...hChangeHistoryEventsResponseOrBuilder.java | 57 +- .../analytics/admin/v1beta/ServiceLevel.java | 82 +- .../admin/v1beta/UpdateAccountRequest.java | 529 +- .../v1beta/UpdateAccountRequestOrBuilder.java | 55 +- .../v1beta/UpdateCustomDimensionRequest.java | 503 +- ...UpdateCustomDimensionRequestOrBuilder.java | 43 +- .../v1beta/UpdateCustomMetricRequest.java | 480 +- .../UpdateCustomMetricRequestOrBuilder.java | 43 +- .../UpdateDataRetentionSettingsRequest.java | 585 +- ...DataRetentionSettingsRequestOrBuilder.java | 58 +- .../admin/v1beta/UpdateDataStreamRequest.java | 478 +- .../UpdateDataStreamRequestOrBuilder.java | 43 +- .../v1beta/UpdateGoogleAdsLinkRequest.java | 490 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 43 +- ...pdateMeasurementProtocolSecretRequest.java | 572 +- ...urementProtocolSecretRequestOrBuilder.java | 49 +- .../admin/v1beta/UpdatePropertyRequest.java | 529 +- .../UpdatePropertyRequestOrBuilder.java | 55 +- .../admin/v1beta/analytics_admin.proto | 0 .../analytics/admin/v1beta/resources.proto | 0 .../AsyncAcknowledgeUserDataCollection.java | 0 .../SyncAcknowledgeUserDataCollection.java | 0 .../AsyncArchiveCustomDimension.java | 0 .../SyncArchiveCustomDimension.java | 0 ...iveCustomDimensionCustomdimensionname.java | 0 .../SyncArchiveCustomDimensionString.java | 0 .../AsyncArchiveCustomMetric.java | 0 .../SyncArchiveCustomMetric.java | 0 ...ncArchiveCustomMetricCustommetricname.java | 0 .../SyncArchiveCustomMetricString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConversionEvent.java | 0 .../SyncCreateConversionEvent.java | 0 ...rsionEventPropertynameConversionevent.java | 0 ...eConversionEventStringConversionevent.java | 0 .../AsyncCreateCustomDimension.java | 0 .../SyncCreateCustomDimension.java | 0 ...mDimensionPropertynameCustomdimension.java | 0 ...eCustomDimensionStringCustomdimension.java | 0 .../AsyncCreateCustomMetric.java | 0 .../SyncCreateCustomMetric.java | 0 ...eCustomMetricPropertynameCustommetric.java | 0 ...cCreateCustomMetricStringCustommetric.java | 0 .../AsyncCreateDataStream.java | 0 .../SyncCreateDataStream.java | 0 ...reateDataStreamPropertynameDatastream.java | 0 .../SyncCreateDataStreamStringDatastream.java | 0 .../AsyncCreateFirebaseLink.java | 0 .../SyncCreateFirebaseLink.java | 0 ...eFirebaseLinkPropertynameFirebaselink.java | 0 ...cCreateFirebaseLinkStringFirebaselink.java | 0 .../AsyncCreateGoogleAdsLink.java | 0 .../SyncCreateGoogleAdsLink.java | 0 ...oogleAdsLinkPropertynameGoogleadslink.java | 0 ...reateGoogleAdsLinkStringGoogleadslink.java | 0 .../AsyncCreateMeasurementProtocolSecret.java | 0 .../SyncCreateMeasurementProtocolSecret.java | 0 ...tastreamnameMeasurementprotocolsecret.java | 0 ...SecretStringMeasurementprotocolsecret.java | 0 .../createproperty/AsyncCreateProperty.java | 0 .../createproperty/SyncCreateProperty.java | 0 .../SyncCreatePropertyProperty.java | 0 .../deleteaccount/AsyncDeleteAccount.java | 0 .../deleteaccount/SyncDeleteAccount.java | 0 .../SyncDeleteAccountAccountname.java | 0 .../SyncDeleteAccountString.java | 0 .../AsyncDeleteConversionEvent.java | 0 .../SyncDeleteConversionEvent.java | 0 ...eteConversionEventConversioneventname.java | 0 .../SyncDeleteConversionEventString.java | 0 .../AsyncDeleteDataStream.java | 0 .../SyncDeleteDataStream.java | 0 .../SyncDeleteDataStreamDatastreamname.java | 0 .../SyncDeleteDataStreamString.java | 0 .../AsyncDeleteFirebaseLink.java | 0 .../SyncDeleteFirebaseLink.java | 0 ...yncDeleteFirebaseLinkFirebaselinkname.java | 0 .../SyncDeleteFirebaseLinkString.java | 0 .../AsyncDeleteGoogleAdsLink.java | 0 .../SyncDeleteGoogleAdsLink.java | 0 ...cDeleteGoogleAdsLinkGoogleadslinkname.java | 0 .../SyncDeleteGoogleAdsLinkString.java | 0 .../AsyncDeleteMeasurementProtocolSecret.java | 0 .../SyncDeleteMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...DeleteMeasurementProtocolSecretString.java | 0 .../deleteproperty/AsyncDeleteProperty.java | 0 .../deleteproperty/SyncDeleteProperty.java | 0 .../SyncDeletePropertyPropertyname.java | 0 .../SyncDeletePropertyString.java | 0 .../getaccount/AsyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccountAccountname.java | 0 .../getaccount/SyncGetAccountString.java | 0 .../AsyncGetConversionEvent.java | 0 .../SyncGetConversionEvent.java | 0 ...GetConversionEventConversioneventname.java | 0 .../SyncGetConversionEventString.java | 0 .../AsyncGetCustomDimension.java | 0 .../SyncGetCustomDimension.java | 0 ...GetCustomDimensionCustomdimensionname.java | 0 .../SyncGetCustomDimensionString.java | 0 .../getcustommetric/AsyncGetCustomMetric.java | 0 .../getcustommetric/SyncGetCustomMetric.java | 0 .../SyncGetCustomMetricCustommetricname.java | 0 .../SyncGetCustomMetricString.java | 0 .../AsyncGetDataRetentionSettings.java | 0 .../SyncGetDataRetentionSettings.java | 0 ...tionSettingsDataretentionsettingsname.java | 0 .../SyncGetDataRetentionSettingsString.java | 0 .../AsyncGetDataSharingSettings.java | 0 .../SyncGetDataSharingSettings.java | 0 ...haringSettingsDatasharingsettingsname.java | 0 .../SyncGetDataSharingSettingsString.java | 0 .../getdatastream/AsyncGetDataStream.java | 0 .../getdatastream/SyncGetDataStream.java | 0 .../SyncGetDataStreamDatastreamname.java | 0 .../SyncGetDataStreamString.java | 0 .../AsyncGetMeasurementProtocolSecret.java | 0 .../SyncGetMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...yncGetMeasurementProtocolSecretString.java | 0 .../getproperty/AsyncGetProperty.java | 0 .../getproperty/SyncGetProperty.java | 0 .../SyncGetPropertyPropertyname.java | 0 .../getproperty/SyncGetPropertyString.java | 0 .../listaccounts/AsyncListAccounts.java | 0 .../listaccounts/AsyncListAccountsPaged.java | 0 .../listaccounts/SyncListAccounts.java | 0 .../AsyncListAccountSummaries.java | 0 .../AsyncListAccountSummariesPaged.java | 0 .../SyncListAccountSummaries.java | 0 .../AsyncListConversionEvents.java | 0 .../AsyncListConversionEventsPaged.java | 0 .../SyncListConversionEvents.java | 0 .../SyncListConversionEventsPropertyname.java | 0 .../SyncListConversionEventsString.java | 0 .../AsyncListCustomDimensions.java | 0 .../AsyncListCustomDimensionsPaged.java | 0 .../SyncListCustomDimensions.java | 0 .../SyncListCustomDimensionsPropertyname.java | 0 .../SyncListCustomDimensionsString.java | 0 .../AsyncListCustomMetrics.java | 0 .../AsyncListCustomMetricsPaged.java | 0 .../SyncListCustomMetrics.java | 0 .../SyncListCustomMetricsPropertyname.java | 0 .../SyncListCustomMetricsString.java | 0 .../listdatastreams/AsyncListDataStreams.java | 0 .../AsyncListDataStreamsPaged.java | 0 .../listdatastreams/SyncListDataStreams.java | 0 .../SyncListDataStreamsPropertyname.java | 0 .../SyncListDataStreamsString.java | 0 .../AsyncListFirebaseLinks.java | 0 .../AsyncListFirebaseLinksPaged.java | 0 .../SyncListFirebaseLinks.java | 0 .../SyncListFirebaseLinksPropertyname.java | 0 .../SyncListFirebaseLinksString.java | 0 .../AsyncListGoogleAdsLinks.java | 0 .../AsyncListGoogleAdsLinksPaged.java | 0 .../SyncListGoogleAdsLinks.java | 0 .../SyncListGoogleAdsLinksPropertyname.java | 0 .../SyncListGoogleAdsLinksString.java | 0 .../AsyncListMeasurementProtocolSecrets.java | 0 ...ncListMeasurementProtocolSecretsPaged.java | 0 .../SyncListMeasurementProtocolSecrets.java | 0 ...surementProtocolSecretsDatastreamname.java | 0 ...cListMeasurementProtocolSecretsString.java | 0 .../listproperties/AsyncListProperties.java | 0 .../AsyncListPropertiesPaged.java | 0 .../listproperties/SyncListProperties.java | 0 .../AsyncProvisionAccountTicket.java | 0 .../SyncProvisionAccountTicket.java | 0 .../AsyncSearchChangeHistoryEvents.java | 0 .../AsyncSearchChangeHistoryEventsPaged.java | 0 .../SyncSearchChangeHistoryEvents.java | 0 .../updateaccount/AsyncUpdateAccount.java | 0 .../updateaccount/SyncUpdateAccount.java | 0 .../SyncUpdateAccountAccountFieldmask.java | 0 .../AsyncUpdateCustomDimension.java | 0 .../SyncUpdateCustomDimension.java | 0 ...stomDimensionCustomdimensionFieldmask.java | 0 .../AsyncUpdateCustomMetric.java | 0 .../SyncUpdateCustomMetric.java | 0 ...dateCustomMetricCustommetricFieldmask.java | 0 .../AsyncUpdateDataRetentionSettings.java | 0 .../SyncUpdateDataRetentionSettings.java | 0 ...ettingsDataretentionsettingsFieldmask.java | 0 .../AsyncUpdateDataStream.java | 0 .../SyncUpdateDataStream.java | 0 ...ncUpdateDataStreamDatastreamFieldmask.java | 0 .../AsyncUpdateGoogleAdsLink.java | 0 .../SyncUpdateGoogleAdsLink.java | 0 ...teGoogleAdsLinkGoogleadslinkFieldmask.java | 0 .../AsyncUpdateMeasurementProtocolSecret.java | 0 .../SyncUpdateMeasurementProtocolSecret.java | 0 ...retMeasurementprotocolsecretFieldmask.java | 0 .../updateproperty/AsyncUpdateProperty.java | 0 .../updateproperty/SyncUpdateProperty.java | 0 .../SyncUpdatePropertyPropertyFieldmask.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 1198 files changed, 108943 insertions(+), 126137 deletions(-) delete mode 100644 java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java delete mode 100644 java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java delete mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java (90%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java (90%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json (89%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java (89%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java (88%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java (89%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java (89%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java (89%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java (89%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java (89%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java (67%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java (50%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java (82%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java (81%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java (66%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java (66%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java (55%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java (66%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java (74%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java (76%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java (55%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java (69%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java (52%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java (58%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java (55%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java (56%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java (55%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java (51%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java (57%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java (81%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java (53%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java (55%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java (77%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java (52%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java (54%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java (52%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java (74%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java (81%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java (76%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java (58%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java (58%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java (51%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java (55%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java (57%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java (59%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java (75%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java (53%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java (57%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java (55%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java (64%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java (51%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java (53%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java (50%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java (77%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java (75%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java (77%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java (59%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java (52%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java (59%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java (58%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java (53%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java (57%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java (50%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java (56%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java (55%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java (76%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java (82%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java (80%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java (90%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java (76%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java (54%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java (67%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java (56%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java (59%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java (59%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java (56%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java (58%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java (52%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java (50%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java (56%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java (56%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java (58%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java (58%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java (50%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java (74%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java (79%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto (95%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto (80%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto (86%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto (80%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java create mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1alpha}/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java (99%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java (99%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java (100%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java (74%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java (76%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java (56%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java (69%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java (75%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java (81%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java (75%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java (75%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java (59%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java (56%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java (75%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java (62%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java (64%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java (58%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java (64%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java (61%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java (60%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java (64%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java (79%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java (75%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java (74%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java (60%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java (63%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java (61%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java (55%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java (76%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java (82%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java (69%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java (77%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java (73%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java (63%) create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java create mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java (65%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java (67%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java (71%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java (62%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java (70%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java (68%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java (72%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java (59%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java (58%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java (66%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java (64%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java (100%) rename {java-analytics-admin => owl-bot-staging/java-analytics-admin/v1beta}/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java (100%) 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 deleted file mode 100644 index caf0adee298b..000000000000 --- a/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java +++ /dev/null @@ -1,10422 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.analytics.admin.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service Interface for the Analytics Admin API (GA4).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AnalyticsAdminServiceGrpc { - - private AnalyticsAdminServiceGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getGetAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAccount", - requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getGetAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getGetAccountMethod; - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAccountMethod = - getGetAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) - .build(); - } - } - } - return getGetAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse> - getListAccountsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccounts", - requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse> - getListAccountsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse> - getListAccountsMethod; - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountsMethod = - getListAccountsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) - .build(); - } - } - } - return getListAccountsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", - requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod; - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAccountMethod = - getDeleteAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) - .build(); - } - } - } - return getDeleteAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getUpdateAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", - requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getUpdateAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account> - getUpdateAccountMethod; - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAccountMethod = - getUpdateAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) - .build(); - } - } - } - return getUpdateAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", - requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, - responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod; - if ((getProvisionAccountTicketMethod = - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getProvisionAccountTicketMethod = - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) - == null) { - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = - getProvisionAccountTicketMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ProvisionAccountTicket")) - .build(); - } - } - } - return getProvisionAccountTicketMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - getListAccountSummariesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", - requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - getListAccountSummariesMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - getListAccountSummariesMethod; - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountSummariesMethod = - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) - == null) { - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = - getListAccountSummariesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) - .build(); - } - } - } - return getListAccountSummariesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getGetPropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProperty", - requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getGetPropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getGetPropertyMethod; - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getGetPropertyMethod = - getGetPropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetPropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) - .build(); - } - } - } - return getGetPropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - getListPropertiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProperties", - requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - getListPropertiesMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - getListPropertiesMethod; - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - AnalyticsAdminServiceGrpc.getListPropertiesMethod = - getListPropertiesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) - .build(); - } - } - } - return getListPropertiesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getCreatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProperty", - requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getCreatePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getCreatePropertyMethod; - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreatePropertyMethod = - getCreatePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreatePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) - .build(); - } - } - } - return getCreatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getDeletePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", - requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getDeletePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getDeletePropertyMethod; - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getDeletePropertyMethod = - getDeletePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeletePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) - .build(); - } - } - } - return getDeletePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getUpdatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", - requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getUpdatePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property> - getUpdatePropertyMethod; - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = - getUpdatePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) - .build(); - } - } - } - return getUpdatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getGetUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUserLink", - requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getGetUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getGetUserLinkMethod; - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetUserLinkMethod = - getGetUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) - .build(); - } - } - } - return getGetUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - getBatchGetUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - getBatchGetUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - getBatchGetUserLinksMethod; - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = - getBatchGetUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) - .build(); - } - } - } - return getBatchGetUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - getListUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", - requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - getListUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - getListUserLinksMethod; - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListUserLinksMethod = - getListUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) - .build(); - } - } - } - return getListUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - getAuditUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", - requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - getAuditUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - getAuditUserLinksMethod; - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = - getAuditUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) - .build(); - } - } - } - return getAuditUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getCreateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", - requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getCreateUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getCreateUserLinkMethod; - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = - getCreateUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) - .build(); - } - } - } - return getCreateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - getBatchCreateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - getBatchCreateUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - getBatchCreateUserLinksMethod; - if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchCreateUserLinksMethod = - AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = - getBatchCreateUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) - .build(); - } - } - } - return getBatchCreateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getUpdateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", - requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getUpdateUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink> - getUpdateUserLinkMethod; - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = - getUpdateUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) - .build(); - } - } - } - return getUpdateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - getBatchUpdateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - getBatchUpdateUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - getBatchUpdateUserLinksMethod; - if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchUpdateUserLinksMethod = - AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = - getBatchUpdateUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) - .build(); - } - } - } - return getBatchUpdateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> - getDeleteUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", - requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> - getDeleteUserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> - getDeleteUserLinkMethod; - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = - getDeleteUserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) - .build(); - } - } - } - return getDeleteUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> - getBatchDeleteUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> - getBatchDeleteUserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, - com.google.protobuf.Empty> - getBatchDeleteUserLinksMethod; - if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchDeleteUserLinksMethod = - AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = - getBatchDeleteUserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) - .build(); - } - } - } - return getBatchDeleteUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink> - getCreateFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", - requestType = com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.FirebaseLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink> - getCreateFirebaseLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink> - getCreateFirebaseLinkMethod; - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = - getCreateFirebaseLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) - .build(); - } - } - } - return getCreateFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> - getDeleteFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", - requestType = com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> - getDeleteFirebaseLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> - getDeleteFirebaseLinkMethod; - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = - getDeleteFirebaseLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) - .build(); - } - } - } - return getDeleteFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> - getListFirebaseLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", - requestType = com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> - getListFirebaseLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> - getListFirebaseLinksMethod; - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = - getListFirebaseLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) - .build(); - } - } - } - return getListFirebaseLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, - com.google.analytics.admin.v1alpha.GlobalSiteTag> - getGetGlobalSiteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGlobalSiteTag", - requestType = com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, - responseType = com.google.analytics.admin.v1alpha.GlobalSiteTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, - com.google.analytics.admin.v1alpha.GlobalSiteTag> - getGetGlobalSiteTagMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, - com.google.analytics.admin.v1alpha.GlobalSiteTag> - getGetGlobalSiteTagMethod; - if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod = - getGetGlobalSiteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGlobalSiteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GlobalSiteTag - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetGlobalSiteTag")) - .build(); - } - } - } - return getGetGlobalSiteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink> - getCreateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink> - getCreateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink> - getCreateGoogleAdsLinkMethod; - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = - getCreateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleAdsLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) - .build(); - } - } - } - return getCreateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink> - getUpdateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink> - getUpdateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink> - getUpdateGoogleAdsLinkMethod; - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = - getUpdateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleAdsLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) - .build(); - } - } - } - return getUpdateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> - getDeleteGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> - getDeleteGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty> - getDeleteGoogleAdsLinkMethod; - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = - getDeleteGoogleAdsLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) - .build(); - } - } - } - return getDeleteGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> - getListGoogleAdsLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", - requestType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> - getListGoogleAdsLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> - getListGoogleAdsLinksMethod; - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = - getListGoogleAdsLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) - .build(); - } - } - } - return getListGoogleAdsLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1alpha.DataSharingSettings> - getGetDataSharingSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataSharingSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1alpha.DataSharingSettings> - getGetDataSharingSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1alpha.DataSharingSettings> - getGetDataSharingSettingsMethod; - if ((getGetDataSharingSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataSharingSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = - getGetDataSharingSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataSharingSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDataSharingSettings")) - .build(); - } - } - } - return getGetDataSharingSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getGetMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getGetMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getGetMeasurementProtocolSecretMethod; - if ((getGetMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = - getGetMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetMeasurementProtocolSecret")) - .build(); - } - } - } - return getGetMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> - getListMeasurementProtocolSecretsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", - requestType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, - responseType = - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> - getListMeasurementProtocolSecretsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> - getListMeasurementProtocolSecretsMethod; - if ((getListMeasurementProtocolSecretsMethod = - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListMeasurementProtocolSecretsMethod = - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = - getListMeasurementProtocolSecretsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListMeasurementProtocolSecretsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListMeasurementProtocolSecretsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListMeasurementProtocolSecrets")) - .build(); - } - } - } - return getListMeasurementProtocolSecretsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getCreateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getCreateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getCreateMeasurementProtocolSecretMethod; - if ((getCreateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = - getCreateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .CreateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateMeasurementProtocolSecret")) - .build(); - } - } - } - return getCreateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty> - getDeleteMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty> - getDeleteMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty> - getDeleteMeasurementProtocolSecretMethod; - if ((getDeleteMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = - getDeleteMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteMeasurementProtocolSecret")) - .build(); - } - } - } - return getDeleteMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getUpdateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getUpdateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getUpdateMeasurementProtocolSecretMethod; - if ((getUpdateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = - getUpdateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateMeasurementProtocolSecret")) - .build(); - } - } - } - return getUpdateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> - getAcknowledgeUserDataCollectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", - requestType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, - responseType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> - getAcknowledgeUserDataCollectionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> - getAcknowledgeUserDataCollectionMethod; - if ((getAcknowledgeUserDataCollectionMethod = - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAcknowledgeUserDataCollectionMethod = - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) - == null) { - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = - getAcknowledgeUserDataCollectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .AcknowledgeUserDataCollectionRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .AcknowledgeUserDataCollectionResponse.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "AcknowledgeUserDataCollection")) - .build(); - } - } - } - return getAcknowledgeUserDataCollectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", - requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod; - if ((getSearchChangeHistoryEventsMethod = - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getSearchChangeHistoryEventsMethod = - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) - == null) { - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = - getSearchChangeHistoryEventsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "SearchChangeHistoryEvents")) - .build(); - } - } - } - return getSearchChangeHistoryEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGetGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGetGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGetGoogleSignalsSettingsMethod; - if ((getGetGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = - getGetGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetGoogleSignalsSettings")) - .build(); - } - } - } - return getGetGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getUpdateGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getUpdateGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getUpdateGoogleSignalsSettingsMethod; - if ((getUpdateGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleSignalsSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = - getUpdateGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateGoogleSignalsSettings")) - .build(); - } - } - } - return getUpdateGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getCreateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", - requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getCreateConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getCreateConversionEventMethod; - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateConversionEventMethod = - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = - getCreateConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateConversionEvent")) - .build(); - } - } - } - return getCreateConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getGetConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", - requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getGetConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent> - getGetConversionEventMethod; - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetConversionEventMethod = - getGetConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) - .build(); - } - } - } - return getGetConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty> - getDeleteConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", - requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty> - getDeleteConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty> - getDeleteConversionEventMethod; - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteConversionEventMethod = - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = - getDeleteConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteConversionEvent")) - .build(); - } - } - } - return getDeleteConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - getListConversionEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", - requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - getListConversionEventsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - getListConversionEventsMethod; - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListConversionEventsMethod = - AnalyticsAdminServiceGrpc.getListConversionEventsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListConversionEventsMethod = - getListConversionEventsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) - .build(); - } - } - } - return getListConversionEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getGetDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getGetDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getGetDisplayVideo360AdvertiserLinkMethod; - if ((getGetDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = - getGetDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - getListDisplayVideo360AdvertiserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", - requestType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, - responseType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - getListDisplayVideo360AdvertiserLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - getListDisplayVideo360AdvertiserLinksMethod; - if ((getListDisplayVideo360AdvertiserLinksMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinksMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = - getListDisplayVideo360AdvertiserLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListDisplayVideo360AdvertiserLinks")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getCreateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getCreateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getCreateDisplayVideo360AdvertiserLinkMethod; - if ((getCreateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = - getCreateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = - getDeleteDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getUpdateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", - requestType = - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getUpdateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getUpdateDisplayVideo360AdvertiserLinkMethod; - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = - getUpdateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getUpdateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getGetDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getGetDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getGetDisplayVideo360AdvertiserLinkProposalMethod; - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = - getGetDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - getListDisplayVideo360AdvertiserLinkProposalsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", - requestType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .class, - responseType = - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - getListDisplayVideo360AdvertiserLinkProposalsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - getListDisplayVideo360AdvertiserLinkProposalsMethod; - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = - getListDisplayVideo360AdvertiserLinkProposalsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListDisplayVideo360AdvertiserLinkProposals")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinkProposalsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCreateDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCreateDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCreateDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = - getCreateDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty> - getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - getApproveDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - .class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - getApproveDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - getApproveDisplayVideo360AdvertiserLinkProposalMethod; - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = - getApproveDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ApproveDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getApproveDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCancelDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", - requestType = - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCancelDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getCancelDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) - == null) { - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = - getCancelDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha - .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CancelDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCancelDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getCreateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getCreateCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getCreateCustomDimensionMethod; - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = - getCreateCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateCustomDimension")) - .build(); - } - } - } - return getCreateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getUpdateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getUpdateCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getUpdateCustomDimensionMethod; - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = - getUpdateCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateCustomDimension")) - .build(); - } - } - } - return getUpdateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - getListCustomDimensionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", - requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - getListCustomDimensionsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - getListCustomDimensionsMethod; - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomDimensionsMethod = - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = - getListCustomDimensionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) - .build(); - } - } - } - return getListCustomDimensionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod; - if ((getArchiveCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = - getArchiveCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ArchiveCustomDimension")) - .build(); - } - } - } - return getArchiveCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getGetCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", - requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getGetCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension> - getGetCustomDimensionMethod; - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = - getGetCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) - .build(); - } - } - } - return getGetCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getCreateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getCreateCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getCreateCustomMetricMethod; - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = - getCreateCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) - .build(); - } - } - } - return getCreateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getUpdateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getUpdateCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getUpdateCustomMetricMethod; - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = - getUpdateCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) - .build(); - } - } - } - return getUpdateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - getListCustomMetricsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", - requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - getListCustomMetricsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - getListCustomMetricsMethod; - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = - getListCustomMetricsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) - .build(); - } - } - } - return getListCustomMetricsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> - getArchiveCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> - getArchiveCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, - com.google.protobuf.Empty> - getArchiveCustomMetricMethod; - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = - getArchiveCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) - .build(); - } - } - } - return getArchiveCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getGetCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", - requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getGetCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric> - getGetCustomMetricMethod; - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = - getGetCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) - .build(); - } - } - } - return getGetCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getGetDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getGetDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getGetDataRetentionSettingsMethod; - if ((getGetDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = - getGetDataRetentionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDataRetentionSettings")) - .build(); - } - } - } - return getGetDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod; - if ((getUpdateDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = - getUpdateDataRetentionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateDataRetentionSettings")) - .build(); - } - } - } - return getUpdateDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getCreateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", - requestType = com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getCreateDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getCreateDataStreamMethod; - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = - getCreateDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) - .build(); - } - } - } - return getCreateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> - getDeleteDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> - getDeleteDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> - getDeleteDataStreamMethod; - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = - getDeleteDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) - .build(); - } - } - } - return getDeleteDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getUpdateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getUpdateDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getUpdateDataStreamMethod; - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = - getUpdateDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) - .build(); - } - } - } - return getUpdateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse> - getListDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse> - getListDataStreamsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse> - getListDataStreamsMethod; - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListDataStreamsMethod = - getListDataStreamsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) - .build(); - } - } - } - return getListDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getGetDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataStream", - requestType = com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getGetDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream> - getGetDataStreamMethod; - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataStreamMethod = - getGetDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) - .build(); - } - } - } - return getGetDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getGetAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAudience", - requestType = com.google.analytics.admin.v1alpha.GetAudienceRequest.class, - responseType = com.google.analytics.admin.v1alpha.Audience.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getGetAudienceMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getGetAudienceMethod; - if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAudienceMethod = - getGetAudienceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAudienceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetAudience")) - .build(); - } - } - } - return getGetAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAudiencesRequest, - com.google.analytics.admin.v1alpha.ListAudiencesResponse> - getListAudiencesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAudiences", - requestType = com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAudiencesRequest, - com.google.analytics.admin.v1alpha.ListAudiencesResponse> - getListAudiencesMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ListAudiencesRequest, - com.google.analytics.admin.v1alpha.ListAudiencesResponse> - getListAudiencesMethod; - if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { - AnalyticsAdminServiceGrpc.getListAudiencesMethod = - getListAudiencesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAudiences")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAudiencesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAudiencesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListAudiences")) - .build(); - } - } - } - return getListAudiencesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getCreateAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAudience", - requestType = com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, - responseType = com.google.analytics.admin.v1alpha.Audience.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getCreateAudienceMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.CreateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getCreateAudienceMethod; - if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateAudienceMethod = - getCreateAudienceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateAudienceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAudience")) - .build(); - } - } - } - return getCreateAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getUpdateAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAudience", - requestType = com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, - responseType = com.google.analytics.admin.v1alpha.Audience.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getUpdateAudienceMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience> - getUpdateAudienceMethod; - if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAudienceMethod = - getUpdateAudienceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAudience")) - .build(); - } - } - } - return getUpdateAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, com.google.protobuf.Empty> - getArchiveAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveAudience", - requestType = com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, com.google.protobuf.Empty> - getArchiveAudienceMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, com.google.protobuf.Empty> - getArchiveAudienceMethod; - if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) - == null) { - AnalyticsAdminServiceGrpc.getArchiveAudienceMethod = - getArchiveAudienceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveAudience")) - .build(); - } - } - } - return getArchiveAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings> - getGetAttributionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttributionSettings", - requestType = com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings> - getGetAttributionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings> - getGetAttributionSettingsMethod; - if ((getGetAttributionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAttributionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod = - getGetAttributionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetAttributionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AttributionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetAttributionSettings")) - .build(); - } - } - } - return getGetAttributionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings> - getUpdateAttributionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAttributionSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings> - getUpdateAttributionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings> - getUpdateAttributionSettingsMethod; - if ((getUpdateAttributionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAttributionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod = - getUpdateAttributionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateAttributionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AttributionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateAttributionSettings")) - .build(); - } - } - } - return getUpdateAttributionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.RunAccessReportRequest, - com.google.analytics.admin.v1alpha.RunAccessReportResponse> - getRunAccessReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAccessReport", - requestType = com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, - responseType = com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.RunAccessReportRequest, - com.google.analytics.admin.v1alpha.RunAccessReportResponse> - getRunAccessReportMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1alpha.RunAccessReportRequest, - com.google.analytics.admin.v1alpha.RunAccessReportResponse> - getRunAccessReportMethod; - if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) - == null) { - AnalyticsAdminServiceGrpc.getRunAccessReportMethod = - getRunAccessReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAccessReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.RunAccessReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.RunAccessReportResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("RunAccessReport")) - .build(); - } - } - } - return getRunAccessReportMethod; - } - - /** 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 = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AnalyticsAdminServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AnalyticsAdminServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public abstract static class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAccountsMethod(), responseObserver); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public void updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getProvisionAccountTicketMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAccountSummariesMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPropertiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public void deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public void updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchGetUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAuditUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchUpdateUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteUserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteUserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateFirebaseLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteFirebaseLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListFirebaseLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public void getGlobalSiteTag( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetGlobalSiteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListGoogleAdsLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataSharingSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMeasurementProtocolSecretsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAcknowledgeUserDataCollectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchChangeHistoryEventsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConversionEventsMethod(), responseObserver); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomDimensionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getArchiveCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomMetricsMethod(), responseObserver); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getArchiveCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataRetentionSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream( - com.google.analytics.admin.v1alpha.GetDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single Audience.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public void getAudience( - com.google.analytics.admin.v1alpha.GetAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAudienceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Audiences on a property.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public void listAudiences( - com.google.analytics.admin.v1alpha.ListAudiencesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAudiencesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an Audience.
-     * 
- */ - public void createAudience( - com.google.analytics.admin.v1alpha.CreateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAudienceMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an Audience on a property.
-     * 
- */ - public void updateAudience( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAudienceMethod(), responseObserver); - } - - /** - * - * - *
-     * Archives an Audience on a property.
-     * 
- */ - public void archiveAudience( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getArchiveAudienceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public void getAttributionSettings( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAttributionSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates attribution settings on a property.
-     * 
- */ - public void updateAttributionSettings( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAttributionSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public void runAccessReport( - com.google.analytics.admin.v1alpha.RunAccessReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunAccessReportMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account>(this, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse>( - this, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account>(this, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( - this, METHODID_PROVISION_ACCOUNT_TICKET))) - .addMethod( - getListAccountSummariesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( - this, METHODID_LIST_ACCOUNT_SUMMARIES))) - .addMethod( - getGetPropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse>( - this, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>(this, METHODID_UPDATE_PROPERTY))) - .addMethod( - getGetUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>(this, METHODID_GET_USER_LINK))) - .addMethod( - getBatchGetUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( - this, METHODID_BATCH_GET_USER_LINKS))) - .addMethod( - getListUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse>( - this, METHODID_LIST_USER_LINKS))) - .addMethod( - getAuditUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( - this, METHODID_AUDIT_USER_LINKS))) - .addMethod( - getCreateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_CREATE_USER_LINK))) - .addMethod( - getBatchCreateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( - this, METHODID_BATCH_CREATE_USER_LINKS))) - .addMethod( - getUpdateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_UPDATE_USER_LINK))) - .addMethod( - getBatchUpdateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( - this, METHODID_BATCH_UPDATE_USER_LINKS))) - .addMethod( - getDeleteUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_USER_LINK))) - .addMethod( - getBatchDeleteUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, - com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_USER_LINKS))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink>( - this, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_FIREBASE_LINK))) - .addMethod( - getListFirebaseLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( - this, METHODID_LIST_FIREBASE_LINKS))) - .addMethod( - getGetGlobalSiteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, - com.google.analytics.admin.v1alpha.GlobalSiteTag>( - this, METHODID_GET_GLOBAL_SITE_TAG))) - .addMethod( - getCreateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_CREATE_GOOGLE_ADS_LINK))) - .addMethod( - getUpdateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_GOOGLE_ADS_LINK))) - .addMethod( - getListGoogleAdsLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( - this, METHODID_LIST_GOOGLE_ADS_LINKS))) - .addMethod( - getGetDataSharingSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1alpha.DataSharingSettings>( - this, METHODID_GET_DATA_SHARING_SETTINGS))) - .addMethod( - getGetMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getListMeasurementProtocolSecretsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( - this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) - .addMethod( - getCreateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getUpdateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getAcknowledgeUserDataCollectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>( - this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) - .addMethod( - getSearchChangeHistoryEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( - this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) - .addMethod( - getGetGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getUpdateGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getCreateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSION_EVENT))) - .addMethod( - getListConversionEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( - this, METHODID_LIST_CONVERSION_EVENTS))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getListDisplayVideo360AdvertiserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getUpdateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getListDisplayVideo360AdvertiserLinkProposalsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse>( - this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCreateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_CREATE_CUSTOM_DIMENSION))) - .addMethod( - getUpdateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_UPDATE_CUSTOM_DIMENSION))) - .addMethod( - getListCustomDimensionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( - this, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) - .addMethod( - getGetCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_GET_CUSTOM_DIMENSION))) - .addMethod( - getCreateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_CREATE_CUSTOM_METRIC))) - .addMethod( - getUpdateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_UPDATE_CUSTOM_METRIC))) - .addMethod( - getListCustomMetricsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( - this, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_METRIC))) - .addMethod( - getGetCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_GET_CUSTOM_METRIC))) - .addMethod( - getGetDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_GET_DATA_RETENTION_SETTINGS))) - .addMethod( - getUpdateDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) - .addMethod( - getCreateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_CREATE_DATA_STREAM))) - .addMethod( - getDeleteDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_DATA_STREAM))) - .addMethod( - getUpdateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_UPDATE_DATA_STREAM))) - .addMethod( - getListDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse>( - this, METHODID_LIST_DATA_STREAMS))) - .addMethod( - getGetDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_GET_DATA_STREAM))) - .addMethod( - getGetAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>(this, METHODID_GET_AUDIENCE))) - .addMethod( - getListAudiencesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAudiencesRequest, - com.google.analytics.admin.v1alpha.ListAudiencesResponse>( - this, METHODID_LIST_AUDIENCES))) - .addMethod( - getCreateAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>(this, METHODID_CREATE_AUDIENCE))) - .addMethod( - getUpdateAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>(this, METHODID_UPDATE_AUDIENCE))) - .addMethod( - getArchiveAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, - com.google.protobuf.Empty>(this, METHODID_ARCHIVE_AUDIENCE))) - .addMethod( - getGetAttributionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings>( - this, METHODID_GET_ATTRIBUTION_SETTINGS))) - .addMethod( - getUpdateAttributionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings>( - this, METHODID_UPDATE_ATTRIBUTION_SETTINGS))) - .addMethod( - getRunAccessReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.RunAccessReportRequest, - com.google.analytics.admin.v1alpha.RunAccessReportResponse>( - this, METHODID_RUN_ACCESS_REPORT))) - .build(); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AnalyticsAdminServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public void updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public void deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public void updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public void getGlobalSiteTag( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream( - com.google.analytics.admin.v1alpha.GetDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single Audience.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public void getAudience( - com.google.analytics.admin.v1alpha.GetAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAudienceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Audiences on a property.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public void listAudiences( - com.google.analytics.admin.v1alpha.ListAudiencesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAudiencesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an Audience.
-     * 
- */ - public void createAudience( - com.google.analytics.admin.v1alpha.CreateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an Audience on a property.
-     * 
- */ - public void updateAudience( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Archives an Audience on a property.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public void getAttributionSettings( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates attribution settings on a property.
-     * 
- */ - public void updateAttributionSettings( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public void runAccessReport( - com.google.analytics.admin.v1alpha.RunAccessReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AnalyticsAdminServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.protobuf.Empty deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPropertiesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.protobuf.Empty deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.FirebaseLink createFirebaseLink( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteFirebaseLink( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse listFirebaseLinks( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GlobalSiteTag getGlobalSiteTag( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGlobalSiteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleAdsLink createGoogleAdsLink( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleAdsLink updateGoogleAdsLink( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteGoogleAdsLink( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse listGoogleAdsLinks( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataSharingSettings getDataSharingSettings( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - listMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - createMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.protobuf.Empty deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - updateMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - acknowledgeUserDataCollection( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.protobuf.Empty deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConversionEventsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getGetDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getListDisplayVideo360AdvertiserLinkProposalsMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream createDataStream( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDataStream( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream updateDataStream( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDataStreamsResponse listDataStreams( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream getDataStream( - com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single Audience.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Audience getAudience( - com.google.analytics.admin.v1alpha.GetAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAudienceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Audiences on a property.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAudiencesResponse listAudiences( - com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAudiencesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an Audience.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Audience createAudience( - com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAudienceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an Audience on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Audience updateAudience( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAudienceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Archives an Audience on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveAudience( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveAudienceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttributionSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates attribution settings on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AttributionSettings updateAttributionSettings( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAttributionSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public com.google.analytics.admin.v1alpha.RunAccessReportResponse runAccessReport( - com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunAccessReportMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AnalyticsAdminServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Account> - getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListAccountsResponse> - listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Account> - updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> - provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> - listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListPropertiesResponse> - listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Property> - updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.UserLink> - getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> - batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListUserLinksResponse> - listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.AuditUserLinksResponse> - auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.UserLink> - createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> - batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.UserLink> - updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> - batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.FirebaseLink> - createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> - listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.GlobalSiteTag> - getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.GoogleAdsLink> - createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.GoogleAdsLink> - updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> - listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataSharingSettings> - getDataSharingSettings( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - getMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> - listMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - createMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> - updateMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> - acknowledgeUserDataCollection( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> - searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings> - updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ConversionEvent> - createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ConversionEvent> - getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListConversionEventsResponse> - listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> - listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> - listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> - approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomDimension> - createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomDimension> - updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> - listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomDimension> - getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomMetric> - createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomMetric> - updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> - listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.CustomMetric> - getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataRetentionSettings> - getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataRetentionSettings> - updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataStream> - createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataStream> - updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListDataStreamsResponse> - listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.DataStream> - getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single Audience.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Audience> - getAudience(com.google.analytics.admin.v1alpha.GetAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAudienceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Audiences on a property.
-     * Audiences created before 2020 may not be supported.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.ListAudiencesResponse> - listAudiences(com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAudiencesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an Audience.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Audience> - createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an Audience on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.Audience> - updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Archives an Audience on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - archiveAudience(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveAudienceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.AttributionSettings> - getAttributionSettings( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates attribution settings on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.AttributionSettings> - updateAttributionSettings( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1alpha.RunAccessReportResponse> - runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_ACCOUNT = 0; - private static final int METHODID_LIST_ACCOUNTS = 1; - private static final int METHODID_DELETE_ACCOUNT = 2; - private static final int METHODID_UPDATE_ACCOUNT = 3; - private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; - private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; - private static final int METHODID_GET_PROPERTY = 6; - private static final int METHODID_LIST_PROPERTIES = 7; - private static final int METHODID_CREATE_PROPERTY = 8; - private static final int METHODID_DELETE_PROPERTY = 9; - private static final int METHODID_UPDATE_PROPERTY = 10; - private static final int METHODID_GET_USER_LINK = 11; - private static final int METHODID_BATCH_GET_USER_LINKS = 12; - private static final int METHODID_LIST_USER_LINKS = 13; - private static final int METHODID_AUDIT_USER_LINKS = 14; - private static final int METHODID_CREATE_USER_LINK = 15; - private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; - private static final int METHODID_UPDATE_USER_LINK = 17; - private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; - private static final int METHODID_DELETE_USER_LINK = 19; - private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; - private static final int METHODID_CREATE_FIREBASE_LINK = 21; - private static final int METHODID_DELETE_FIREBASE_LINK = 22; - private static final int METHODID_LIST_FIREBASE_LINKS = 23; - private static final int METHODID_GET_GLOBAL_SITE_TAG = 24; - private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 25; - private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 26; - private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 27; - private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 28; - private static final int METHODID_GET_DATA_SHARING_SETTINGS = 29; - private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 30; - private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 31; - private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 32; - private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 33; - private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 34; - private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 35; - private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 36; - private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 37; - private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 38; - private static final int METHODID_CREATE_CONVERSION_EVENT = 39; - private static final int METHODID_GET_CONVERSION_EVENT = 40; - private static final int METHODID_DELETE_CONVERSION_EVENT = 41; - private static final int METHODID_LIST_CONVERSION_EVENTS = 42; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 43; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 44; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 45; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 46; - private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 47; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 48; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 49; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 50; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 51; - private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 52; - private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 53; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 54; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 55; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 56; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 57; - private static final int METHODID_GET_CUSTOM_DIMENSION = 58; - private static final int METHODID_CREATE_CUSTOM_METRIC = 59; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 60; - private static final int METHODID_LIST_CUSTOM_METRICS = 61; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 62; - private static final int METHODID_GET_CUSTOM_METRIC = 63; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 64; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 65; - private static final int METHODID_CREATE_DATA_STREAM = 66; - private static final int METHODID_DELETE_DATA_STREAM = 67; - private static final int METHODID_UPDATE_DATA_STREAM = 68; - private static final int METHODID_LIST_DATA_STREAMS = 69; - private static final int METHODID_GET_DATA_STREAM = 70; - private static final int METHODID_GET_AUDIENCE = 71; - private static final int METHODID_LIST_AUDIENCES = 72; - 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 class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AnalyticsAdminServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_ACCOUNT: - serviceImpl.getAccount( - (com.google.analytics.admin.v1alpha.GetAccountRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ACCOUNTS: - serviceImpl.listAccounts( - (com.google.analytics.admin.v1alpha.ListAccountsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ACCOUNT: - serviceImpl.deleteAccount( - (com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ACCOUNT: - serviceImpl.updateAccount( - (com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PROVISION_ACCOUNT_TICKET: - serviceImpl.provisionAccountTicket( - (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>) - responseObserver); - break; - case METHODID_LIST_ACCOUNT_SUMMARIES: - serviceImpl.listAccountSummaries( - (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>) - responseObserver); - break; - case METHODID_GET_PROPERTY: - serviceImpl.getProperty( - (com.google.analytics.admin.v1alpha.GetPropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PROPERTIES: - serviceImpl.listProperties( - (com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListPropertiesResponse>) - responseObserver); - break; - case METHODID_CREATE_PROPERTY: - serviceImpl.createProperty( - (com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PROPERTY: - serviceImpl.deleteProperty( - (com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_PROPERTY: - serviceImpl.updateProperty( - (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_USER_LINK: - serviceImpl.getUserLink( - (com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_GET_USER_LINKS: - serviceImpl.batchGetUserLinks( - (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>) - responseObserver); - break; - case METHODID_LIST_USER_LINKS: - serviceImpl.listUserLinks( - (com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListUserLinksResponse>) - responseObserver); - break; - case METHODID_AUDIT_USER_LINKS: - serviceImpl.auditUserLinks( - (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.AuditUserLinksResponse>) - responseObserver); - break; - case METHODID_CREATE_USER_LINK: - serviceImpl.createUserLink( - (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_CREATE_USER_LINKS: - serviceImpl.batchCreateUserLinks( - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>) - responseObserver); - break; - case METHODID_UPDATE_USER_LINK: - serviceImpl.updateUserLink( - (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_UPDATE_USER_LINKS: - serviceImpl.batchUpdateUserLinks( - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>) - responseObserver); - break; - case METHODID_DELETE_USER_LINK: - serviceImpl.deleteUserLink( - (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_USER_LINKS: - serviceImpl.batchDeleteUserLinks( - (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_FIREBASE_LINK: - serviceImpl.createFirebaseLink( - (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_FIREBASE_LINK: - serviceImpl.deleteFirebaseLink( - (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FIREBASE_LINKS: - serviceImpl.listFirebaseLinks( - (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>) - responseObserver); - break; - case METHODID_GET_GLOBAL_SITE_TAG: - serviceImpl.getGlobalSiteTag( - (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_GOOGLE_ADS_LINK: - serviceImpl.createGoogleAdsLink( - (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_GOOGLE_ADS_LINK: - serviceImpl.updateGoogleAdsLink( - (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_GOOGLE_ADS_LINK: - serviceImpl.deleteGoogleAdsLink( - (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_GOOGLE_ADS_LINKS: - serviceImpl.listGoogleAdsLinks( - (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>) - responseObserver); - break; - case METHODID_GET_DATA_SHARING_SETTINGS: - serviceImpl.getDataSharingSettings( - (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.getMeasurementProtocolSecret( - (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) - responseObserver); - break; - case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: - serviceImpl.listMeasurementProtocolSecrets( - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>) - responseObserver); - break; - case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.createMeasurementProtocolSecret( - (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) - responseObserver); - break; - case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.deleteMeasurementProtocolSecret( - (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.updateMeasurementProtocolSecret( - (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) - responseObserver); - break; - case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: - serviceImpl.acknowledgeUserDataCollection( - (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>) - responseObserver); - break; - case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: - serviceImpl.searchChangeHistoryEvents( - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>) - responseObserver); - break; - case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.getGoogleSignalsSettings( - (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) - responseObserver); - break; - case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.updateGoogleSignalsSettings( - (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) - responseObserver); - break; - case METHODID_CREATE_CONVERSION_EVENT: - serviceImpl.createConversionEvent( - (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CONVERSION_EVENT: - serviceImpl.getConversionEvent( - (com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_CONVERSION_EVENT: - serviceImpl.deleteConversionEvent( - (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONVERSION_EVENTS: - serviceImpl.listConversionEvents( - (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListConversionEventsResponse>) - responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.getDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) - responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: - serviceImpl.listDisplayVideo360AdvertiserLinks( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinksResponse>) - responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.createDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) - responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.deleteDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.updateDisplayVideo360AdvertiserLink( - (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) - responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.getDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) - responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: - serviceImpl.listDisplayVideo360AdvertiserLinkProposals( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse>) - responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.createDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) - responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.approveDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse>) - responseObserver); - break; - case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal( - (com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) - responseObserver); - break; - case METHODID_CREATE_CUSTOM_DIMENSION: - serviceImpl.createCustomDimension( - (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CUSTOM_DIMENSION: - serviceImpl.updateCustomDimension( - (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_CUSTOM_DIMENSIONS: - serviceImpl.listCustomDimensions( - (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>) - responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_DIMENSION: - serviceImpl.archiveCustomDimension( - (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_DIMENSION: - serviceImpl.getCustomDimension( - (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CUSTOM_METRIC: - serviceImpl.createCustomMetric( - (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CUSTOM_METRIC: - serviceImpl.updateCustomMetric( - (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_CUSTOM_METRICS: - serviceImpl.listCustomMetrics( - (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>) - responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_METRIC: - serviceImpl.archiveCustomMetric( - (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_METRIC: - serviceImpl.getCustomMetric( - (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DATA_RETENTION_SETTINGS: - serviceImpl.getDataRetentionSettings( - (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DataRetentionSettings>) - responseObserver); - break; - case METHODID_UPDATE_DATA_RETENTION_SETTINGS: - serviceImpl.updateDataRetentionSettings( - (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.DataRetentionSettings>) - responseObserver); - break; - case METHODID_CREATE_DATA_STREAM: - serviceImpl.createDataStream( - (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_DATA_STREAM: - serviceImpl.deleteDataStream( - (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_STREAM: - serviceImpl.updateDataStream( - (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DATA_STREAMS: - serviceImpl.listDataStreams( - (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListDataStreamsResponse>) - responseObserver); - break; - case METHODID_GET_DATA_STREAM: - serviceImpl.getDataStream( - (com.google.analytics.admin.v1alpha.GetDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_AUDIENCE: - serviceImpl.getAudience( - (com.google.analytics.admin.v1alpha.GetAudienceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_AUDIENCES: - serviceImpl.listAudiences( - (com.google.analytics.admin.v1alpha.ListAudiencesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.ListAudiencesResponse>) - responseObserver); - break; - case METHODID_CREATE_AUDIENCE: - serviceImpl.createAudience( - (com.google.analytics.admin.v1alpha.CreateAudienceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_AUDIENCE: - serviceImpl.updateAudience( - (com.google.analytics.admin.v1alpha.UpdateAudienceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_ARCHIVE_AUDIENCE: - serviceImpl.archiveAudience( - (com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ATTRIBUTION_SETTINGS: - serviceImpl.getAttributionSettings( - (com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_ATTRIBUTION_SETTINGS: - serviceImpl.updateAttributionSettings( - (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_ACCESS_REPORT: - serviceImpl.runAccessReport( - (com.google.analytics.admin.v1alpha.RunAccessReportRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1alpha.RunAccessReportResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AnalyticsAdminServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AnalyticsAdminService"); - } - } - - private static final class AnalyticsAdminServiceFileDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier { - AnalyticsAdminServiceFileDescriptorSupplier() {} - } - - private static final class AnalyticsAdminServiceMethodDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) - .addMethod(getGetAccountMethod()) - .addMethod(getListAccountsMethod()) - .addMethod(getDeleteAccountMethod()) - .addMethod(getUpdateAccountMethod()) - .addMethod(getProvisionAccountTicketMethod()) - .addMethod(getListAccountSummariesMethod()) - .addMethod(getGetPropertyMethod()) - .addMethod(getListPropertiesMethod()) - .addMethod(getCreatePropertyMethod()) - .addMethod(getDeletePropertyMethod()) - .addMethod(getUpdatePropertyMethod()) - .addMethod(getGetUserLinkMethod()) - .addMethod(getBatchGetUserLinksMethod()) - .addMethod(getListUserLinksMethod()) - .addMethod(getAuditUserLinksMethod()) - .addMethod(getCreateUserLinkMethod()) - .addMethod(getBatchCreateUserLinksMethod()) - .addMethod(getUpdateUserLinkMethod()) - .addMethod(getBatchUpdateUserLinksMethod()) - .addMethod(getDeleteUserLinkMethod()) - .addMethod(getBatchDeleteUserLinksMethod()) - .addMethod(getCreateFirebaseLinkMethod()) - .addMethod(getDeleteFirebaseLinkMethod()) - .addMethod(getListFirebaseLinksMethod()) - .addMethod(getGetGlobalSiteTagMethod()) - .addMethod(getCreateGoogleAdsLinkMethod()) - .addMethod(getUpdateGoogleAdsLinkMethod()) - .addMethod(getDeleteGoogleAdsLinkMethod()) - .addMethod(getListGoogleAdsLinksMethod()) - .addMethod(getGetDataSharingSettingsMethod()) - .addMethod(getGetMeasurementProtocolSecretMethod()) - .addMethod(getListMeasurementProtocolSecretsMethod()) - .addMethod(getCreateMeasurementProtocolSecretMethod()) - .addMethod(getDeleteMeasurementProtocolSecretMethod()) - .addMethod(getUpdateMeasurementProtocolSecretMethod()) - .addMethod(getAcknowledgeUserDataCollectionMethod()) - .addMethod(getSearchChangeHistoryEventsMethod()) - .addMethod(getGetGoogleSignalsSettingsMethod()) - .addMethod(getUpdateGoogleSignalsSettingsMethod()) - .addMethod(getCreateConversionEventMethod()) - .addMethod(getGetConversionEventMethod()) - .addMethod(getDeleteConversionEventMethod()) - .addMethod(getListConversionEventsMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCreateCustomDimensionMethod()) - .addMethod(getUpdateCustomDimensionMethod()) - .addMethod(getListCustomDimensionsMethod()) - .addMethod(getArchiveCustomDimensionMethod()) - .addMethod(getGetCustomDimensionMethod()) - .addMethod(getCreateCustomMetricMethod()) - .addMethod(getUpdateCustomMetricMethod()) - .addMethod(getListCustomMetricsMethod()) - .addMethod(getArchiveCustomMetricMethod()) - .addMethod(getGetCustomMetricMethod()) - .addMethod(getGetDataRetentionSettingsMethod()) - .addMethod(getUpdateDataRetentionSettingsMethod()) - .addMethod(getCreateDataStreamMethod()) - .addMethod(getDeleteDataStreamMethod()) - .addMethod(getUpdateDataStreamMethod()) - .addMethod(getListDataStreamsMethod()) - .addMethod(getGetDataStreamMethod()) - .addMethod(getGetAudienceMethod()) - .addMethod(getListAudiencesMethod()) - .addMethod(getCreateAudienceMethod()) - .addMethod(getUpdateAudienceMethod()) - .addMethod(getArchiveAudienceMethod()) - .addMethod(getGetAttributionSettingsMethod()) - .addMethod(getUpdateAttributionSettingsMethod()) - .addMethod(getRunAccessReportMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java b/java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java deleted file mode 100644 index 6c675878ae01..000000000000 --- a/java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java +++ /dev/null @@ -1,6139 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.analytics.admin.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service Interface for the Analytics Admin API (GA4).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/admin/v1beta/analytics_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AnalyticsAdminServiceGrpc { - - private AnalyticsAdminServiceGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.admin.v1beta.AnalyticsAdminService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetAccountRequest, - com.google.analytics.admin.v1beta.Account> - getGetAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAccount", - requestType = com.google.analytics.admin.v1beta.GetAccountRequest.class, - responseType = com.google.analytics.admin.v1beta.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetAccountRequest, - com.google.analytics.admin.v1beta.Account> - getGetAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetAccountRequest, - com.google.analytics.admin.v1beta.Account> - getGetAccountMethod; - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAccountMethod = - getGetAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Account.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) - .build(); - } - } - } - return getGetAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListAccountsRequest, - com.google.analytics.admin.v1beta.ListAccountsResponse> - getListAccountsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccounts", - requestType = com.google.analytics.admin.v1beta.ListAccountsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListAccountsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListAccountsRequest, - com.google.analytics.admin.v1beta.ListAccountsResponse> - getListAccountsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListAccountsRequest, - com.google.analytics.admin.v1beta.ListAccountsResponse> - getListAccountsMethod; - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountsMethod = - getListAccountsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) - .build(); - } - } - } - return getListAccountsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", - requestType = com.google.analytics.admin.v1beta.DeleteAccountRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteAccountRequest, com.google.protobuf.Empty> - getDeleteAccountMethod; - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAccountMethod = - getDeleteAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) - .build(); - } - } - } - return getDeleteAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateAccountRequest, - com.google.analytics.admin.v1beta.Account> - getUpdateAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", - requestType = com.google.analytics.admin.v1beta.UpdateAccountRequest.class, - responseType = com.google.analytics.admin.v1beta.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateAccountRequest, - com.google.analytics.admin.v1beta.Account> - getUpdateAccountMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateAccountRequest, - com.google.analytics.admin.v1beta.Account> - getUpdateAccountMethod; - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAccountMethod = - getUpdateAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateAccountRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Account.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) - .build(); - } - } - } - return getUpdateAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", - requestType = com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, - responseType = com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> - getProvisionAccountTicketMethod; - if ((getProvisionAccountTicketMethod = - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getProvisionAccountTicketMethod = - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) - == null) { - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = - getProvisionAccountTicketMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ProvisionAccountTicket")) - .build(); - } - } - } - return getProvisionAccountTicketMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListAccountSummariesRequest, - com.google.analytics.admin.v1beta.ListAccountSummariesResponse> - getListAccountSummariesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", - requestType = com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, - responseType = com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListAccountSummariesRequest, - com.google.analytics.admin.v1beta.ListAccountSummariesResponse> - getListAccountSummariesMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListAccountSummariesRequest, - com.google.analytics.admin.v1beta.ListAccountSummariesResponse> - getListAccountSummariesMethod; - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountSummariesMethod = - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) - == null) { - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = - getListAccountSummariesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) - .build(); - } - } - } - return getListAccountSummariesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetPropertyRequest, - com.google.analytics.admin.v1beta.Property> - getGetPropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProperty", - requestType = com.google.analytics.admin.v1beta.GetPropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetPropertyRequest, - com.google.analytics.admin.v1beta.Property> - getGetPropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetPropertyRequest, - com.google.analytics.admin.v1beta.Property> - getGetPropertyMethod; - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getGetPropertyMethod = - getGetPropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetPropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) - .build(); - } - } - } - return getGetPropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListPropertiesRequest, - com.google.analytics.admin.v1beta.ListPropertiesResponse> - getListPropertiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProperties", - requestType = com.google.analytics.admin.v1beta.ListPropertiesRequest.class, - responseType = com.google.analytics.admin.v1beta.ListPropertiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListPropertiesRequest, - com.google.analytics.admin.v1beta.ListPropertiesResponse> - getListPropertiesMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListPropertiesRequest, - com.google.analytics.admin.v1beta.ListPropertiesResponse> - getListPropertiesMethod; - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - AnalyticsAdminServiceGrpc.getListPropertiesMethod = - getListPropertiesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListPropertiesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListPropertiesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) - .build(); - } - } - } - return getListPropertiesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreatePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getCreatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProperty", - requestType = com.google.analytics.admin.v1beta.CreatePropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreatePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getCreatePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreatePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getCreatePropertyMethod; - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreatePropertyMethod = - getCreatePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreatePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) - .build(); - } - } - } - return getCreatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeletePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getDeletePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", - requestType = com.google.analytics.admin.v1beta.DeletePropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeletePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getDeletePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeletePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getDeletePropertyMethod; - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getDeletePropertyMethod = - getDeletePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeletePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) - .build(); - } - } - } - return getDeletePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdatePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getUpdatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", - requestType = com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdatePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getUpdatePropertyMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdatePropertyRequest, - com.google.analytics.admin.v1beta.Property> - getUpdatePropertyMethod; - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = - getUpdatePropertyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdatePropertyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) - .build(); - } - } - } - return getUpdatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1beta.FirebaseLink> - getCreateFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", - requestType = com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, - responseType = com.google.analytics.admin.v1beta.FirebaseLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1beta.FirebaseLink> - getCreateFirebaseLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1beta.FirebaseLink> - getCreateFirebaseLinkMethod; - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = - getCreateFirebaseLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) - .build(); - } - } - } - return getCreateFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> - getDeleteFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", - requestType = com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> - getDeleteFirebaseLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> - getDeleteFirebaseLinkMethod; - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = - getDeleteFirebaseLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) - .build(); - } - } - } - return getDeleteFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> - getListFirebaseLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", - requestType = com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, - responseType = com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> - getListFirebaseLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> - getListFirebaseLinksMethod; - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = - getListFirebaseLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) - .build(); - } - } - } - return getListFirebaseLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink> - getCreateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", - requestType = com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink> - getCreateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink> - getCreateGoogleAdsLinkMethod; - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = - getCreateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) - .build(); - } - } - } - return getCreateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink> - getUpdateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", - requestType = com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink> - getUpdateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink> - getUpdateGoogleAdsLinkMethod; - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = - getUpdateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) - .build(); - } - } - } - return getUpdateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> - getDeleteGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", - requestType = com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> - getDeleteGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> - getDeleteGoogleAdsLinkMethod; - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = - getDeleteGoogleAdsLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) - .build(); - } - } - } - return getDeleteGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> - getListGoogleAdsLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", - requestType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, - responseType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> - getListGoogleAdsLinksMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> - getListGoogleAdsLinksMethod; - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) - == null) { - AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = - getListGoogleAdsLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) - .build(); - } - } - } - return getListGoogleAdsLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1beta.DataSharingSettings> - getGetDataSharingSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", - requestType = com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, - responseType = com.google.analytics.admin.v1beta.DataSharingSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1beta.DataSharingSettings> - getGetDataSharingSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1beta.DataSharingSettings> - getGetDataSharingSettingsMethod; - if ((getGetDataSharingSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataSharingSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = - getGetDataSharingSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataSharingSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDataSharingSettings")) - .build(); - } - } - } - return getGetDataSharingSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getGetMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getGetMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getGetMeasurementProtocolSecretMethod; - if ((getGetMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = - getGetMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetMeasurementProtocolSecret")) - .build(); - } - } - } - return getGetMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> - getListMeasurementProtocolSecretsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", - requestType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> - getListMeasurementProtocolSecretsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> - getListMeasurementProtocolSecretsMethod; - if ((getListMeasurementProtocolSecretsMethod = - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListMeasurementProtocolSecretsMethod = - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = - getListMeasurementProtocolSecretsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta - .ListMeasurementProtocolSecretsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta - .ListMeasurementProtocolSecretsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ListMeasurementProtocolSecrets")) - .build(); - } - } - } - return getListMeasurementProtocolSecretsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getCreateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getCreateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getCreateMeasurementProtocolSecretMethod; - if ((getCreateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = - getCreateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta - .CreateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateMeasurementProtocolSecret")) - .build(); - } - } - } - return getCreateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty> - getDeleteMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty> - getDeleteMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty> - getDeleteMeasurementProtocolSecretMethod; - if ((getDeleteMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = - getDeleteMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta - .DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteMeasurementProtocolSecret")) - .build(); - } - } - } - return getDeleteMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getUpdateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getUpdateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getUpdateMeasurementProtocolSecretMethod; - if ((getUpdateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateMeasurementProtocolSecretMethod = - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = - getUpdateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta - .UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateMeasurementProtocolSecret")) - .build(); - } - } - } - return getUpdateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> - getAcknowledgeUserDataCollectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", - requestType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, - responseType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> - getAcknowledgeUserDataCollectionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> - getAcknowledgeUserDataCollectionMethod; - if ((getAcknowledgeUserDataCollectionMethod = - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAcknowledgeUserDataCollectionMethod = - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) - == null) { - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = - getAcknowledgeUserDataCollectionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta - .AcknowledgeUserDataCollectionResponse.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "AcknowledgeUserDataCollection")) - .build(); - } - } - } - return getAcknowledgeUserDataCollectionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", - requestType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, - responseType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> - getSearchChangeHistoryEventsMethod; - if ((getSearchChangeHistoryEventsMethod = - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getSearchChangeHistoryEventsMethod = - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) - == null) { - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = - getSearchChangeHistoryEventsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "SearchChangeHistoryEvents")) - .build(); - } - } - } - return getSearchChangeHistoryEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent> - getCreateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", - requestType = com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent> - getCreateConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent> - getCreateConversionEventMethod; - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateConversionEventMethod = - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = - getCreateConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ConversionEvent - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateConversionEvent")) - .build(); - } - } - } - return getCreateConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent> - getGetConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", - requestType = com.google.analytics.admin.v1beta.GetConversionEventRequest.class, - responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent> - getGetConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent> - getGetConversionEventMethod; - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetConversionEventMethod = - getGetConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ConversionEvent - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) - .build(); - } - } - } - return getGetConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteConversionEventRequest, com.google.protobuf.Empty> - getDeleteConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", - requestType = com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteConversionEventRequest, com.google.protobuf.Empty> - getDeleteConversionEventMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteConversionEventRequest, - com.google.protobuf.Empty> - getDeleteConversionEventMethod; - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteConversionEventMethod = - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = - getDeleteConversionEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "DeleteConversionEvent")) - .build(); - } - } - } - return getDeleteConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListConversionEventsRequest, - com.google.analytics.admin.v1beta.ListConversionEventsResponse> - getListConversionEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", - requestType = com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListConversionEventsRequest, - com.google.analytics.admin.v1beta.ListConversionEventsResponse> - getListConversionEventsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListConversionEventsRequest, - com.google.analytics.admin.v1beta.ListConversionEventsResponse> - getListConversionEventsMethod; - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListConversionEventsMethod = - AnalyticsAdminServiceGrpc.getListConversionEventsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListConversionEventsMethod = - getListConversionEventsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListConversionEventsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListConversionEventsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) - .build(); - } - } - } - return getListConversionEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getCreateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", - requestType = com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getCreateCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getCreateCustomDimensionMethod; - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = - getCreateCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "CreateCustomDimension")) - .build(); - } - } - } - return getCreateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getUpdateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", - requestType = com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getUpdateCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getUpdateCustomDimensionMethod; - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = - getUpdateCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateCustomDimension")) - .build(); - } - } - } - return getUpdateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> - getListCustomDimensionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", - requestType = com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> - getListCustomDimensionsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> - getListCustomDimensionsMethod; - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomDimensionsMethod = - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = - getListCustomDimensionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) - .build(); - } - } - } - return getListCustomDimensionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", - requestType = com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty> - getArchiveCustomDimensionMethod; - if ((getArchiveCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomDimensionMethod = - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = - getArchiveCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "ArchiveCustomDimension")) - .build(); - } - } - } - return getArchiveCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getGetCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", - requestType = com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getGetCustomDimensionMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension> - getGetCustomDimensionMethod; - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = - getGetCustomDimensionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomDimension - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) - .build(); - } - } - } - return getGetCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getCreateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", - requestType = com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getCreateCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getCreateCustomMetricMethod; - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = - getCreateCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) - .build(); - } - } - } - return getCreateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getUpdateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", - requestType = com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getUpdateCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getUpdateCustomMetricMethod; - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = - getUpdateCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) - .build(); - } - } - } - return getUpdateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListCustomMetricsRequest, - com.google.analytics.admin.v1beta.ListCustomMetricsResponse> - getListCustomMetricsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", - requestType = com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListCustomMetricsRequest, - com.google.analytics.admin.v1beta.ListCustomMetricsResponse> - getListCustomMetricsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListCustomMetricsRequest, - com.google.analytics.admin.v1beta.ListCustomMetricsResponse> - getListCustomMetricsMethod; - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = - getListCustomMetricsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) - .build(); - } - } - } - return getListCustomMetricsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, com.google.protobuf.Empty> - getArchiveCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", - requestType = com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, com.google.protobuf.Empty> - getArchiveCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, com.google.protobuf.Empty> - getArchiveCustomMetricMethod; - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = - getArchiveCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) - .build(); - } - } - } - return getArchiveCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getGetCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", - requestType = com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getGetCustomMetricMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric> - getGetCustomMetricMethod; - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = - getGetCustomMetricMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetCustomMetricRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) - .build(); - } - } - } - return getGetCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings> - getGetDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", - requestType = com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings> - getGetDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings> - getGetDataRetentionSettingsMethod; - if ((getGetDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = - getGetDataRetentionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataRetentionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "GetDataRetentionSettings")) - .build(); - } - } - } - return getGetDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", - requestType = com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings> - getUpdateDataRetentionSettingsMethod; - if ((getUpdateDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) - == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataRetentionSettingsMethod = - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = - getUpdateDataRetentionSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataRetentionSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier( - "UpdateDataRetentionSettings")) - .build(); - } - } - } - return getUpdateDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getCreateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", - requestType = com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1beta.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getCreateDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.CreateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getCreateDataStreamMethod; - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = - getCreateDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) - .build(); - } - } - } - return getCreateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteDataStreamRequest, com.google.protobuf.Empty> - getDeleteDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", - requestType = com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteDataStreamRequest, com.google.protobuf.Empty> - getDeleteDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.DeleteDataStreamRequest, com.google.protobuf.Empty> - getDeleteDataStreamMethod; - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = - getDeleteDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) - .build(); - } - } - } - return getDeleteDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getUpdateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", - requestType = com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1beta.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getUpdateDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.UpdateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getUpdateDataStreamMethod; - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) - == null) { - AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = - getUpdateDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) - .build(); - } - } - } - return getUpdateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListDataStreamsRequest, - com.google.analytics.admin.v1beta.ListDataStreamsResponse> - getListDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", - requestType = com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListDataStreamsRequest, - com.google.analytics.admin.v1beta.ListDataStreamsResponse> - getListDataStreamsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.ListDataStreamsRequest, - com.google.analytics.admin.v1beta.ListDataStreamsResponse> - getListDataStreamsMethod; - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) - == null) { - AnalyticsAdminServiceGrpc.getListDataStreamsMethod = - getListDataStreamsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListDataStreamsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListDataStreamsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) - .build(); - } - } - } - return getListDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getGetDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataStream", - requestType = com.google.analytics.admin.v1beta.GetDataStreamRequest.class, - responseType = com.google.analytics.admin.v1beta.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getGetDataStreamMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.admin.v1beta.GetDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream> - getGetDataStreamMethod; - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataStreamMethod = - getGetDataStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetDataStreamRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) - .setSchemaDescriptor( - new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) - .build(); - } - } - } - return getGetDataStreamMethod; - } - - /** 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 = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AnalyticsAdminServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AnalyticsAdminServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public abstract static class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount( - com.google.analytics.admin.v1beta.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts( - com.google.analytics.admin.v1beta.ListAccountsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAccountsMethod(), responseObserver); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount( - com.google.analytics.admin.v1beta.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public void updateAccount( - com.google.analytics.admin.v1beta.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getProvisionAccountTicketMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAccountSummariesMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty( - com.google.analytics.admin.v1beta.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties( - com.google.analytics.admin.v1beta.ListPropertiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPropertiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty( - com.google.analytics.admin.v1beta.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public void deleteProperty( - com.google.analytics.admin.v1beta.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public void updateProperty( - com.google.analytics.admin.v1beta.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePropertyMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateFirebaseLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteFirebaseLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListFirebaseLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteGoogleAdsLinkMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListGoogleAdsLinksMethod(), responseObserver); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataSharingSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMeasurementProtocolSecretsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAcknowledgeUserDataCollectionMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchChangeHistoryEventsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent( - com.google.analytics.admin.v1beta.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent( - com.google.analytics.admin.v1beta.GetConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteConversionEventMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents( - com.google.analytics.admin.v1beta.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListConversionEventsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomDimensionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getArchiveCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomDimensionMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomMetricsMethod(), responseObserver); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getArchiveCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric( - com.google.analytics.admin.v1beta.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomMetricMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataRetentionSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream( - com.google.analytics.admin.v1beta.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDataStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams( - com.google.analytics.admin.v1beta.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDataStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream( - com.google.analytics.admin.v1beta.GetDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDataStreamMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetAccountRequest, - com.google.analytics.admin.v1beta.Account>(this, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListAccountsRequest, - com.google.analytics.admin.v1beta.ListAccountsResponse>( - this, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteAccountRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateAccountRequest, - com.google.analytics.admin.v1beta.Account>(this, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>( - this, METHODID_PROVISION_ACCOUNT_TICKET))) - .addMethod( - getListAccountSummariesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListAccountSummariesRequest, - com.google.analytics.admin.v1beta.ListAccountSummariesResponse>( - this, METHODID_LIST_ACCOUNT_SUMMARIES))) - .addMethod( - getGetPropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetPropertyRequest, - com.google.analytics.admin.v1beta.Property>(this, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListPropertiesRequest, - com.google.analytics.admin.v1beta.ListPropertiesResponse>( - this, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreatePropertyRequest, - com.google.analytics.admin.v1beta.Property>(this, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeletePropertyRequest, - com.google.analytics.admin.v1beta.Property>(this, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdatePropertyRequest, - com.google.analytics.admin.v1beta.Property>(this, METHODID_UPDATE_PROPERTY))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1beta.FirebaseLink>( - this, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_FIREBASE_LINK))) - .addMethod( - getListFirebaseLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse>( - this, METHODID_LIST_FIREBASE_LINKS))) - .addMethod( - getCreateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink>( - this, METHODID_CREATE_GOOGLE_ADS_LINK))) - .addMethod( - getUpdateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink>( - this, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_GOOGLE_ADS_LINK))) - .addMethod( - getListGoogleAdsLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse>( - this, METHODID_LIST_GOOGLE_ADS_LINKS))) - .addMethod( - getGetDataSharingSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1beta.DataSharingSettings>( - this, METHODID_GET_DATA_SHARING_SETTINGS))) - .addMethod( - getGetMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( - this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getListMeasurementProtocolSecretsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse>( - this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) - .addMethod( - getCreateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( - this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getUpdateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( - this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getAcknowledgeUserDataCollectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>( - this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) - .addMethod( - getSearchChangeHistoryEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse>( - this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) - .addMethod( - getCreateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent>( - this, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent>( - this, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteConversionEventRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSION_EVENT))) - .addMethod( - getListConversionEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListConversionEventsRequest, - com.google.analytics.admin.v1beta.ListConversionEventsResponse>( - this, METHODID_LIST_CONVERSION_EVENTS))) - .addMethod( - getCreateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension>( - this, METHODID_CREATE_CUSTOM_DIMENSION))) - .addMethod( - getUpdateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension>( - this, METHODID_UPDATE_CUSTOM_DIMENSION))) - .addMethod( - getListCustomDimensionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse>( - this, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) - .addMethod( - getGetCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension>( - this, METHODID_GET_CUSTOM_DIMENSION))) - .addMethod( - getCreateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric>( - this, METHODID_CREATE_CUSTOM_METRIC))) - .addMethod( - getUpdateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric>( - this, METHODID_UPDATE_CUSTOM_METRIC))) - .addMethod( - getListCustomMetricsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListCustomMetricsRequest, - com.google.analytics.admin.v1beta.ListCustomMetricsResponse>( - this, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_METRIC))) - .addMethod( - getGetCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric>( - this, METHODID_GET_CUSTOM_METRIC))) - .addMethod( - getGetDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings>( - this, METHODID_GET_DATA_RETENTION_SETTINGS))) - .addMethod( - getUpdateDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings>( - this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) - .addMethod( - getCreateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream>( - this, METHODID_CREATE_DATA_STREAM))) - .addMethod( - getDeleteDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteDataStreamRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_DATA_STREAM))) - .addMethod( - getUpdateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream>( - this, METHODID_UPDATE_DATA_STREAM))) - .addMethod( - getListDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListDataStreamsRequest, - com.google.analytics.admin.v1beta.ListDataStreamsResponse>( - this, METHODID_LIST_DATA_STREAMS))) - .addMethod( - getGetDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream>( - this, METHODID_GET_DATA_STREAM))) - .build(); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AnalyticsAdminServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount( - com.google.analytics.admin.v1beta.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts( - com.google.analytics.admin.v1beta.ListAccountsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount( - com.google.analytics.admin.v1beta.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public void updateAccount( - com.google.analytics.admin.v1beta.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty( - com.google.analytics.admin.v1beta.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties( - com.google.analytics.admin.v1beta.ListPropertiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty( - com.google.analytics.admin.v1beta.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public void deleteProperty( - com.google.analytics.admin.v1beta.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public void updateProperty( - com.google.analytics.admin.v1beta.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent( - com.google.analytics.admin.v1beta.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent( - com.google.analytics.admin.v1beta.GetConversionEventRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents( - com.google.analytics.admin.v1beta.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric( - com.google.analytics.admin.v1beta.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream( - com.google.analytics.admin.v1beta.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams( - com.google.analytics.admin.v1beta.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream( - com.google.analytics.admin.v1beta.GetDataStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AnalyticsAdminServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.analytics.admin.v1beta.Account getAccount( - com.google.analytics.admin.v1beta.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListAccountsResponse listAccounts( - com.google.analytics.admin.v1beta.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.protobuf.Empty deleteAccount( - com.google.analytics.admin.v1beta.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public com.google.analytics.admin.v1beta.Account updateAccount( - com.google.analytics.admin.v1beta.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse provisionAccountTicket( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListAccountSummariesResponse listAccountSummaries( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property getProperty( - com.google.analytics.admin.v1beta.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListPropertiesResponse listProperties( - com.google.analytics.admin.v1beta.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPropertiesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property createProperty( - com.google.analytics.admin.v1beta.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property deleteProperty( - com.google.analytics.admin.v1beta.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property updateProperty( - com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1beta.FirebaseLink createFirebaseLink( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteFirebaseLink( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse listFirebaseLinks( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.analytics.admin.v1beta.GoogleAdsLink createGoogleAdsLink( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.analytics.admin.v1beta.GoogleAdsLink updateGoogleAdsLink( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteGoogleAdsLink( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse listGoogleAdsLinks( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataSharingSettings getDataSharingSettings( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - listMeasurementProtocolSecrets( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - createMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.protobuf.Empty deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - updateMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - acknowledgeUserDataCollection( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - searchChangeHistoryEvents( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1beta.ConversionEvent createConversionEvent( - com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent( - com.google.analytics.admin.v1beta.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.protobuf.Empty deleteConversionEvent( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListConversionEventsResponse listConversionEvents( - com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConversionEventsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomDimension createCustomDimension( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomDimension updateCustomDimension( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse listCustomDimensions( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomDimension( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomMetric createCustomMetric( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomMetric updateCustomMetric( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListCustomMetricsResponse listCustomMetrics( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomMetric( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric( - com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataRetentionSettings updateDataRetentionSettings( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataStream createDataStream( - com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDataStream( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataStream updateDataStream( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListDataStreamsResponse listDataStreams( - com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataStream getDataStream( - com.google.analytics.admin.v1beta.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataStreamMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AnalyticsAdminServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.Account> - getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListAccountsResponse> - listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.Account> - updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> - provisionAccountTicket( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListAccountSummariesResponse> - listAccountSummaries( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.Property> - getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListPropertiesResponse> - listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.Property> - createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.Property> - deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.Property> - updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.FirebaseLink> - createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> - listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.GoogleAdsLink> - createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.GoogleAdsLink> - updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> - listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.DataSharingSettings> - getDataSharingSettings( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - getMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> - listMeasurementProtocolSecrets( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - createMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret> - updateMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> - acknowledgeUserDataCollection( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> - searchChangeHistoryEvents( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ConversionEvent> - createConversionEvent( - com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ConversionEvent> - getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteConversionEvent( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListConversionEventsResponse> - listConversionEvents( - com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.CustomDimension> - createCustomDimension( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.CustomDimension> - updateCustomDimension( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> - listCustomDimensions( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - archiveCustomDimension( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.CustomDimension> - getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.CustomMetric> - createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.CustomMetric> - updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListCustomMetricsResponse> - listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.CustomMetric> - getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.DataRetentionSettings> - getDataRetentionSettings( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.DataRetentionSettings> - updateDataRetentionSettings( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.DataStream> - createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.DataStream> - updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.ListDataStreamsResponse> - listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.admin.v1beta.DataStream> - getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_ACCOUNT = 0; - private static final int METHODID_LIST_ACCOUNTS = 1; - private static final int METHODID_DELETE_ACCOUNT = 2; - private static final int METHODID_UPDATE_ACCOUNT = 3; - private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; - private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; - private static final int METHODID_GET_PROPERTY = 6; - private static final int METHODID_LIST_PROPERTIES = 7; - private static final int METHODID_CREATE_PROPERTY = 8; - private static final int METHODID_DELETE_PROPERTY = 9; - private static final int METHODID_UPDATE_PROPERTY = 10; - private static final int METHODID_CREATE_FIREBASE_LINK = 11; - private static final int METHODID_DELETE_FIREBASE_LINK = 12; - private static final int METHODID_LIST_FIREBASE_LINKS = 13; - private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 14; - private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 15; - private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 16; - private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 17; - private static final int METHODID_GET_DATA_SHARING_SETTINGS = 18; - private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 19; - private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 20; - private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 21; - private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 22; - private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 23; - private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 24; - private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 25; - private static final int METHODID_CREATE_CONVERSION_EVENT = 26; - private static final int METHODID_GET_CONVERSION_EVENT = 27; - private static final int METHODID_DELETE_CONVERSION_EVENT = 28; - private static final int METHODID_LIST_CONVERSION_EVENTS = 29; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 30; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 31; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 32; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 33; - private static final int METHODID_GET_CUSTOM_DIMENSION = 34; - private static final int METHODID_CREATE_CUSTOM_METRIC = 35; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 36; - private static final int METHODID_LIST_CUSTOM_METRICS = 37; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 38; - private static final int METHODID_GET_CUSTOM_METRIC = 39; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 40; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 41; - private static final int METHODID_CREATE_DATA_STREAM = 42; - private static final int METHODID_DELETE_DATA_STREAM = 43; - private static final int METHODID_UPDATE_DATA_STREAM = 44; - private static final int METHODID_LIST_DATA_STREAMS = 45; - private static final int METHODID_GET_DATA_STREAM = 46; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AnalyticsAdminServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_ACCOUNT: - serviceImpl.getAccount( - (com.google.analytics.admin.v1beta.GetAccountRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ACCOUNTS: - serviceImpl.listAccounts( - (com.google.analytics.admin.v1beta.ListAccountsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ACCOUNT: - serviceImpl.deleteAccount( - (com.google.analytics.admin.v1beta.DeleteAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ACCOUNT: - serviceImpl.updateAccount( - (com.google.analytics.admin.v1beta.UpdateAccountRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PROVISION_ACCOUNT_TICKET: - serviceImpl.provisionAccountTicket( - (com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>) - responseObserver); - break; - case METHODID_LIST_ACCOUNT_SUMMARIES: - serviceImpl.listAccountSummaries( - (com.google.analytics.admin.v1beta.ListAccountSummariesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListAccountSummariesResponse>) - responseObserver); - break; - case METHODID_GET_PROPERTY: - serviceImpl.getProperty( - (com.google.analytics.admin.v1beta.GetPropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PROPERTIES: - serviceImpl.listProperties( - (com.google.analytics.admin.v1beta.ListPropertiesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListPropertiesResponse>) - responseObserver); - break; - case METHODID_CREATE_PROPERTY: - serviceImpl.createProperty( - (com.google.analytics.admin.v1beta.CreatePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PROPERTY: - serviceImpl.deleteProperty( - (com.google.analytics.admin.v1beta.DeletePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_PROPERTY: - serviceImpl.updateProperty( - (com.google.analytics.admin.v1beta.UpdatePropertyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_FIREBASE_LINK: - serviceImpl.createFirebaseLink( - (com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_FIREBASE_LINK: - serviceImpl.deleteFirebaseLink( - (com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FIREBASE_LINKS: - serviceImpl.listFirebaseLinks( - (com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse>) - responseObserver); - break; - case METHODID_CREATE_GOOGLE_ADS_LINK: - serviceImpl.createGoogleAdsLink( - (com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_GOOGLE_ADS_LINK: - serviceImpl.updateGoogleAdsLink( - (com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_GOOGLE_ADS_LINK: - serviceImpl.deleteGoogleAdsLink( - (com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_GOOGLE_ADS_LINKS: - serviceImpl.listGoogleAdsLinks( - (com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse>) - responseObserver); - break; - case METHODID_GET_DATA_SHARING_SETTINGS: - serviceImpl.getDataSharingSettings( - (com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.getMeasurementProtocolSecret( - (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>) - responseObserver); - break; - case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: - serviceImpl.listMeasurementProtocolSecrets( - (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse>) - responseObserver); - break; - case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.createMeasurementProtocolSecret( - (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>) - responseObserver); - break; - case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.deleteMeasurementProtocolSecret( - (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.updateMeasurementProtocolSecret( - (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>) - responseObserver); - break; - case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: - serviceImpl.acknowledgeUserDataCollection( - (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>) - responseObserver); - break; - case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: - serviceImpl.searchChangeHistoryEvents( - (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse>) - responseObserver); - break; - case METHODID_CREATE_CONVERSION_EVENT: - serviceImpl.createConversionEvent( - (com.google.analytics.admin.v1beta.CreateConversionEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CONVERSION_EVENT: - serviceImpl.getConversionEvent( - (com.google.analytics.admin.v1beta.GetConversionEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_CONVERSION_EVENT: - serviceImpl.deleteConversionEvent( - (com.google.analytics.admin.v1beta.DeleteConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONVERSION_EVENTS: - serviceImpl.listConversionEvents( - (com.google.analytics.admin.v1beta.ListConversionEventsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListConversionEventsResponse>) - responseObserver); - break; - case METHODID_CREATE_CUSTOM_DIMENSION: - serviceImpl.createCustomDimension( - (com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CUSTOM_DIMENSION: - serviceImpl.updateCustomDimension( - (com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_CUSTOM_DIMENSIONS: - serviceImpl.listCustomDimensions( - (com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse>) - responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_DIMENSION: - serviceImpl.archiveCustomDimension( - (com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_DIMENSION: - serviceImpl.getCustomDimension( - (com.google.analytics.admin.v1beta.GetCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CUSTOM_METRIC: - serviceImpl.createCustomMetric( - (com.google.analytics.admin.v1beta.CreateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CUSTOM_METRIC: - serviceImpl.updateCustomMetric( - (com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_CUSTOM_METRICS: - serviceImpl.listCustomMetrics( - (com.google.analytics.admin.v1beta.ListCustomMetricsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListCustomMetricsResponse>) - responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_METRIC: - serviceImpl.archiveCustomMetric( - (com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_METRIC: - serviceImpl.getCustomMetric( - (com.google.analytics.admin.v1beta.GetCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DATA_RETENTION_SETTINGS: - serviceImpl.getDataRetentionSettings( - (com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_DATA_RETENTION_SETTINGS: - serviceImpl.updateDataRetentionSettings( - (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_DATA_STREAM: - serviceImpl.createDataStream( - (com.google.analytics.admin.v1beta.CreateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_DATA_STREAM: - serviceImpl.deleteDataStream( - (com.google.analytics.admin.v1beta.DeleteDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_STREAM: - serviceImpl.updateDataStream( - (com.google.analytics.admin.v1beta.UpdateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DATA_STREAMS: - serviceImpl.listDataStreams( - (com.google.analytics.admin.v1beta.ListDataStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.admin.v1beta.ListDataStreamsResponse>) - responseObserver); - break; - case METHODID_GET_DATA_STREAM: - serviceImpl.getDataStream( - (com.google.analytics.admin.v1beta.GetDataStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AnalyticsAdminServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AnalyticsAdminService"); - } - } - - private static final class AnalyticsAdminServiceFileDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier { - AnalyticsAdminServiceFileDescriptorSupplier() {} - } - - private static final class AnalyticsAdminServiceMethodDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) - .addMethod(getGetAccountMethod()) - .addMethod(getListAccountsMethod()) - .addMethod(getDeleteAccountMethod()) - .addMethod(getUpdateAccountMethod()) - .addMethod(getProvisionAccountTicketMethod()) - .addMethod(getListAccountSummariesMethod()) - .addMethod(getGetPropertyMethod()) - .addMethod(getListPropertiesMethod()) - .addMethod(getCreatePropertyMethod()) - .addMethod(getDeletePropertyMethod()) - .addMethod(getUpdatePropertyMethod()) - .addMethod(getCreateFirebaseLinkMethod()) - .addMethod(getDeleteFirebaseLinkMethod()) - .addMethod(getListFirebaseLinksMethod()) - .addMethod(getCreateGoogleAdsLinkMethod()) - .addMethod(getUpdateGoogleAdsLinkMethod()) - .addMethod(getDeleteGoogleAdsLinkMethod()) - .addMethod(getListGoogleAdsLinksMethod()) - .addMethod(getGetDataSharingSettingsMethod()) - .addMethod(getGetMeasurementProtocolSecretMethod()) - .addMethod(getListMeasurementProtocolSecretsMethod()) - .addMethod(getCreateMeasurementProtocolSecretMethod()) - .addMethod(getDeleteMeasurementProtocolSecretMethod()) - .addMethod(getUpdateMeasurementProtocolSecretMethod()) - .addMethod(getAcknowledgeUserDataCollectionMethod()) - .addMethod(getSearchChangeHistoryEventsMethod()) - .addMethod(getCreateConversionEventMethod()) - .addMethod(getGetConversionEventMethod()) - .addMethod(getDeleteConversionEventMethod()) - .addMethod(getListConversionEventsMethod()) - .addMethod(getCreateCustomDimensionMethod()) - .addMethod(getUpdateCustomDimensionMethod()) - .addMethod(getListCustomDimensionsMethod()) - .addMethod(getArchiveCustomDimensionMethod()) - .addMethod(getGetCustomDimensionMethod()) - .addMethod(getCreateCustomMetricMethod()) - .addMethod(getUpdateCustomMetricMethod()) - .addMethod(getListCustomMetricsMethod()) - .addMethod(getArchiveCustomMetricMethod()) - .addMethod(getGetCustomMetricMethod()) - .addMethod(getGetDataRetentionSettingsMethod()) - .addMethod(getUpdateDataRetentionSettingsMethod()) - .addMethod(getCreateDataStreamMethod()) - .addMethod(getDeleteDataStreamMethod()) - .addMethod(getUpdateDataStreamMethod()) - .addMethod(getListDataStreamsMethod()) - .addMethod(getGetDataStreamMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java deleted file mode 100644 index fb114cf2fc6e..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessDimensionHeaderOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimensionHeader) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The dimension's name; for example 'userEmail'.
-   * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - java.lang.String getDimensionName(); - /** - * - * - *
-   * The dimension's name; for example 'userEmail'.
-   * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - com.google.protobuf.ByteString getDimensionNameBytes(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java deleted file mode 100644 index 9446c1b7351d..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessMetricHeaderOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricHeader) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The metric's name; for example 'accessCount'.
-   * 
- * - * string metric_name = 1; - * - * @return The metricName. - */ - java.lang.String getMetricName(); - /** - * - * - *
-   * The metric's name; for example 'accessCount'.
-   * 
- * - * string metric_name = 1; - * - * @return The bytes for metricName. - */ - com.google.protobuf.ByteString getMetricNameBytes(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java deleted file mode 100644 index 5be521730eb3..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessMetricValueOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricValue) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The measurement value. For example, this value may be '13'.
-   * 
- * - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); - /** - * - * - *
-   * The measurement value. For example, this value may be '13'.
-   * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java deleted file mode 100644 index b8cd28483676..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessQuotaStatusOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessQuotaStatus) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Quota consumed by this request.
-   * 
- * - * int32 consumed = 1; - * - * @return The consumed. - */ - int getConsumed(); - - /** - * - * - *
-   * Quota remaining after this request.
-   * 
- * - * int32 remaining = 2; - * - * @return The remaining. - */ - int getRemaining(); -} diff --git a/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 deleted file mode 100644 index 63280dc15b45..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java +++ /dev/null @@ -1,393 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public final class AccessReportProto { - private AccessReportProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/analytics/admin/v1alpha/access_" - + "report.proto\022\036google.analytics.admin.v1a" - + "lpha\")\n\017AccessDimension\022\026\n\016dimension_nam" - + "e\030\001 \001(\t\"#\n\014AccessMetric\022\023\n\013metric_name\030\001" - + " \001(\t\"7\n\017AccessDateRange\022\022\n\nstart_date\030\001 " - + "\001(\t\022\020\n\010end_date\030\002 \001(\t\"\344\002\n\026AccessFilterEx" - + "pression\022O\n\tand_group\030\001 \001(\0132:.google.ana" - + "lytics.admin.v1alpha.AccessFilterExpress" - + "ionListH\000\022N\n\010or_group\030\002 \001(\0132:.google.ana" - + "lytics.admin.v1alpha.AccessFilterExpress" - + "ionListH\000\022P\n\016not_expression\030\003 \001(\01326.goog" - + "le.analytics.admin.v1alpha.AccessFilterE" - + "xpressionH\000\022E\n\raccess_filter\030\004 \001(\0132,.goo" - + "gle.analytics.admin.v1alpha.AccessFilter" - + "H\000B\020\n\016one_expression\"i\n\032AccessFilterExpr" - + "essionList\022K\n\013expressions\030\001 \003(\01326.google" - + ".analytics.admin.v1alpha.AccessFilterExp" - + "ression\"\351\002\n\014AccessFilter\022K\n\rstring_filte" - + "r\030\002 \001(\01322.google.analytics.admin.v1alpha" - + ".AccessStringFilterH\000\022L\n\016in_list_filter\030" - + "\003 \001(\01322.google.analytics.admin.v1alpha.A" - + "ccessInListFilterH\000\022M\n\016numeric_filter\030\004 " - + "\001(\01323.google.analytics.admin.v1alpha.Acc" - + "essNumericFilterH\000\022M\n\016between_filter\030\005 \001" - + "(\01323.google.analytics.admin.v1alpha.Acce" - + "ssBetweenFilterH\000\022\022\n\nfield_name\030\001 \001(\tB\014\n" - + "\none_filter\"\225\002\n\022AccessStringFilter\022P\n\nma" - + "tch_type\030\001 \001(\0162<.google.analytics.admin." - + "v1alpha.AccessStringFilter.MatchType\022\r\n\005" - + "value\030\002 \001(\t\022\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n\t" - + "MatchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n" - + "\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020\003" - + "\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTI" - + "AL_REGEXP\020\006\"<\n\022AccessInListFilter\022\016\n\006val" - + "ues\030\001 \003(\t\022\026\n\016case_sensitive\030\002 \001(\010\"\254\002\n\023Ac" - + "cessNumericFilter\022P\n\toperation\030\001 \001(\0162=.g" - + "oogle.analytics.admin.v1alpha.AccessNume" - + "ricFilter.Operation\022;\n\005value\030\002 \001(\0132,.goo" - + "gle.analytics.admin.v1alpha.NumericValue" - + "\"\205\001\n\tOperation\022\031\n\025OPERATION_UNSPECIFIED\020" - + "\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n\022LESS_THAN" - + "_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022\031\n\025GREATER" - + "_THAN_OR_EQUAL\020\005\"\227\001\n\023AccessBetweenFilter" - + "\022@\n\nfrom_value\030\001 \001(\0132,.google.analytics." - + "admin.v1alpha.NumericValue\022>\n\010to_value\030\002" - + " \001(\0132,.google.analytics.admin.v1alpha.Nu" - + "mericValue\"J\n\014NumericValue\022\025\n\013int64_valu" - + "e\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone" - + "_value\"\355\003\n\rAccessOrderBy\022M\n\006metric\030\001 \001(\013" - + "2;.google.analytics.admin.v1alpha.Access" - + "OrderBy.MetricOrderByH\000\022S\n\tdimension\030\002 \001" - + "(\0132>.google.analytics.admin.v1alpha.Acce" - + "ssOrderBy.DimensionOrderByH\000\022\014\n\004desc\030\003 \001" - + "(\010\032$\n\rMetricOrderBy\022\023\n\013metric_name\030\001 \001(\t" - + "\032\363\001\n\020DimensionOrderBy\022\026\n\016dimension_name\030" - + "\001 \001(\t\022\\\n\norder_type\030\002 \001(\0162H.google.analy" - + "tics.admin.v1alpha.AccessOrderBy.Dimensi" - + "onOrderBy.OrderType\"i\n\tOrderType\022\032\n\026ORDE" - + "R_TYPE_UNSPECIFIED\020\000\022\020\n\014ALPHANUMERIC\020\001\022!" - + "\n\035CASE_INSENSITIVE_ALPHANUMERIC\020\002\022\013\n\007NUM" - + "ERIC\020\003B\016\n\014one_order_by\"/\n\025AccessDimensio" - + "nHeader\022\026\n\016dimension_name\030\001 \001(\t\")\n\022Acces" - + "sMetricHeader\022\023\n\013metric_name\030\001 \001(\t\"\245\001\n\tA" - + "ccessRow\022N\n\020dimension_values\030\001 \003(\01324.goo" - + "gle.analytics.admin.v1alpha.AccessDimens" - + "ionValue\022H\n\rmetric_values\030\002 \003(\01321.google" - + ".analytics.admin.v1alpha.AccessMetricVal" - + "ue\"%\n\024AccessDimensionValue\022\r\n\005value\030\001 \001(" - + "\t\"\"\n\021AccessMetricValue\022\r\n\005value\030\001 \001(\t\"\323\002" - + "\n\013AccessQuota\022I\n\016tokens_per_day\030\001 \001(\01321." - + "google.analytics.admin.v1alpha.AccessQuo" - + "taStatus\022J\n\017tokens_per_hour\030\002 \001(\01321.goog" - + "le.analytics.admin.v1alpha.AccessQuotaSt" - + "atus\022N\n\023concurrent_requests\030\003 \001(\01321.goog" - + "le.analytics.admin.v1alpha.AccessQuotaSt" - + "atus\022]\n\"server_errors_per_project_per_ho" - + "ur\030\004 \001(\01321.google.analytics.admin.v1alph" - + "a.AccessQuotaStatus\"8\n\021AccessQuotaStatus" - + "\022\020\n\010consumed\030\001 \001(\005\022\021\n\tremaining\030\002 \001(\005B~\n" - + "\"com.google.analytics.admin.v1alphaB\021Acc" - + "essReportProtoP\001ZCgoogle.golang.org/genp" - + "roto/googleapis/analytics/admin/v1alpha;" - + "adminb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor, - new java.lang.String[] { - "DimensionName", - }); - internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor, - new java.lang.String[] { - "MetricName", - }); - internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor, - new java.lang.String[] { - "StartDate", "EndDate", - }); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor, - new java.lang.String[] { - "AndGroup", "OrGroup", "NotExpression", "AccessFilter", "OneExpression", - }); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor, - new java.lang.String[] { - "Expressions", - }); - internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor, - new java.lang.String[] { - "StringFilter", - "InListFilter", - "NumericFilter", - "BetweenFilter", - "FieldName", - "OneFilter", - }); - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor, - new java.lang.String[] { - "MatchType", "Value", "CaseSensitive", - }); - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor, - new java.lang.String[] { - "Values", "CaseSensitive", - }); - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor, - new java.lang.String[] { - "Operation", "Value", - }); - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor, - new java.lang.String[] { - "FromValue", "ToValue", - }); - internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor, - new java.lang.String[] { - "Int64Value", "DoubleValue", "OneValue", - }); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor, - new java.lang.String[] { - "Metric", "Dimension", "Desc", "OneOrderBy", - }); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor = - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor, - new java.lang.String[] { - "MetricName", - }); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor = - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor - .getNestedTypes() - .get(1); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor, - new java.lang.String[] { - "DimensionName", "OrderType", - }); - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor, - new java.lang.String[] { - "DimensionName", - }); - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor, - new java.lang.String[] { - "MetricName", - }); - internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor, - new java.lang.String[] { - "DimensionValues", "MetricValues", - }); - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor, - new java.lang.String[] { - "Value", - }); - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor, - new java.lang.String[] { - "Value", - }); - internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor, - new java.lang.String[] { - "TokensPerDay", - "TokensPerHour", - "ConcurrentRequests", - "ServerErrorsPerProjectPerHour", - }); - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor, - new java.lang.String[] { - "Consumed", "Remaining", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java deleted file mode 100644 index d67a9c5590e8..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface AcknowledgeUserDataCollectionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) - com.google.protobuf.MessageOrBuilder {} 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 deleted file mode 100644 index a806bba1a4ec..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java +++ /dev/null @@ -1,2150 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public final class AnalyticsAdminProto { - private AnalyticsAdminProto() {} - - 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_RunAccessReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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_CreateCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/analytics/admin/v1alpha/analyti" - + "cs_admin.proto\022\036google.analytics.admin.v" - + "1alpha\0322google/analytics/admin/v1alpha/a" - + "ccess_report.proto\032-google/analytics/adm" - + "in/v1alpha/audience.proto\032.google/analyt" - + "ics/admin/v1alpha/resources.proto\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032\033google/pro" - + "tobuf/empty.proto\032 google/protobuf/field" - + "_mask.proto\032\037google/protobuf/timestamp.p" - + "roto\"\244\004\n\026RunAccessReportRequest\022\016\n\006entit" - + "y\030\001 \001(\t\022C\n\ndimensions\030\002 \003(\0132/.google.ana" - + "lytics.admin.v1alpha.AccessDimension\022=\n\007" - + "metrics\030\003 \003(\0132,.google.analytics.admin.v" - + "1alpha.AccessMetric\022D\n\013date_ranges\030\004 \003(\013" - + "2/.google.analytics.admin.v1alpha.Access" - + "DateRange\022P\n\020dimension_filter\030\005 \001(\01326.go" - + "ogle.analytics.admin.v1alpha.AccessFilte" - + "rExpression\022M\n\rmetric_filter\030\006 \001(\01326.goo" - + "gle.analytics.admin.v1alpha.AccessFilter" - + "Expression\022\016\n\006offset\030\007 \001(\003\022\r\n\005limit\030\010 \001(" - + "\003\022\021\n\ttime_zone\030\t \001(\t\022@\n\torder_bys\030\n \003(\0132" - + "-.google.analytics.admin.v1alpha.AccessO" - + "rderBy\022\033\n\023return_entity_quota\030\013 \001(\010\"\277\002\n\027" - + "RunAccessReportResponse\022P\n\021dimension_hea" - + "ders\030\001 \003(\01325.google.analytics.admin.v1al" - + "pha.AccessDimensionHeader\022J\n\016metric_head" - + "ers\030\002 \003(\01322.google.analytics.admin.v1alp" - + "ha.AccessMetricHeader\0227\n\004rows\030\003 \003(\0132).go" - + "ogle.analytics.admin.v1alpha.AccessRow\022\021" - + "\n\trow_count\030\004 \001(\005\022:\n\005quota\030\005 \001(\0132+.googl" - + "e.analytics.admin.v1alpha.AccessQuota\"P\n" - + "\021GetAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'" - + "\n%analyticsadmin.googleapis.com/Account\"" - + "R\n\023ListAccountsRequest\022\021\n\tpage_size\030\001 \001(" - + "\005\022\022\n\npage_token\030\002 \001(\t\022\024\n\014show_deleted\030\003 " - + "\001(\010\"j\n\024ListAccountsResponse\0229\n\010accounts\030" - + "\001 \003(\0132\'.google.analytics.admin.v1alpha.A" - + "ccount\022\027\n\017next_page_token\030\002 \001(\t\"S\n\024Delet" - + "eAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a" - + "nalyticsadmin.googleapis.com/Account\"\213\001\n" - + "\024UpdateAccountRequest\022=\n\007account\030\001 \001(\0132\'" - + ".google.analytics.admin.v1alpha.AccountB" - + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" - + "buf.FieldMaskB\003\340A\002\"o\n\035ProvisionAccountTi" - + "cketRequest\0228\n\007account\030\001 \001(\0132\'.google.an" - + "alytics.admin.v1alpha.Account\022\024\n\014redirec" - + "t_uri\030\002 \001(\t\";\n\036ProvisionAccountTicketRes" - + "ponse\022\031\n\021account_ticket_id\030\001 \001(\t\"R\n\022GetP" - + "ropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&an" - + "alyticsadmin.googleapis.com/Property\"i\n\025" - + "ListPropertiesRequest\022\023\n\006filter\030\001 \001(\tB\003\340" - + "A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" - + "\t\022\024\n\014show_deleted\030\004 \001(\010\"o\n\026ListPropertie" - + "sResponse\022<\n\nproperties\030\001 \003(\0132(.google.a" - + "nalytics.admin.v1alpha.Property\022\027\n\017next_" - + "page_token\030\002 \001(\t\"\216\001\n\025UpdatePropertyReque" - + "st\022?\n\010property\030\001 \001(\0132(.google.analytics." - + "admin.v1alpha.PropertyB\003\340A\002\0224\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" - + "\002\"X\n\025CreatePropertyRequest\022?\n\010property\030\001" - + " \001(\0132(.google.analytics.admin.v1alpha.Pr" - + "opertyB\003\340A\002\"U\n\025DeletePropertyRequest\022<\n\004" - + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" - + "eapis.com/Property\"R\n\022GetUserLinkRequest" - + "\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.g" - + "oogleapis.com/UserLink\"\231\001\n\030BatchGetUserL" - + "inksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&ana" - + "lyticsadmin.googleapis.com/UserLink\022=\n\005n" - + "ames\030\002 \003(\tB.\340A\002\372A(\n&analyticsadmin.googl" - + "eapis.com/UserLink\"Y\n\031BatchGetUserLinksR" - + "esponse\022<\n\nuser_links\030\001 \003(\0132(.google.ana" - + "lytics.admin.v1alpha.UserLink\"}\n\024ListUse" - + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" - + "nalyticsadmin.googleapis.com/UserLink\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025" - + "ListUserLinksResponse\022<\n\nuser_links\030\001 \003(" - + "\0132(.google.analytics.admin.v1alpha.UserL" - + "ink\022\027\n\017next_page_token\030\002 \001(\t\"~\n\025AuditUse" - + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" - + "nalyticsadmin.googleapis.com/UserLink\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026" - + "AuditUserLinksResponse\022A\n\nuser_links\030\001 \003" - + "(\0132-.google.analytics.admin.v1alpha.Audi" - + "tUserLink\022\027\n\017next_page_token\030\002 \001(\t\"\267\001\n\025C" - + "reateUserLinkRequest\022>\n\006parent\030\001 \001(\tB.\340A" - + "\002\372A(\022&analyticsadmin.googleapis.com/User" - + "Link\022\034\n\017notify_new_user\030\002 \001(\010B\003\340A\001\022@\n\tus" - + "er_link\030\003 \001(\0132(.google.analytics.admin.v" - + "1alpha.UserLinkB\003\340A\002\"\312\001\n\033BatchCreateUser" - + "LinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&an" - + "alyticsadmin.googleapis.com/UserLink\022\035\n\020" - + "notify_new_users\030\002 \001(\010B\003\340A\001\022L\n\010requests\030" - + "\003 \003(\01325.google.analytics.admin.v1alpha.C" - + "reateUserLinkRequestB\003\340A\002\"\\\n\034BatchCreate" - + "UserLinksResponse\022<\n\nuser_links\030\001 \003(\0132(." - + "google.analytics.admin.v1alpha.UserLink\"" - + "Y\n\025UpdateUserLinkRequest\022@\n\tuser_link\030\001 " - + "\001(\0132(.google.analytics.admin.v1alpha.Use" - + "rLinkB\003\340A\002\"\253\001\n\033BatchUpdateUserLinksReque" - + "st\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadm" - + "in.googleapis.com/UserLink\022L\n\010requests\030\002" - + " \003(\01325.google.analytics.admin.v1alpha.Up" - + "dateUserLinkRequestB\003\340A\002\"\\\n\034BatchUpdateU" - + "serLinksResponse\022<\n\nuser_links\030\001 \003(\0132(.g" - + "oogle.analytics.admin.v1alpha.UserLink\"U" - + "\n\025DeleteUserLinkRequest\022<\n\004name\030\001 \001(\tB.\340" - + "A\002\372A(\n&analyticsadmin.googleapis.com/Use" - + "rLink\"\253\001\n\033BatchDeleteUserLinksRequest\022>\n" - + "\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.go" - + "ogleapis.com/UserLink\022L\n\010requests\030\002 \003(\0132" - + "5.google.analytics.admin.v1alpha.DeleteU" - + "serLinkRequestB\003\340A\002\"\251\001\n\031CreateFirebaseLi" - + "nkRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analy" - + "ticsadmin.googleapis.com/FirebaseLink\022H\n" - + "\rfirebase_link\030\002 \001(\0132,.google.analytics." - + "admin.v1alpha.FirebaseLinkB\003\340A\002\"]\n\031Delet" - + "eFirebaseLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" - + "A,\n*analyticsadmin.googleapis.com/Fireba" - + "seLink\"\205\001\n\030ListFirebaseLinksRequest\022B\n\006p" - + "arent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.goog" - + "leapis.com/FirebaseLink\022\021\n\tpage_size\030\002 \001" - + "(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListFirebaseLi" - + "nksResponse\022D\n\016firebase_links\030\001 \003(\0132,.go" - + "ogle.analytics.admin.v1alpha.FirebaseLin" - + "k\022\027\n\017next_page_token\030\002 \001(\t\"\\\n\027GetGlobalS" - + "iteTagRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+ana" - + "lyticsadmin.googleapis.com/GlobalSiteTag" - + "\"\256\001\n\032CreateGoogleAdsLinkRequest\022C\n\006paren" - + "t\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.googleap" - + "is.com/GoogleAdsLink\022K\n\017google_ads_link\030" - + "\002 \001(\0132-.google.analytics.admin.v1alpha.G" - + "oogleAdsLinkB\003\340A\002\"\232\001\n\032UpdateGoogleAdsLin" - + "kRequest\022F\n\017google_ads_link\030\001 \001(\0132-.goog" - + "le.analytics.admin.v1alpha.GoogleAdsLink" - + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" - + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" - + "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" - + "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" - + "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" - + "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"~\n\032ListGoogleAdsLinksResponse\022" - + "G\n\020google_ads_links\030\001 \003(\0132-.google.analy" - + "tics.admin.v1alpha.GoogleAdsLink\022\027\n\017next" - + "_page_token\030\002 \001(\t\"h\n\035GetDataSharingSetti" - + "ngsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyt" - + "icsadmin.googleapis.com/DataSharingSetti" - + "ngs\"D\n\033ListAccountSummariesRequest\022\021\n\tpa" - + "ge_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034Li" - + "stAccountSummariesResponse\022I\n\021account_su" - + "mmaries\030\001 \003(\0132..google.analytics.admin.v" - + "1alpha.AccountSummary\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\206\001\n$AcknowledgeUserDataCollection" - + "Request\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analy" - + "ticsadmin.googleapis.com/Property\022\034\n\017ack" - + "nowledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUs" - + "erDataCollectionResponse\"\203\004\n SearchChang" - + "eHistoryEventsRequest\022>\n\007account\030\001 \001(\tB-" - + "\340A\002\372A\'\n%analyticsadmin.googleapis.com/Ac" - + "count\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analyti" - + "csadmin.googleapis.com/Property\022U\n\rresou" - + "rce_type\030\003 \003(\01629.google.analytics.admin." - + "v1alpha.ChangeHistoryResourceTypeB\003\340A\001\022?" - + "\n\006action\030\004 \003(\0162*.google.analytics.admin." - + "v1alpha.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005" - + " \003(\tB\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\001\022;\n\022late" - + "st_change_time\030\007 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n" - + "\npage_token\030\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeH" - + "istoryEventsResponse\022Q\n\025change_history_e" - + "vents\030\001 \003(\01322.google.analytics.admin.v1a" - + "lpha.ChangeHistoryEvent\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"t\n#GetMeasurementProtocolSecret" - + "Request\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analytics" - + "admin.googleapis.com/MeasurementProtocol" - + "Secret\"\336\001\n&CreateMeasurementProtocolSecr" - + "etRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analy" - + "ticsadmin.googleapis.com/MeasurementProt" - + "ocolSecret\022c\n\033measurement_protocol_secre" - + "t\030\002 \001(\01329.google.analytics.admin.v1alpha" - + ".MeasurementProtocolSecretB\003\340A\002\"w\n&Delet" - + "eMeasurementProtocolSecretRequest\022M\n\004nam" - + "e\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.googleap" - + "is.com/MeasurementProtocolSecret\"\276\001\n&Upd" - + "ateMeasurementProtocolSecretRequest\022c\n\033m" - + "easurement_protocol_secret\030\001 \001(\01329.googl" - + "e.analytics.admin.v1alpha.MeasurementPro" - + "tocolSecretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032." - + "google.protobuf.FieldMask\"\237\001\n%ListMeasur" - + "ementProtocolSecretsRequest\022O\n\006parent\030\001 " - + "\001(\tB?\340A\002\372A9\0227analyticsadmin.googleapis.c" - + "om/MeasurementProtocolSecret\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\242\001\n&ListMeas" - + "urementProtocolSecretsResponse\022_\n\034measur" - + "ement_protocol_secrets\030\001 \003(\01329.google.an" - + "alytics.admin.v1alpha.MeasurementProtoco" - + "lSecret\022\027\n\017next_page_token\030\002 \001(\t\"l\n\037GetG" - + "oogleSignalsSettingsRequest\022I\n\004name\030\001 \001(" - + "\tB;\340A\002\372A5\n3analyticsadmin.googleapis.com" - + "/GoogleSignalsSettings\"\267\001\n\"UpdateGoogleS" - + "ignalsSettingsRequest\022[\n\027google_signals_" - + "settings\030\001 \001(\01325.google.analytics.admin." - + "v1alpha.GoogleSignalsSettingsB\003\340A\002\0224\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\"\265\001\n\034CreateConversionEventReques" - + "t\022N\n\020conversion_event\030\001 \001(\0132/.google.ana" - + "lytics.admin.v1alpha.ConversionEventB\003\340A" - + "\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/\022-analyticsadmi" - + "n.googleapis.com/ConversionEvent\"`\n\031GetC" - + "onversionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002" - + "\372A/\n-analyticsadmin.googleapis.com/Conve" - + "rsionEvent\"c\n\034DeleteConversionEventReque" - + "st\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin" - + ".googleapis.com/ConversionEvent\"\213\001\n\033List" - + "ConversionEventsRequest\022E\n\006parent\030\001 \001(\tB" - + "5\340A\002\372A/\022-analyticsadmin.googleapis.com/C" - + "onversionEvent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" - + "e_token\030\003 \001(\t\"\203\001\n\034ListConversionEventsRe" - + "sponse\022J\n\021conversion_events\030\001 \003(\0132/.goog" - + "le.analytics.admin.v1alpha.ConversionEve" - + "nt\022\027\n\017next_page_token\030\002 \001(\t\"|\n\'GetDispla" - + "yVideo360AdvertiserLinkRequest\022Q\n\004name\030\001" - + " \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis." - + "com/DisplayVideo360AdvertiserLink\"\247\001\n)Li" - + "stDisplayVideo360AdvertiserLinksRequest\022" - + "S\n\006parent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin." - + "googleapis.com/DisplayVideo360Advertiser" - + "Link\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"\260\001\n*ListDisplayVideo360AdvertiserLin" - + "ksResponse\022i\n\"display_video_360_advertis" - + "er_links\030\001 \003(\0132=.google.analytics.admin." - + "v1alpha.DisplayVideo360AdvertiserLink\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\360\001\n*CreateDisplay" - + "Video360AdvertiserLinkRequest\022S\n\006parent\030" - + "\001 \001(\tBC\340A\002\372A=\022;analyticsadmin.googleapis" - + ".com/DisplayVideo360AdvertiserLink\022m\n!di" - + "splay_video_360_advertiser_link\030\002 \001(\0132=." - + "google.analytics.admin.v1alpha.DisplayVi" - + "deo360AdvertiserLinkB\003\340A\002\"\177\n*DeleteDispl" - + "ayVideo360AdvertiserLinkRequest\022Q\n\004name\030" - + "\001 \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis" - + ".com/DisplayVideo360AdvertiserLink\"\314\001\n*U" - + "pdateDisplayVideo360AdvertiserLinkReques" - + "t\022h\n!display_video_360_advertiser_link\030\001" - + " \001(\0132=.google.analytics.admin.v1alpha.Di" - + "splayVideo360AdvertiserLink\0224\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" - + "\002\"\214\001\n/GetDisplayVideo360AdvertiserLinkPr" - + "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana" - + "lyticsadmin.googleapis.com/DisplayVideo3" - + "60AdvertiserLinkProposal\"\267\001\n1ListDisplay" - + "Video360AdvertiserLinkProposalsRequest\022[" - + "\n\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.g" - + "oogleapis.com/DisplayVideo360AdvertiserL" - + "inkProposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\"\311\001\n2ListDisplayVideo360Advert" - + "iserLinkProposalsResponse\022z\n+display_vid" - + "eo_360_advertiser_link_proposals\030\001 \003(\0132E" - + ".google.analytics.admin.v1alpha.DisplayV" - + "ideo360AdvertiserLinkProposal\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"\221\002\n2CreateDisplayVideo360" - + "AdvertiserLinkProposalRequest\022[\n\006parent\030" - + "\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis" - + ".com/DisplayVideo360AdvertiserLinkPropos" - + "al\022~\n*display_video_360_advertiser_link_" - + "proposal\030\002 \001(\0132E.google.analytics.admin." - + "v1alpha.DisplayVideo360AdvertiserLinkPro" - + "posalB\003\340A\002\"\217\001\n2DeleteDisplayVideo360Adve" - + "rtiserLinkProposalRequest\022Y\n\004name\030\001 \001(\tB" - + "K\340A\002\372AE\nCanalyticsadmin.googleapis.com/D" - + "isplayVideo360AdvertiserLinkProposal\"\220\001\n" - + "3ApproveDisplayVideo360AdvertiserLinkPro" - + "posalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanal" - + "yticsadmin.googleapis.com/DisplayVideo36" - + "0AdvertiserLinkProposal\"\240\001\n4ApproveDispl" - + "ayVideo360AdvertiserLinkProposalResponse" - + "\022h\n!display_video_360_advertiser_link\030\001 " - + "\001(\0132=.google.analytics.admin.v1alpha.Dis" - + "playVideo360AdvertiserLink\"\217\001\n2CancelDis" - + "playVideo360AdvertiserLinkProposalReques" - + "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." - + "googleapis.com/DisplayVideo360Advertiser" - + "LinkProposal\"\265\001\n\034CreateCustomDimensionRe" - + "quest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analytics" - + "admin.googleapis.com/CustomDimension\022N\n\020" - + "custom_dimension\030\002 \001(\0132/.google.analytic" - + "s.admin.v1alpha.CustomDimensionB\003\340A\002\"\237\001\n" - + "\034UpdateCustomDimensionRequest\022I\n\020custom_" - + "dimension\030\001 \001(\0132/.google.analytics.admin" - + ".v1alpha.CustomDimension\0224\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\213" - + "\001\n\033ListCustomDimensionsRequest\022E\n\006parent" - + "\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.googleapi" - + "s.com/CustomDimension\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\"\203\001\n\034ListCustomDimen" - + "sionsResponse\022J\n\021custom_dimensions\030\001 \003(\013" - + "2/.google.analytics.admin.v1alpha.Custom" - + "Dimension\022\027\n\017next_page_token\030\002 \001(\t\"d\n\035Ar" - + "chiveCustomDimensionRequest\022C\n\004name\030\001 \001(" - + "\tB5\340A\002\372A/\n-analyticsadmin.googleapis.com" - + "/CustomDimension\"`\n\031GetCustomDimensionRe" - + "quest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsad" - + "min.googleapis.com/CustomDimension\"\251\001\n\031C" - + "reateCustomMetricRequest\022B\n\006parent\030\001 \001(\t" - + "B2\340A\002\372A,\022*analyticsadmin.googleapis.com/" - + "CustomMetric\022H\n\rcustom_metric\030\002 \001(\0132,.go" - + "ogle.analytics.admin.v1alpha.CustomMetri" - + "cB\003\340A\002\"\226\001\n\031UpdateCustomMetricRequest\022C\n\r" - + "custom_metric\030\001 \001(\0132,.google.analytics.a" - + "dmin.v1alpha.CustomMetric\0224\n\013update_mask" - + "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"" - + "\205\001\n\030ListCustomMetricsRequest\022B\n\006parent\030\001" - + " \001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis." - + "com/CustomMetric\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"z\n\031ListCustomMetricsResp" - + "onse\022D\n\016custom_metrics\030\001 \003(\0132,.google.an" - + "alytics.admin.v1alpha.CustomMetric\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"^\n\032ArchiveCustomMetr" - + "icRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyti" - + "csadmin.googleapis.com/CustomMetric\"Z\n\026G" - + "etCustomMetricRequest\022@\n\004name\030\001 \001(\tB2\340A\002" - + "\372A,\n*analyticsadmin.googleapis.com/Custo" - + "mMetric\"l\n\037GetDataRetentionSettingsReque" - + "st\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3analyticsadmin" - + ".googleapis.com/DataRetentionSettings\"\267\001" - + "\n\"UpdateDataRetentionSettingsRequest\022[\n\027" - + "data_retention_settings\030\001 \001(\01325.google.a" - + "nalytics.admin.v1alpha.DataRetentionSett" - + "ingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\002\"\241\001\n\027CreateDataSt" - + "reamRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(ana" - + "lyticsadmin.googleapis.com/DataStream\022D\n" - + "\013data_stream\030\002 \001(\0132*.google.analytics.ad" - + "min.v1alpha.DataStreamB\003\340A\002\"Y\n\027DeleteDat" - + "aStreamRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(an" - + "alyticsadmin.googleapis.com/DataStream\"\220" - + "\001\n\027UpdateDataStreamRequest\022?\n\013data_strea" - + "m\030\001 \001(\0132*.google.analytics.admin.v1alpha" - + ".DataStream\0224\n\013update_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\003\340A\002\"\201\001\n\026ListDataSt" - + "reamsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(an" - + "alyticsadmin.googleapis.com/DataStream\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n" - + "\027ListDataStreamsResponse\022@\n\014data_streams" - + "\030\001 \003(\0132*.google.analytics.admin.v1alpha." - + "DataStream\022\027\n\017next_page_token\030\002 \001(\t\"V\n\024G" - + "etDataStreamRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A" - + "*\n(analyticsadmin.googleapis.com/DataStr" - + "eam\"R\n\022GetAudienceRequest\022<\n\004name\030\001 \001(\tB" - + ".\340A\002\372A(\n&analyticsadmin.googleapis.com/A" - + "udience\"}\n\024ListAudiencesRequest\022>\n\006paren" - + "t\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleap" - + "is.com/Audience\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"m\n\025ListAudiencesResponse\022" - + ";\n\taudiences\030\001 \003(\0132(.google.analytics.ad" - + "min.v1alpha.Audience\022\027\n\017next_page_token\030" - + "\002 \001(\t\"\230\001\n\025CreateAudienceRequest\022>\n\006paren" - + "t\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleap" - + "is.com/Audience\022?\n\010audience\030\002 \001(\0132(.goog" - + "le.analytics.admin.v1alpha.AudienceB\003\340A\002" - + "\"\216\001\n\025UpdateAudienceRequest\022?\n\010audience\030\001" - + " \001(\0132(.google.analytics.admin.v1alpha.Au" - + "dienceB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\003\340A\002\"V\n\026ArchiveAudi" - + "enceRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\022&analy" - + "ticsadmin.googleapis.com/Audience\"h\n\035Get" - + "AttributionSettingsRequest\022G\n\004name\030\001 \001(\t" - + "B9\340A\002\372A3\n1analyticsadmin.googleapis.com/" - + "AttributionSettings\"\260\001\n UpdateAttributio" - + "nSettingsRequest\022V\n\024attribution_settings" - + "\030\001 \001(\01323.google.analytics.admin.v1alpha." - + "AttributionSettingsB\003\340A\002\0224\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\0022\214" - + "\215\001\n\025AnalyticsAdminService\022\223\001\n\nGetAccount" - + "\0221.google.analytics.admin.v1alpha.GetAcc" - + "ountRequest\032\'.google.analytics.admin.v1a" - + "lpha.Account\")\202\323\344\223\002\034\022\032/v1alpha/{name=acc" - + "ounts/*}\332A\004name\022\224\001\n\014ListAccounts\0223.googl" - + "e.analytics.admin.v1alpha.ListAccountsRe" - + "quest\0324.google.analytics.admin.v1alpha.L" - + "istAccountsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/ac" - + "counts\022\210\001\n\rDeleteAccount\0224.google.analyt" - + "ics.admin.v1alpha.DeleteAccountRequest\032\026" - + ".google.protobuf.Empty\")\202\323\344\223\002\034*\032/v1alpha" - + "/{name=accounts/*}\332A\004name\022\271\001\n\rUpdateAcco" - + "unt\0224.google.analytics.admin.v1alpha.Upd" - + "ateAccountRequest\032\'.google.analytics.adm" - + "in.v1alpha.Account\"I\202\323\344\223\002-2\"/v1alpha/{ac" - + "count.name=accounts/*}:\007account\332A\023accoun" - + "t,update_mask\022\314\001\n\026ProvisionAccountTicket" - + "\022=.google.analytics.admin.v1alpha.Provis" - + "ionAccountTicketRequest\032>.google.analyti" - + "cs.admin.v1alpha.ProvisionAccountTicketR" - + "esponse\"3\202\323\344\223\002-\"(/v1alpha/accounts:provi" - + "sionAccountTicket:\001*\022\264\001\n\024ListAccountSumm" - + "aries\022;.google.analytics.admin.v1alpha.L" - + "istAccountSummariesRequest\032<.google.anal", - "ytics.admin.v1alpha.ListAccountSummaries" - + "Response\"!\202\323\344\223\002\033\022\031/v1alpha/accountSummar" - + "ies\022\230\001\n\013GetProperty\0222.google.analytics.a" - + "dmin.v1alpha.GetPropertyRequest\032(.google" - + ".analytics.admin.v1alpha.Property\"+\202\323\344\223\002" - + "\036\022\034/v1alpha/{name=properties/*}\332A\004name\022\234" - + "\001\n\016ListProperties\0225.google.analytics.adm" - + "in.v1alpha.ListPropertiesRequest\0326.googl" - + "e.analytics.admin.v1alpha.ListProperties" - + "Response\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243\001" - + "\n\016CreateProperty\0225.google.analytics.admi" - + "n.v1alpha.CreatePropertyRequest\032(.google" - + ".analytics.admin.v1alpha.Property\"0\202\323\344\223\002" - + "\037\"\023/v1alpha/properties:\010property\332A\010prope" - + "rty\022\236\001\n\016DeleteProperty\0225.google.analytic" - + "s.admin.v1alpha.DeletePropertyRequest\032(." - + "google.analytics.admin.v1alpha.Property\"" - + "+\202\323\344\223\002\036*\034/v1alpha/{name=properties/*}\332A\004" - + "name\022\301\001\n\016UpdateProperty\0225.google.analyti" - + "cs.admin.v1alpha.UpdatePropertyRequest\032(" - + ".google.analytics.admin.v1alpha.Property" - + "\"N\202\323\344\223\00212%/v1alpha/{property.name=proper" - + "ties/*}:\010property\332A\024property,update_mask" - + "\022\316\001\n\013GetUserLink\0222.google.analytics.admi" - + "n.v1alpha.GetUserLinkRequest\032(.google.an" - + "alytics.admin.v1alpha.UserLink\"a\202\323\344\223\002T\022&" - + "/v1alpha/{name=accounts/*/userLinks/*}Z*" - + "\022(/v1alpha/{name=properties/*/userLinks/" - + "*}\332A\004name\022\366\001\n\021BatchGetUserLinks\0228.google" - + ".analytics.admin.v1alpha.BatchGetUserLin" - + "ksRequest\0329.google.analytics.admin.v1alp" - + "ha.BatchGetUserLinksResponse\"l\202\323\344\223\002f\022//v" - + "1alpha/{parent=accounts/*}/userLinks:bat" - + "chGetZ3\0221/v1alpha/{parent=properties/*}/" - + "userLinks:batchGet\022\341\001\n\rListUserLinks\0224.g" - + "oogle.analytics.admin.v1alpha.ListUserLi" - + "nksRequest\0325.google.analytics.admin.v1al" - + "pha.ListUserLinksResponse\"c\202\323\344\223\002T\022&/v1al" - + "pha/{parent=accounts/*}/userLinksZ*\022(/v1" - + "alpha/{parent=properties/*}/userLinks\332A\006" - + "parent\022\355\001\n\016AuditUserLinks\0225.google.analy" - + "tics.admin.v1alpha.AuditUserLinksRequest" - + "\0326.google.analytics.admin.v1alpha.AuditU" - + "serLinksResponse\"l\202\323\344\223\002f\",/v1alpha/{pare" - + "nt=accounts/*}/userLinks:audit:\001*Z3\"./v1" - + "alpha/{parent=properties/*}/userLinks:au" - + "dit:\001*\022\367\001\n\016CreateUserLink\0225.google.analy" - + "tics.admin.v1alpha.CreateUserLinkRequest" - + "\032(.google.analytics.admin.v1alpha.UserLi" - + "nk\"\203\001\202\323\344\223\002j\"&/v1alpha/{parent=accounts/*" - + "}/userLinks:\tuser_linkZ5\"(/v1alpha/{pare" - + "nt=properties/*}/userLinks:\tuser_link\332A\020" - + "parent,user_link\022\213\002\n\024BatchCreateUserLink" - + "s\022;.google.analytics.admin.v1alpha.Batch" - + "CreateUserLinksRequest\032<.google.analytic" - + "s.admin.v1alpha.BatchCreateUserLinksResp" - + "onse\"x\202\323\344\223\002r\"2/v1alpha/{parent=accounts/" - + "*}/userLinks:batchCreate:\001*Z9\"4/v1alpha/" - + "{parent=properties/*}/userLinks:batchCre" - + "ate:\001*\022\204\002\n\016UpdateUserLink\0225.google.analy" - + "tics.admin.v1alpha.UpdateUserLinkRequest" - + "\032(.google.analytics.admin.v1alpha.UserLi" - + "nk\"\220\001\202\323\344\223\002~20/v1alpha/{user_link.name=ac" - + "counts/*/userLinks/*}:\tuser_linkZ?22/v1a" - + "lpha/{user_link.name=properties/*/userLi" - + "nks/*}:\tuser_link\332A\tuser_link\022\213\002\n\024BatchU" - + "pdateUserLinks\022;.google.analytics.admin." - + "v1alpha.BatchUpdateUserLinksRequest\032<.go" - + "ogle.analytics.admin.v1alpha.BatchUpdate" - + "UserLinksResponse\"x\202\323\344\223\002r\"2/v1alpha/{par" - + "ent=accounts/*}/userLinks:batchUpdate:\001*" - + "Z9\"4/v1alpha/{parent=properties/*}/userL" - + "inks:batchUpdate:\001*\022\302\001\n\016DeleteUserLink\0225" - + ".google.analytics.admin.v1alpha.DeleteUs" - + "erLinkRequest\032\026.google.protobuf.Empty\"a\202" - + "\323\344\223\002T*&/v1alpha/{name=accounts/*/userLin" - + "ks/*}Z**(/v1alpha/{name=properties/*/use" - + "rLinks/*}\332A\004name\022\345\001\n\024BatchDeleteUserLink" - + "s\022;.google.analytics.admin.v1alpha.Batch" - + "DeleteUserLinksRequest\032\026.google.protobuf" - + ".Empty\"x\202\323\344\223\002r\"2/v1alpha/{parent=account" - + "s/*}/userLinks:batchDelete:\001*Z9\"4/v1alph" - + "a/{parent=properties/*}/userLinks:batchD" - + "elete:\001*\022\331\001\n\022CreateFirebaseLink\0229.google" - + ".analytics.admin.v1alpha.CreateFirebaseL" - + "inkRequest\032,.google.analytics.admin.v1al" - + "pha.FirebaseLink\"Z\202\323\344\223\002=\",/v1alpha/{pare" - + "nt=properties/*}/firebaseLinks:\rfirebase" - + "_link\332A\024parent,firebase_link\022\244\001\n\022DeleteF" - + "irebaseLink\0229.google.analytics.admin.v1a" - + "lpha.DeleteFirebaseLinkRequest\032\026.google." - + "protobuf.Empty\";\202\323\344\223\002.*,/v1alpha/{name=p" - + "roperties/*/firebaseLinks/*}\332A\004name\022\307\001\n\021" - + "ListFirebaseLinks\0228.google.analytics.adm" - + "in.v1alpha.ListFirebaseLinksRequest\0329.go" - + "ogle.analytics.admin.v1alpha.ListFirebas" - + "eLinksResponse\"=\202\323\344\223\002.\022,/v1alpha/{parent" - + "=properties/*}/firebaseLinks\332A\006parent\022\303\001" - + "\n\020GetGlobalSiteTag\0227.google.analytics.ad" - + "min.v1alpha.GetGlobalSiteTagRequest\032-.go" - + "ogle.analytics.admin.v1alpha.GlobalSiteT" - + "ag\"G\202\323\344\223\002:\0228/v1alpha/{name=properties/*/" - + "dataStreams/*/globalSiteTag}\332A\004name\022\341\001\n\023" - + "CreateGoogleAdsLink\022:.google.analytics.a" - + "dmin.v1alpha.CreateGoogleAdsLinkRequest\032" - + "-.google.analytics.admin.v1alpha.GoogleA" - + "dsLink\"_\202\323\344\223\002@\"-/v1alpha/{parent=propert" - + "ies/*}/googleAdsLinks:\017google_ads_link\332A" - + "\026parent,google_ads_link\022\366\001\n\023UpdateGoogle" - + "AdsLink\022:.google.analytics.admin.v1alpha" - + ".UpdateGoogleAdsLinkRequest\032-.google.ana" - + "lytics.admin.v1alpha.GoogleAdsLink\"t\202\323\344\223" - + "\002P2=/v1alpha/{google_ads_link.name=prope" - + "rties/*/googleAdsLinks/*}:\017google_ads_li" - + "nk\332A\033google_ads_link,update_mask\022\247\001\n\023Del" - + "eteGoogleAdsLink\022:.google.analytics.admi" - + "n.v1alpha.DeleteGoogleAdsLinkRequest\032\026.g" - + "oogle.protobuf.Empty\"<\202\323\344\223\002/*-/v1alpha/{" - + "name=properties/*/googleAdsLinks/*}\332A\004na" - + "me\022\313\001\n\022ListGoogleAdsLinks\0229.google.analy" - + "tics.admin.v1alpha.ListGoogleAdsLinksReq" - + "uest\032:.google.analytics.admin.v1alpha.Li" - + "stGoogleAdsLinksResponse\">\202\323\344\223\002/\022-/v1alp" - + "ha/{parent=properties/*}/googleAdsLinks\332" - + "A\006parent\022\313\001\n\026GetDataSharingSettings\022=.go" - + "ogle.analytics.admin.v1alpha.GetDataShar" - + "ingSettingsRequest\0323.google.analytics.ad" - + "min.v1alpha.DataSharingSettings\"=\202\323\344\223\0020\022" - + "./v1alpha/{name=accounts/*/dataSharingSe" - + "ttings}\332A\004name\022\366\001\n\034GetMeasurementProtoco" - + "lSecret\022C.google.analytics.admin.v1alpha" - + ".GetMeasurementProtocolSecretRequest\0329.g" - + "oogle.analytics.admin.v1alpha.Measuremen" - + "tProtocolSecret\"V\202\323\344\223\002I\022G/v1alpha/{name=" - + "properties/*/dataStreams/*/measurementPr" - + "otocolSecrets/*}\332A\004name\022\211\002\n\036ListMeasurem" - + "entProtocolSecrets\022E.google.analytics.ad" - + "min.v1alpha.ListMeasurementProtocolSecre" - + "tsRequest\032F.google.analytics.admin.v1alp" - + "ha.ListMeasurementProtocolSecretsRespons" - + "e\"X\202\323\344\223\002I\022G/v1alpha/{parent=properties/*" - + "/dataStreams/*}/measurementProtocolSecre" - + "ts\332A\006parent\022\270\002\n\037CreateMeasurementProtoco" - + "lSecret\022F.google.analytics.admin.v1alpha" - + ".CreateMeasurementProtocolSecretRequest\032" - + "9.google.analytics.admin.v1alpha.Measure" - + "mentProtocolSecret\"\221\001\202\323\344\223\002f\"G/v1alpha/{p" - + "arent=properties/*/dataStreams/*}/measur" - + "ementProtocolSecrets:\033measurement_protoc" - + "ol_secret\332A\"parent,measurement_protocol_" - + "secret\022\331\001\n\037DeleteMeasurementProtocolSecr" - + "et\022F.google.analytics.admin.v1alpha.Dele" - + "teMeasurementProtocolSecretRequest\032\026.goo" - + "gle.protobuf.Empty\"V\202\323\344\223\002I*G/v1alpha/{na" - + "me=properties/*/dataStreams/*/measuremen" - + "tProtocolSecrets/*}\332A\004name\022\332\002\n\037UpdateMea" - + "surementProtocolSecret\022F.google.analytic" - + "s.admin.v1alpha.UpdateMeasurementProtoco" - + "lSecretRequest\0329.google.analytics.admin." - + "v1alpha.MeasurementProtocolSecret\"\263\001\202\323\344\223" - + "\002\202\0012c/v1alpha/{measurement_protocol_secr" - + "et.name=properties/*/dataStreams/*/measu" - + "rementProtocolSecrets/*}:\033measurement_pr" - + "otocol_secret\332A\'measurement_protocol_sec" - + "ret,update_mask\022\367\001\n\035AcknowledgeUserDataC" - + "ollection\022D.google.analytics.admin.v1alp" - + "ha.AcknowledgeUserDataCollectionRequest\032" - + "E.google.analytics.admin.v1alpha.Acknowl" - + "edgeUserDataCollectionResponse\"I\202\323\344\223\002C\">" - + "/v1alpha/{property=properties/*}:acknowl" - + "edgeUserDataCollection:\001*\022\344\001\n\031SearchChan" - + "geHistoryEvents\022@.google.analytics.admin" - + ".v1alpha.SearchChangeHistoryEventsReques" - + "t\032A.google.analytics.admin.v1alpha.Searc" - + "hChangeHistoryEventsResponse\"B\202\323\344\223\002<\"7/v" - + "1alpha/{account=accounts/*}:searchChange" - + "HistoryEvents:\001*\022\325\001\n\030GetGoogleSignalsSet" - + "tings\022?.google.analytics.admin.v1alpha.G" - + "etGoogleSignalsSettingsRequest\0325.google." - + "analytics.admin.v1alpha.GoogleSignalsSet" - + "tings\"A\202\323\344\223\0024\0222/v1alpha/{name=properties" - + "/*/googleSignalsSettings}\332A\004name\022\254\002\n\033Upd" - + "ateGoogleSignalsSettings\022B.google.analyt" - + "ics.admin.v1alpha.UpdateGoogleSignalsSet" - + "tingsRequest\0325.google.analytics.admin.v1" - + "alpha.GoogleSignalsSettings\"\221\001\202\323\344\223\002e2J/v" - + "1alpha/{google_signals_settings.name=pro" - + "perties/*/googleSignalsSettings}:\027google" - + "_signals_settings\332A#google_signals_setti" - + "ngs,update_mask\022\353\001\n\025CreateConversionEven" - + "t\022<.google.analytics.admin.v1alpha.Creat" - + "eConversionEventRequest\032/.google.analyti" - + "cs.admin.v1alpha.ConversionEvent\"c\202\323\344\223\002C" - + "\"//v1alpha/{parent=properties/*}/convers" - + "ionEvents:\020conversion_event\332A\027parent,con" - + "version_event\022\300\001\n\022GetConversionEvent\0229.g" - + "oogle.analytics.admin.v1alpha.GetConvers" - + "ionEventRequest\032/.google.analytics.admin" - + ".v1alpha.ConversionEvent\">\202\323\344\223\0021\022//v1alp" - + "ha/{name=properties/*/conversionEvents/*" - + "}\332A\004name\022\255\001\n\025DeleteConversionEvent\022<.goo" - + "gle.analytics.admin.v1alpha.DeleteConver" - + "sionEventRequest\032\026.google.protobuf.Empty" - + "\">\202\323\344\223\0021*//v1alpha/{name=properties/*/co" - + "nversionEvents/*}\332A\004name\022\323\001\n\024ListConvers" - + "ionEvents\022;.google.analytics.admin.v1alp" - + "ha.ListConversionEventsRequest\032<.google." - + "analytics.admin.v1alpha.ListConversionEv" - + "entsResponse\"@\202\323\344\223\0021\022//v1alpha/{parent=p" - + "roperties/*}/conversionEvents\332A\006parent\022\370" - + "\001\n GetDisplayVideo360AdvertiserLink\022G.go" - + "ogle.analytics.admin.v1alpha.GetDisplayV" - + "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" - + "s.admin.v1alpha.DisplayVideo360Advertise" - + "rLink\"\273\001\202\323\344\223\002\204\0012_/v1alpha/{display_video" - + "_360_advertiser_link.name=properties/*/d" - + "isplayVideo360AdvertiserLinks/*}:!displa" - + "y_video_360_advertiser_link\332A-display_vi" - + "deo_360_advertiser_link,update_mask\022\230\002\n(" - + "GetDisplayVideo360AdvertiserLinkProposal" - + "\022O.google.analytics.admin.v1alpha.GetDis" - + "playVideo360AdvertiserLinkProposalReques" - + "t\032E.google.analytics.admin.v1alpha.Displ" - + "ayVideo360AdvertiserLinkProposal\"T\202\323\344\223\002G" - + "\022E/v1alpha/{name=properties/*/displayVid" - + "eo360AdvertiserLinkProposals/*}\332A\004name\022\253" - + "\002\n*ListDisplayVideo360AdvertiserLinkProp" - + "osals\022Q.google.analytics.admin.v1alpha.L" - + "istDisplayVideo360AdvertiserLinkProposal" - + "sRequest\032R.google.analytics.admin.v1alph" - + "a.ListDisplayVideo360AdvertiserLinkPropo" - + "salsResponse\"V\202\323\344\223\002G\022E/v1alpha/{parent=p" - + "roperties/*}/displayVideo360AdvertiserLi" - + "nkProposals\332A\006parent\022\370\002\n+CreateDisplayVi" - + "deo360AdvertiserLinkProposal\022R.google.an" - + "alytics.admin.v1alpha.CreateDisplayVideo" - + "360AdvertiserLinkProposalRequest\032E.googl" - + "e.analytics.admin.v1alpha.DisplayVideo36" - + "0AdvertiserLinkProposal\"\255\001\202\323\344\223\002s\"E/v1alp" - + "ha/{parent=properties/*}/displayVideo360" - + "AdvertiserLinkProposals:*display_video_3" - + "60_advertiser_link_proposal\332A1parent,dis" - + "play_video_360_advertiser_link_proposal\022" - + "\357\001\n+DeleteDisplayVideo360AdvertiserLinkP" - + "roposal\022R.google.analytics.admin.v1alpha" - + ".DeleteDisplayVideo360AdvertiserLinkProp" - + "osalRequest\032\026.google.protobuf.Empty\"T\202\323\344" - + "\223\002G*E/v1alpha/{name=properties/*/display" - + "Video360AdvertiserLinkProposals/*}\332A\004nam" - + "e\022\263\002\n,ApproveDisplayVideo360AdvertiserLi" - + "nkProposal\022S.google.analytics.admin.v1al" - + "pha.ApproveDisplayVideo360AdvertiserLink" - + "ProposalRequest\032T.google.analytics.admin" - + ".v1alpha.ApproveDisplayVideo360Advertise" - + "rLinkProposalResponse\"X\202\323\344\223\002R\"M/v1alpha/" - + "{name=properties/*/displayVideo360Advert" - + "iserLinkProposals/*}:approve:\001*\022\241\002\n+Canc" - + "elDisplayVideo360AdvertiserLinkProposal\022" - + "R.google.analytics.admin.v1alpha.CancelD" - + "isplayVideo360AdvertiserLinkProposalRequ" - + "est\032E.google.analytics.admin.v1alpha.Dis" - + "playVideo360AdvertiserLinkProposal\"W\202\323\344\223" - + "\002Q\"L/v1alpha/{name=properties/*/displayV" - + "ideo360AdvertiserLinkProposals/*}:cancel" - + ":\001*\022\353\001\n\025CreateCustomDimension\022<.google.a" - + "nalytics.admin.v1alpha.CreateCustomDimen" - + "sionRequest\032/.google.analytics.admin.v1a" - + "lpha.CustomDimension\"c\202\323\344\223\002C\"//v1alpha/{" - + "parent=properties/*}/customDimensions:\020c" - + "ustom_dimension\332A\027parent,custom_dimensio" - + "n\022\201\002\n\025UpdateCustomDimension\022<.google.ana" - + "lytics.admin.v1alpha.UpdateCustomDimensi" - + "onRequest\032/.google.analytics.admin.v1alp" - + "ha.CustomDimension\"y\202\323\344\223\002T2@/v1alpha/{cu" - + "stom_dimension.name=properties/*/customD" - + "imensions/*}:\020custom_dimension\332A\034custom_" - + "dimension,update_mask\022\323\001\n\024ListCustomDime" - + "nsions\022;.google.analytics.admin.v1alpha." - + "ListCustomDimensionsRequest\032<.google.ana" - + "lytics.admin.v1alpha.ListCustomDimension" - + "sResponse\"@\202\323\344\223\0021\022//v1alpha/{parent=prop" - + "erties/*}/customDimensions\332A\006parent\022\272\001\n\026" - + "ArchiveCustomDimension\022=.google.analytic" - + "s.admin.v1alpha.ArchiveCustomDimensionRe" - + "quest\032\026.google.protobuf.Empty\"I\202\323\344\223\002<\"7/" - + "v1alpha/{name=properties/*/customDimensi" - + "ons/*}:archive:\001*\332A\004name\022\300\001\n\022GetCustomDi" - + "mension\0229.google.analytics.admin.v1alpha" - + ".GetCustomDimensionRequest\032/.google.anal" - + "ytics.admin.v1alpha.CustomDimension\">\202\323\344" - + "\223\0021\022//v1alpha/{name=properties/*/customD" - + "imensions/*}\332A\004name\022\331\001\n\022CreateCustomMetr" - + "ic\0229.google.analytics.admin.v1alpha.Crea" - + "teCustomMetricRequest\032,.google.analytics" - + ".admin.v1alpha.CustomMetric\"Z\202\323\344\223\002=\",/v1" - + "alpha/{parent=properties/*}/customMetric" - + "s:\rcustom_metric\332A\024parent,custom_metric\022" - + "\354\001\n\022UpdateCustomMetric\0229.google.analytic" - + "s.admin.v1alpha.UpdateCustomMetricReques" - + "t\032,.google.analytics.admin.v1alpha.Custo" - + "mMetric\"m\202\323\344\223\002K2:/v1alpha/{custom_metric" - + ".name=properties/*/customMetrics/*}:\rcus" - + "tom_metric\332A\031custom_metric,update_mask\022\307" - + "\001\n\021ListCustomMetrics\0228.google.analytics." - + "admin.v1alpha.ListCustomMetricsRequest\0329" - + ".google.analytics.admin.v1alpha.ListCust" - + "omMetricsResponse\"=\202\323\344\223\002.\022,/v1alpha/{par" - + "ent=properties/*}/customMetrics\332A\006parent" - + "\022\261\001\n\023ArchiveCustomMetric\022:.google.analyt" - + "ics.admin.v1alpha.ArchiveCustomMetricReq" - + "uest\032\026.google.protobuf.Empty\"F\202\323\344\223\0029\"4/v" - + "1alpha/{name=properties/*/customMetrics/" - + "*}:archive:\001*\332A\004name\022\264\001\n\017GetCustomMetric" - + "\0226.google.analytics.admin.v1alpha.GetCus" - + "tomMetricRequest\032,.google.analytics.admi" - + "n.v1alpha.CustomMetric\";\202\323\344\223\002.\022,/v1alpha" - + "/{name=properties/*/customMetrics/*}\332A\004n" - + "ame\022\325\001\n\030GetDataRetentionSettings\022?.googl" - + "e.analytics.admin.v1alpha.GetDataRetenti" - + "onSettingsRequest\0325.google.analytics.adm" - + "in.v1alpha.DataRetentionSettings\"A\202\323\344\223\0024" - + "\0222/v1alpha/{name=properties/*/dataRetent" - + "ionSettings}\332A\004name\022\254\002\n\033UpdateDataRetent" - + "ionSettings\022B.google.analytics.admin.v1a" - + "lpha.UpdateDataRetentionSettingsRequest\032" - + "5.google.analytics.admin.v1alpha.DataRet" - + "entionSettings\"\221\001\202\323\344\223\002e2J/v1alpha/{data_" - + "retention_settings.name=properties/*/dat" - + "aRetentionSettings}:\027data_retention_sett" - + "ings\332A#data_retention_settings,update_ma" - + "sk\022\315\001\n\020CreateDataStream\0227.google.analyti" - + "cs.admin.v1alpha.CreateDataStreamRequest" - + "\032*.google.analytics.admin.v1alpha.DataSt" - + "ream\"T\202\323\344\223\0029\"*/v1alpha/{parent=propertie" - + "s/*}/dataStreams:\013data_stream\332A\022parent,d" - + "ata_stream\022\236\001\n\020DeleteDataStream\0227.google" - + ".analytics.admin.v1alpha.DeleteDataStrea" - + "mRequest\032\026.google.protobuf.Empty\"9\202\323\344\223\002," - + "**/v1alpha/{name=properties/*/dataStream" - + "s/*}\332A\004name\022\336\001\n\020UpdateDataStream\0227.googl" - + "e.analytics.admin.v1alpha.UpdateDataStre" - + "amRequest\032*.google.analytics.admin.v1alp" - + "ha.DataStream\"e\202\323\344\223\002E26/v1alpha/{data_st" - + "ream.name=properties/*/dataStreams/*}:\013d" - + "ata_stream\332A\027data_stream,update_mask\022\277\001\n" - + "\017ListDataStreams\0226.google.analytics.admi" - + "n.v1alpha.ListDataStreamsRequest\0327.googl" - + "e.analytics.admin.v1alpha.ListDataStream" - + "sResponse\";\202\323\344\223\002,\022*/v1alpha/{parent=prop" - + "erties/*}/dataStreams\332A\006parent\022\254\001\n\rGetDa" - + "taStream\0224.google.analytics.admin.v1alph" - + "a.GetDataStreamRequest\032*.google.analytic" - + "s.admin.v1alpha.DataStream\"9\202\323\344\223\002,\022*/v1a" - + "lpha/{name=properties/*/dataStreams/*}\332A" - + "\004name\022\244\001\n\013GetAudience\0222.google.analytics" - + ".admin.v1alpha.GetAudienceRequest\032(.goog" - + "le.analytics.admin.v1alpha.Audience\"7\202\323\344" - + "\223\002*\022(/v1alpha/{name=properties/*/audienc" - + "es/*}\332A\004name\022\267\001\n\rListAudiences\0224.google." - + "analytics.admin.v1alpha.ListAudiencesReq" - + "uest\0325.google.analytics.admin.v1alpha.Li" - + "stAudiencesResponse\"9\202\323\344\223\002*\022(/v1alpha/{p" - + "arent=properties/*}/audiences\332A\006parent\022\277" - + "\001\n\016CreateAudience\0225.google.analytics.adm" - + "in.v1alpha.CreateAudienceRequest\032(.googl" - + "e.analytics.admin.v1alpha.Audience\"L\202\323\344\223" - + "\0024\"(/v1alpha/{parent=properties/*}/audie" - + "nces:\010audience\332A\017parent,audience\022\315\001\n\016Upd" - + "ateAudience\0225.google.analytics.admin.v1a" - + "lpha.UpdateAudienceRequest\032(.google.anal" - + "ytics.admin.v1alpha.Audience\"Z\202\323\344\223\002=21/v" - + "1alpha/{audience.name=properties/*/audie" - + "nces/*}:\010audience\332A\024audience,update_mask", - "\022\236\001\n\017ArchiveAudience\0226.google.analytics." - + "admin.v1alpha.ArchiveAudienceRequest\032\026.g" - + "oogle.protobuf.Empty\";\202\323\344\223\0025\"0/v1alpha/{" - + "name=properties/*/audiences/*}:archive:\001" - + "*\022\315\001\n\026GetAttributionSettings\022=.google.an" - + "alytics.admin.v1alpha.GetAttributionSett" - + "ingsRequest\0323.google.analytics.admin.v1a" - + "lpha.AttributionSettings\"?\202\323\344\223\0022\0220/v1alp" - + "ha/{name=properties/*/attributionSetting" - + "s}\332A\004name\022\233\002\n\031UpdateAttributionSettings\022" - + "@.google.analytics.admin.v1alpha.UpdateA" - + "ttributionSettingsRequest\0323.google.analy" - + "tics.admin.v1alpha.AttributionSettings\"\206" - + "\001\202\323\344\223\002]2E/v1alpha/{attribution_settings." - + "name=properties/*/attributionSettings}:\024" - + "attribution_settings\332A attribution_setti" - + "ngs,update_mask\022\275\001\n\017RunAccessReport\0226.go" - + "ogle.analytics.admin.v1alpha.RunAccessRe" - + "portRequest\0327.google.analytics.admin.v1a" - + "lpha.RunAccessReportResponse\"9\202\323\344\223\0023\"./v" - + "1alpha/{entity=properties/*}:runAccessRe" - + "port:\001*\032\374\001\312A\035analyticsadmin.googleapis.c" - + "om\322A\330\001https://www.googleapis.com/auth/an" - + "alytics.edit,https://www.googleapis.com/" - + "auth/analytics.manage.users,https://www." - + "googleapis.com/auth/analytics.manage.use" - + "rs.readonly,https://www.googleapis.com/a" - + "uth/analytics.readonlyB\200\001\n\"com.google.an" - + "alytics.admin.v1alphaB\023AnalyticsAdminPro" - + "toP\001ZCgoogle.golang.org/genproto/googlea" - + "pis/analytics/admin/v1alpha;adminb\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(), - com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(), - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor, - new java.lang.String[] { - "Entity", - "Dimensions", - "Metrics", - "DateRanges", - "DimensionFilter", - "MetricFilter", - "Offset", - "Limit", - "TimeZone", - "OrderBys", - "ReturnEntityQuota", - }); - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor, - new java.lang.String[] { - "DimensionHeaders", "MetricHeaders", "Rows", "RowCount", "Quota", - }); - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor, - new java.lang.String[] { - "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor, - new java.lang.String[] { - "Accounts", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor, - new java.lang.String[] { - "Account", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor, - new java.lang.String[] { - "Account", "RedirectUri", - }); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor, - new java.lang.String[] { - "AccountTicketId", - }); - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor, - new java.lang.String[] { - "Filter", "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor, - new java.lang.String[] { - "Properties", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor, - new java.lang.String[] { - "Property", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor, - new java.lang.String[] { - "Property", - }); - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "Names", - }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", - }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "NotifyNewUser", "UserLink", - }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "NotifyNewUsers", "Requests", - }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", - }); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, - new java.lang.String[] { - "UserLink", - }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", - }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, - new java.lang.String[] { - "UserLinks", - }); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", - }); - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "FirebaseLink", - }); - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor, - new java.lang.String[] { - "FirebaseLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "GoogleAdsLink", - }); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { - "GoogleAdsLink", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor, - new java.lang.String[] { - "GoogleAdsLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor, - new java.lang.String[] { - "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor, - new java.lang.String[] { - "AccountSummaries", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor, - new java.lang.String[] { - "Property", "Acknowledgement", - }); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor, - new java.lang.String[] { - "Account", - "Property", - "ResourceType", - "Action", - "ActorEmail", - "EarliestChangeTime", - "LatestChangeTime", - "PageSize", - "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor, - new java.lang.String[] { - "ChangeHistoryEvents", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "Parent", "MeasurementProtocolSecret", - }); - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "MeasurementProtocolSecret", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, - new java.lang.String[] { - "MeasurementProtocolSecrets", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor, - new java.lang.String[] { - "GoogleSignalsSettings", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, - new java.lang.String[] { - "ConversionEvent", "Parent", - }); - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor, - new java.lang.String[] { - "ConversionEvents", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor, - new java.lang.String[] { - "DisplayVideo360AdvertiserLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "DisplayVideo360AdvertiserLink", - }); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { - "DisplayVideo360AdvertiserLink", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(66); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor = - getDescriptor().getMessageTypes().get(67); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor = - getDescriptor().getMessageTypes().get(68); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor, - new java.lang.String[] { - "DisplayVideo360AdvertiserLinkProposals", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(69); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { - "Parent", "DisplayVideo360AdvertiserLinkProposal", - }); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(70); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(71); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor = - getDescriptor().getMessageTypes().get(72); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor, - new java.lang.String[] { - "DisplayVideo360AdvertiserLink", - }); - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(73); - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(74); - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor, - new java.lang.String[] { - "Parent", "CustomDimension", - }); - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(75); - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor, - new java.lang.String[] { - "CustomDimension", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor = - getDescriptor().getMessageTypes().get(76); - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor = - getDescriptor().getMessageTypes().get(77); - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor, - new java.lang.String[] { - "CustomDimensions", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(78); - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(79); - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(80); - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor, - new java.lang.String[] { - "Parent", "CustomMetric", - }); - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(81); - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor, - new java.lang.String[] { - "CustomMetric", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor = - getDescriptor().getMessageTypes().get(82); - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor = - getDescriptor().getMessageTypes().get(83); - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor, - new java.lang.String[] { - "CustomMetrics", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(84); - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(85); - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(86); - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(87); - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor, - new java.lang.String[] { - "DataRetentionSettings", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(88); - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor, - new java.lang.String[] { - "Parent", "DataStream", - }); - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(89); - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(90); - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor, - new java.lang.String[] { - "DataStream", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(91); - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(92); - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor, - new java.lang.String[] { - "DataStreams", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(93); - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor = - getDescriptor().getMessageTypes().get(94); - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor = - getDescriptor().getMessageTypes().get(95); - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor = - getDescriptor().getMessageTypes().get(96); - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor, - new java.lang.String[] { - "Audiences", "NextPageToken", - }); - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor = - getDescriptor().getMessageTypes().get(97); - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor, - new java.lang.String[] { - "Parent", "Audience", - }); - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor = - getDescriptor().getMessageTypes().get(98); - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor, - new java.lang.String[] { - "Audience", "UpdateMask", - }); - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor = - getDescriptor().getMessageTypes().get(99); - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(100); - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(101); - internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor, - new java.lang.String[] { - "AttributionSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(); - com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.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/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index f00200890567..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,712 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest other = - (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - parseFrom( - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); - } - - // Construct using - // com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - build() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - buildPartial() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - result = - new com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - other) { - if (other - == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - .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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser< - ApproveDisplayVideo360AdvertiserLinkProposalRequest> - PARSER = - new com.google.protobuf.AbstractParser< - ApproveDisplayVideo360AdvertiserLinkProposalRequest>() { - @java.lang.Override - public ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index db4a482890e4..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java deleted file mode 100644 index 3053f7f4223f..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java +++ /dev/null @@ -1,829 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ApproveDisplayVideo360AdvertiserLinkProposalResponse() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); - } - - @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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - .class, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - .Builder.class); - } - - public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - displayVideo360AdvertiserLink_; - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - @java.lang.Override - public boolean hasDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ != null; - } - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return The displayVideo360AdvertiserLink. - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; - } - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; - } - - 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 (displayVideo360AdvertiserLink_ != null) { - output.writeMessage(1, getDisplayVideo360AdvertiserLink()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (displayVideo360AdvertiserLink_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getDisplayVideo360AdvertiserLink()); - } - 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse other = - (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - obj; - - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) - return false; - if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) - 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 (hasDisplayVideo360AdvertiserLink()) { - hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; - hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - parseFrom( - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - 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 - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse - 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, - com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse.Builder.class); - } - - // Construct using - // com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - displayVideo360AdvertiserLink_ = null; - if (displayVideo360AdvertiserLinkBuilder_ != null) { - displayVideo360AdvertiserLinkBuilder_.dispose(); - displayVideo360AdvertiserLinkBuilder_ = 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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - build() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - buildPartial() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - result = - new com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.displayVideo360AdvertiserLink_ = - displayVideo360AdvertiserLinkBuilder_ == null - ? displayVideo360AdvertiserLink_ - : displayVideo360AdvertiserLinkBuilder_.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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) { - return mergeFrom( - (com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - other) { - if (other - == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - .getDefaultInstance()) return this; - if (other.hasDisplayVideo360AdvertiserLink()) { - mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); - } - 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( - getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), extensionRegistry); - 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 com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - displayVideo360AdvertiserLink_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - displayVideo360AdvertiserLinkBuilder_; - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - public boolean hasDisplayVideo360AdvertiserLink() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return The displayVideo360AdvertiserLink. - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; - } else { - return displayVideo360AdvertiserLinkBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - displayVideo360AdvertiserLink_ = value; - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLink_ = builderForValue.build(); - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - public Builder mergeDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && displayVideo360AdvertiserLink_ != null - && displayVideo360AdvertiserLink_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()) { - getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); - } else { - displayVideo360AdvertiserLink_ = value; - } - } else { - displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - public Builder clearDisplayVideo360AdvertiserLink() { - bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLink_ = null; - if (displayVideo360AdvertiserLinkBuilder_ != null) { - displayVideo360AdvertiserLinkBuilder_.dispose(); - displayVideo360AdvertiserLinkBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinkBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { - if (displayVideo360AdvertiserLinkBuilder_ != null) { - return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); - } else { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; - } - } - /** - * - * - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - getDisplayVideo360AdvertiserLinkFieldBuilder() { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( - getDisplayVideo360AdvertiserLink(), getParentForChildren(), isClean()); - displayVideo360AdvertiserLink_ = null; - } - return displayVideo360AdvertiserLinkBuilder_; - } - - @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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - private static final com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse(); - } - - public static com.google.analytics.admin.v1alpha - .ApproveDisplayVideo360AdvertiserLinkProposalResponse - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser< - ApproveDisplayVideo360AdvertiserLinkProposalResponse> - PARSER = - new com.google.protobuf.AbstractParser< - ApproveDisplayVideo360AdvertiserLinkProposalResponse>() { - @java.lang.Override - public ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java deleted file mode 100644 index 3bdcd0ef8cff..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - boolean hasDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * - * @return The displayVideo360AdvertiserLink. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java deleted file mode 100644 index ecf25c7092b8..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ArchiveAudienceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveAudienceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234/audiences/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: properties/1234/audiences/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/ArchiveCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 08faf12cc9ee..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ArchiveCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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/ArchiveCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java deleted file mode 100644 index f7d638fca7b3..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ArchiveCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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/AudienceOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java deleted file mode 100644 index 9fe4d5443e74..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/audience.proto - -package com.google.analytics.admin.v1alpha; - -public interface AudienceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Audience) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. The resource name for this Audience resource.
-   * Format: properties/{propertyId}/audiences/{audienceId}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Output only. The resource name for this Audience resource.
-   * Format: properties/{propertyId}/audiences/{audienceId}
-   * 
- * - * 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 Audience.
-   * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - /** - * - * - *
-   * Required. The display name of the Audience.
-   * 
- * - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); - - /** - * - * - *
-   * Required. The description of the Audience.
-   * 
- * - * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
-   * Required. The description of the Audience.
-   * 
- * - * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for description. - */ - 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.
-   * 
- * - * - * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The membershipDurationDays. - */ - int getMembershipDurationDays(); - - /** - * - * - *
-   * 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]; - * - * @return The adsPersonalizationEnabled. - */ - 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.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the eventTrigger field is set. - */ - 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.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The eventTrigger. - */ - 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.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEventTriggerOrBuilder(); - - /** - * - * - *
-   * 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.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The enum numeric value on the wire for exclusionDurationMode. - */ - 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.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The exclusionDurationMode. - */ - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode - getExclusionDurationMode(); - - /** - * - * - *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * - */ - java.util.List getFilterClausesList(); - /** - * - * - *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * - */ - com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses(int index); - /** - * - * - *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * - */ - int getFilterClausesCount(); - /** - * - * - *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * - */ - java.util.List - getFilterClausesOrBuilderList(); - /** - * - * - *
-   * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
-   * together.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * - */ - com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilterClausesOrBuilder( - int index); -} 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 deleted file mode 100644 index 9e9ce4dca0a6..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/audience.proto - -package com.google.analytics.admin.v1alpha; - -public final class AudienceProto { - private AudienceProto() {} - - 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_AudienceDimensionOrMetricFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_Audience_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/analytics/admin/v1alpha/audienc" - + "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" - + "cFilter\022e\n\rstring_filter\030\002 \001(\0132L.google." - + "analytics.admin.v1alpha.AudienceDimensio" - + "nOrMetricFilter.StringFilterH\000\022f\n\016in_lis" - + "t_filter\030\003 \001(\0132L.google.analytics.admin." - + "v1alpha.AudienceDimensionOrMetricFilter." - + "InListFilterH\000\022g\n\016numeric_filter\030\004 \001(\0132M" - + ".google.analytics.admin.v1alpha.Audience" - + "DimensionOrMetricFilter.NumericFilterH\000\022" - + "g\n\016between_filter\030\005 \001(\0132M.google.analyti" - + "cs.admin.v1alpha.AudienceDimensionOrMetr" - + "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" - + ".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" - + "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" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor, - new java.lang.String[] { - "StringFilter", - "InListFilter", - "NumericFilter", - "BetweenFilter", - "FieldName", - "AtAnyPointInTime", - "InAnyNDayPeriod", - "OneFilter", - }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor, - new java.lang.String[] { - "MatchType", "Value", "CaseSensitive", - }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor - .getNestedTypes() - .get(1); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor, - new java.lang.String[] { - "Values", "CaseSensitive", - }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor - .getNestedTypes() - .get(2); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor, - new java.lang.String[] { - "Int64Value", "DoubleValue", "OneValue", - }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor - .getNestedTypes() - .get(3); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor, - new java.lang.String[] { - "Operation", "Value", - }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor - .getNestedTypes() - .get(4); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor, - new java.lang.String[] { - "FromValue", "ToValue", - }); - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor, - new java.lang.String[] { - "EventName", "EventParameterFilterExpression", - }); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor, - new java.lang.String[] { - "AndGroup", - "OrGroup", - "NotExpression", - "DimensionOrMetricFilter", - "EventFilter", - "Expr", - }); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor, - new java.lang.String[] { - "FilterExpressions", - }); - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor, - new java.lang.String[] { - "Scope", "FilterExpression", - }); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor, - new java.lang.String[] { - "Scope", "SequenceMaximumDuration", "SequenceSteps", - }); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor, - new java.lang.String[] { - "Scope", "ImmediatelyFollows", "ConstraintDuration", "FilterExpression", - }); - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor, - new java.lang.String[] { - "SimpleFilter", "SequenceFilter", "ClauseType", "Filter", - }); - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor, - new java.lang.String[] { - "EventName", "LogCondition", - }); - internal_static_google_analytics_admin_v1alpha_Audience_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_Audience_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Description", - "MembershipDurationDays", - "AdsPersonalizationEnabled", - "EventTrigger", - "ExclusionDurationMode", - "FilterClauses", - }); - 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.DurationProto.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/AudienceSequenceFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java deleted file mode 100644 index 40549e8bd6d1..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/audience.proto - -package com.google.analytics.admin.v1alpha; - -public interface AudienceSequenceFilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSequenceFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The enum numeric value on the wire for scope. - */ - int getScopeValue(); - /** - * - * - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The scope. - */ - com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); - - /** - * - * - *
-   * Optional. Defines the time period in which the whole sequence must occur.
-   * 
- * - * - * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the sequenceMaximumDuration field is set. - */ - boolean hasSequenceMaximumDuration(); - /** - * - * - *
-   * Optional. Defines the time period in which the whole sequence must occur.
-   * 
- * - * - * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The sequenceMaximumDuration. - */ - com.google.protobuf.Duration getSequenceMaximumDuration(); - /** - * - * - *
-   * Optional. Defines the time period in which the whole sequence must occur.
-   * 
- * - * - * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder(); - - /** - * - * - *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getSequenceStepsList(); - /** - * - * - *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps( - int index); - /** - * - * - *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getSequenceStepsCount(); - /** - * - * - *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List< - ? extends - com.google.analytics.admin.v1alpha.AudienceSequenceFilter - .AudienceSequenceStepOrBuilder> - getSequenceStepsOrBuilderList(); - /** - * - * - *
-   * Required. An ordered sequence of steps. A user must complete each step in order to
-   * join the sequence filter.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder - getSequenceStepsOrBuilder(int index); -} 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 deleted file mode 100644 index 9dd3a6686a9c..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/audience.proto - -package com.google.analytics.admin.v1alpha; - -public interface AudienceSimpleFilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSimpleFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The enum numeric value on the wire for scope. - */ - int getScopeValue(); - /** - * - * - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The scope. - */ - com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); - - /** - * - * - *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return Whether the filterExpression field is set. - */ - boolean hasFilterExpression(); - /** - * - * - *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The filterExpression. - */ - com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression(); - /** - * - * - *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionOrBuilder(); -} 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 deleted file mode 100644 index e44710fed9ab..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface BatchCreateUserLinksRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - 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
-   * messages must either be empty or match this field.
-   * Example format: accounts/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - 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.
-   * 
- * - * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The notifyNewUsers. - */ - boolean getNotifyNewUsers(); - - /** - * - * - *
-   * Required. The requests specifying the user links to create.
-   * A maximum of 1000 user links can be created in a batch.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getRequestsList(); - /** - * - * - *
-   * Required. The requests specifying the user links to create.
-   * A maximum of 1000 user links can be created in a batch.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index); - /** - * - * - *
-   * Required. The requests specifying the user links to create.
-   * A maximum of 1000 user links can be created in a batch.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getRequestsCount(); - /** - * - * - *
-   * Required. The requests specifying the user links to create.
-   * A maximum of 1000 user links can be created in a batch.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getRequestsOrBuilderList(); - /** - * - * - *
-   * Required. The requests specifying the user links to create.
-   * A maximum of 1000 user links can be created in a batch.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 94ce77883a4b..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,709 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CancelDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CancelDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CancelDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest other = - (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) 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 - .CancelDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CancelDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - parseFrom( - 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 - .CancelDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CancelDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CancelDisplayVideo360AdvertiserLinkProposalRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CancelDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CancelDisplayVideo360AdvertiserLinkProposalRequest - 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.CancelDisplayVideo360AdvertiserLinkProposalRequest - 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 CancelDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); - } - - // Construct using - // com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - build() { - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - buildPartial() { - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = - new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - 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.CancelDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - other) { - if (other - == com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - .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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha - .CancelDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser< - CancelDisplayVideo360AdvertiserLinkProposalRequest> - PARSER = - new com.google.protobuf.AbstractParser< - CancelDisplayVideo360AdvertiserLinkProposalRequest>() { - @java.lang.Override - public CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 9f4a2a4da08e..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/CreateAudienceRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java deleted file mode 100644 index bc459160c20a..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateAudienceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAudienceRequest) - 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 audience to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the audience field is set. - */ - boolean hasAudience(); - /** - * - * - *
-   * Required. The audience to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The audience. - */ - com.google.analytics.admin.v1alpha.Audience getAudience(); - /** - * - * - *
-   * Required. The audience to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder(); -} 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 deleted file mode 100644 index 9efd85dcee65..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the conversionEvent field is set. - */ - boolean hasConversionEvent(); - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The conversionEvent. - */ - com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); - - /** - * - * - *
-   * 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) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * 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) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java deleted file mode 100644 index a49f402b71f3..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) - 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 CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customDimension field is set. - */ - boolean hasCustomDimension(); - /** - * - * - *
-   * Required. The CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customDimension. - */ - com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); - /** - * - * - *
-   * Required. The CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java deleted file mode 100644 index 1cf913abcfca..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomMetricRequest) - 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 CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customMetric field is set. - */ - boolean hasCustomMetric(); - /** - * - * - *
-   * Required. The CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customMetric. - */ - com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); - /** - * - * - *
-   * Required. The CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java deleted file mode 100644 index cce680f10318..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDataStreamRequest) - 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 DataStream to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the dataStream field is set. - */ - boolean hasDataStream(); - /** - * - * - *
-   * Required. The DataStream to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The dataStream. - */ - com.google.analytics.admin.v1alpha.DataStream getDataStream(); - /** - * - * - *
-   * Required. The DataStream to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 951084f0ebcd..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,1017 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CreateDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CreateDisplayVideo360AdvertiserLinkProposalRequest() { - parent_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .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 DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - displayVideo360AdvertiserLinkProposal_; - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the displayVideo360AdvertiserLinkProposal field is set. - */ - @java.lang.Override - public boolean hasDisplayVideo360AdvertiserLinkProposal() { - return displayVideo360AdvertiserLinkProposal_ != null; - } - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The displayVideo360AdvertiserLinkProposal. - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal() { - return displayVideo360AdvertiserLinkProposal_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance() - : displayVideo360AdvertiserLinkProposal_; - } - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder() { - return displayVideo360AdvertiserLinkProposal_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance() - : displayVideo360AdvertiserLinkProposal_; - } - - 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 (displayVideo360AdvertiserLinkProposal_ != null) { - output.writeMessage(2, getDisplayVideo360AdvertiserLinkProposal()); - } - 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 (displayVideo360AdvertiserLinkProposal_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getDisplayVideo360AdvertiserLinkProposal()); - } - 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.CreateDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest other = - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (hasDisplayVideo360AdvertiserLinkProposal() - != other.hasDisplayVideo360AdvertiserLinkProposal()) return false; - if (hasDisplayVideo360AdvertiserLinkProposal()) { - if (!getDisplayVideo360AdvertiserLinkProposal() - .equals(other.getDisplayVideo360AdvertiserLinkProposal())) 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 (hasDisplayVideo360AdvertiserLinkProposal()) { - hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER; - hash = (53 * hash) + getDisplayVideo360AdvertiserLinkProposal().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CreateDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - parseFrom( - 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 - .CreateDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CreateDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CreateDisplayVideo360AdvertiserLinkProposalRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CreateDisplayVideo360AdvertiserLinkProposalRequest - 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 - .CreateDisplayVideo360AdvertiserLinkProposalRequest - 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.CreateDisplayVideo360AdvertiserLinkProposalRequest - 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 CreateDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); - } - - // Construct using - // com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - displayVideo360AdvertiserLinkProposal_ = null; - if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { - displayVideo360AdvertiserLinkProposalBuilder_.dispose(); - displayVideo360AdvertiserLinkProposalBuilder_ = 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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - build() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - buildPartial() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = - new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.displayVideo360AdvertiserLinkProposal_ = - displayVideo360AdvertiserLinkProposalBuilder_ == null - ? displayVideo360AdvertiserLinkProposal_ - : displayVideo360AdvertiserLinkProposalBuilder_.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.CreateDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - other) { - if (other - == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasDisplayVideo360AdvertiserLinkProposal()) { - mergeDisplayVideo360AdvertiserLinkProposal( - other.getDisplayVideo360AdvertiserLinkProposal()); - } - 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( - getDisplayVideo360AdvertiserLinkProposalFieldBuilder().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.DisplayVideo360AdvertiserLinkProposal - displayVideo360AdvertiserLinkProposal_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - displayVideo360AdvertiserLinkProposalBuilder_; - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the displayVideo360AdvertiserLinkProposal field is set. - */ - public boolean hasDisplayVideo360AdvertiserLinkProposal() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The displayVideo360AdvertiserLinkProposal. - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal() { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - return displayVideo360AdvertiserLinkProposal_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance() - : displayVideo360AdvertiserLinkProposal_; - } else { - return displayVideo360AdvertiserLinkProposalBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - displayVideo360AdvertiserLinkProposal_ = value; - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposal_ = builderForValue.build(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder mergeDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && displayVideo360AdvertiserLinkProposal_ != null - && displayVideo360AdvertiserLinkProposal_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance()) { - getDisplayVideo360AdvertiserLinkProposalBuilder().mergeFrom(value); - } else { - displayVideo360AdvertiserLinkProposal_ = value; - } - } else { - displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearDisplayVideo360AdvertiserLinkProposal() { - bitField0_ = (bitField0_ & ~0x00000002); - displayVideo360AdvertiserLinkProposal_ = null; - if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { - displayVideo360AdvertiserLinkProposalBuilder_.dispose(); - displayVideo360AdvertiserLinkProposalBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - getDisplayVideo360AdvertiserLinkProposalBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder() { - if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { - return displayVideo360AdvertiserLinkProposalBuilder_.getMessageOrBuilder(); - } else { - return displayVideo360AdvertiserLinkProposal_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance() - : displayVideo360AdvertiserLinkProposal_; - } - } - /** - * - * - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - getDisplayVideo360AdvertiserLinkProposalFieldBuilder() { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( - getDisplayVideo360AdvertiserLinkProposal(), getParentForChildren(), isClean()); - displayVideo360AdvertiserLinkProposal_ = null; - } - return displayVideo360AdvertiserLinkProposalBuilder_; - } - - @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.CreateDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha - .CreateDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser< - CreateDisplayVideo360AdvertiserLinkProposalRequest> - PARSER = - new com.google.protobuf.AbstractParser< - CreateDisplayVideo360AdvertiserLinkProposalRequest>() { - @java.lang.Override - public CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 91d8814f489e..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - 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 DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the displayVideo360AdvertiserLinkProposal field is set. - */ - boolean hasDisplayVideo360AdvertiserLinkProposal(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The displayVideo360AdvertiserLinkProposal. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 53dabbabfef2..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateDisplayVideo360AdvertiserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - 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 DisplayVideo360AdvertiserLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - boolean hasDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The displayVideo360AdvertiserLink. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); - /** - * - * - *
-   * Required. The DisplayVideo360AdvertiserLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index af6b2f56a482..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateFirebaseLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. 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. 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(); - - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the firebaseLink field is set. - */ - boolean hasFirebaseLink(); - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The firebaseLink. - */ - com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index bd09628d17b7..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateGoogleAdsLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) - 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 GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the googleAdsLink field is set. - */ - boolean hasGoogleAdsLink(); - /** - * - * - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The googleAdsLink. - */ - com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); - /** - * - * - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index eccfaa34618d..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateMeasurementProtocolSecretRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the measurementProtocolSecret field is set. - */ - boolean hasMeasurementProtocolSecret(); - /** - * - * - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The measurementProtocolSecret. - */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); - /** - * - * - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java deleted file mode 100644 index 0cc75c3e7e3c..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreatePropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreatePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the property field is set. - */ - boolean hasProperty(); - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The property. - */ - com.google.analytics.admin.v1alpha.Property getProperty(); - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); -} 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 deleted file mode 100644 index c6291c96544d..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface CreateUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: accounts/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Example format: accounts/1234
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * 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]; - * - * @return The notifyNewUser. - */ - boolean getNotifyNewUser(); - - /** - * - * - *
-   * Required. The user link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - * - * - *
-   * Required. The user link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - * - * - *
-   * Required. The user link to create.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java deleted file mode 100644 index 803366408a75..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteAccountRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * 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/DeleteConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java deleted file mode 100644 index 251995e662a9..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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/DeleteDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java deleted file mode 100644 index 36a590e40033..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DataStream to delete.
-   * Example format: properties/1234/dataStreams/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 DataStream to delete.
-   * Example format: properties/1234/dataStreams/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/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 2673a1b1f1f1..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,709 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -/** - * - * - *
- * Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest other = - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) 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 - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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 - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - parseFrom( - 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 - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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 - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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 - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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 - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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 - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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 DeleteDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code - * google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); - } - - // Construct using - // com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - build() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - buildPartial() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = - new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - .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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha - .DeleteDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser< - DeleteDisplayVideo360AdvertiserLinkProposalRequest> - PARSER = - new com.google.protobuf.AbstractParser< - DeleteDisplayVideo360AdvertiserLinkProposalRequest>() { - @java.lang.Override - public DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index ae5ef0852d88..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 0bbad963fc87..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinks/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 DisplayVideo360AdvertiserLink to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinks/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/DeleteFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index 193768464685..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteFirebaseLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/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/DeleteGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 7a0b60649f20..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteGoogleAdsLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234/googleAdsLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: properties/1234/googleAdsLinks/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/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index eaf860fd5a70..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteMeasurementProtocolSecretRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * 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/DeletePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java deleted file mode 100644 index a987d0fcd9e9..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeletePropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeletePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * 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/DeleteUserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java deleted file mode 100644 index d264010fd656..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface DeleteUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/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/GetAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java deleted file mode 100644 index c9770c3a5fcb..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetAccountRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * 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/GetAttributionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java deleted file mode 100644 index 5d0b3502e618..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetAttributionSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the attribution settings to retrieve.
-   * Format: properties/{property}/attributionSettings
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the attribution settings to retrieve.
-   * Format: properties/{property}/attributionSettings
-   * 
- * - * - * 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/GetAudienceRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java deleted file mode 100644 index d5fbb7e81b56..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetAudienceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAudienceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Audience to get.
-   * Example format: properties/1234/audiences/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 Audience to get.
-   * Example format: properties/1234/audiences/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/GetConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java deleted file mode 100644 index 986523b1dd1b..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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/GetCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 4055eb55f589..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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/GetCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java deleted file mode 100644 index b19794739c91..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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/GetDataRetentionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java deleted file mode 100644 index 246749d98c35..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDataRetentionSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * - * 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/GetDataSharingSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java deleted file mode 100644 index 332a29a4a2e1..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDataSharingSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * - * 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/GetDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java deleted file mode 100644 index bf5da682e3de..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DataStream to get.
-   * Example format: properties/1234/dataStreams/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 DataStream to get.
-   * Example format: properties/1234/dataStreams/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/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 47e4394e7c6c..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 5b243e80140b..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetDisplayVideo360AdvertiserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLink/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 DisplayVideo360AdvertiserLink to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLink/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/GetGoogleSignalsSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java deleted file mode 100644 index 9b61ee921ce5..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetGoogleSignalsSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the google signals settings to retrieve.
-   * Format: properties/{property}/googleSignalsSettings
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the google signals settings to retrieve.
-   * Format: properties/{property}/googleSignalsSettings
-   * 
- * - * - * 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/GetMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index e68f02661ef9..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetMeasurementProtocolSecretRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * 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/GetPropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java deleted file mode 100644 index 20cd31c0f87f..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetPropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetPropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * 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/GetUserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java deleted file mode 100644 index b9a664810f25..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface GetUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: accounts/1234/userLinks/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/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java deleted file mode 100644 index bc2b9f9a9e71..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - java.util.List - getDisplayVideo360AdvertiserLinkProposalsList(); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposals(int index); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - int getDisplayVideo360AdvertiserLinkProposalsCount(); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - java.util.List< - ? extends - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - getDisplayVideo360AdvertiserLinkProposalsOrBuilderList(); - /** - * - * - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalsOrBuilder(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/ProvisionAccountTicketResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java deleted file mode 100644 index cb7fb24b6584..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface ProvisionAccountTicketResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * - * @return The accountTicketId. - */ - java.lang.String getAccountTicketId(); - /** - * - * - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * - * @return The bytes for accountTicketId. - */ - com.google.protobuf.ByteString getAccountTicketIdBytes(); -} 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 deleted file mode 100644 index fd853e8e7b6f..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java +++ /dev/null @@ -1,800 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/resources.proto - -package com.google.analytics.admin.v1alpha; - -public final class ResourcesProto { - private ResourcesProto() {} - - 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_Account_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_Property_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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_LinkProposalStatusDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/analytics/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" - }; - 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(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_Account_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_Account_descriptor, - new java.lang.String[] { - "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", - }); - internal_static_google_analytics_admin_v1alpha_Property_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_Property_descriptor, - new java.lang.String[] { - "Name", - "PropertyType", - "CreateTime", - "UpdateTime", - "Parent", - "DisplayName", - "IndustryCategory", - "TimeZone", - "CurrencyCode", - "ServiceLevel", - "DeleteTime", - "ExpireTime", - "Account", - }); - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor, - new java.lang.String[] { - "WebStreamData", - "AndroidAppStreamData", - "IosAppStreamData", - "Name", - "Type", - "DisplayName", - "CreateTime", - "UpdateTime", - "StreamData", - }); - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor, - new java.lang.String[] { - "MeasurementId", "FirebaseAppId", "DefaultUri", - }); - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor - .getNestedTypes() - .get(1); - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor, - new java.lang.String[] { - "FirebaseAppId", "PackageName", - }); - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor - .getNestedTypes() - .get(2); - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor, - new java.lang.String[] { - "FirebaseAppId", "BundleId", - }); - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, - new java.lang.String[] { - "Name", "EmailAddress", "DirectRoles", - }); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, - new java.lang.String[] { - "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", - }); - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor, - new java.lang.String[] { - "Name", "Project", "CreateTime", - }); - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor, - new java.lang.String[] { - "Name", "Snippet", - }); - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor, - new java.lang.String[] { - "Name", - "CustomerId", - "CanManageClients", - "AdsPersonalizationEnabled", - "CreateTime", - "UpdateTime", - "CreatorEmailAddress", - }); - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor, - new java.lang.String[] { - "Name", - "SharingWithGoogleSupportEnabled", - "SharingWithGoogleAssignedSalesEnabled", - "SharingWithGoogleAnySalesEnabled", - "SharingWithGoogleProductsEnabled", - "SharingWithOthersEnabled", - }); - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor, - new java.lang.String[] { - "Name", "Account", "DisplayName", "PropertySummaries", - }); - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor, - new java.lang.String[] { - "Property", "DisplayName", "PropertyType", "Parent", - }); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "SecretValue", - }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor, - new java.lang.String[] { - "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", - }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor, - new java.lang.String[] { - "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", - }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor = - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor, - new java.lang.String[] { - "Account", - "Property", - "FirebaseLink", - "GoogleAdsLink", - "GoogleSignalsSettings", - "DisplayVideo360AdvertiserLink", - "DisplayVideo360AdvertiserLinkProposal", - "ConversionEvent", - "MeasurementProtocolSecret", - "CustomDimension", - "CustomMetric", - "DataRetentionSettings", - "DataStream", - "AttributionSettings", - "Resource", - }); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor, - new java.lang.String[] { - "Name", - "AdvertiserId", - "AdvertiserDisplayName", - "AdsPersonalizationEnabled", - "CampaignDataSharingEnabled", - "CostDataSharingEnabled", - }); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, - new java.lang.String[] { - "Name", - "AdvertiserId", - "LinkProposalStatusDetails", - "AdvertiserDisplayName", - "ValidationEmail", - "AdsPersonalizationEnabled", - "CampaignDataSharingEnabled", - "CostDataSharingEnabled", - }); - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor, - new java.lang.String[] { - "LinkProposalInitiatingProduct", "RequestorEmail", "LinkProposalState", - }); - internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor, - new java.lang.String[] { - "Name", "EventName", "CreateTime", "Deletable", "Custom", - }); - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor, - new java.lang.String[] { - "Name", "State", "Consent", - }); - internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor, - new java.lang.String[] { - "Name", - "ParameterName", - "DisplayName", - "Description", - "Scope", - "DisallowAdsPersonalization", - }); - internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor, - new java.lang.String[] { - "Name", - "ParameterName", - "DisplayName", - "Description", - "MeasurementUnit", - "Scope", - "RestrictedMetricType", - }); - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor, - new java.lang.String[] { - "Name", "EventDataRetention", "ResetUserDataOnNewActivity", - }); - internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor, - new java.lang.String[] { - "Name", - "AcquisitionConversionEventLookbackWindow", - "OtherConversionEventLookbackWindow", - "ReportingAttributionModel", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.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/UpdateAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java deleted file mode 100644 index d10a3e0641f0..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateAccountRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The account to update.
-   * The account's `name` field is used to identify the account.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the account field is set. - */ - boolean hasAccount(); - /** - * - * - *
-   * Required. The account to update.
-   * The account's `name` field is used to identify the account.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The account. - */ - com.google.analytics.admin.v1alpha.Account getAccount(); - /** - * - * - *
-   * Required. The account to update.
-   * The account's `name` field is used to identify the account.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - 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.
-   * 
- * - * .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. 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]; - * - * - * @return The updateMask. - */ - 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.
-   * 
- * - * .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/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 deleted file mode 100644 index 4b53fba0f13f..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateAttributionSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The attribution settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the attributionSettings field is set. - */ - boolean hasAttributionSettings(); - /** - * - * - *
-   * Required. The attribution settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The attributionSettings. - */ - com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings(); - /** - * - * - *
-   * Required. The attribution settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder(); - - /** - * - * - *
-   * 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]; - * - * - * @return Whether the updateMask field is set. - */ - 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.
-   * 
- * - * .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. 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]; - * - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); -} 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 deleted file mode 100644 index cdc0cd6b2965..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateAudienceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAudienceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The audience to update.
-   * The audience's `name` field is used to identify the audience to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the audience field is set. - */ - boolean hasAudience(); - /** - * - * - *
-   * Required. The audience to update.
-   * The audience's `name` field is used to identify the audience to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The audience. - */ - com.google.analytics.admin.v1alpha.Audience getAudience(); - /** - * - * - *
-   * Required. The audience to update.
-   * The audience's `name` field is used to identify the audience to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - 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.
-   * 
- * - * .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. 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]; - * - * - * @return The updateMask. - */ - 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.
-   * 
- * - * .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/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 deleted file mode 100644 index 3e1d5ccdc661..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateDataRetentionSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the dataRetentionSettings field is set. - */ - boolean hasDataRetentionSettings(); - /** - * - * - *
-   * Required. The settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The dataRetentionSettings. - */ - com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(); - /** - * - * - *
-   * Required. The settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder(); - - /** - * - * - *
-   * 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]; - * - * - * @return Whether the updateMask field is set. - */ - 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.
-   * 
- * - * .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. 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]; - * - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); -} 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 deleted file mode 100644 index 6d1a64370e84..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateGoogleSignalsSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the googleSignalsSettings field is set. - */ - boolean hasGoogleSignalsSettings(); - /** - * - * - *
-   * Required. The settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The googleSignalsSettings. - */ - com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(); - /** - * - * - *
-   * Required. The settings to update.
-   * The `name` field is used to identify the settings to be updated.
-   * 
- * - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder(); - - /** - * - * - *
-   * 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]; - * - * - * @return Whether the updateMask field is set. - */ - 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.
-   * 
- * - * .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. 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]; - * - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java deleted file mode 100644 index 4378c44fdd9b..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public interface UpdateUserLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The user link to update.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - * - * - *
-   * Required. The user link to update.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - * - * - *
-   * Required. The user link to update.
-   * 
- * - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java deleted file mode 100644 index 8b67545d3ee7..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface AcknowledgeUserDataCollectionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java deleted file mode 100644 index dbb0229e3770..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java +++ /dev/null @@ -1,1256 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public final class AnalyticsAdminProto { - private AnalyticsAdminProto() {} - - 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_v1beta_GetAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/analytics/admin/v1beta/analytic" - + "s_admin.proto\022\035google.analytics.admin.v1" - + "beta\032-google/analytics/admin/v1beta/reso" - + "urces.proto\032\034google/api/annotations.prot" - + "o\032\027google/api/client.proto\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032\033google/protobuf/empty.proto\032 goo" - + "gle/protobuf/field_mask.proto\032\037google/pr" - + "otobuf/timestamp.proto\"P\n\021GetAccountRequ" - + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" - + "n.googleapis.com/Account\"R\n\023ListAccounts" - + "Request\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token" - + "\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"i\n\024ListAcco" - + "untsResponse\0228\n\010accounts\030\001 \003(\0132&.google." - + "analytics.admin.v1beta.Account\022\027\n\017next_p" - + "age_token\030\002 \001(\t\"S\n\024DeleteAccountRequest\022" - + ";\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmin.go" - + "ogleapis.com/Account\"\212\001\n\024UpdateAccountRe" - + "quest\022<\n\007account\030\001 \001(\0132&.google.analytic" - + "s.admin.v1beta.AccountB\003\340A\002\0224\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" - + "\002\"n\n\035ProvisionAccountTicketRequest\0227\n\007ac" - + "count\030\001 \001(\0132&.google.analytics.admin.v1b" - + "eta.Account\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Pro" - + "visionAccountTicketResponse\022\031\n\021account_t" - + "icket_id\030\001 \001(\t\"R\n\022GetPropertyRequest\022<\n\004" - + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" - + "eapis.com/Property\"i\n\025ListPropertiesRequ" - + "est\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 " - + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_deleted\030" - + "\004 \001(\010\"n\n\026ListPropertiesResponse\022;\n\nprope" - + "rties\030\001 \003(\0132\'.google.analytics.admin.v1b" - + "eta.Property\022\027\n\017next_page_token\030\002 \001(\t\"\215\001" - + "\n\025UpdatePropertyRequest\022>\n\010property\030\001 \001(" - + "\0132\'.google.analytics.admin.v1beta.Proper" - + "tyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr" - + "otobuf.FieldMaskB\003\340A\002\"W\n\025CreatePropertyR" - + "equest\022>\n\010property\030\001 \001(\0132\'.google.analyt" - + "ics.admin.v1beta.PropertyB\003\340A\002\"U\n\025Delete" - + "PropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&a" - + "nalyticsadmin.googleapis.com/Property\"\250\001" - + "\n\031CreateFirebaseLinkRequest\022B\n\006parent\030\001 " - + "\001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis.c" - + "om/FirebaseLink\022G\n\rfirebase_link\030\002 \001(\0132+" - + ".google.analytics.admin.v1beta.FirebaseL" - + "inkB\003\340A\002\"]\n\031DeleteFirebaseLinkRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" - + "leapis.com/FirebaseLink\"\205\001\n\030ListFirebase" - + "LinksRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" - + "alyticsadmin.googleapis.com/FirebaseLink" - + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" - + "y\n\031ListFirebaseLinksResponse\022C\n\016firebase" - + "_links\030\001 \003(\0132+.google.analytics.admin.v1" - + "beta.FirebaseLink\022\027\n\017next_page_token\030\002 \001" - + "(\t\"\255\001\n\032CreateGoogleAdsLinkRequest\022C\n\006par" - + "ent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.google" - + "apis.com/GoogleAdsLink\022J\n\017google_ads_lin" - + "k\030\002 \001(\0132,.google.analytics.admin.v1beta." - + "GoogleAdsLinkB\003\340A\002\"\231\001\n\032UpdateGoogleAdsLi" - + "nkRequest\022E\n\017google_ads_link\030\001 \001(\0132,.goo" - + "gle.analytics.admin.v1beta.GoogleAdsLink" - + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" - + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" - + "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" - + "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" - + "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" - + "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"}\n\032ListGoogleAdsLinksResponse\022" - + "F\n\020google_ads_links\030\001 \003(\0132,.google.analy" - + "tics.admin.v1beta.GoogleAdsLink\022\027\n\017next_" - + "page_token\030\002 \001(\t\"h\n\035GetDataSharingSettin" - + "gsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyti" - + "csadmin.googleapis.com/DataSharingSettin" - + "gs\"D\n\033ListAccountSummariesRequest\022\021\n\tpag" - + "e_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\034Lis" - + "tAccountSummariesResponse\022H\n\021account_sum" - + "maries\030\001 \003(\0132-.google.analytics.admin.v1" - + "beta.AccountSummary\022\027\n\017next_page_token\030\002" - + " \001(\t\"\206\001\n$AcknowledgeUserDataCollectionRe" - + "quest\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analyti" - + "csadmin.googleapis.com/Property\022\034\n\017ackno" - + "wledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUser" - + "DataCollectionResponse\"\201\004\n SearchChangeH" - + "istoryEventsRequest\022>\n\007account\030\001 \001(\tB-\340A" - + "\002\372A\'\n%analyticsadmin.googleapis.com/Acco" - + "unt\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analytics" - + "admin.googleapis.com/Property\022T\n\rresourc" - + "e_type\030\003 \003(\01628.google.analytics.admin.v1" - + "beta.ChangeHistoryResourceTypeB\003\340A\001\022>\n\006a" - + "ction\030\004 \003(\0162).google.analytics.admin.v1b" - + "eta.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\t" - + "B\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\001\022;\n\022latest_c" - + "hange_time\030\007 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npag" - + "e_token\030\t \001(\tB\003\340A\001\"\216\001\n!SearchChangeHisto" - + "ryEventsResponse\022P\n\025change_history_event" - + "s\030\001 \003(\01321.google.analytics.admin.v1beta." - + "ChangeHistoryEvent\022\027\n\017next_page_token\030\002 " - + "\001(\t\"t\n#GetMeasurementProtocolSecretReque" - + "st\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin" - + ".googleapis.com/MeasurementProtocolSecre" - + "t\"\335\001\n&CreateMeasurementProtocolSecretReq" - + "uest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsa" - + "dmin.googleapis.com/MeasurementProtocolS" - + "ecret\022b\n\033measurement_protocol_secret\030\002 \001" - + "(\01328.google.analytics.admin.v1beta.Measu" - + "rementProtocolSecretB\003\340A\002\"w\n&DeleteMeasu" - + "rementProtocolSecretRequest\022M\n\004name\030\001 \001(" - + "\tB?\340A\002\372A9\n7analyticsadmin.googleapis.com" - + "/MeasurementProtocolSecret\"\275\001\n&UpdateMea" - + "surementProtocolSecretRequest\022b\n\033measure" - + "ment_protocol_secret\030\001 \001(\01328.google.anal" - + "ytics.admin.v1beta.MeasurementProtocolSe" - + "cretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\"\237\001\n%ListMeasurementPr" - + "otocolSecretsRequest\022O\n\006parent\030\001 \001(\tB?\340A" - + "\002\372A9\0227analyticsadmin.googleapis.com/Meas" - + "urementProtocolSecret\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\"\241\001\n&ListMeasurement" - + "ProtocolSecretsResponse\022^\n\034measurement_p" - + "rotocol_secrets\030\001 \003(\01328.google.analytics" - + ".admin.v1beta.MeasurementProtocolSecret\022" - + "\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\034CreateConve" - + "rsionEventRequest\022M\n\020conversion_event\030\001 " - + "\001(\0132..google.analytics.admin.v1beta.Conv" - + "ersionEventB\003\340A\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/" - + "\022-analyticsadmin.googleapis.com/Conversi" - + "onEvent\"`\n\031GetConversionEventRequest\022C\n\004" - + "name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googl" - + "eapis.com/ConversionEvent\"c\n\034DeleteConve" - + "rsionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n" - + "-analyticsadmin.googleapis.com/Conversio" - + "nEvent\"\213\001\n\033ListConversionEventsRequest\022E" - + "\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.g" - + "oogleapis.com/ConversionEvent\022\021\n\tpage_si" - + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\034ListCon" - + "versionEventsResponse\022I\n\021conversion_even" - + "ts\030\001 \003(\0132..google.analytics.admin.v1beta" - + ".ConversionEvent\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\264\001\n\034CreateCustomDimensionRequest\022E\n\006pa" - + "rent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.googl" - + "eapis.com/CustomDimension\022M\n\020custom_dime" - + "nsion\030\002 \001(\0132..google.analytics.admin.v1b" - + "eta.CustomDimensionB\003\340A\002\"\236\001\n\034UpdateCusto" - + "mDimensionRequest\022H\n\020custom_dimension\030\001 " - + "\001(\0132..google.analytics.admin.v1beta.Cust" - + "omDimension\0224\n\013update_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033ListCustom" - + "DimensionsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A" - + "/\022-analyticsadmin.googleapis.com/CustomD" - + "imension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\"\202\001\n\034ListCustomDimensionsResponse" - + "\022I\n\021custom_dimensions\030\001 \003(\0132..google.ana" - + "lytics.admin.v1beta.CustomDimension\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\"d\n\035ArchiveCustomDim" - + "ensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-ana" - + "lyticsadmin.googleapis.com/CustomDimensi" - + "on\"`\n\031GetCustomDimensionRequest\022C\n\004name\030" - + "\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis" - + ".com/CustomDimension\"\250\001\n\031CreateCustomMet" - + "ricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*anal" - + "yticsadmin.googleapis.com/CustomMetric\022G" - + "\n\rcustom_metric\030\002 \001(\0132+.google.analytics" - + ".admin.v1beta.CustomMetricB\003\340A\002\"\225\001\n\031Upda" - + "teCustomMetricRequest\022B\n\rcustom_metric\030\001" - + " \001(\0132+.google.analytics.admin.v1beta.Cus" - + "tomMetric\0224\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\002\"\205\001\n\030ListCustomMe" - + "tricsRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" - + "alyticsadmin.googleapis.com/CustomMetric" - + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" - + "y\n\031ListCustomMetricsResponse\022C\n\016custom_m" - + "etrics\030\001 \003(\0132+.google.analytics.admin.v1" - + "beta.CustomMetric\022\027\n\017next_page_token\030\002 \001" - + "(\t\"^\n\032ArchiveCustomMetricRequest\022@\n\004name" - + "\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.googleapi" - + "s.com/CustomMetric\"Z\n\026GetCustomMetricReq" - + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadm" - + "in.googleapis.com/CustomMetric\"l\n\037GetDat" - + "aRetentionSettingsRequest\022I\n\004name\030\001 \001(\tB" - + ";\340A\002\372A5\n3analyticsadmin.googleapis.com/D" - + "ataRetentionSettings\"\266\001\n\"UpdateDataReten" - + "tionSettingsRequest\022Z\n\027data_retention_se" - + "ttings\030\001 \001(\01324.google.analytics.admin.v1" - + "beta.DataRetentionSettingsB\003\340A\002\0224\n\013updat" - + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" - + "B\003\340A\002\"\240\001\n\027CreateDataStreamRequest\022@\n\006par" - + "ent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.google" - + "apis.com/DataStream\022C\n\013data_stream\030\002 \001(\013" - + "2).google.analytics.admin.v1beta.DataStr" - + "eamB\003\340A\002\"Y\n\027DeleteDataStreamRequest\022>\n\004n" - + "ame\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.google" - + "apis.com/DataStream\"\217\001\n\027UpdateDataStream" - + "Request\022>\n\013data_stream\030\001 \001(\0132).google.an" - + "alytics.admin.v1beta.DataStream\0224\n\013updat" - + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" - + "B\003\340A\002\"\201\001\n\026ListDataStreamsRequest\022@\n\006pare" - + "nt\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.googlea" - + "pis.com/DataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n" - + "\npage_token\030\003 \001(\t\"s\n\027ListDataStreamsResp" - + "onse\022?\n\014data_streams\030\001 \003(\0132).google.anal" - + "ytics.admin.v1beta.DataStream\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"V\n\024GetDataStreamRequest\022>" - + "\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.goo" - + "gleapis.com/DataStream2\353L\n\025AnalyticsAdmi" - + "nService\022\220\001\n\nGetAccount\0220.google.analyti" - + "cs.admin.v1beta.GetAccountRequest\032&.goog" - + "le.analytics.admin.v1beta.Account\"(\202\323\344\223\002" - + "\033\022\031/v1beta/{name=accounts/*}\332A\004name\022\221\001\n\014" - + "ListAccounts\0222.google.analytics.admin.v1" - + "beta.ListAccountsRequest\0323.google.analyt" - + "ics.admin.v1beta.ListAccountsResponse\"\030\202" - + "\323\344\223\002\022\022\020/v1beta/accounts\022\206\001\n\rDeleteAccoun" - + "t\0223.google.analytics.admin.v1beta.Delete" - + "AccountRequest\032\026.google.protobuf.Empty\"(" - + "\202\323\344\223\002\033*\031/v1beta/{name=accounts/*}\332A\004name" - + "\022\266\001\n\rUpdateAccount\0223.google.analytics.ad" - + "min.v1beta.UpdateAccountRequest\032&.google" - + ".analytics.admin.v1beta.Account\"H\202\323\344\223\002,2" - + "!/v1beta/{account.name=accounts/*}:\007acco" - + "unt\332A\023account,update_mask\022\311\001\n\026ProvisionA" - + "ccountTicket\022<.google.analytics.admin.v1" - + "beta.ProvisionAccountTicketRequest\032=.goo" - + "gle.analytics.admin.v1beta.ProvisionAcco" - + "untTicketResponse\"2\202\323\344\223\002,\"\'/v1beta/accou" - + "nts:provisionAccountTicket:\001*\022\261\001\n\024ListAc" - + "countSummaries\022:.google.analytics.admin." - + "v1beta.ListAccountSummariesRequest\032;.goo" - + "gle.analytics.admin.v1beta.ListAccountSu" - + "mmariesResponse\" \202\323\344\223\002\032\022\030/v1beta/account" - + "Summaries\022\225\001\n\013GetProperty\0221.google.analy" - + "tics.admin.v1beta.GetPropertyRequest\032\'.g" - + "oogle.analytics.admin.v1beta.Property\"*\202" - + "\323\344\223\002\035\022\033/v1beta/{name=properties/*}\332A\004nam" - + "e\022\231\001\n\016ListProperties\0224.google.analytics." - + "admin.v1beta.ListPropertiesRequest\0325.goo" - + "gle.analytics.admin.v1beta.ListPropertie" - + "sResponse\"\032\202\323\344\223\002\024\022\022/v1beta/properties\022\240\001" - + "\n\016CreateProperty\0224.google.analytics.admi" - + "n.v1beta.CreatePropertyRequest\032\'.google." - + "analytics.admin.v1beta.Property\"/\202\323\344\223\002\036\"" - + "\022/v1beta/properties:\010property\332A\010property" - + "\022\233\001\n\016DeleteProperty\0224.google.analytics.a" - + "dmin.v1beta.DeletePropertyRequest\032\'.goog" - + "le.analytics.admin.v1beta.Property\"*\202\323\344\223" - + "\002\035*\033/v1beta/{name=properties/*}\332A\004name\022\276" - + "\001\n\016UpdateProperty\0224.google.analytics.adm" - + "in.v1beta.UpdatePropertyRequest\032\'.google" - + ".analytics.admin.v1beta.Property\"M\202\323\344\223\0020" - + "2$/v1beta/{property.name=properties/*}:\010" - + "property\332A\024property,update_mask\022\326\001\n\022Crea" - + "teFirebaseLink\0228.google.analytics.admin." - + "v1beta.CreateFirebaseLinkRequest\032+.googl" - + "e.analytics.admin.v1beta.FirebaseLink\"Y\202" - + "\323\344\223\002<\"+/v1beta/{parent=properties/*}/fir" - + "ebaseLinks:\rfirebase_link\332A\024parent,fireb" - + "ase_link\022\242\001\n\022DeleteFirebaseLink\0228.google" - + ".analytics.admin.v1beta.DeleteFirebaseLi" - + "nkRequest\032\026.google.protobuf.Empty\":\202\323\344\223\002" - + "-*+/v1beta/{name=properties/*/firebaseLi" - + "nks/*}\332A\004name\022\304\001\n\021ListFirebaseLinks\0227.go" - + "ogle.analytics.admin.v1beta.ListFirebase" - + "LinksRequest\0328.google.analytics.admin.v1" - + "beta.ListFirebaseLinksResponse\"<\202\323\344\223\002-\022+" - + "/v1beta/{parent=properties/*}/firebaseLi" - + "nks\332A\006parent\022\336\001\n\023CreateGoogleAdsLink\0229.g" - + "oogle.analytics.admin.v1beta.CreateGoogl" - + "eAdsLinkRequest\032,.google.analytics.admin" - + ".v1beta.GoogleAdsLink\"^\202\323\344\223\002?\",/v1beta/{" - + "parent=properties/*}/googleAdsLinks:\017goo" - + "gle_ads_link\332A\026parent,google_ads_link\022\363\001" - + "\n\023UpdateGoogleAdsLink\0229.google.analytics" - + ".admin.v1beta.UpdateGoogleAdsLinkRequest" - + "\032,.google.analytics.admin.v1beta.GoogleA" - + "dsLink\"s\202\323\344\223\002O2.google.analytics.admin.v1" - + "beta.GetDataRetentionSettingsRequest\0324.g" - + "oogle.analytics.admin.v1beta.DataRetenti" - + "onSettings\"@\202\323\344\223\0023\0221/v1beta/{name=proper" - + "ties/*/dataRetentionSettings}\332A\004name\022\251\002\n" - + "\033UpdateDataRetentionSettings\022A.google.an" - + "alytics.admin.v1beta.UpdateDataRetention" - + "SettingsRequest\0324.google.analytics.admin" - + ".v1beta.DataRetentionSettings\"\220\001\202\323\344\223\002d2I" - + "/v1beta/{data_retention_settings.name=pr" - + "operties/*/dataRetentionSettings}:\027data_" - + "retention_settings\332A#data_retention_sett" - + "ings,update_mask\022\312\001\n\020CreateDataStream\0226." - + "google.analytics.admin.v1beta.CreateData" - + "StreamRequest\032).google.analytics.admin.v" - + "1beta.DataStream\"S\202\323\344\223\0028\")/v1beta/{paren" - + "t=properties/*}/dataStreams:\013data_stream" - + "\332A\022parent,data_stream\022\234\001\n\020DeleteDataStre" - + "am\0226.google.analytics.admin.v1beta.Delet" - + "eDataStreamRequest\032\026.google.protobuf.Emp" - + "ty\"8\202\323\344\223\002+*)/v1beta/{name=properties/*/d" - + "ataStreams/*}\332A\004name\022\333\001\n\020UpdateDataStrea" - + "m\0226.google.analytics.admin.v1beta.Update" - + "DataStreamRequest\032).google.analytics.adm" - + "in.v1beta.DataStream\"d\202\323\344\223\002D25/v1beta/{d" - + "ata_stream.name=properties/*/dataStreams" - + "/*}:\013data_stream\332A\027data_stream,update_ma" - + "sk\022\274\001\n\017ListDataStreams\0225.google.analytic" - + "s.admin.v1beta.ListDataStreamsRequest\0326." - + "google.analytics.admin.v1beta.ListDataSt" - + "reamsResponse\":\202\323\344\223\002+\022)/v1beta/{parent=p" - + "roperties/*}/dataStreams\332A\006parent\022\251\001\n\rGe" - + "tDataStream\0223.google.analytics.admin.v1b" - + "eta.GetDataStreamRequest\032).google.analyt" - + "ics.admin.v1beta.DataStream\"8\202\323\344\223\002+\022)/v1" - + "beta/{name=properties/*/dataStreams/*}\332A" - + "\004name\032\204\001\312A\035analyticsadmin.googleapis.com" - + "\322Aahttps://www.googleapis.com/auth/analy" - + "tics.edit,https://www.googleapis.com/aut" - + "h/analytics.readonlyB~\n!com.google.analy" - + "tics.admin.v1betaB\023AnalyticsAdminProtoP\001" - + "ZBgoogle.golang.org/genproto/googleapis/" - + "analytics/admin/v1beta;adminb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor, - new java.lang.String[] { - "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor, - new java.lang.String[] { - "Accounts", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor, - new java.lang.String[] { - "Account", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor, - new java.lang.String[] { - "Account", "RedirectUri", - }); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor, - new java.lang.String[] { - "AccountTicketId", - }); - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor, - new java.lang.String[] { - "Filter", "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor, - new java.lang.String[] { - "Properties", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor, - new java.lang.String[] { - "Property", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor, - new java.lang.String[] { - "Property", - }); - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "FirebaseLink", - }); - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor, - new java.lang.String[] { - "FirebaseLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "GoogleAdsLink", - }); - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { - "GoogleAdsLink", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor, - new java.lang.String[] { - "GoogleAdsLinks", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor, - new java.lang.String[] { - "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor, - new java.lang.String[] { - "AccountSummaries", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor, - new java.lang.String[] { - "Property", "Acknowledgement", - }); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor, - new java.lang.String[] { - "Account", - "Property", - "ResourceType", - "Action", - "ActorEmail", - "EarliestChangeTime", - "LatestChangeTime", - "PageSize", - "PageToken", - }); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor, - new java.lang.String[] { - "ChangeHistoryEvents", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "Parent", "MeasurementProtocolSecret", - }); - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { - "MeasurementProtocolSecret", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor, - new java.lang.String[] { - "MeasurementProtocolSecrets", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor, - new java.lang.String[] { - "ConversionEvent", "Parent", - }); - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor, - new java.lang.String[] { - "ConversionEvents", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor, - new java.lang.String[] { - "Parent", "CustomDimension", - }); - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor, - new java.lang.String[] { - "CustomDimension", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor, - new java.lang.String[] { - "CustomDimensions", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor, - new java.lang.String[] { - "Parent", "CustomMetric", - }); - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor, - new java.lang.String[] { - "CustomMetric", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor, - new java.lang.String[] { - "CustomMetrics", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor, - new java.lang.String[] { - "DataRetentionSettings", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor, - new java.lang.String[] { - "Parent", "DataStream", - }); - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor, - new java.lang.String[] { - "DataStream", "UpdateMask", - }); - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor, - new java.lang.String[] { - "DataStreams", "NextPageToken", - }); - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java deleted file mode 100644 index e8f8c4bb6f5e..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface ArchiveCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java deleted file mode 100644 index 1a2428dc456e..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface ArchiveCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java deleted file mode 100644 index 229978c52006..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the conversionEvent field is set. - */ - boolean hasConversionEvent(); - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The conversionEvent. - */ - com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(); - /** - * - * - *
-   * Required. The conversion event to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder(); - - /** - * - * - *
-   * 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) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * 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) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 429ebb190520..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomDimensionRequest) - 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 CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customDimension field is set. - */ - boolean hasCustomDimension(); - /** - * - * - *
-   * Required. The CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customDimension. - */ - com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(); - /** - * - * - *
-   * Required. The CustomDimension to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java deleted file mode 100644 index 0dc1e8b8aef9..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomMetricRequest) - 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 CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customMetric field is set. - */ - boolean hasCustomMetric(); - /** - * - * - *
-   * Required. The CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customMetric. - */ - com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(); - /** - * - * - *
-   * Required. The CustomMetric to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java deleted file mode 100644 index 3647940c0858..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateDataStreamRequest) - 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 DataStream to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the dataStream field is set. - */ - boolean hasDataStream(); - /** - * - * - *
-   * Required. The DataStream to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The dataStream. - */ - com.google.analytics.admin.v1beta.DataStream getDataStream(); - /** - * - * - *
-   * Required. The DataStream to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index 48c15e4a6448..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateFirebaseLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. 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. 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(); - - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the firebaseLink field is set. - */ - boolean hasFirebaseLink(); - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The firebaseLink. - */ - com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink(); - /** - * - * - *
-   * Required. The Firebase link to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index fb3805dc138b..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateGoogleAdsLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) - 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 GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the googleAdsLink field is set. - */ - boolean hasGoogleAdsLink(); - /** - * - * - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The googleAdsLink. - */ - com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); - /** - * - * - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index cde0ea2a076e..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateMeasurementProtocolSecretRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the measurementProtocolSecret field is set. - */ - boolean hasMeasurementProtocolSecret(); - /** - * - * - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The measurementProtocolSecret. - */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); - /** - * - * - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java deleted file mode 100644 index 569aaa21509e..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreatePropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreatePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the property field is set. - */ - boolean hasProperty(); - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The property. - */ - com.google.analytics.admin.v1beta.Property getProperty(); - /** - * - * - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java deleted file mode 100644 index 416667007523..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteAccountRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java deleted file mode 100644 index 59d7788ef752..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java deleted file mode 100644 index 58b8f635dfaf..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DataStream to delete.
-   * Example format: properties/1234/dataStreams/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 DataStream to delete.
-   * Example format: properties/1234/dataStreams/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index a79f08c72b72..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteFirebaseLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index ad68b6f26b3d..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteGoogleAdsLinkRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Example format: properties/1234/googleAdsLinks/5678
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Example format: properties/1234/googleAdsLinks/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index 20d7012f6c91..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteMeasurementProtocolSecretRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java deleted file mode 100644 index 6157f1ff1eb0..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeletePropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeletePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java deleted file mode 100644 index d618363f7fa1..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetAccountRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java deleted file mode 100644 index fdd3c74cdefb..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetConversionEventRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 2b670f37122c..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetCustomDimensionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java deleted file mode 100644 index 6a34dd0ce5c0..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetCustomMetricRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java deleted file mode 100644 index e4a28fc482dd..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetDataRetentionSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java deleted file mode 100644 index 19282a80c9f4..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetDataSharingSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java deleted file mode 100644 index 52da04b187c6..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetDataStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DataStream to get.
-   * Example format: properties/1234/dataStreams/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 DataStream to get.
-   * Example format: properties/1234/dataStreams/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index a80e77914981..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetMeasurementProtocolSecretRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java deleted file mode 100644 index 4b2fd57e6660..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetPropertyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetPropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * - * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java deleted file mode 100644 index 0fdfc949d03b..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface ProvisionAccountTicketResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * - * @return The accountTicketId. - */ - java.lang.String getAccountTicketId(); - /** - * - * - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * - * @return The bytes for accountTicketId. - */ - com.google.protobuf.ByteString getAccountTicketIdBytes(); -} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java deleted file mode 100644 index c78b8307d62c..000000000000 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java +++ /dev/null @@ -1,558 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/resources.proto - -package com.google.analytics.admin.v1beta; - -public final class ResourcesProto { - private ResourcesProto() {} - - 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_v1beta_Account_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_Property_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/analytics/admin/v1beta/resource" - + "s.proto\022\035google.analytics.admin.v1beta\032\037" - + "google/api/field_behavior.proto\032\031google/" - + "api/resource.proto\032\037google/protobuf/time" - + "stamp.proto\032\036google/protobuf/wrappers.pr" - + "oto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cr" - + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" - + "rotobuf.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\007delete" - + "d\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.google" - + "apis.com/Account\022\022accounts/{account}\"\266\005\n" - + "\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\rproperty" - + "_type\030\016 \001(\0162+.google.analytics.admin.v1b" - + "eta.PropertyTypeB\003\340A\005\0224\n\013create_time\030\003 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" - + "pdate_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022\031\n\014displa" - + "y_name\030\005 \001(\tB\003\340A\002\022J\n\021industry_category\030\006" - + " \001(\0162/.google.analytics.admin.v1beta.Ind" - + "ustryCategory\022\026\n\ttime_zone\030\007 \001(\tB\003\340A\002\022\025\n" - + "\rcurrency_code\030\010 \001(\t\022G\n\rservice_level\030\n " - + "\001(\0162+.google.analytics.admin.v1beta.Serv" - + "iceLevelB\003\340A\003\0224\n\013delete_time\030\013 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\0224\n\013expire_ti" - + "me\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%analyticsadm" - + "in.googleapis.com/Account:B\352A?\n&analytic" - + "sadmin.googleapis.com/Property\022\025properti" - + "es/{property}\"\365\007\n\nDataStream\022R\n\017web_stre" - + "am_data\030\006 \001(\01327.google.analytics.admin.v" - + "1beta.DataStream.WebStreamDataH\000\022a\n\027andr" - + "oid_app_stream_data\030\007 \001(\0132>.google.analy" - + "tics.admin.v1beta.DataStream.AndroidAppS" - + "treamDataH\000\022Y\n\023ios_app_stream_data\030\010 \001(\013" - + "2:.google.analytics.admin.v1beta.DataStr" - + "eam.IosAppStreamDataH\000\022\021\n\004name\030\001 \001(\tB\003\340A" - + "\003\022N\n\004type\030\002 \001(\01628.google.analytics.admin" - + ".v1beta.DataStream.DataStreamTypeB\006\340A\005\340A" - + "\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_time\030\004" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" - + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\032d\n\rWebStreamData\022\033\n\016measurem" - + "ent_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\002 \001" - + "(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340A\005\032O\n\024And" - + "roidAppStreamData\022\034\n\017firebase_app_id\030\001 \001" - + "(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\005\032K\n\020Io" - + "sAppStreamData\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\016DataS" - + "treamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFIE" - + "D\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(analyticsadmin.googleapis.com/DataS" - + "tream\022/properties/{property}/dataStreams" - + "/{data_stream}B\r\n\013stream_data\"\323\001\n\014Fireba" - + "seLink\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_time\030\003 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003:d\352Aa\n*analyticsadm" - + "in.googleapis.com/FirebaseLink\0223properti" - + "es/{property}/firebaseLinks/{firebase_li" - + "nk}\"\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\033ads_personalizati" - + "on_enabled\030\005 \001(\0132\032.google.protobuf.BoolV" - + "alue\0224\n\013create_time\030\007 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022\"\n\025crea" - + "tor_email_address\030\t \001(\tB\003\340A\003:h\352Ae\n+analy" - + "ticsadmin.googleapis.com/GoogleAdsLink\0226" - + "properties/{property}/googleAdsLinks/{go" - + "ogle_ads_link}\"\353\002\n\023DataSharingSettings\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\003\022+\n#sharing_with_google" - + "_support_enabled\030\002 \001(\010\0222\n*sharing_with_g" - + "oogle_assigned_sales_enabled\030\003 \001(\010\022-\n%sh" - + "aring_with_google_any_sales_enabled\030\004 \001(" - + "\010\022,\n$sharing_with_google_products_enable" - + "d\030\005 \001(\010\022#\n\033sharing_with_others_enabled\030\006" - + " \001(\010:^\352A[\n1analyticsadmin.googleapis.com" - + "/DataSharingSettings\022&accounts/{account}" - + "/dataSharingSettings\"\224\002\n\016AccountSummary\022" - + "\014\n\004name\030\001 \001(\t\022;\n\007account\030\002 \001(\tB*\372A\'\n%ana" - + "lyticsadmin.googleapis.com/Account\022\024\n\014di" - + "splay_name\030\003 \001(\t\022J\n\022property_summaries\030\004" - + " \003(\0132..google.analytics.admin.v1beta.Pro" - + "pertySummary:U\352AR\n,analyticsadmin.google" - + "apis.com/AccountSummary\022\"accountSummarie" - + "s/{account_summary}\"\272\001\n\017PropertySummary\022" - + "=\n\010property\030\001 \001(\tB+\372A(\n&analyticsadmin.g" - + "oogleapis.com/Property\022\024\n\014display_name\030\002" - + " \001(\t\022B\n\rproperty_type\030\003 \001(\0162+.google.ana" - + "lytics.admin.v1beta.PropertyType\022\016\n\006pare" - + "nt\030\004 \001(\t\"\216\002\n\031MeasurementProtocolSecret\022\021" - + "\n\004name\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\n7" - + "analyticsadmin.googleapis.com/Measuremen" - + "tProtocolSecret\022hproperties/{property}/d" - + "ataStreams/{data_stream}/measurementProt" - + "ocolSecrets/{measurement_protocol_secret" - + "}\"\210\002\n\022ChangeHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013" - + "change_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stamp\022<\n\nactor_type\030\003 \001(\0162(.google.analy" - + "tics.admin.v1beta.ActorType\022\030\n\020user_acto" - + "r_email\030\004 \001(\t\022\030\n\020changes_filtered\030\005 \001(\010\022" - + "C\n\007changes\030\006 \003(\01322.google.analytics.admi" - + "n.v1beta.ChangeHistoryChange\"\252\007\n\023ChangeH" - + "istoryChange\022\020\n\010resource\030\001 \001(\t\0229\n\006action" - + "\030\002 \001(\0162).google.analytics.admin.v1beta.A" - + "ctionType\022h\n\026resource_before_change\030\003 \001(" - + "\0132H.google.analytics.admin.v1beta.Change" - + "HistoryChange.ChangeHistoryResource\022g\n\025r" - + "esource_after_change\030\004 \001(\0132H.google.anal" - + "ytics.admin.v1beta.ChangeHistoryChange.C" - + "hangeHistoryResource\032\362\004\n\025ChangeHistoryRe" - + "source\0229\n\007account\030\001 \001(\0132&.google.analyti" - + "cs.admin.v1beta.AccountH\000\022;\n\010property\030\002 " - + "\001(\0132\'.google.analytics.admin.v1beta.Prop" - + "ertyH\000\022D\n\rfirebase_link\030\006 \001(\0132+.google.a" - + "nalytics.admin.v1beta.FirebaseLinkH\000\022G\n\017" - + "google_ads_link\030\007 \001(\0132,.google.analytics" - + ".admin.v1beta.GoogleAdsLinkH\000\022J\n\020convers" - + "ion_event\030\013 \001(\0132..google.analytics.admin" - + ".v1beta.ConversionEventH\000\022_\n\033measurement" - + "_protocol_secret\030\014 \001(\01328.google.analytic" - + "s.admin.v1beta.MeasurementProtocolSecret" - + "H\000\022W\n\027data_retention_settings\030\017 \001(\01324.go" - + "ogle.analytics.admin.v1beta.DataRetentio" - + "nSettingsH\000\022@\n\013data_stream\030\022 \001(\0132).googl" - + "e.analytics.admin.v1beta.DataStreamH\000B\n\n" - + "\010resource\"\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\013cre" - + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custo" - + "m\030\005 \001(\010B\003\340A\003:m\352Aj\n-analyticsadmin.google" - + "apis.com/ConversionEvent\0229properties/{pr" - + "operty}/conversionEvents/{conversion_eve" - + "nt}\"\261\003\n\017CustomDimension\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\022T\n\005scope\030\005 \001(\0162=.google.analytic" - + "s.admin.v1beta.CustomDimension.Dimension" - + "ScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_personaliz" - + "ation\030\006 \001(\010B\003\340A\001\"F\n\016DimensionScope\022\037\n\033DI" - + "MENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010" - + "\n\004USER\020\002:m\352Aj\n-analyticsadmin.googleapis" - + ".com/CustomDimension\0229properties/{proper" - + "ty}/customDimensions/{custom_dimension}\"" - + "\302\006\n\014CustomMetric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016p" - + "arameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_n" - + "ame\030\003 \001(\tB\003\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001" - + "\022Z\n\020measurement_unit\030\005 \001(\0162;.google.anal" - + "ytics.admin.v1beta.CustomMetric.Measurem" - + "entUnitB\003\340A\002\022N\n\005scope\030\006 \001(\01627.google.ana" - + "lytics.admin.v1beta.CustomMetric.MetricS" - + "copeB\006\340A\002\340A\005\022e\n\026restricted_metric_type\030\010" - + " \003(\0162@.google.analytics.admin.v1beta.Cus" - + "tomMetric.RestrictedMetricTypeB\003\340A\001\"\267\001\n\017" - + "MeasurementUnit\022 \n\034MEASUREMENT_UNIT_UNSP" - + "ECIFIED\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\005M" - + "ILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SECONDS\020\010\022\013\n" - + "\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricScope\022\034\n\030" - + "METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_\n" - + "\024RestrictedMetricType\022&\n\"RESTRICTED_METR" - + "IC_TYPE_UNSPECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n\014" - + "REVENUE_DATA\020\002:d\352Aa\n*analyticsadmin.goog" - + "leapis.com/CustomMetric\0223properties/{pro" - + "perty}/customMetrics/{custom_metric}\"\301\003\n" - + "\025DataRetentionSettings\022\021\n\004name\030\001 \001(\tB\003\340A" - + "\003\022d\n\024event_data_retention\030\002 \001(\0162F.google" - + ".analytics.admin.v1beta.DataRetentionSet" - + "tings.RetentionDuration\022\'\n\037reset_user_da" - + "ta_on_new_activity\030\003 \001(\010\"\236\001\n\021RetentionDu" - + "ration\022\"\n\036RETENTION_DURATION_UNSPECIFIED" - + "\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022" - + "\025\n\021TWENTY_SIX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_M" - + "ONTHS\020\005\022\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analytic" - + "sadmin.googleapis.com/DataRetentionSetti" - + "ngs\022+properties/{property}/dataRetention" - + "Settings*\252\004\n\020IndustryCategory\022!\n\035INDUSTR" - + "Y_CATEGORY_UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001" - + "\022#\n\037BUSINESS_AND_INDUSTRIAL_MARKETS\020\002\022\013\n" - + "\007FINANCE\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\nTECHNOLOGY" - + "\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_EN" - + "TERTAINMENT\020\010\022\026\n\022BEAUTY_AND_FITNESS\020\t\022\030\n" - + "\024BOOKS_AND_LITERATURE\020\n\022\022\n\016FOOD_AND_DRIN" - + "K\020\013\022\t\n\005GAMES\020\014\022\027\n\023HOBBIES_AND_LEISURE\020\r\022" - + "\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024INTERNET_AND_TEL" - + "ECOM\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\022PEOPLE_AND_S" - + "OCIETY\020\023\022\024\n\020PETS_AND_ANIMALS\020\024\022\017\n\013REAL_E" - + "STATE\020\025\022\r\n\tREFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006S" - + "PORTS\020\030\022\026\n\022JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPP" - + "ING\020\032*f\n\014ServiceLevel\022\035\n\031SERVICE_LEVEL_U" - + "NSPECIFIED\020\000\022\035\n\031GOOGLE_ANALYTICS_STANDAR" - + "D\020\001\022\030\n\024GOOGLE_ANALYTICS_360\020\002*J\n\tActorTy" - + "pe\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\nActionType\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*\377\002\n\031ChangeHi" - + "storyResourceType\022,\n(CHANGE_HISTORY_RESO" - + "URCE_TYPE_UNSPECIFIED\020\000\022\013\n\007ACCOUNT\020\001\022\014\n\010" - + "PROPERTY\020\002\022\021\n\rFIREBASE_LINK\020\006\022\023\n\017GOOGLE_" - + "ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_SETTINGS\020\010\022" - + "\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEASUREMENT_PRO" - + "TOCOL_SECRET\020\n\022\033\n\027DATA_RETENTION_SETTING" - + "S\020\r\022%\n!DISPLAY_VIDEO_360_ADVERTISER_LINK" - + "\020\016\022.\n*DISPLAY_VIDEO_360_ADVERTISER_LINK_" - + "PROPOSAL\020\017\022\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTI" - + "ON_SETTINGS\020\024*\202\001\n\014PropertyType\022\035\n\031PROPER" - + "TY_TYPE_UNSPECIFIED\020\000\022\032\n\026PROPERTY_TYPE_O" - + "RDINARY\020\001\022\035\n\031PROPERTY_TYPE_SUBPROPERTY\020\002" - + "\022\030\n\024PROPERTY_TYPE_ROLLUP\020\003By\n!com.google" - + ".analytics.admin.v1betaB\016ResourcesProtoP" - + "\001ZBgoogle.golang.org/genproto/googleapis" - + "/analytics/admin/v1beta;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(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1beta_Account_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_Account_descriptor, - new java.lang.String[] { - "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", - }); - internal_static_google_analytics_admin_v1beta_Property_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_Property_descriptor, - new java.lang.String[] { - "Name", - "PropertyType", - "CreateTime", - "UpdateTime", - "Parent", - "DisplayName", - "IndustryCategory", - "TimeZone", - "CurrencyCode", - "ServiceLevel", - "DeleteTime", - "ExpireTime", - "Account", - }); - internal_static_google_analytics_admin_v1beta_DataStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_descriptor, - new java.lang.String[] { - "WebStreamData", - "AndroidAppStreamData", - "IosAppStreamData", - "Name", - "Type", - "DisplayName", - "CreateTime", - "UpdateTime", - "StreamData", - }); - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor = - internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor, - new java.lang.String[] { - "MeasurementId", "FirebaseAppId", "DefaultUri", - }); - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor = - internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor, - new java.lang.String[] { - "FirebaseAppId", "PackageName", - }); - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor = - internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor, - new java.lang.String[] { - "FirebaseAppId", "BundleId", - }); - internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor, - new java.lang.String[] { - "Name", "Project", "CreateTime", - }); - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor, - new java.lang.String[] { - "Name", - "CustomerId", - "CanManageClients", - "AdsPersonalizationEnabled", - "CreateTime", - "UpdateTime", - "CreatorEmailAddress", - }); - internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor, - new java.lang.String[] { - "Name", - "SharingWithGoogleSupportEnabled", - "SharingWithGoogleAssignedSalesEnabled", - "SharingWithGoogleAnySalesEnabled", - "SharingWithGoogleProductsEnabled", - "SharingWithOthersEnabled", - }); - internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor, - new java.lang.String[] { - "Name", "Account", "DisplayName", "PropertySummaries", - }); - internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor, - new java.lang.String[] { - "Property", "DisplayName", "PropertyType", "Parent", - }); - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "SecretValue", - }); - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor, - new java.lang.String[] { - "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", - }); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor, - new java.lang.String[] { - "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", - }); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor = - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor, - new java.lang.String[] { - "Account", - "Property", - "FirebaseLink", - "GoogleAdsLink", - "ConversionEvent", - "MeasurementProtocolSecret", - "DataRetentionSettings", - "DataStream", - "Resource", - }); - internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor, - new java.lang.String[] { - "Name", "EventName", "CreateTime", "Deletable", "Custom", - }); - internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor, - new java.lang.String[] { - "Name", - "ParameterName", - "DisplayName", - "Description", - "Scope", - "DisallowAdsPersonalization", - }); - internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor, - new java.lang.String[] { - "Name", - "ParameterName", - "DisplayName", - "Description", - "MeasurementUnit", - "Scope", - "RestrictedMetricType", - }); - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor, - new java.lang.String[] { - "Name", "EventDataRetention", "ResetUserDataOnNewActivity", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java similarity index 90% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java similarity index 90% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java index c7aa04fb4371..423c9c9c427b 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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; @@ -44,6 +46,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; @@ -595,6 +598,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 +649,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 +1303,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 +1354,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/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json similarity index 89% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/package-info.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java rename to owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java similarity index 89% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java similarity index 88% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/GrpcAnalyticsAdminServiceCallableFactory.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java rename to owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java similarity index 89% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java rename to owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java index 79439a361e1e..166991289549 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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; @@ -166,6 +183,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -1102,6 +1120,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 +1212,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 +1439,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 +2341,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 +2433,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 +2868,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 +2911,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 +3468,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 +3519,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/HttpJsonAnalyticsAdminServiceCallableFactory.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java rename to owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java similarity index 89% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java similarity index 89% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java similarity index 89% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/MockAnalyticsAdminService.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java rename to owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java b/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java similarity index 89% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java new file mode 100644 index 000000000000..f2a0c3e62c93 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,8069 @@ +package com.google.analytics.admin.v1alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Service Interface for the Analytics Admin API (GA4).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AnalyticsAdminServiceGrpc { + + private AnalyticsAdminServiceGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAccount", + requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAccountMethod() { + io.grpc.MethodDescriptor getGetAccountMethod; + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAccountMethod = getGetAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) + .build(); + } + } + } + return getGetAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAccountsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccounts", + requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAccountsMethod() { + io.grpc.MethodDescriptor getListAccountsMethod; + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountsMethod = getListAccountsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) + .build(); + } + } + } + return getListAccountsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", + requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAccountMethod() { + io.grpc.MethodDescriptor getDeleteAccountMethod; + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteAccountMethod = getDeleteAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) + .build(); + } + } + } + return getDeleteAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", + requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAccountMethod() { + io.grpc.MethodDescriptor getUpdateAccountMethod; + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAccountMethod = getUpdateAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) + .build(); + } + } + } + return getUpdateAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getProvisionAccountTicketMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", + requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, + responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getProvisionAccountTicketMethod() { + io.grpc.MethodDescriptor getProvisionAccountTicketMethod; + if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = getProvisionAccountTicketMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ProvisionAccountTicket")) + .build(); + } + } + } + return getProvisionAccountTicketMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAccountSummariesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", + requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAccountSummariesMethod() { + io.grpc.MethodDescriptor getListAccountSummariesMethod; + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = getListAccountSummariesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) + .build(); + } + } + } + return getListAccountSummariesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProperty", + requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPropertyMethod() { + io.grpc.MethodDescriptor getGetPropertyMethod; + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getGetPropertyMethod = getGetPropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) + .build(); + } + } + } + return getGetPropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPropertiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProperties", + requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPropertiesMethod() { + io.grpc.MethodDescriptor getListPropertiesMethod; + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + AnalyticsAdminServiceGrpc.getListPropertiesMethod = getListPropertiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) + .build(); + } + } + } + return getListPropertiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateProperty", + requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePropertyMethod() { + io.grpc.MethodDescriptor getCreatePropertyMethod; + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getCreatePropertyMethod = getCreatePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) + .build(); + } + } + } + return getCreatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", + requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePropertyMethod() { + io.grpc.MethodDescriptor getDeletePropertyMethod; + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getDeletePropertyMethod = getDeletePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) + .build(); + } + } + } + return getDeletePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", + requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePropertyMethod() { + io.grpc.MethodDescriptor getUpdatePropertyMethod; + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = getUpdatePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) + .build(); + } + } + } + return getUpdatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUserLink", + requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetUserLinkMethod() { + io.grpc.MethodDescriptor getGetUserLinkMethod; + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getGetUserLinkMethod = getGetUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) + .build(); + } + } + } + return getGetUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchGetUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchGetUserLinksMethod() { + io.grpc.MethodDescriptor getBatchGetUserLinksMethod; + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = getBatchGetUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) + .build(); + } + } + } + return getBatchGetUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", + requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUserLinksMethod() { + io.grpc.MethodDescriptor getListUserLinksMethod; + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListUserLinksMethod = getListUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) + .build(); + } + } + } + return getListUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getAuditUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", + requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAuditUserLinksMethod() { + io.grpc.MethodDescriptor getAuditUserLinksMethod; + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = getAuditUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) + .build(); + } + } + } + return getAuditUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", + requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateUserLinkMethod() { + io.grpc.MethodDescriptor getCreateUserLinkMethod; + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = getCreateUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) + .build(); + } + } + } + return getCreateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchCreateUserLinksMethod() { + io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; + if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = getBatchCreateUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) + .build(); + } + } + } + return getBatchCreateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", + requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateUserLinkMethod() { + io.grpc.MethodDescriptor getUpdateUserLinkMethod; + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = getUpdateUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) + .build(); + } + } + } + return getUpdateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod() { + io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; + if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = getBatchUpdateUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) + .build(); + } + } + } + return getBatchUpdateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", + requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteUserLinkMethod() { + io.grpc.MethodDescriptor getDeleteUserLinkMethod; + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = getDeleteUserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) + .build(); + } + } + } + return getDeleteUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod() { + io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; + if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = getBatchDeleteUserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) + .build(); + } + } + } + return getBatchDeleteUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.FirebaseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateFirebaseLinkMethod() { + io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = getCreateFirebaseLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) + .build(); + } + } + } + return getCreateFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod() { + io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = getDeleteFirebaseLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) + .build(); + } + } + } + return getDeleteFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFirebaseLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", + requestType = com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFirebaseLinksMethod() { + io.grpc.MethodDescriptor getListFirebaseLinksMethod; + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = getListFirebaseLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) + .build(); + } + } + } + return getListFirebaseLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGlobalSiteTag", + requestType = com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, + responseType = com.google.analytics.admin.v1alpha.GlobalSiteTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetGlobalSiteTagMethod() { + io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { + AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod = getGetGlobalSiteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGlobalSiteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGlobalSiteTag")) + .build(); + } + } + } + return getGetGlobalSiteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = getCreateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) + .build(); + } + } + } + return getCreateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = getUpdateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) + .build(); + } + } + } + return getUpdateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = getDeleteGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) + .build(); + } + } + } + return getDeleteGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", + requestType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListGoogleAdsLinksMethod() { + io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = getListGoogleAdsLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) + .build(); + } + } + } + return getListGoogleAdsLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataSharingSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataSharingSettingsMethod() { + io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; + if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = getGetDataSharingSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataSharingSettings")) + .build(); + } + } + } + return getGetDataSharingSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; + if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = getGetMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetMeasurementProtocolSecret")) + .build(); + } + } + } + return getGetMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", + requestType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod() { + io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; + if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = getListMeasurementProtocolSecretsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListMeasurementProtocolSecrets")) + .build(); + } + } + } + return getListMeasurementProtocolSecretsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; + if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = getCreateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateMeasurementProtocolSecret")) + .build(); + } + } + } + return getCreateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; + if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = getDeleteMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteMeasurementProtocolSecret")) + .build(); + } + } + } + return getDeleteMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; + if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = getUpdateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateMeasurementProtocolSecret")) + .build(); + } + } + } + return getUpdateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", + requestType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, + responseType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod() { + io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; + if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = getAcknowledgeUserDataCollectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AcknowledgeUserDataCollection")) + .build(); + } + } + } + return getAcknowledgeUserDataCollectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", + requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod() { + io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; + if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = getSearchChangeHistoryEventsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("SearchChangeHistoryEvents")) + .build(); + } + } + } + return getSearchChangeHistoryEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; + if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = getGetGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGoogleSignalsSettings")) + .build(); + } + } + } + return getGetGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; + if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = getUpdateGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleSignalsSettings")) + .build(); + } + } + } + return getUpdateGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", + requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateConversionEventMethod() { + io.grpc.MethodDescriptor getCreateConversionEventMethod; + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = getCreateConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateConversionEvent")) + .build(); + } + } + } + return getCreateConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", + requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConversionEventMethod() { + io.grpc.MethodDescriptor getGetConversionEventMethod; + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getGetConversionEventMethod = getGetConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) + .build(); + } + } + } + return getGetConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", + requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteConversionEventMethod() { + io.grpc.MethodDescriptor getDeleteConversionEventMethod; + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = getDeleteConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteConversionEvent")) + .build(); + } + } + } + return getDeleteConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getListConversionEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", + requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListConversionEventsMethod() { + io.grpc.MethodDescriptor getListConversionEventsMethod; + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { + AnalyticsAdminServiceGrpc.getListConversionEventsMethod = getListConversionEventsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) + .build(); + } + } + } + return getListConversionEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; + if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = getGetDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", + requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod() { + io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; + if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = getListDisplayVideo360AdvertiserLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinks")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; + if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = getCreateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = getDeleteDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", + requestType = com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = getUpdateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getUpdateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = getGetDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", + requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod() { + io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = getListDisplayVideo360AdvertiserLinkProposalsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinkProposals")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinkProposalsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = getCreateDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = getApproveDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ApproveDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getApproveDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", + requestType = com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = getCancelDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CancelDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCancelDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCustomDimensionMethod() { + io.grpc.MethodDescriptor getCreateCustomDimensionMethod; + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = getCreateCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomDimension")) + .build(); + } + } + } + return getCreateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCustomDimensionMethod() { + io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = getUpdateCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomDimension")) + .build(); + } + } + } + return getUpdateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCustomDimensionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", + requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCustomDimensionsMethod() { + io.grpc.MethodDescriptor getListCustomDimensionsMethod; + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = getListCustomDimensionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) + .build(); + } + } + } + return getListCustomDimensionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getArchiveCustomDimensionMethod() { + io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; + if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = getArchiveCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomDimension")) + .build(); + } + } + } + return getArchiveCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", + requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCustomDimensionMethod() { + io.grpc.MethodDescriptor getGetCustomDimensionMethod; + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = getGetCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) + .build(); + } + } + } + return getGetCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCustomMetricMethod() { + io.grpc.MethodDescriptor getCreateCustomMetricMethod; + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = getCreateCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) + .build(); + } + } + } + return getCreateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCustomMetricMethod() { + io.grpc.MethodDescriptor getUpdateCustomMetricMethod; + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = getUpdateCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) + .build(); + } + } + } + return getUpdateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCustomMetricsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", + requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCustomMetricsMethod() { + io.grpc.MethodDescriptor getListCustomMetricsMethod; + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { + AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = getListCustomMetricsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) + .build(); + } + } + } + return getListCustomMetricsMethod; + } + + private static volatile io.grpc.MethodDescriptor getArchiveCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getArchiveCustomMetricMethod() { + io.grpc.MethodDescriptor getArchiveCustomMetricMethod; + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = getArchiveCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) + .build(); + } + } + } + return getArchiveCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", + requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCustomMetricMethod() { + io.grpc.MethodDescriptor getGetCustomMetricMethod; + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = getGetCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) + .build(); + } + } + } + return getGetCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; + if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = getGetDataRetentionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataRetentionSettings")) + .build(); + } + } + } + return getGetDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; + if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = getUpdateDataRetentionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataRetentionSettings")) + .build(); + } + } + } + return getUpdateDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", + requestType = com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDataStreamMethod() { + io.grpc.MethodDescriptor getCreateDataStreamMethod; + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = getCreateDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) + .build(); + } + } + } + return getCreateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDataStreamMethod() { + io.grpc.MethodDescriptor getDeleteDataStreamMethod; + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = getDeleteDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) + .build(); + } + } + } + return getDeleteDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataStreamMethod() { + io.grpc.MethodDescriptor getUpdateDataStreamMethod; + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = getUpdateDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) + .build(); + } + } + } + return getUpdateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataStreamsMethod() { + io.grpc.MethodDescriptor getListDataStreamsMethod; + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + AnalyticsAdminServiceGrpc.getListDataStreamsMethod = getListDataStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) + .build(); + } + } + } + return getListDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataStream", + requestType = com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataStreamMethod() { + io.grpc.MethodDescriptor getGetDataStreamMethod; + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataStreamMethod = getGetDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) + .build(); + } + } + } + return getGetDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAudience", + requestType = com.google.analytics.admin.v1alpha.GetAudienceRequest.class, + responseType = com.google.analytics.admin.v1alpha.Audience.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAudienceMethod() { + io.grpc.MethodDescriptor getGetAudienceMethod; + if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAudienceMethod = getGetAudienceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAudienceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAudience")) + .build(); + } + } + } + return getGetAudienceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAudiencesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAudiences", + requestType = com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAudiencesMethod() { + io.grpc.MethodDescriptor getListAudiencesMethod; + if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { + AnalyticsAdminServiceGrpc.getListAudiencesMethod = getListAudiencesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAudiences")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAudiencesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAudiencesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAudiences")) + .build(); + } + } + } + return getListAudiencesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAudience", + requestType = com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, + responseType = com.google.analytics.admin.v1alpha.Audience.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAudienceMethod() { + io.grpc.MethodDescriptor getCreateAudienceMethod; + if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateAudienceMethod = getCreateAudienceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateAudienceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAudience")) + .build(); + } + } + } + return getCreateAudienceMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAudience", + requestType = com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, + responseType = com.google.analytics.admin.v1alpha.Audience.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAudienceMethod() { + io.grpc.MethodDescriptor getUpdateAudienceMethod; + if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAudienceMethod = getUpdateAudienceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAudienceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAudience")) + .build(); + } + } + } + return getUpdateAudienceMethod; + } + + private static volatile io.grpc.MethodDescriptor getArchiveAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveAudience", + requestType = com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getArchiveAudienceMethod() { + io.grpc.MethodDescriptor getArchiveAudienceMethod; + if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) == null) { + AnalyticsAdminServiceGrpc.getArchiveAudienceMethod = getArchiveAudienceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveAudience")) + .build(); + } + } + } + return getArchiveAudienceMethod; + } + + private static volatile io.grpc.MethodDescriptor 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 getGetSearchAds360LinkMethod() { + io.grpc.MethodDescriptor 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 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 getListSearchAds360LinksMethod() { + io.grpc.MethodDescriptor 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 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 getCreateSearchAds360LinkMethod() { + io.grpc.MethodDescriptor 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 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 getDeleteSearchAds360LinkMethod() { + io.grpc.MethodDescriptor 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 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 getUpdateSearchAds360LinkMethod() { + io.grpc.MethodDescriptor 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 getGetAttributionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttributionSettings", + requestType = com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAttributionSettingsMethod() { + io.grpc.MethodDescriptor getGetAttributionSettingsMethod; + if ((getGetAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod = getGetAttributionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttributionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAttributionSettings")) + .build(); + } + } + } + return getGetAttributionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAttributionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAttributionSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAttributionSettingsMethod() { + io.grpc.MethodDescriptor getUpdateAttributionSettingsMethod; + if ((getUpdateAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod = getUpdateAttributionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttributionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAttributionSettings")) + .build(); + } + } + } + return getUpdateAttributionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunAccessReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunAccessReport", + requestType = com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, + responseType = com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunAccessReportMethod() { + io.grpc.MethodDescriptor getRunAccessReportMethod; + if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) == null) { + AnalyticsAdminServiceGrpc.getRunAccessReportMethod = getRunAccessReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAccessReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.RunAccessReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.RunAccessReportResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("RunAccessReport")) + .build(); + } + } + } + return getRunAccessReportMethod; + } + + private static volatile io.grpc.MethodDescriptor 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 getSetAutomatedGa4ConfigurationOptOutMethod() { + io.grpc.MethodDescriptor 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 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 getFetchAutomatedGa4ConfigurationOptOutMethod() { + io.grpc.MethodDescriptor 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 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 getGetBigQueryLinkMethod() { + io.grpc.MethodDescriptor 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 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 getListBigQueryLinksMethod() { + io.grpc.MethodDescriptor 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 = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AnalyticsAdminServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AnalyticsAdminServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static abstract class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountsMethod(), responseObserver); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionAccountTicketMethod(), responseObserver); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountSummariesMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPropertyMethod(), responseObserver); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPropertiesMethod(), responseObserver); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePropertyMethod(), responseObserver); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePropertyMethod(), responseObserver); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserLinkMethod(), responseObserver); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetUserLinksMethod(), responseObserver); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUserLinksMethod(), responseObserver); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAuditUserLinksMethod(), responseObserver); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserLinkMethod(), responseObserver); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateUserLinksMethod(), responseObserver); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserLinkMethod(), responseObserver); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateUserLinksMethod(), responseObserver); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteUserLinksMethod(), responseObserver); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFirebaseLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFirebaseLinkMethod(), responseObserver); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFirebaseLinksMethod(), responseObserver); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGlobalSiteTagMethod(), responseObserver); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGoogleAdsLinksMethod(), responseObserver); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSharingSettingsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMeasurementProtocolSecretsMethod(), responseObserver); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeUserDataCollectionMethod(), responseObserver); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchChangeHistoryEventsMethod(), responseObserver); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversionEventMethod(), responseObserver); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversionEventMethod(), responseObserver); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConversionEventsMethod(), responseObserver); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomDimensionsMethod(), responseObserver); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomMetricsMethod(), responseObserver); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataRetentionSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataStreamMethod(), responseObserver); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataStreamMethod(), responseObserver); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataStreamMethod(), responseObserver); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataStreamsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataStreamMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single Audience.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void getAudience(com.google.analytics.admin.v1alpha.GetAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAudienceMethod(), responseObserver); + } + + /** + *
+     * Lists Audiences on a property.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void listAudiences(com.google.analytics.admin.v1alpha.ListAudiencesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAudiencesMethod(), responseObserver); + } + + /** + *
+     * Creates an Audience.
+     * 
+ */ + public void createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAudienceMethod(), responseObserver); + } + + /** + *
+     * Updates an Audience on a property.
+     * 
+ */ + public void updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAudienceMethod(), responseObserver); + } + + /** + *
+     * Archives an Audience on a property.
+     * 
+ */ + public void archiveAudience(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(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 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); + } + + /** + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public void getAttributionSettings(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttributionSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public void updateAttributionSettings(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttributionSettingsMethod(), responseObserver); + } + + /** + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public void runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(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 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 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()) + .addMethod( + getGetAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account>( + this, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse>( + this, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account>( + this, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( + this, METHODID_PROVISION_ACCOUNT_TICKET))) + .addMethod( + getListAccountSummariesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( + this, METHODID_LIST_ACCOUNT_SUMMARIES))) + .addMethod( + getGetPropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse>( + this, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + this, METHODID_UPDATE_PROPERTY))) + .addMethod( + getGetUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_GET_USER_LINK))) + .addMethod( + getBatchGetUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( + this, METHODID_BATCH_GET_USER_LINKS))) + .addMethod( + getListUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse>( + this, METHODID_LIST_USER_LINKS))) + .addMethod( + getAuditUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( + this, METHODID_AUDIT_USER_LINKS))) + .addMethod( + getCreateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_CREATE_USER_LINK))) + .addMethod( + getBatchCreateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( + this, METHODID_BATCH_CREATE_USER_LINKS))) + .addMethod( + getUpdateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_UPDATE_USER_LINK))) + .addMethod( + getBatchUpdateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( + this, METHODID_BATCH_UPDATE_USER_LINKS))) + .addMethod( + getDeleteUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_USER_LINK))) + .addMethod( + getBatchDeleteUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, + com.google.protobuf.Empty>( + this, METHODID_BATCH_DELETE_USER_LINKS))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink>( + this, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_FIREBASE_LINK))) + .addMethod( + getListFirebaseLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( + this, METHODID_LIST_FIREBASE_LINKS))) + .addMethod( + getGetGlobalSiteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag>( + this, METHODID_GET_GLOBAL_SITE_TAG))) + .addMethod( + getCreateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_CREATE_GOOGLE_ADS_LINK))) + .addMethod( + getUpdateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_GOOGLE_ADS_LINK))) + .addMethod( + getListGoogleAdsLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( + this, METHODID_LIST_GOOGLE_ADS_LINKS))) + .addMethod( + getGetDataSharingSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings>( + this, METHODID_GET_DATA_SHARING_SETTINGS))) + .addMethod( + getGetMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getListMeasurementProtocolSecretsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( + this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) + .addMethod( + getCreateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getUpdateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getAcknowledgeUserDataCollectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>( + this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) + .addMethod( + getSearchChangeHistoryEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( + this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) + .addMethod( + getGetGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getUpdateGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getCreateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CONVERSION_EVENT))) + .addMethod( + getListConversionEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( + this, METHODID_LIST_CONVERSION_EVENTS))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getListDisplayVideo360AdvertiserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getUpdateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getListDisplayVideo360AdvertiserLinkProposalsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse>( + this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCreateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_CREATE_CUSTOM_DIMENSION))) + .addMethod( + getUpdateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_UPDATE_CUSTOM_DIMENSION))) + .addMethod( + getListCustomDimensionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( + this, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>( + this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) + .addMethod( + getGetCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_GET_CUSTOM_DIMENSION))) + .addMethod( + getCreateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_CREATE_CUSTOM_METRIC))) + .addMethod( + getUpdateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_UPDATE_CUSTOM_METRIC))) + .addMethod( + getListCustomMetricsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( + this, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>( + this, METHODID_ARCHIVE_CUSTOM_METRIC))) + .addMethod( + getGetCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_GET_CUSTOM_METRIC))) + .addMethod( + getGetDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_GET_DATA_RETENTION_SETTINGS))) + .addMethod( + getUpdateDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) + .addMethod( + getCreateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DATA_STREAM))) + .addMethod( + getUpdateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_UPDATE_DATA_STREAM))) + .addMethod( + getListDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse>( + this, METHODID_LIST_DATA_STREAMS))) + .addMethod( + getGetDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_GET_DATA_STREAM))) + .addMethod( + getGetAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>( + this, METHODID_GET_AUDIENCE))) + .addMethod( + getListAudiencesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAudiencesRequest, + com.google.analytics.admin.v1alpha.ListAudiencesResponse>( + this, METHODID_LIST_AUDIENCES))) + .addMethod( + getCreateAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>( + this, METHODID_CREATE_AUDIENCE))) + .addMethod( + getUpdateAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>( + this, METHODID_UPDATE_AUDIENCE))) + .addMethod( + getArchiveAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + 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( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings>( + this, METHODID_GET_ATTRIBUTION_SETTINGS))) + .addMethod( + getUpdateAttributionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings>( + this, METHODID_UPDATE_ATTRIBUTION_SETTINGS))) + .addMethod( + getRunAccessReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + 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(); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AnalyticsAdminServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single Audience.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void getAudience(com.google.analytics.admin.v1alpha.GetAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAudienceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Audiences on a property.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void listAudiences(com.google.analytics.admin.v1alpha.ListAudiencesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAudiencesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an Audience.
+     * 
+ */ + public void createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an Audience on a property.
+     * 
+ */ + public void updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Archives an Audience on a property.
+     * 
+ */ + 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 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(getUpdateSearchAds360LinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public void getAttributionSettings(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public void updateAttributionSettings(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public void runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), 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 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 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); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AnalyticsAdminServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountsMethod(), getCallOptions(), request); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.protobuf.Empty deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPropertiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.protobuf.Empty deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.FirebaseLink createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GlobalSiteTag getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGlobalSiteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataSharingSettings getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.protobuf.Empty deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConversionEventsMethod(), getCallOptions(), request); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDataStreamsResponse listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * 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(com.google.analytics.admin.v1alpha.GetAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAudienceMethod(), getCallOptions(), request); + } + + /** + *
+     * 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(com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAudiencesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an Audience.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Audience createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAudienceMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an Audience on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Audience updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAudienceMethod(), getCallOptions(), request); + } + + /** + *
+     * Archives an Audience on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveAudience(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + 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); + } + + /** + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttributionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AttributionSettings updateAttributionSettings(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAttributionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public com.google.analytics.admin.v1alpha.RunAccessReportResponse runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { + 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); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AnalyticsAdminServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); + } + + /** + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * 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 getAudience( + com.google.analytics.admin.v1alpha.GetAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAudienceMethod(), getCallOptions()), request); + } + + /** + *
+     * 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 listAudiences( + com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAudiencesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an Audience.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAudience( + com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an Audience on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAudience( + com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), request); + } + + /** + *
+     * Archives an Audience on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture archiveAudience( + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveAudienceMethod(), getCallOptions()), request); + } + + /** + *
+     * Look up a single SearchAds360Link
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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 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 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 updateSearchAds360Link( + com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSearchAds360LinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAttributionSettings( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAttributionSettings( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { + 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 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 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 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 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; + private static final int METHODID_LIST_ACCOUNTS = 1; + private static final int METHODID_DELETE_ACCOUNT = 2; + private static final int METHODID_UPDATE_ACCOUNT = 3; + private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; + private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; + private static final int METHODID_GET_PROPERTY = 6; + private static final int METHODID_LIST_PROPERTIES = 7; + private static final int METHODID_CREATE_PROPERTY = 8; + private static final int METHODID_DELETE_PROPERTY = 9; + private static final int METHODID_UPDATE_PROPERTY = 10; + private static final int METHODID_GET_USER_LINK = 11; + private static final int METHODID_BATCH_GET_USER_LINKS = 12; + private static final int METHODID_LIST_USER_LINKS = 13; + private static final int METHODID_AUDIT_USER_LINKS = 14; + private static final int METHODID_CREATE_USER_LINK = 15; + private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; + private static final int METHODID_UPDATE_USER_LINK = 17; + private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; + private static final int METHODID_DELETE_USER_LINK = 19; + private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; + private static final int METHODID_CREATE_FIREBASE_LINK = 21; + private static final int METHODID_DELETE_FIREBASE_LINK = 22; + private static final int METHODID_LIST_FIREBASE_LINKS = 23; + private static final int METHODID_GET_GLOBAL_SITE_TAG = 24; + private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 25; + private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 26; + private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 27; + private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 28; + private static final int METHODID_GET_DATA_SHARING_SETTINGS = 29; + private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 30; + private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 31; + private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 32; + private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 33; + private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 34; + private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 35; + private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 36; + private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 37; + private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 38; + private static final int METHODID_CREATE_CONVERSION_EVENT = 39; + private static final int METHODID_GET_CONVERSION_EVENT = 40; + private static final int METHODID_DELETE_CONVERSION_EVENT = 41; + private static final int METHODID_LIST_CONVERSION_EVENTS = 42; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 43; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 44; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 45; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 46; + private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 47; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 48; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 49; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 50; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 51; + private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 52; + private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 53; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 54; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 55; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 56; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 57; + private static final int METHODID_GET_CUSTOM_DIMENSION = 58; + private static final int METHODID_CREATE_CUSTOM_METRIC = 59; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 60; + private static final int METHODID_LIST_CUSTOM_METRICS = 61; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 62; + private static final int METHODID_GET_CUSTOM_METRIC = 63; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 64; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 65; + private static final int METHODID_CREATE_DATA_STREAM = 66; + private static final int METHODID_DELETE_DATA_STREAM = 67; + private static final int METHODID_UPDATE_DATA_STREAM = 68; + private static final int METHODID_LIST_DATA_STREAMS = 69; + private static final int METHODID_GET_DATA_STREAM = 70; + private static final int METHODID_GET_AUDIENCE = 71; + private static final int METHODID_LIST_AUDIENCES = 72; + 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_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, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AnalyticsAdminServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_ACCOUNT: + serviceImpl.getAccount((com.google.analytics.admin.v1alpha.GetAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ACCOUNTS: + serviceImpl.listAccounts((com.google.analytics.admin.v1alpha.ListAccountsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ACCOUNT: + serviceImpl.deleteAccount((com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ACCOUNT: + serviceImpl.updateAccount((com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROVISION_ACCOUNT_TICKET: + serviceImpl.provisionAccountTicket((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ACCOUNT_SUMMARIES: + serviceImpl.listAccountSummaries((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROPERTY: + serviceImpl.getProperty((com.google.analytics.admin.v1alpha.GetPropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PROPERTIES: + serviceImpl.listProperties((com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PROPERTY: + serviceImpl.createProperty((com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PROPERTY: + serviceImpl.deleteProperty((com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROPERTY: + serviceImpl.updateProperty((com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_USER_LINK: + serviceImpl.getUserLink((com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_USER_LINKS: + serviceImpl.batchGetUserLinks((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USER_LINKS: + serviceImpl.listUserLinks((com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_AUDIT_USER_LINKS: + serviceImpl.auditUserLinks((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_USER_LINK: + serviceImpl.createUserLink((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_USER_LINKS: + serviceImpl.batchCreateUserLinks((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_USER_LINK: + serviceImpl.updateUserLink((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_UPDATE_USER_LINKS: + serviceImpl.batchUpdateUserLinks((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_USER_LINK: + serviceImpl.deleteUserLink((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_USER_LINKS: + serviceImpl.batchDeleteUserLinks((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_FIREBASE_LINK: + serviceImpl.createFirebaseLink((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_FIREBASE_LINK: + serviceImpl.deleteFirebaseLink((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FIREBASE_LINKS: + serviceImpl.listFirebaseLinks((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_GLOBAL_SITE_TAG: + serviceImpl.getGlobalSiteTag((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_GOOGLE_ADS_LINK: + serviceImpl.createGoogleAdsLink((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GOOGLE_ADS_LINK: + serviceImpl.updateGoogleAdsLink((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_GOOGLE_ADS_LINK: + serviceImpl.deleteGoogleAdsLink((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GOOGLE_ADS_LINKS: + serviceImpl.listGoogleAdsLinks((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_SHARING_SETTINGS: + serviceImpl.getDataSharingSettings((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.getMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: + serviceImpl.listMeasurementProtocolSecrets((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.createMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.deleteMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.updateMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: + serviceImpl.acknowledgeUserDataCollection((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: + serviceImpl.searchChangeHistoryEvents((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.getGoogleSignalsSettings((com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.updateGoogleSignalsSettings((com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CONVERSION_EVENT: + serviceImpl.createConversionEvent((com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONVERSION_EVENT: + serviceImpl.getConversionEvent((com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CONVERSION_EVENT: + serviceImpl.deleteConversionEvent((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONVERSION_EVENTS: + serviceImpl.listConversionEvents((com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.getDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: + serviceImpl.listDisplayVideo360AdvertiserLinks((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.createDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.deleteDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.updateDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.getDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: + serviceImpl.listDisplayVideo360AdvertiserLinkProposals((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.createDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.approveDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CUSTOM_DIMENSION: + serviceImpl.createCustomDimension((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CUSTOM_DIMENSION: + serviceImpl.updateCustomDimension((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUSTOM_DIMENSIONS: + serviceImpl.listCustomDimensions((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_DIMENSION: + serviceImpl.archiveCustomDimension((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_DIMENSION: + serviceImpl.getCustomDimension((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CUSTOM_METRIC: + serviceImpl.createCustomMetric((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CUSTOM_METRIC: + serviceImpl.updateCustomMetric((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUSTOM_METRICS: + serviceImpl.listCustomMetrics((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_METRIC: + serviceImpl.archiveCustomMetric((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_METRIC: + serviceImpl.getCustomMetric((com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_RETENTION_SETTINGS: + serviceImpl.getDataRetentionSettings((com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_RETENTION_SETTINGS: + serviceImpl.updateDataRetentionSettings((com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DATA_STREAM: + serviceImpl.createDataStream((com.google.analytics.admin.v1alpha.CreateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_STREAM: + serviceImpl.deleteDataStream((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_STREAM: + serviceImpl.updateDataStream((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_STREAMS: + serviceImpl.listDataStreams((com.google.analytics.admin.v1alpha.ListDataStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_STREAM: + serviceImpl.getDataStream((com.google.analytics.admin.v1alpha.GetDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AUDIENCE: + serviceImpl.getAudience((com.google.analytics.admin.v1alpha.GetAudienceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AUDIENCES: + serviceImpl.listAudiences((com.google.analytics.admin.v1alpha.ListAudiencesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AUDIENCE: + serviceImpl.createAudience((com.google.analytics.admin.v1alpha.CreateAudienceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AUDIENCE: + serviceImpl.updateAudience((com.google.analytics.admin.v1alpha.UpdateAudienceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ARCHIVE_AUDIENCE: + serviceImpl.archiveAudience((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) 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ATTRIBUTION_SETTINGS: + serviceImpl.updateAttributionSettings((com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_ACCESS_REPORT: + serviceImpl.runAccessReport((com.google.analytics.admin.v1alpha.RunAccessReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_AUTOMATED_GA4CONFIGURATION_OPT_OUT: + serviceImpl.setAutomatedGa4ConfigurationOptOut((com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_AUTOMATED_GA4CONFIGURATION_OPT_OUT: + serviceImpl.fetchAutomatedGa4ConfigurationOptOut((com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) request, + (io.grpc.stub.StreamObserver) 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) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AnalyticsAdminServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AnalyticsAdminService"); + } + } + + private static final class AnalyticsAdminServiceFileDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier { + AnalyticsAdminServiceFileDescriptorSupplier() {} + } + + private static final class AnalyticsAdminServiceMethodDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) + .addMethod(getGetAccountMethod()) + .addMethod(getListAccountsMethod()) + .addMethod(getDeleteAccountMethod()) + .addMethod(getUpdateAccountMethod()) + .addMethod(getProvisionAccountTicketMethod()) + .addMethod(getListAccountSummariesMethod()) + .addMethod(getGetPropertyMethod()) + .addMethod(getListPropertiesMethod()) + .addMethod(getCreatePropertyMethod()) + .addMethod(getDeletePropertyMethod()) + .addMethod(getUpdatePropertyMethod()) + .addMethod(getGetUserLinkMethod()) + .addMethod(getBatchGetUserLinksMethod()) + .addMethod(getListUserLinksMethod()) + .addMethod(getAuditUserLinksMethod()) + .addMethod(getCreateUserLinkMethod()) + .addMethod(getBatchCreateUserLinksMethod()) + .addMethod(getUpdateUserLinkMethod()) + .addMethod(getBatchUpdateUserLinksMethod()) + .addMethod(getDeleteUserLinkMethod()) + .addMethod(getBatchDeleteUserLinksMethod()) + .addMethod(getCreateFirebaseLinkMethod()) + .addMethod(getDeleteFirebaseLinkMethod()) + .addMethod(getListFirebaseLinksMethod()) + .addMethod(getGetGlobalSiteTagMethod()) + .addMethod(getCreateGoogleAdsLinkMethod()) + .addMethod(getUpdateGoogleAdsLinkMethod()) + .addMethod(getDeleteGoogleAdsLinkMethod()) + .addMethod(getListGoogleAdsLinksMethod()) + .addMethod(getGetDataSharingSettingsMethod()) + .addMethod(getGetMeasurementProtocolSecretMethod()) + .addMethod(getListMeasurementProtocolSecretsMethod()) + .addMethod(getCreateMeasurementProtocolSecretMethod()) + .addMethod(getDeleteMeasurementProtocolSecretMethod()) + .addMethod(getUpdateMeasurementProtocolSecretMethod()) + .addMethod(getAcknowledgeUserDataCollectionMethod()) + .addMethod(getSearchChangeHistoryEventsMethod()) + .addMethod(getGetGoogleSignalsSettingsMethod()) + .addMethod(getUpdateGoogleSignalsSettingsMethod()) + .addMethod(getCreateConversionEventMethod()) + .addMethod(getGetConversionEventMethod()) + .addMethod(getDeleteConversionEventMethod()) + .addMethod(getListConversionEventsMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCreateCustomDimensionMethod()) + .addMethod(getUpdateCustomDimensionMethod()) + .addMethod(getListCustomDimensionsMethod()) + .addMethod(getArchiveCustomDimensionMethod()) + .addMethod(getGetCustomDimensionMethod()) + .addMethod(getCreateCustomMetricMethod()) + .addMethod(getUpdateCustomMetricMethod()) + .addMethod(getListCustomMetricsMethod()) + .addMethod(getArchiveCustomMetricMethod()) + .addMethod(getGetCustomMetricMethod()) + .addMethod(getGetDataRetentionSettingsMethod()) + .addMethod(getUpdateDataRetentionSettingsMethod()) + .addMethod(getCreateDataStreamMethod()) + .addMethod(getDeleteDataStreamMethod()) + .addMethod(getUpdateDataStreamMethod()) + .addMethod(getListDataStreamsMethod()) + .addMethod(getGetDataStreamMethod()) + .addMethod(getGetAudienceMethod()) + .addMethod(getListAudiencesMethod()) + .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(); + } + } + } + return result; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java index 53e9bc20fd89..d4fdc157002e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * To express that the result needs to be between two numbers (inclusive).
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessBetweenFilter} */ -public final class AccessBetweenFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessBetweenFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessBetweenFilter) AccessBetweenFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessBetweenFilter.newBuilder() to construct. private AccessBetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AccessBetweenFilter() {} + private AccessBetweenFilter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessBetweenFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, - com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); } public static final int FROM_VALUE_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.NumericValue fromValue_; /** - * - * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * * @return Whether the fromValue field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasFromValue() { return fromValue_ != null; } /** - * - * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * * @return The fromValue. */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue getFromValue() { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : fromValue_; + return fromValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; } /** - * - * *
    * Begins with this number.
    * 
@@ -110,22 +82,17 @@ public com.google.analytics.admin.v1alpha.NumericValue getFromValue() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBuilder() { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : fromValue_; + return fromValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; } public static final int TO_VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.NumericValue toValue_; /** - * - * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * * @return Whether the toValue field is set. */ @java.lang.Override @@ -133,25 +100,18 @@ public boolean hasToValue() { return toValue_ != null; } /** - * - * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * * @return The toValue. */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue getToValue() { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : toValue_; + return toValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; } /** - * - * *
    * Ends with this number.
    * 
@@ -160,13 +120,10 @@ public com.google.analytics.admin.v1alpha.NumericValue getToValue() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuilder() { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : toValue_; + return toValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (fromValue_ != null) { output.writeMessage(1, getFromValue()); } @@ -195,10 +153,12 @@ public int getSerializedSize() { size = 0; if (fromValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFromValue()); } if (toValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getToValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -208,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessBetweenFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessBetweenFilter other = - (com.google.analytics.admin.v1alpha.AccessBetweenFilter) obj; + com.google.analytics.admin.v1alpha.AccessBetweenFilter other = (com.google.analytics.admin.v1alpha.AccessBetweenFilter) obj; if (hasFromValue() != other.hasFromValue()) return false; if (hasFromValue()) { - if (!getFromValue().equals(other.getFromValue())) return false; + if (!getFromValue() + .equals(other.getFromValue())) return false; } if (hasToValue() != other.hasToValue()) return false; if (hasToValue()) { - if (!getToValue().equals(other.getToValue())) return false; + if (!getToValue() + .equals(other.getToValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -249,136 +210,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessBetweenFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessBetweenFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * To express that the result needs to be between two numbers (inclusive).
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessBetweenFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessBetweenFilter) com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, - com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessBetweenFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -397,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; } @java.lang.Override @@ -418,11 +372,8 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBetweenFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessBetweenFilter result = - new com.google.analytics.admin.v1alpha.AccessBetweenFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessBetweenFilter result = new com.google.analytics.admin.v1alpha.AccessBetweenFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -430,10 +381,14 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.AccessBetweenFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.fromValue_ = fromValueBuilder_ == null ? fromValue_ : fromValueBuilder_.build(); + result.fromValue_ = fromValueBuilder_ == null + ? fromValue_ + : fromValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.toValue_ = toValueBuilder_ == null ? toValue_ : toValueBuilder_.build(); + result.toValue_ = toValueBuilder_ == null + ? toValue_ + : toValueBuilder_.build(); } } @@ -441,39 +396,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessBetweenFilte public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessBetweenFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessBetweenFilter) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessBetweenFilter)other); } else { super.mergeFrom(other); return this; @@ -481,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessBetweenFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) return this; if (other.hasFromValue()) { mergeFromValue(other.getFromValue()); } @@ -515,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getFromValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getToValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getFromValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getToValueFieldBuilder().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) { @@ -543,52 +497,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.NumericValue fromValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder> - fromValueBuilder_; + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> fromValueBuilder_; /** - * - * *
      * Begins with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * * @return Whether the fromValue field is set. */ public boolean hasFromValue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Begins with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * * @return The fromValue. */ public com.google.analytics.admin.v1alpha.NumericValue getFromValue() { if (fromValueBuilder_ == null) { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : fromValue_; + return fromValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; } else { return fromValueBuilder_.getMessage(); } } /** - * - * *
      * Begins with this number.
      * 
@@ -609,8 +549,6 @@ public Builder setFromValue(com.google.analytics.admin.v1alpha.NumericValue valu return this; } /** - * - * *
      * Begins with this number.
      * 
@@ -629,8 +567,6 @@ public Builder setFromValue( return this; } /** - * - * *
      * Begins with this number.
      * 
@@ -639,9 +575,9 @@ public Builder setFromValue( */ public Builder mergeFromValue(com.google.analytics.admin.v1alpha.NumericValue value) { if (fromValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && fromValue_ != null - && fromValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + fromValue_ != null && + fromValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { getFromValueBuilder().mergeFrom(value); } else { fromValue_ = value; @@ -654,8 +590,6 @@ public Builder mergeFromValue(com.google.analytics.admin.v1alpha.NumericValue va return this; } /** - * - * *
      * Begins with this number.
      * 
@@ -673,8 +607,6 @@ public Builder clearFromValue() { return this; } /** - * - * *
      * Begins with this number.
      * 
@@ -687,8 +619,6 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getFromValueBuild return getFromValueFieldBuilder().getBuilder(); } /** - * - * *
      * Begins with this number.
      * 
@@ -699,14 +629,11 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBu if (fromValueBuilder_ != null) { return fromValueBuilder_.getMessageOrBuilder(); } else { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : fromValue_; + return fromValue_ == null ? + com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; } } /** - * - * *
      * Begins with this number.
      * 
@@ -714,17 +641,14 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBu * .google.analytics.admin.v1alpha.NumericValue from_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> getFromValueFieldBuilder() { if (fromValueBuilder_ == null) { - fromValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( - getFromValue(), getParentForChildren(), isClean()); + fromValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( + getFromValue(), + getParentForChildren(), + isClean()); fromValue_ = null; } return fromValueBuilder_; @@ -732,47 +656,34 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBu private com.google.analytics.admin.v1alpha.NumericValue toValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder> - toValueBuilder_; + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> toValueBuilder_; /** - * - * *
      * Ends with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * * @return Whether the toValue field is set. */ public boolean hasToValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Ends with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * * @return The toValue. */ public com.google.analytics.admin.v1alpha.NumericValue getToValue() { if (toValueBuilder_ == null) { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : toValue_; + return toValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; } else { return toValueBuilder_.getMessage(); } } /** - * - * *
      * Ends with this number.
      * 
@@ -793,8 +704,6 @@ public Builder setToValue(com.google.analytics.admin.v1alpha.NumericValue value) return this; } /** - * - * *
      * Ends with this number.
      * 
@@ -813,8 +722,6 @@ public Builder setToValue( return this; } /** - * - * *
      * Ends with this number.
      * 
@@ -823,9 +730,9 @@ public Builder setToValue( */ public Builder mergeToValue(com.google.analytics.admin.v1alpha.NumericValue value) { if (toValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && toValue_ != null - && toValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + toValue_ != null && + toValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { getToValueBuilder().mergeFrom(value); } else { toValue_ = value; @@ -838,8 +745,6 @@ public Builder mergeToValue(com.google.analytics.admin.v1alpha.NumericValue valu return this; } /** - * - * *
      * Ends with this number.
      * 
@@ -857,8 +762,6 @@ public Builder clearToValue() { return this; } /** - * - * *
      * Ends with this number.
      * 
@@ -871,8 +774,6 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getToValueBuilder return getToValueFieldBuilder().getBuilder(); } /** - * - * *
      * Ends with this number.
      * 
@@ -883,14 +784,11 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuil if (toValueBuilder_ != null) { return toValueBuilder_.getMessageOrBuilder(); } else { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : toValue_; + return toValue_ == null ? + com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; } } /** - * - * *
      * Ends with this number.
      * 
@@ -898,24 +796,21 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuil * .google.analytics.admin.v1alpha.NumericValue to_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> getToValueFieldBuilder() { if (toValueBuilder_ == null) { - toValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( - getToValue(), getParentForChildren(), isClean()); + toValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( + getToValue(), + getParentForChildren(), + isClean()); toValue_ = null; } return toValueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -925,12 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessBetweenFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessBetweenFilter) private static final com.google.analytics.admin.v1alpha.AccessBetweenFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessBetweenFilter(); } @@ -939,27 +834,27 @@ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessBetweenFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessBetweenFilter 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; @@ -974,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessBetweenFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java index ddda2f22055a..be56ee6ee67f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessBetweenFilterOrBuilder - extends +public interface AccessBetweenFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessBetweenFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * * @return Whether the fromValue field is set. */ boolean hasFromValue(); /** - * - * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * * @return The fromValue. */ com.google.analytics.admin.v1alpha.NumericValue getFromValue(); /** - * - * *
    * Begins with this number.
    * 
@@ -59,32 +35,24 @@ public interface AccessBetweenFilterOrBuilder com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBuilder(); /** - * - * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * * @return Whether the toValue field is set. */ boolean hasToValue(); /** - * - * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * * @return The toValue. */ com.google.analytics.admin.v1alpha.NumericValue getToValue(); /** - * - * *
    * Ends with this number.
    * 
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java index d2cb812da0c8..d734fdd1c680 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A contiguous range of days: startDate, startDate + 1, ..., endDate.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDateRange} */ -public final class AccessDateRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessDateRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDateRange) AccessDateRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessDateRange.newBuilder() to construct. private AccessDateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessDateRange() { startDate_ = ""; endDate_ = ""; @@ -44,37 +26,33 @@ private AccessDateRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessDateRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDateRange.class, - com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); + com.google.analytics.admin.v1alpha.AccessDateRange.class, com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); } public static final int START_DATE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object startDate_ = ""; /** - * - * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string start_date = 1; - * * @return The startDate. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getStartDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; } } /** - * - * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -109,15 +85,16 @@ public java.lang.String getStartDate() {
    * 
* * string start_date = 1; - * * @return The bytes for startDate. */ @java.lang.Override - public com.google.protobuf.ByteString getStartDateBytes() { + public com.google.protobuf.ByteString + getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startDate_ = b; return b; } else { @@ -126,12 +103,9 @@ public com.google.protobuf.ByteString getStartDateBytes() { } public static final int END_DATE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object endDate_ = ""; /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -140,7 +114,6 @@ public com.google.protobuf.ByteString getStartDateBytes() {
    * 
* * string end_date = 2; - * * @return The endDate. */ @java.lang.Override @@ -149,15 +122,14 @@ public java.lang.String getEndDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; } } /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -166,15 +138,16 @@ public java.lang.String getEndDate() {
    * 
* * string end_date = 2; - * * @return The bytes for endDate. */ @java.lang.Override - public com.google.protobuf.ByteString getEndDateBytes() { + public com.google.protobuf.ByteString + getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endDate_ = b; return b; } else { @@ -183,7 +156,6 @@ public com.google.protobuf.ByteString getEndDateBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_); } @@ -225,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDateRange)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDateRange other = - (com.google.analytics.admin.v1alpha.AccessDateRange) obj; + com.google.analytics.admin.v1alpha.AccessDateRange other = (com.google.analytics.admin.v1alpha.AccessDateRange) obj; - if (!getStartDate().equals(other.getStartDate())) return false; - if (!getEndDate().equals(other.getEndDate())) return false; + if (!getStartDate() + .equals(other.getStartDate())) return false; + if (!getEndDate() + .equals(other.getEndDate())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,135 +230,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDateRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDateRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDateRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A contiguous range of days: startDate, startDate + 1, ..., endDate.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDateRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDateRange) com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDateRange.class, - com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); + com.google.analytics.admin.v1alpha.AccessDateRange.class, com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessDateRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; } @java.lang.Override @@ -416,11 +384,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRange build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDateRange buildPartial() { - com.google.analytics.admin.v1alpha.AccessDateRange result = - new com.google.analytics.admin.v1alpha.AccessDateRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessDateRange result = new com.google.analytics.admin.v1alpha.AccessDateRange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -439,39 +404,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDateRange re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessDateRange) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessDateRange) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessDateRange)other); } else { super.mergeFrom(other); return this; @@ -479,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDateRange other) { - if (other == com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance()) return this; if (!other.getStartDate().isEmpty()) { startDate_ = other.startDate_; bitField0_ |= 0x00000001; @@ -517,25 +480,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - startDate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - endDate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + startDate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + endDate_ = 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) { @@ -545,13 +505,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object startDate_ = ""; /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -560,13 +517,13 @@ public Builder mergeFrom(
      * 
* * string start_date = 1; - * * @return The startDate. */ public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; @@ -575,8 +532,6 @@ public java.lang.String getStartDate() { } } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -585,14 +540,15 @@ public java.lang.String getStartDate() {
      * 
* * string start_date = 1; - * * @return The bytes for startDate. */ - public com.google.protobuf.ByteString getStartDateBytes() { + public com.google.protobuf.ByteString + getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startDate_ = b; return b; } else { @@ -600,8 +556,6 @@ public com.google.protobuf.ByteString getStartDateBytes() { } } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -610,22 +564,18 @@ public com.google.protobuf.ByteString getStartDateBytes() {
      * 
* * string start_date = 1; - * * @param value The startDate to set. * @return This builder for chaining. */ - public Builder setStartDate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartDate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } startDate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -634,7 +584,6 @@ public Builder setStartDate(java.lang.String value) {
      * 
* * string start_date = 1; - * * @return This builder for chaining. */ public Builder clearStartDate() { @@ -644,8 +593,6 @@ public Builder clearStartDate() { return this; } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -654,14 +601,12 @@ public Builder clearStartDate() {
      * 
* * string start_date = 1; - * * @param value The bytes for startDate to set. * @return This builder for chaining. */ - public Builder setStartDateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartDateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startDate_ = value; bitField0_ |= 0x00000001; @@ -671,8 +616,6 @@ public Builder setStartDateBytes(com.google.protobuf.ByteString value) { private java.lang.Object endDate_ = ""; /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -681,13 +624,13 @@ public Builder setStartDateBytes(com.google.protobuf.ByteString value) {
      * 
* * string end_date = 2; - * * @return The endDate. */ public java.lang.String getEndDate() { java.lang.Object ref = endDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; @@ -696,8 +639,6 @@ public java.lang.String getEndDate() { } } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -706,14 +647,15 @@ public java.lang.String getEndDate() {
      * 
* * string end_date = 2; - * * @return The bytes for endDate. */ - public com.google.protobuf.ByteString getEndDateBytes() { + public com.google.protobuf.ByteString + getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endDate_ = b; return b; } else { @@ -721,8 +663,6 @@ public com.google.protobuf.ByteString getEndDateBytes() { } } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -731,22 +671,18 @@ public com.google.protobuf.ByteString getEndDateBytes() {
      * 
* * string end_date = 2; - * * @param value The endDate to set. * @return This builder for chaining. */ - public Builder setEndDate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndDate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endDate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -755,7 +691,6 @@ public Builder setEndDate(java.lang.String value) {
      * 
* * string end_date = 2; - * * @return This builder for chaining. */ public Builder clearEndDate() { @@ -765,8 +700,6 @@ public Builder clearEndDate() { return this; } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -775,23 +708,21 @@ public Builder clearEndDate() {
      * 
* * string end_date = 2; - * * @param value The bytes for endDate to set. * @return This builder for chaining. */ - public Builder setEndDateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndDateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endDate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDateRange) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDateRange) private static final com.google.analytics.admin.v1alpha.AccessDateRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDateRange(); } @@ -815,27 +746,27 @@ public static com.google.analytics.admin.v1alpha.AccessDateRange getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDateRange 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDateRange 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; @@ -850,4 +781,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDateRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java index 8c17a9debc87..608763ff4953 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessDateRangeOrBuilder - extends +public interface AccessDateRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDateRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -34,13 +16,10 @@ public interface AccessDateRangeOrBuilder
    * 
* * string start_date = 1; - * * @return The startDate. */ java.lang.String getStartDate(); /** - * - * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -49,14 +28,12 @@ public interface AccessDateRangeOrBuilder
    * 
* * string start_date = 1; - * * @return The bytes for startDate. */ - com.google.protobuf.ByteString getStartDateBytes(); + com.google.protobuf.ByteString + getStartDateBytes(); /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -65,13 +42,10 @@ public interface AccessDateRangeOrBuilder
    * 
* * string end_date = 2; - * * @return The endDate. */ java.lang.String getEndDate(); /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -80,8 +54,8 @@ public interface AccessDateRangeOrBuilder
    * 
* * string end_date = 2; - * * @return The bytes for endDate. */ - com.google.protobuf.ByteString getEndDateBytes(); + com.google.protobuf.ByteString + getEndDateBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java index 3e9c7cc5b315..cc360b682eef 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Dimensions are attributes of your data. For example, the dimension
  * `userEmail` indicates the email of the user that accessed reporting data.
@@ -29,53 +12,48 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimension}
  */
-public final class AccessDimension extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccessDimension extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimension)
     AccessDimensionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccessDimension.newBuilder() to construct.
   private AccessDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AccessDimension() {
     dimensionName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccessDimension();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessDimension.class,
-            com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessDimension.class, com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
   }
 
   public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object dimensionName_ = "";
   /**
-   *
-   *
    * 
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string dimension_name = 1; - * * @return The dimensionName. */ @java.lang.Override @@ -93,15 +70,14 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** - * - * *
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -110,15 +86,16 @@ public java.lang.String getDimensionName() {
    * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -127,7 +104,6 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +115,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -163,15 +140,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDimension other = - (com.google.analytics.admin.v1alpha.AccessDimension) obj; + com.google.analytics.admin.v1alpha.AccessDimension other = (com.google.analytics.admin.v1alpha.AccessDimension) obj; - if (!getDimensionName().equals(other.getDimensionName())) return false; + if (!getDimensionName() + .equals(other.getDimensionName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,103 +168,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDimension parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDimension parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Dimensions are attributes of your data. For example, the dimension
    * `userEmail` indicates the email of the user that accessed reporting data.
@@ -296,32 +266,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimension}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDimension)
       com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessDimension.class,
-              com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessDimension.class, com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessDimension.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -331,9 +302,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
     }
 
     @java.lang.Override
@@ -352,11 +323,8 @@ public com.google.analytics.admin.v1alpha.AccessDimension build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessDimension buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessDimension result =
-          new com.google.analytics.admin.v1alpha.AccessDimension(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AccessDimension result = new com.google.analytics.admin.v1alpha.AccessDimension(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -372,39 +340,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDimension re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccessDimension) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimension) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimension)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -412,8 +379,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDimension other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance()) return this;
       if (!other.getDimensionName().isEmpty()) {
         dimensionName_ = other.dimensionName_;
         bitField0_ |= 0x00000001;
@@ -445,19 +411,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                dimensionName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              dimensionName_ = 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) {
@@ -467,13 +431,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object dimensionName_ = "";
     /**
-     *
-     *
      * 
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -482,13 +443,13 @@ public Builder mergeFrom(
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -497,8 +458,6 @@ public java.lang.String getDimensionName() { } } /** - * - * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -507,14 +466,15 @@ public java.lang.String getDimensionName() {
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -522,8 +482,6 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } } /** - * - * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -532,22 +490,18 @@ public com.google.protobuf.ByteString getDimensionNameBytes() {
      * 
* * string dimension_name = 1; - * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimensionName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -556,7 +510,6 @@ public Builder setDimensionName(java.lang.String value) {
      * 
* * string dimension_name = 1; - * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -566,8 +519,6 @@ public Builder clearDimensionName() { return this; } /** - * - * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -576,23 +527,21 @@ public Builder clearDimensionName() {
      * 
* * string dimension_name = 1; - * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimensionNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimension) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimension) private static final com.google.analytics.admin.v1alpha.AccessDimension DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimension(); } @@ -616,27 +565,27 @@ public static com.google.analytics.admin.v1alpha.AccessDimension getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDimension 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDimension 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; @@ -651,4 +600,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java index 55aa7fe5e291..d69baabd0abb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Describes a dimension column in the report. Dimensions requested in a report
  * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -30,59 +13,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionHeader}
  */
-public final class AccessDimensionHeader extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccessDimensionHeader extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimensionHeader)
     AccessDimensionHeaderOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccessDimensionHeader.newBuilder() to construct.
   private AccessDimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AccessDimensionHeader() {
     dimensionName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccessDimensionHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessDimensionHeader.class,
-            com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessDimensionHeader.class, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
   }
 
   public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object dimensionName_ = "";
   /**
-   *
-   *
    * 
    * The dimension's name; for example 'userEmail'.
    * 
* * string dimension_name = 1; - * * @return The dimensionName. */ @java.lang.Override @@ -91,29 +68,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** - * - * *
    * The dimension's name; for example 'userEmail'.
    * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -122,7 +99,6 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -158,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimensionHeader)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDimensionHeader other = - (com.google.analytics.admin.v1alpha.AccessDimensionHeader) obj; + com.google.analytics.admin.v1alpha.AccessDimensionHeader other = (com.google.analytics.admin.v1alpha.AccessDimensionHeader) obj; - if (!getDimensionName().equals(other.getDimensionName())) return false; + if (!getDimensionName() + .equals(other.getDimensionName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +163,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessDimensionHeader prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDimensionHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Describes a dimension column in the report. Dimensions requested in a report
    * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -293,32 +262,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionHeader}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDimensionHeader)
       com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessDimensionHeader.class,
-              com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessDimensionHeader.class, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessDimensionHeader.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,9 +298,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
     }
 
     @java.lang.Override
@@ -349,11 +319,8 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeader build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessDimensionHeader buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessDimensionHeader result =
-          new com.google.analytics.admin.v1alpha.AccessDimensionHeader(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AccessDimensionHeader result = new com.google.analytics.admin.v1alpha.AccessDimensionHeader(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -369,39 +336,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDimensionHea
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccessDimensionHeader) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionHeader) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionHeader)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -409,8 +375,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDimensionHeader other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()) return this;
       if (!other.getDimensionName().isEmpty()) {
         dimensionName_ = other.dimensionName_;
         bitField0_ |= 0x00000001;
@@ -442,19 +407,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                dimensionName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              dimensionName_ = 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) {
@@ -464,25 +427,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object dimensionName_ = "";
     /**
-     *
-     *
      * 
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -491,21 +451,20 @@ public java.lang.String getDimensionName() { } } /** - * - * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -513,35 +472,28 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } } /** - * - * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; - * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimensionName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; - * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -551,30 +503,26 @@ public Builder clearDimensionName() { return this; } /** - * - * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; - * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimensionNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -584,12 +532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimensionHeader) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimensionHeader) private static final com.google.analytics.admin.v1alpha.AccessDimensionHeader DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimensionHeader(); } @@ -598,27 +546,27 @@ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDimensionHeader 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDimensionHeader 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; @@ -633,4 +581,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java new file mode 100644 index 000000000000..3140c9e04fcb --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessDimensionHeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimensionHeader) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The dimension's name; for example 'userEmail'.
+   * 
+ * + * string dimension_name = 1; + * @return The dimensionName. + */ + java.lang.String getDimensionName(); + /** + *
+   * The dimension's name; for example 'userEmail'.
+   * 
+ * + * string dimension_name = 1; + * @return The bytes for dimensionName. + */ + com.google.protobuf.ByteString + getDimensionNameBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java index 2b8d83cdcf3b..57144292776b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessDimensionOrBuilder - extends +public interface AccessDimensionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimension) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -34,13 +16,10 @@ public interface AccessDimensionOrBuilder
    * 
* * string dimension_name = 1; - * * @return The dimensionName. */ java.lang.String getDimensionName(); /** - * - * *
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -49,8 +28,8 @@ public interface AccessDimensionOrBuilder
    * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString getDimensionNameBytes(); + com.google.protobuf.ByteString + getDimensionNameBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java index 0a9040f242e0..a8ad170de94b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java @@ -1,86 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The value of a dimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionValue} */ -public final class AccessDimensionValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessDimensionValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimensionValue) AccessDimensionValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessDimensionValue.newBuilder() to construct. private AccessDimensionValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessDimensionValue() { value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessDimensionValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDimensionValue.class, - com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessDimensionValue.class, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** - * - * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; - * * @return The value. */ @java.lang.Override @@ -89,30 +66,30 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -121,7 +98,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -157,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimensionValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDimensionValue other = - (com.google.analytics.admin.v1alpha.AccessDimensionValue) obj; + com.google.analytics.admin.v1alpha.AccessDimensionValue other = (com.google.analytics.admin.v1alpha.AccessDimensionValue) obj; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessDimensionValue prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDimensionValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The value of a dimension.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDimensionValue) com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDimensionValue.class, - com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessDimensionValue.class, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessDimensionValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -324,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; } @java.lang.Override @@ -345,11 +315,8 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValue build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDimensionValue buildPartial() { - com.google.analytics.admin.v1alpha.AccessDimensionValue result = - new com.google.analytics.admin.v1alpha.AccessDimensionValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessDimensionValue result = new com.google.analytics.admin.v1alpha.AccessDimensionValue(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -365,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDimensionVal public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessDimensionValue) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionValue) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionValue)other); } else { super.mergeFrom(other); return this; @@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDimensionValue other) { - if (other == com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -438,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + value_ = 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) { @@ -460,26 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object value_ = ""; /** - * - * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -488,22 +448,21 @@ public java.lang.String getValue() { } } /** - * - * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -511,37 +470,30 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -551,31 +503,27 @@ public Builder clearValue() { return this; } /** - * - * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimensionValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimensionValue) private static final com.google.analytics.admin.v1alpha.AccessDimensionValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimensionValue(); } @@ -599,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.AccessDimensionValue getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDimensionValue 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDimensionValue 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; @@ -634,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDimensionValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java similarity index 50% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java index 58c1e1ed8ea5..a3b3700e8c8e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessDimensionValueOrBuilder - extends +public interface AccessDimensionValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimensionValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java index bbf6e44e175e..3268858f376c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java @@ -1,78 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * An expression to filter dimension or metric values.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilter} */ -public final class AccessFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilter) AccessFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessFilter.newBuilder() to construct. private AccessFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessFilter() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilter.class, - com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilter.class, com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); } private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - public enum OneFilterCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_FILTER(2), IN_LIST_FILTER(3), @@ -80,7 +59,6 @@ public enum OneFilterCase BETWEEN_FILTER(5), ONEFILTER_NOT_SET(0); private final int value; - private OneFilterCase(int value) { this.value = value; } @@ -96,40 +74,32 @@ public static OneFilterCase valueOf(int value) { public static OneFilterCase forNumber(int value) { switch (value) { - case 2: - return STRING_FILTER; - case 3: - return IN_LIST_FILTER; - case 4: - return NUMERIC_FILTER; - case 5: - return BETWEEN_FILTER; - case 0: - return ONEFILTER_NOT_SET; - default: - return null; + case 2: return STRING_FILTER; + case 3: return IN_LIST_FILTER; + case 4: return NUMERIC_FILTER; + case 5: return BETWEEN_FILTER; + case 0: return ONEFILTER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); + public OneFilterCase + getOneFilterCase() { + return OneFilterCase.forNumber( + oneFilterCase_); } public static final int STRING_FILTER_FIELD_NUMBER = 2; /** - * - * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -137,26 +107,21 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** - * - * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * * @return The stringFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance(); } /** - * - * *
    * Strings related filter.
    * 
@@ -166,21 +131,18 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance(); } public static final int IN_LIST_FILTER_FIELD_NUMBER = 3; /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -188,26 +150,21 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * * @return The inListFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance(); } /** - * - * *
    * A filter for in list values.
    * 
@@ -217,21 +174,18 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance(); } public static final int NUMERIC_FILTER_FIELD_NUMBER = 4; /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -239,26 +193,21 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * * @return The numericFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance(); } /** - * - * *
    * A filter for numeric or date values.
    * 
@@ -266,24 +215,20 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder - getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumericFilterOrBuilder() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance(); } public static final int BETWEEN_FILTER_FIELD_NUMBER = 5; /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -291,26 +236,21 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * * @return The betweenFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance(); } /** - * - * *
    * A filter for two values.
    * 
@@ -318,27 +258,22 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder - getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance(); } public static final int FIELD_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object fieldName_ = ""; /** - * - * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; - * * @return The fieldName. */ @java.lang.Override @@ -347,29 +282,29 @@ public java.lang.String getFieldName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } } /** - * - * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; - * * @return The bytes for fieldName. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldNameBytes() { + public com.google.protobuf.ByteString + getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldName_ = b; return b; } else { @@ -378,7 +313,6 @@ public com.google.protobuf.ByteString getFieldNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,7 +324,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } @@ -419,24 +354,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (oneFilterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_); } if (oneFilterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_); } if (oneFilterCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_); } if (oneFilterCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -446,28 +377,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessFilter other = - (com.google.analytics.admin.v1alpha.AccessFilter) obj; + com.google.analytics.admin.v1alpha.AccessFilter other = (com.google.analytics.admin.v1alpha.AccessFilter) obj; - if (!getFieldName().equals(other.getFieldName())) return false; + if (!getFieldName() + .equals(other.getFieldName())) return false; if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; switch (oneFilterCase_) { case 2: - if (!getStringFilter().equals(other.getStringFilter())) return false; + if (!getStringFilter() + .equals(other.getStringFilter())) return false; break; case 3: - if (!getInListFilter().equals(other.getInListFilter())) return false; + if (!getInListFilter() + .equals(other.getInListFilter())) return false; break; case 4: - if (!getNumericFilter().equals(other.getNumericFilter())) return false; + if (!getNumericFilter() + .equals(other.getNumericFilter())) return false; break; case 5: - if (!getBetweenFilter().equals(other.getBetweenFilter())) return false; + if (!getBetweenFilter() + .equals(other.getBetweenFilter())) return false; break; case 0: default: @@ -510,136 +445,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An expression to filter dimension or metric values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessFilter) com.google.analytics.admin.v1alpha.AccessFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilter.class, - com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilter.class, com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +592,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; } @java.lang.Override @@ -684,11 +613,8 @@ public com.google.analytics.admin.v1alpha.AccessFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessFilter result = - new com.google.analytics.admin.v1alpha.AccessFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessFilter result = new com.google.analytics.admin.v1alpha.AccessFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -704,16 +630,20 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessFilter resul private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessFilter result) { result.oneFilterCase_ = oneFilterCase_; result.oneFilter_ = this.oneFilter_; - if (oneFilterCase_ == 2 && stringFilterBuilder_ != null) { + if (oneFilterCase_ == 2 && + stringFilterBuilder_ != null) { result.oneFilter_ = stringFilterBuilder_.build(); } - if (oneFilterCase_ == 3 && inListFilterBuilder_ != null) { + if (oneFilterCase_ == 3 && + inListFilterBuilder_ != null) { result.oneFilter_ = inListFilterBuilder_.build(); } - if (oneFilterCase_ == 4 && numericFilterBuilder_ != null) { + if (oneFilterCase_ == 4 && + numericFilterBuilder_ != null) { result.oneFilter_ = numericFilterBuilder_.build(); } - if (oneFilterCase_ == 5 && betweenFilterBuilder_ != null) { + if (oneFilterCase_ == 5 && + betweenFilterBuilder_ != null) { result.oneFilter_ = betweenFilterBuilder_.build(); } } @@ -722,39 +652,38 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessFilter public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilter) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilter)other); } else { super.mergeFrom(other); return this; @@ -762,38 +691,32 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) return this; if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; bitField0_ |= 0x00000010; onChanged(); } switch (other.getOneFilterCase()) { - case STRING_FILTER: - { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: - { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: - { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: - { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: - { - break; - } + case STRING_FILTER: { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: { + mergeInListFilter(other.getInListFilter()); + break; + } + case NUMERIC_FILTER: { + mergeNumericFilter(other.getNumericFilter()); + break; + } + case BETWEEN_FILTER: { + mergeBetweenFilter(other.getBetweenFilter()); + break; + } + case ONEFILTER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -821,43 +744,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - fieldName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - 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 - case 34: - { - input.readMessage(getNumericFilterFieldBuilder().getBuilder(), extensionRegistry); - oneFilterCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getBetweenFilterFieldBuilder().getBuilder(), extensionRegistry); - oneFilterCase_ = 5; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + fieldName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + 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 + case 34: { + input.readMessage( + getNumericFilterFieldBuilder().getBuilder(), + extensionRegistry); + oneFilterCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getBetweenFilterFieldBuilder().getBuilder(), + extensionRegistry); + oneFilterCase_ = 5; + break; + } // case 42 + 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) { @@ -867,12 +792,12 @@ public Builder mergeFrom( } // finally return this; } - private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); + public OneFilterCase + getOneFilterCase() { + return OneFilterCase.forNumber( + oneFilterCase_); } public Builder clearOneFilter() { @@ -885,19 +810,13 @@ public Builder clearOneFilter() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessStringFilter, - com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, - com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> - stringFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessStringFilter, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> stringFilterBuilder_; /** - * - * *
      * Strings related filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -905,14 +824,11 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** - * - * *
      * Strings related filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * * @return The stringFilter. */ @java.lang.Override @@ -930,8 +846,6 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() { } } /** - * - * *
      * Strings related filter.
      * 
@@ -952,8 +866,6 @@ public Builder setStringFilter(com.google.analytics.admin.v1alpha.AccessStringFi return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -972,8 +884,6 @@ public Builder setStringFilter( return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -982,14 +892,10 @@ public Builder setStringFilter( */ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AccessStringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 2 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AccessStringFilter.newBuilder( - (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 2 && + oneFilter_ != com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AccessStringFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -1005,8 +911,6 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AccessString return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -1030,8 +934,6 @@ public Builder clearStringFilter() { return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -1042,8 +944,6 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi return getStringFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Strings related filter.
      * 
@@ -1051,8 +951,7 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder - getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder() { if ((oneFilterCase_ == 2) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { @@ -1063,8 +962,6 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi } } /** - * - * *
      * Strings related filter.
      * 
@@ -1072,19 +969,14 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessStringFilter, - com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, - com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessStringFilter, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 2)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance(); } - stringFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessStringFilter, - com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, - com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder>( + stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessStringFilter, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1096,19 +988,13 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessInListFilter, - com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, - com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> - inListFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessInListFilter, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> inListFilterBuilder_; /** - * - * *
      * A filter for in list values.
      * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -1116,14 +1002,11 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** - * - * *
      * A filter for in list values.
      * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * * @return The inListFilter. */ @java.lang.Override @@ -1141,8 +1024,6 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() { } } /** - * - * *
      * A filter for in list values.
      * 
@@ -1163,8 +1044,6 @@ public Builder setInListFilter(com.google.analytics.admin.v1alpha.AccessInListFi return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -1183,8 +1062,6 @@ public Builder setInListFilter( return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -1193,14 +1070,10 @@ public Builder setInListFilter( */ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AccessInListFilter value) { if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 3 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AccessInListFilter.newBuilder( - (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 3 && + oneFilter_ != com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AccessInListFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -1216,8 +1089,6 @@ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AccessInList return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -1241,8 +1112,6 @@ public Builder clearInListFilter() { return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -1253,8 +1122,6 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi return getInListFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for in list values.
      * 
@@ -1262,8 +1129,7 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder - getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder() { if ((oneFilterCase_ == 3) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { @@ -1274,8 +1140,6 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi } } /** - * - * *
      * A filter for in list values.
      * 
@@ -1283,19 +1147,14 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessInListFilter, - com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, - com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessInListFilter, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance(); } - inListFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessInListFilter, - com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, - com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder>( + inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessInListFilter, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1307,19 +1166,13 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessNumericFilter, - com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, - com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> - numericFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessNumericFilter, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> numericFilterBuilder_; /** - * - * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -1327,14 +1180,11 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** - * - * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * * @return The numericFilter. */ @java.lang.Override @@ -1352,8 +1202,6 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() } } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -1374,8 +1222,6 @@ public Builder setNumericFilter(com.google.analytics.admin.v1alpha.AccessNumeric return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -1394,25 +1240,18 @@ public Builder setNumericFilter( return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ - public Builder mergeNumericFilter( - com.google.analytics.admin.v1alpha.AccessNumericFilter value) { + public Builder mergeNumericFilter(com.google.analytics.admin.v1alpha.AccessNumericFilter value) { if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 4 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AccessNumericFilter.newBuilder( - (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 4 && + oneFilter_ != com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AccessNumericFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -1428,8 +1267,6 @@ public Builder mergeNumericFilter( return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -1453,21 +1290,16 @@ public Builder clearNumericFilter() { return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ - public com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder - getNumericFilterBuilder() { + public com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder getNumericFilterBuilder() { return getNumericFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -1475,8 +1307,7 @@ public Builder clearNumericFilter() { * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder - getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumericFilterOrBuilder() { if ((oneFilterCase_ == 4) && (numericFilterBuilder_ != null)) { return numericFilterBuilder_.getMessageOrBuilder(); } else { @@ -1487,8 +1318,6 @@ public Builder clearNumericFilter() { } } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -1496,19 +1325,14 @@ public Builder clearNumericFilter() { * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessNumericFilter, - com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, - com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessNumericFilter, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> getNumericFilterFieldBuilder() { if (numericFilterBuilder_ == null) { if (!(oneFilterCase_ == 4)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance(); } - numericFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessNumericFilter, - com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, - com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder>( + numericFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessNumericFilter, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1520,19 +1344,13 @@ public Builder clearNumericFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBetweenFilter, - com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, - com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> - betweenFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessBetweenFilter, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> betweenFilterBuilder_; /** - * - * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -1540,14 +1358,11 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** - * - * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * * @return The betweenFilter. */ @java.lang.Override @@ -1565,8 +1380,6 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() } } /** - * - * *
      * A filter for two values.
      * 
@@ -1587,8 +1400,6 @@ public Builder setBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetween return this; } /** - * - * *
      * A filter for two values.
      * 
@@ -1607,25 +1418,18 @@ public Builder setBetweenFilter( return this; } /** - * - * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ - public Builder mergeBetweenFilter( - com.google.analytics.admin.v1alpha.AccessBetweenFilter value) { + public Builder mergeBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetweenFilter value) { if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 5 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AccessBetweenFilter.newBuilder( - (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 5 && + oneFilter_ != com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AccessBetweenFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -1641,8 +1445,6 @@ public Builder mergeBetweenFilter( return this; } /** - * - * *
      * A filter for two values.
      * 
@@ -1666,21 +1468,16 @@ public Builder clearBetweenFilter() { return this; } /** - * - * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ - public com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder - getBetweenFilterBuilder() { + public com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder getBetweenFilterBuilder() { return getBetweenFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for two values.
      * 
@@ -1688,8 +1485,7 @@ public Builder clearBetweenFilter() { * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder - getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder() { if ((oneFilterCase_ == 5) && (betweenFilterBuilder_ != null)) { return betweenFilterBuilder_.getMessageOrBuilder(); } else { @@ -1700,8 +1496,6 @@ public Builder clearBetweenFilter() { } } /** - * - * *
      * A filter for two values.
      * 
@@ -1709,19 +1503,14 @@ public Builder clearBetweenFilter() { * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBetweenFilter, - com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, - com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessBetweenFilter, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> getBetweenFilterFieldBuilder() { if (betweenFilterBuilder_ == null) { if (!(oneFilterCase_ == 5)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance(); } - betweenFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBetweenFilter, - com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, - com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder>( + betweenFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessBetweenFilter, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1734,20 +1523,18 @@ public Builder clearBetweenFilter() { private java.lang.Object fieldName_ = ""; /** - * - * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; - * * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; @@ -1756,21 +1543,20 @@ public java.lang.String getFieldName() { } } /** - * - * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; - * * @return The bytes for fieldName. */ - public com.google.protobuf.ByteString getFieldNameBytes() { + public com.google.protobuf.ByteString + getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldName_ = b; return b; } else { @@ -1778,35 +1564,28 @@ public com.google.protobuf.ByteString getFieldNameBytes() { } } /** - * - * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; - * * @param value The fieldName to set. * @return This builder for chaining. */ - public Builder setFieldName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fieldName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; - * * @return This builder for chaining. */ public Builder clearFieldName() { @@ -1816,30 +1595,26 @@ public Builder clearFieldName() { return this; } /** - * - * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; - * * @param value The bytes for fieldName to set. * @return This builder for chaining. */ - public Builder setFieldNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1849,12 +1624,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilter) private static final com.google.analytics.admin.v1alpha.AccessFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilter(); } @@ -1863,27 +1638,27 @@ public static com.google.analytics.admin.v1alpha.AccessFilter getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessFilter 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; @@ -1898,4 +1673,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java index a7a45d579d6f..9d62bc8d8855 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Expresses dimension or metric filters. The fields in the same expression need
  * to be either all dimensions or all metrics.
@@ -28,50 +11,47 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpression}
  */
-public final class AccessFilterExpression extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccessFilterExpression extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilterExpression)
     AccessFilterExpressionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccessFilterExpression.newBuilder() to construct.
   private AccessFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AccessFilterExpression() {}
+  private AccessFilterExpression() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccessFilterExpression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.class,
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.class, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
   }
 
   private int oneExpressionCase_ = 0;
   private java.lang.Object oneExpression_;
-
   public enum OneExpressionCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AND_GROUP(1),
     OR_GROUP(2),
@@ -79,7 +59,6 @@ public enum OneExpressionCase
     ACCESS_FILTER(4),
     ONEEXPRESSION_NOT_SET(0);
     private final int value;
-
     private OneExpressionCase(int value) {
       this.value = value;
     }
@@ -95,40 +74,32 @@ public static OneExpressionCase valueOf(int value) {
 
     public static OneExpressionCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return AND_GROUP;
-        case 2:
-          return OR_GROUP;
-        case 3:
-          return NOT_EXPRESSION;
-        case 4:
-          return ACCESS_FILTER;
-        case 0:
-          return ONEEXPRESSION_NOT_SET;
-        default:
-          return null;
+        case 1: return AND_GROUP;
+        case 2: return OR_GROUP;
+        case 3: return NOT_EXPRESSION;
+        case 4: return ACCESS_FILTER;
+        case 0: return ONEEXPRESSION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public OneExpressionCase getOneExpressionCase() {
-    return OneExpressionCase.forNumber(oneExpressionCase_);
+  public OneExpressionCase
+  getOneExpressionCase() {
+    return OneExpressionCase.forNumber(
+        oneExpressionCase_);
   }
 
   public static final int AND_GROUP_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -136,26 +107,21 @@ public boolean hasAndGroup() { return oneExpressionCase_ == 1; } /** - * - * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * * @return The andGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup() { if (oneExpressionCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } /** - * - * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
@@ -163,24 +129,20 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder - getAndGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder() { if (oneExpressionCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } public static final int OR_GROUP_FIELD_NUMBER = 2; /** - * - * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -188,26 +150,21 @@ public boolean hasOrGroup() { return oneExpressionCase_ == 2; } /** - * - * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * * @return The orGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup() { if (oneExpressionCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } /** - * - * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
@@ -215,24 +172,20 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup( * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder - getOrGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder() { if (oneExpressionCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } public static final int NOT_EXPRESSION_FIELD_NUMBER = 3; /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -240,26 +193,21 @@ public boolean hasNotExpression() { return oneExpressionCase_ == 3; } /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * * @return The notExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpression() { if (oneExpressionCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); } /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -267,25 +215,21 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpressio * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder - getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder() { if (oneExpressionCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); } public static final int ACCESS_FILTER_FIELD_NUMBER = 4; /** - * - * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * * @return Whether the accessFilter field is set. */ @java.lang.Override @@ -293,27 +237,22 @@ public boolean hasAccessFilter() { return oneExpressionCase_ == 4; } /** - * - * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * * @return The accessFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() { if (oneExpressionCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance(); } /** - * - * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
@@ -324,13 +263,12 @@ public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() {
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterOrBuilder() {
     if (oneExpressionCase_ == 4) {
-      return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
+       return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
     }
     return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -342,18 +280,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (oneExpressionCase_ == 1) {
-      output.writeMessage(
-          1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      output.writeMessage(1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 2) {
-      output.writeMessage(
-          2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      output.writeMessage(2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 3) {
-      output.writeMessage(
-          3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
+      output.writeMessage(3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
     }
     if (oneExpressionCase_ == 4) {
       output.writeMessage(4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
@@ -368,24 +304,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (oneExpressionCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
     }
     if (oneExpressionCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -395,27 +327,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.AccessFilterExpression other =
-        (com.google.analytics.admin.v1alpha.AccessFilterExpression) obj;
+    com.google.analytics.admin.v1alpha.AccessFilterExpression other = (com.google.analytics.admin.v1alpha.AccessFilterExpression) obj;
 
     if (!getOneExpressionCase().equals(other.getOneExpressionCase())) return false;
     switch (oneExpressionCase_) {
       case 1:
-        if (!getAndGroup().equals(other.getAndGroup())) return false;
+        if (!getAndGroup()
+            .equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getOrGroup().equals(other.getOrGroup())) return false;
+        if (!getOrGroup()
+            .equals(other.getOrGroup())) return false;
         break;
       case 3:
-        if (!getNotExpression().equals(other.getNotExpression())) return false;
+        if (!getNotExpression()
+            .equals(other.getNotExpression())) return false;
         break;
       case 4:
-        if (!getAccessFilter().equals(other.getAccessFilter())) return false;
+        if (!getAccessFilter()
+            .equals(other.getAccessFilter())) return false;
         break;
       case 0:
       default:
@@ -457,104 +392,96 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.analytics.admin.v1alpha.AccessFilterExpression prototype) {
+  public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessFilterExpression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Expresses dimension or metric filters. The fields in the same expression need
    * to be either all dimensions or all metrics.
@@ -562,32 +489,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpression}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessFilterExpression)
       com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessFilterExpression.class,
-              com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessFilterExpression.class, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -610,9 +538,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
     }
 
     @java.lang.Override
@@ -631,11 +559,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessFilterExpression buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessFilterExpression result =
-          new com.google.analytics.admin.v1alpha.AccessFilterExpression(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AccessFilterExpression result = new com.google.analytics.admin.v1alpha.AccessFilterExpression(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -645,20 +570,23 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessFilterExpres
       int from_bitField0_ = bitField0_;
     }
 
-    private void buildPartialOneofs(
-        com.google.analytics.admin.v1alpha.AccessFilterExpression result) {
+    private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessFilterExpression result) {
       result.oneExpressionCase_ = oneExpressionCase_;
       result.oneExpression_ = this.oneExpression_;
-      if (oneExpressionCase_ == 1 && andGroupBuilder_ != null) {
+      if (oneExpressionCase_ == 1 &&
+          andGroupBuilder_ != null) {
         result.oneExpression_ = andGroupBuilder_.build();
       }
-      if (oneExpressionCase_ == 2 && orGroupBuilder_ != null) {
+      if (oneExpressionCase_ == 2 &&
+          orGroupBuilder_ != null) {
         result.oneExpression_ = orGroupBuilder_.build();
       }
-      if (oneExpressionCase_ == 3 && notExpressionBuilder_ != null) {
+      if (oneExpressionCase_ == 3 &&
+          notExpressionBuilder_ != null) {
         result.oneExpression_ = notExpressionBuilder_.build();
       }
-      if (oneExpressionCase_ == 4 && accessFilterBuilder_ != null) {
+      if (oneExpressionCase_ == 4 &&
+          accessFilterBuilder_ != null) {
         result.oneExpression_ = accessFilterBuilder_.build();
       }
     }
@@ -667,39 +595,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccessFilterExpression) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpression) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpression)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -707,33 +634,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilterExpression other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) return this;
       switch (other.getOneExpressionCase()) {
-        case AND_GROUP:
-          {
-            mergeAndGroup(other.getAndGroup());
-            break;
-          }
-        case OR_GROUP:
-          {
-            mergeOrGroup(other.getOrGroup());
-            break;
-          }
-        case NOT_EXPRESSION:
-          {
-            mergeNotExpression(other.getNotExpression());
-            break;
-          }
-        case ACCESS_FILTER:
-          {
-            mergeAccessFilter(other.getAccessFilter());
-            break;
-          }
-        case ONEEXPRESSION_NOT_SET:
-          {
-            break;
-          }
+        case AND_GROUP: {
+          mergeAndGroup(other.getAndGroup());
+          break;
+        }
+        case OR_GROUP: {
+          mergeOrGroup(other.getOrGroup());
+          break;
+        }
+        case NOT_EXPRESSION: {
+          mergeNotExpression(other.getNotExpression());
+          break;
+        }
+        case ACCESS_FILTER: {
+          mergeAccessFilter(other.getAccessFilter());
+          break;
+        }
+        case ONEEXPRESSION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -761,37 +682,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getAndGroupFieldBuilder().getBuilder(), extensionRegistry);
-                oneExpressionCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getOrGroupFieldBuilder().getBuilder(), extensionRegistry);
-                oneExpressionCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getNotExpressionFieldBuilder().getBuilder(), extensionRegistry);
-                oneExpressionCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getAccessFilterFieldBuilder().getBuilder(), extensionRegistry);
-                oneExpressionCase_ = 4;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getAndGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              oneExpressionCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getOrGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              oneExpressionCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getNotExpressionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              oneExpressionCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getAccessFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              oneExpressionCase_ = 4;
+              break;
+            } // case 34
+            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) {
@@ -801,12 +725,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int oneExpressionCase_ = 0;
     private java.lang.Object oneExpression_;
-
-    public OneExpressionCase getOneExpressionCase() {
-      return OneExpressionCase.forNumber(oneExpressionCase_);
+    public OneExpressionCase
+        getOneExpressionCase() {
+      return OneExpressionCase.forNumber(
+          oneExpressionCase_);
     }
 
     public Builder clearOneExpression() {
@@ -819,19 +743,13 @@ public Builder clearOneExpression() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilterExpressionList,
-            com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder,
-            com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>
-        andGroupBuilder_;
+        com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> andGroupBuilder_;
     /**
-     *
-     *
      * 
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -839,14 +757,11 @@ public boolean hasAndGroup() { return oneExpressionCase_ == 1; } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * * @return The andGroup. */ @java.lang.Override @@ -864,16 +779,13 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup } } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ - public Builder setAndGroup( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { + public Builder setAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { if (andGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -887,8 +799,6 @@ public Builder setAndGroup( return this; } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -907,27 +817,18 @@ public Builder setAndGroup( return this; } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ - public Builder mergeAndGroup( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { + public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { if (andGroupBuilder_ == null) { - if (oneExpressionCase_ == 1 - && oneExpression_ - != com.google.analytics.admin.v1alpha.AccessFilterExpressionList - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder( - (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) - oneExpression_) - .mergeFrom(value) - .buildPartial(); + if (oneExpressionCase_ == 1 && + oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) { + oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_) + .mergeFrom(value).buildPartial(); } else { oneExpression_ = value; } @@ -943,8 +844,6 @@ public Builder mergeAndGroup( return this; } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -968,21 +867,16 @@ public Builder clearAndGroup() { return this; } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder - getAndGroupBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder getAndGroupBuilder() { return getAndGroupFieldBuilder().getBuilder(); } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -990,8 +884,7 @@ public Builder clearAndGroup() { * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder - getAndGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder() { if ((oneExpressionCase_ == 1) && (andGroupBuilder_ != null)) { return andGroupBuilder_.getMessageOrBuilder(); } else { @@ -1002,8 +895,6 @@ public Builder clearAndGroup() { } } /** - * - * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -1011,20 +902,14 @@ public Builder clearAndGroup() { * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> getAndGroupFieldBuilder() { if (andGroupBuilder_ == null) { if (!(oneExpressionCase_ == 1)) { - oneExpression_ = - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); + oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } - andGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( + andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_, getParentForChildren(), isClean()); @@ -1036,19 +921,13 @@ public Builder clearAndGroup() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> - orGroupBuilder_; + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> orGroupBuilder_; /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -1056,14 +935,11 @@ public boolean hasOrGroup() { return oneExpressionCase_ == 2; } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * * @return The orGroup. */ @java.lang.Override @@ -1081,8 +957,6 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup( } } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1103,8 +977,6 @@ public Builder setOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpress return this; } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1123,27 +995,18 @@ public Builder setOrGroup( return this; } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ - public Builder mergeOrGroup( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { + public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { if (orGroupBuilder_ == null) { - if (oneExpressionCase_ == 2 - && oneExpression_ - != com.google.analytics.admin.v1alpha.AccessFilterExpressionList - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder( - (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) - oneExpression_) - .mergeFrom(value) - .buildPartial(); + if (oneExpressionCase_ == 2 && + oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) { + oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_) + .mergeFrom(value).buildPartial(); } else { oneExpression_ = value; } @@ -1159,8 +1022,6 @@ public Builder mergeOrGroup( return this; } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1184,21 +1045,16 @@ public Builder clearOrGroup() { return this; } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder - getOrGroupBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder getOrGroupBuilder() { return getOrGroupFieldBuilder().getBuilder(); } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1206,8 +1062,7 @@ public Builder clearOrGroup() { * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder - getOrGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder() { if ((oneExpressionCase_ == 2) && (orGroupBuilder_ != null)) { return orGroupBuilder_.getMessageOrBuilder(); } else { @@ -1218,8 +1073,6 @@ public Builder clearOrGroup() { } } /** - * - * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1227,20 +1080,14 @@ public Builder clearOrGroup() { * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> getOrGroupFieldBuilder() { if (orGroupBuilder_ == null) { if (!(oneExpressionCase_ == 2)) { - oneExpression_ = - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); + oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } - orGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( + orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_, getParentForChildren(), isClean()); @@ -1252,19 +1099,13 @@ public Builder clearOrGroup() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> - notExpressionBuilder_; + com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> notExpressionBuilder_; /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1272,14 +1113,11 @@ public boolean hasNotExpression() { return oneExpressionCase_ == 3; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * * @return The notExpression. */ @java.lang.Override @@ -1297,16 +1135,13 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpressio } } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ - public Builder setNotExpression( - com.google.analytics.admin.v1alpha.AccessFilterExpression value) { + public Builder setNotExpression(com.google.analytics.admin.v1alpha.AccessFilterExpression value) { if (notExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1320,8 +1155,6 @@ public Builder setNotExpression( return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1340,25 +1173,18 @@ public Builder setNotExpression( return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ - public Builder mergeNotExpression( - com.google.analytics.admin.v1alpha.AccessFilterExpression value) { + public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AccessFilterExpression value) { if (notExpressionBuilder_ == null) { - if (oneExpressionCase_ == 3 - && oneExpression_ - != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) { - oneExpression_ = - com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder( - (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_) - .mergeFrom(value) - .buildPartial(); + if (oneExpressionCase_ == 3 && + oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) { + oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder((com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_) + .mergeFrom(value).buildPartial(); } else { oneExpression_ = value; } @@ -1374,8 +1200,6 @@ public Builder mergeNotExpression( return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1399,21 +1223,16 @@ public Builder clearNotExpression() { return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder - getNotExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getNotExpressionBuilder() { return getNotExpressionFieldBuilder().getBuilder(); } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1421,8 +1240,7 @@ public Builder clearNotExpression() { * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder - getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder() { if ((oneExpressionCase_ == 3) && (notExpressionBuilder_ != null)) { return notExpressionBuilder_.getMessageOrBuilder(); } else { @@ -1433,8 +1251,6 @@ public Builder clearNotExpression() { } } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1442,20 +1258,14 @@ public Builder clearNotExpression() { * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> getNotExpressionFieldBuilder() { if (notExpressionBuilder_ == null) { if (!(oneExpressionCase_ == 3)) { - oneExpression_ = - com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); + oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); } - notExpressionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( + notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_, getParentForChildren(), isClean()); @@ -1467,20 +1277,14 @@ public Builder clearNotExpression() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilter, - com.google.analytics.admin.v1alpha.AccessFilter.Builder, - com.google.analytics.admin.v1alpha.AccessFilterOrBuilder> - accessFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessFilter, com.google.analytics.admin.v1alpha.AccessFilter.Builder, com.google.analytics.admin.v1alpha.AccessFilterOrBuilder> accessFilterBuilder_; /** - * - * *
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
      * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * * @return Whether the accessFilter field is set. */ @java.lang.Override @@ -1488,15 +1292,12 @@ public boolean hasAccessFilter() { return oneExpressionCase_ == 4; } /** - * - * *
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
      * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * * @return The accessFilter. */ @java.lang.Override @@ -1514,8 +1315,6 @@ public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() { } } /** - * - * *
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1537,8 +1336,6 @@ public Builder setAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter v
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1558,8 +1355,6 @@ public Builder setAccessFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1569,14 +1364,10 @@ public Builder setAccessFilter(
      */
     public Builder mergeAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter value) {
       if (accessFilterBuilder_ == null) {
-        if (oneExpressionCase_ == 4
-            && oneExpression_
-                != com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) {
-          oneExpression_ =
-              com.google.analytics.admin.v1alpha.AccessFilter.newBuilder(
-                      (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (oneExpressionCase_ == 4 &&
+            oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) {
+          oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_)
+              .mergeFrom(value).buildPartial();
         } else {
           oneExpression_ = value;
         }
@@ -1592,8 +1383,6 @@ public Builder mergeAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1618,8 +1407,6 @@ public Builder clearAccessFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1631,8 +1418,6 @@ public com.google.analytics.admin.v1alpha.AccessFilter.Builder getAccessFilterBu
       return getAccessFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1652,8 +1437,6 @@ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterO
       }
     }
     /**
-     *
-     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1662,19 +1445,14 @@ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterO
      * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilter,
-            com.google.analytics.admin.v1alpha.AccessFilter.Builder,
-            com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessFilter, com.google.analytics.admin.v1alpha.AccessFilter.Builder, com.google.analytics.admin.v1alpha.AccessFilterOrBuilder> 
         getAccessFilterFieldBuilder() {
       if (accessFilterBuilder_ == null) {
         if (!(oneExpressionCase_ == 4)) {
           oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
         }
-        accessFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessFilter,
-                com.google.analytics.admin.v1alpha.AccessFilter.Builder,
-                com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>(
+        accessFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessFilter, com.google.analytics.admin.v1alpha.AccessFilter.Builder, com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_,
                 getParentForChildren(),
                 isClean());
@@ -1684,9 +1462,9 @@ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterO
       onChanged();
       return accessFilterBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1696,12 +1474,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessFilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilterExpression)
   private static final com.google.analytics.admin.v1alpha.AccessFilterExpression DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilterExpression();
   }
@@ -1710,27 +1488,27 @@ public static com.google.analytics.admin.v1alpha.AccessFilterExpression getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AccessFilterExpression 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AccessFilterExpression 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;
@@ -1745,4 +1523,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.AccessFilterExpression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
similarity index 69%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
index a1589b3282e5..b6695220bb08 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
@@ -1,79 +1,57 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * A list of filter expressions.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpressionList} */ -public final class AccessFilterExpressionList extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessFilterExpressionList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilterExpressionList) AccessFilterExpressionListOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessFilterExpressionList.newBuilder() to construct. private AccessFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessFilterExpressionList() { expressions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessFilterExpressionList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); } public static final int EXPRESSIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List expressions_; /** - * - * *
    * A list of filter expressions.
    * 
@@ -81,13 +59,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ @java.lang.Override - public java.util.List - getExpressionsList() { + public java.util.List getExpressionsList() { return expressions_; } /** - * - * *
    * A list of filter expressions.
    * 
@@ -95,14 +70,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + public java.util.List getExpressionsOrBuilderList() { return expressions_; } /** - * - * *
    * A list of filter expressions.
    * 
@@ -114,8 +86,6 @@ public int getExpressionsCount() { return expressions_.size(); } /** - * - * *
    * A list of filter expressions.
    * 
@@ -127,8 +97,6 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions( return expressions_.get(index); } /** - * - * *
    * A list of filter expressions.
    * 
@@ -142,7 +110,6 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExp } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < expressions_.size(); i++) { output.writeMessage(1, expressions_.get(i)); } @@ -168,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < expressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, expressions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, expressions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessFilterExpressionList other = - (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) obj; + com.google.analytics.admin.v1alpha.AccessFilterExpressionList other = (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) obj; - if (!getExpressionsList().equals(other.getExpressionsList())) return false; + if (!getExpressionsList() + .equals(other.getExpressionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -208,136 +177,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessFilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A list of filter expressions.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpressionList} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessFilterExpressionList) com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -353,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionList - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } @@ -375,18 +336,14 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpressionList buildPartial() { - com.google.analytics.admin.v1alpha.AccessFilterExpressionList result = - new com.google.analytics.admin.v1alpha.AccessFilterExpressionList(this); + com.google.analytics.admin.v1alpha.AccessFilterExpressionList result = new com.google.analytics.admin.v1alpha.AccessFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { if (expressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { expressions_ = java.util.Collections.unmodifiableList(expressions_); @@ -398,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -407,39 +363,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessFilterExpressionList) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpressionList)other); } else { super.mergeFrom(other); return this; @@ -447,9 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilterExpressionList other) { - if (other - == com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) return this; if (expressionsBuilder_ == null) { if (!other.expressions_.isEmpty()) { if (expressions_.isEmpty()) { @@ -468,10 +421,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilterExpressi expressionsBuilder_ = null; expressions_ = other.expressions_; bitField0_ = (bitField0_ & ~0x00000001); - expressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExpressionsFieldBuilder() - : null; + expressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExpressionsFieldBuilder() : null; } else { expressionsBuilder_.addAllMessages(other.expressions_); } @@ -503,27 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.AccessFilterExpression m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessFilterExpression.parser(), - extensionRegistry); - if (expressionsBuilder_ == null) { - ensureExpressionsIsMutable(); - expressions_.add(m); - } else { - expressionsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.analytics.admin.v1alpha.AccessFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessFilterExpression.parser(), + extensionRegistry); + if (expressionsBuilder_ == null) { + ensureExpressionsIsMutable(); + expressions_.add(m); + } else { + expressionsBuilder_.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) { @@ -533,38 +483,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List expressions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureExpressionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - expressions_ = - new java.util.ArrayList( - expressions_); + expressions_ = new java.util.ArrayList(expressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> - expressionsBuilder_; + com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> expressionsBuilder_; /** - * - * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public java.util.List - getExpressionsList() { + public java.util.List getExpressionsList() { if (expressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(expressions_); } else { @@ -572,8 +512,6 @@ private void ensureExpressionsIsMutable() { } } /** - * - * *
      * A list of filter expressions.
      * 
@@ -588,8 +526,6 @@ public int getExpressionsCount() { } } /** - * - * *
      * A list of filter expressions.
      * 
@@ -604,8 +540,6 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions( } } /** - * - * *
      * A list of filter expressions.
      * 
@@ -627,8 +561,6 @@ public Builder setExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -636,8 +568,7 @@ public Builder setExpressions( * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ public Builder setExpressions( - int index, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); expressions_.set(index, builderForValue.build()); @@ -648,8 +579,6 @@ public Builder setExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -670,8 +599,6 @@ public Builder addExpressions(com.google.analytics.admin.v1alpha.AccessFilterExp return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -693,8 +620,6 @@ public Builder addExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -713,8 +638,6 @@ public Builder addExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -722,8 +645,7 @@ public Builder addExpressions( * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ public Builder addExpressions( - int index, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); expressions_.add(index, builderForValue.build()); @@ -734,8 +656,6 @@ public Builder addExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -743,11 +663,11 @@ public Builder addExpressions( * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ public Builder addAllExpressions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, expressions_); onChanged(); } else { expressionsBuilder_.addAllMessages(values); @@ -755,8 +675,6 @@ public Builder addAllExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -774,8 +692,6 @@ public Builder clearExpressions() { return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -793,8 +709,6 @@ public Builder removeExpressions(int index) { return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -806,34 +720,28 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getExpr return getExpressionsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder - getExpressionsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExpressionsOrBuilder( + int index) { if (expressionsBuilder_ == null) { - return expressions_.get(index); - } else { + return expressions_.get(index); } else { return expressionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> - getExpressionsOrBuilderList() { + public java.util.List + getExpressionsOrBuilderList() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilderList(); } else { @@ -841,23 +749,17 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getExpr } } /** - * - * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder - addExpressionsBuilder() { - return getExpressionsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder addExpressionsBuilder() { + return getExpressionsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); } /** - * - * *
      * A list of filter expressions.
      * 
@@ -866,44 +768,37 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getExpr */ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder addExpressionsBuilder( int index) { - return getExpressionsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); + return getExpressionsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); } /** - * - * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public java.util.List - getExpressionsBuilderList() { + public java.util.List + getExpressionsBuilderList() { return getExpressionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, - com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( - expressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + expressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( + expressions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); expressions_ = null; } return expressionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -913,13 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessFilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilterExpressionList) - private static final com.google.analytics.admin.v1alpha.AccessFilterExpressionList - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AccessFilterExpressionList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilterExpressionList(); } @@ -928,27 +822,27 @@ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessFilterExpressionList 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessFilterExpressionList 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; @@ -963,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java index 6b63116453ed..1884ca7aaaaf 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessFilterExpressionListOrBuilder - extends +public interface AccessFilterExpressionListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilterExpressionList) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - java.util.List getExpressionsList(); + java.util.List + getExpressionsList(); /** - * - * *
    * A list of filter expressions.
    * 
@@ -44,8 +25,6 @@ public interface AccessFilterExpressionListOrBuilder */ com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions(int index); /** - * - * *
    * A list of filter expressions.
    * 
@@ -54,19 +33,15 @@ public interface AccessFilterExpressionListOrBuilder */ int getExpressionsCount(); /** - * - * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - java.util.List + java.util.List getExpressionsOrBuilderList(); /** - * - * *
    * A list of filter expressions.
    * 
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java similarity index 82% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java index a0186112ff7c..b07903300531 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessFilterExpressionOrBuilder - extends +public interface AccessFilterExpressionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilterExpression) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ boolean hasAndGroup(); /** - * - * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * * @return The andGroup. */ com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup(); /** - * - * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
@@ -59,32 +35,24 @@ public interface AccessFilterExpressionOrBuilder com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder(); /** - * - * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** - * - * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * * @return The orGroup. */ com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup(); /** - * - * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
@@ -94,32 +62,24 @@ public interface AccessFilterExpressionOrBuilder com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder(); /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * * @return The notExpression. */ com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpression(); /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -129,34 +89,26 @@ public interface AccessFilterExpressionOrBuilder com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder(); /** - * - * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * * @return Whether the accessFilter field is set. */ boolean hasAccessFilter(); /** - * - * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * * @return The accessFilter. */ com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter(); /** - * - * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
@@ -166,6 +118,5 @@ public interface AccessFilterExpressionOrBuilder
    */
   com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterOrBuilder();
 
-  public com.google.analytics.admin.v1alpha.AccessFilterExpression.OneExpressionCase
-      getOneExpressionCase();
+  public com.google.analytics.admin.v1alpha.AccessFilterExpression.OneExpressionCase getOneExpressionCase();
 }
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
similarity index 81%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
index 476b29c22501..16f6e4d99fb8 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface AccessFilterOrBuilder
-    extends
+public interface AccessFilterOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * * @return Whether the stringFilter field is set. */ boolean hasStringFilter(); /** - * - * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * * @return The stringFilter. */ com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter(); /** - * - * *
    * Strings related filter.
    * 
@@ -59,32 +35,24 @@ public interface AccessFilterOrBuilder com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder(); /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * * @return Whether the inListFilter field is set. */ boolean hasInListFilter(); /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * * @return The inListFilter. */ com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter(); /** - * - * *
    * A filter for in list values.
    * 
@@ -94,32 +62,24 @@ public interface AccessFilterOrBuilder com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder(); /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * * @return Whether the numericFilter field is set. */ boolean hasNumericFilter(); /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * * @return The numericFilter. */ com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter(); /** - * - * *
    * A filter for numeric or date values.
    * 
@@ -129,32 +89,24 @@ public interface AccessFilterOrBuilder com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumericFilterOrBuilder(); /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * * @return Whether the betweenFilter field is set. */ boolean hasBetweenFilter(); /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * * @return The betweenFilter. */ com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter(); /** - * - * *
    * A filter for two values.
    * 
@@ -164,29 +116,24 @@ public interface AccessFilterOrBuilder com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder(); /** - * - * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; - * * @return The fieldName. */ java.lang.String getFieldName(); /** - * - * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; - * * @return The bytes for fieldName. */ - com.google.protobuf.ByteString getFieldNameBytes(); + com.google.protobuf.ByteString + getFieldNameBytes(); public com.google.analytics.admin.v1alpha.AccessFilter.OneFilterCase getOneFilterCase(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java index d9d56345462e..14d5826099ff 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java @@ -1,113 +1,85 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The result needs to be in a list of string values.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessInListFilter} */ -public final class AccessInListFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessInListFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessInListFilter) AccessInListFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessInListFilter.newBuilder() to construct. private AccessInListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessInListFilter() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessInListFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessInListFilter.class, - com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessInListFilter.class, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList values_; /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_; } /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -115,32 +87,27 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } public static final int CASE_SENSITIVE_FIELD_NUMBER = 2; private boolean caseSensitive_ = false; /** - * - * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 2; - * * @return The caseSensitive. */ @java.lang.Override @@ -149,7 +116,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,7 +127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -186,7 +153,8 @@ public int getSerializedSize() { size += 1 * getValuesList().size(); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -196,16 +164,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessInListFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessInListFilter other = - (com.google.analytics.admin.v1alpha.AccessInListFilter) obj; + com.google.analytics.admin.v1alpha.AccessInListFilter other = (com.google.analytics.admin.v1alpha.AccessInListFilter) obj; - if (!getValuesList().equals(other.getValuesList())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (getCaseSensitive() + != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,143 +191,137 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessInListFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessInListFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The result needs to be in a list of string values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessInListFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessInListFilter) com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessInListFilter.class, - com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessInListFilter.class, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessInListFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; } @java.lang.Override @@ -391,18 +354,14 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessInListFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessInListFilter result = - new com.google.analytics.admin.v1alpha.AccessInListFilter(this); + com.google.analytics.admin.v1alpha.AccessInListFilter result = new com.google.analytics.admin.v1alpha.AccessInListFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.AccessInListFilter result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AccessInListFilter result) { if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -421,39 +380,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessInListFilter public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessInListFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessInListFilter) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessInListFilter)other); } else { super.mergeFrom(other); return this; @@ -461,8 +419,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessInListFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -502,26 +459,23 @@ public Builder mergeFrom( 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: + 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) { @@ -531,55 +485,44 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList values_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_.getUnmodifiableView(); } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -587,90 +530,76 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues(java.lang.Iterable values) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); return this; } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @return This builder for chaining. */ public Builder clearValues() { @@ -680,21 +609,17 @@ public Builder clearValues() { return this; } /** - * - * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; - * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -702,16 +627,13 @@ public Builder addValuesBytes(com.google.protobuf.ByteString value) { return this; } - private boolean caseSensitive_; + private boolean caseSensitive_ ; /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; - * * @return The caseSensitive. */ @java.lang.Override @@ -719,33 +641,27 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; - * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; - * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -754,9 +670,9 @@ public Builder clearCaseSensitive() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +682,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessInListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessInListFilter) private static final com.google.analytics.admin.v1alpha.AccessInListFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessInListFilter(); } @@ -780,27 +696,27 @@ public static com.google.analytics.admin.v1alpha.AccessInListFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessInListFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessInListFilter 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; @@ -815,4 +731,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessInListFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java index 5d6d298f8ad6..7bf9ab5ed1ba 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessInListFilterOrBuilder - extends +public interface AccessInListFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessInListFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @return The count of values. */ int getValuesCount(); /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** - * - * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString getValuesBytes(int index); + com.google.protobuf.ByteString + getValuesBytes(int index); /** - * - * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 2; - * * @return The caseSensitive. */ boolean getCaseSensitive(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java index 53305427aec4..5d1d792e7219 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The quantitative measurements of a report. For example, the metric
  * `accessCount` is the total number of data access records.
@@ -28,53 +11,48 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetric}
  */
-public final class AccessMetric extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccessMetric extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetric)
     AccessMetricOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccessMetric.newBuilder() to construct.
   private AccessMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AccessMetric() {
     metricName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccessMetric();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessMetric.class,
-            com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessMetric.class, com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
   }
 
   public static final int METRIC_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object metricName_ = "";
   /**
-   *
-   *
    * 
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string metric_name = 1; - * * @return The metricName. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** - * - * *
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -109,15 +85,16 @@ public java.lang.String getMetricName() {
    * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -126,7 +103,6 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +114,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -162,15 +139,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessMetric other = - (com.google.analytics.admin.v1alpha.AccessMetric) obj; + com.google.analytics.admin.v1alpha.AccessMetric other = (com.google.analytics.admin.v1alpha.AccessMetric) obj; - if (!getMetricName().equals(other.getMetricName())) return false; + if (!getMetricName() + .equals(other.getMetricName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,104 +166,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessMetric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessMetric parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The quantitative measurements of a report. For example, the metric
    * `accessCount` is the total number of data access records.
@@ -294,32 +264,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetric}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessMetric)
       com.google.analytics.admin.v1alpha.AccessMetricOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessMetric.class,
-              com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessMetric.class, com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessMetric.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -329,9 +300,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
     }
 
     @java.lang.Override
@@ -350,11 +321,8 @@ public com.google.analytics.admin.v1alpha.AccessMetric build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessMetric buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessMetric result =
-          new com.google.analytics.admin.v1alpha.AccessMetric(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AccessMetric result = new com.google.analytics.admin.v1alpha.AccessMetric(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -370,39 +338,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessMetric resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccessMetric) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetric) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetric)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -410,8 +377,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessMetric other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance()) return this;
       if (!other.getMetricName().isEmpty()) {
         metricName_ = other.metricName_;
         bitField0_ |= 0x00000001;
@@ -443,19 +409,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                metricName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              metricName_ = 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) {
@@ -465,13 +429,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object metricName_ = "";
     /**
-     *
-     *
      * 
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -480,13 +441,13 @@ public Builder mergeFrom(
      * 
* * string metric_name = 1; - * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -495,8 +456,6 @@ public java.lang.String getMetricName() { } } /** - * - * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -505,14 +464,15 @@ public java.lang.String getMetricName() {
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -520,8 +480,6 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } } /** - * - * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -530,22 +488,18 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
      * 
* * string metric_name = 1; - * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetricName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -554,7 +508,6 @@ public Builder setMetricName(java.lang.String value) {
      * 
* * string metric_name = 1; - * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -564,8 +517,6 @@ public Builder clearMetricName() { return this; } /** - * - * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -574,23 +525,21 @@ public Builder clearMetricName() {
      * 
* * string metric_name = 1; - * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetricNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetric) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetric) private static final com.google.analytics.admin.v1alpha.AccessMetric DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetric(); } @@ -614,27 +563,27 @@ public static com.google.analytics.admin.v1alpha.AccessMetric getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessMetric 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessMetric 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; @@ -649,4 +598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java index ef6ac675002d..de2c87200324 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Describes a metric column in the report. Visible metrics requested in a
  * report produce column entries within rows and MetricHeaders. However,
@@ -30,59 +13,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricHeader}
  */
-public final class AccessMetricHeader extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccessMetricHeader extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetricHeader)
     AccessMetricHeaderOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccessMetricHeader.newBuilder() to construct.
   private AccessMetricHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AccessMetricHeader() {
     metricName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccessMetricHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessMetricHeader.class,
-            com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessMetricHeader.class, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
   }
 
   public static final int METRIC_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object metricName_ = "";
   /**
-   *
-   *
    * 
    * The metric's name; for example 'accessCount'.
    * 
* * string metric_name = 1; - * * @return The metricName. */ @java.lang.Override @@ -91,29 +68,29 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** - * - * *
    * The metric's name; for example 'accessCount'.
    * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -122,7 +99,6 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -158,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetricHeader)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessMetricHeader other = - (com.google.analytics.admin.v1alpha.AccessMetricHeader) obj; + com.google.analytics.admin.v1alpha.AccessMetricHeader other = (com.google.analytics.admin.v1alpha.AccessMetricHeader) obj; - if (!getMetricName().equals(other.getMetricName())) return false; + if (!getMetricName() + .equals(other.getMetricName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +163,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessMetricHeader prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessMetricHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Describes a metric column in the report. Visible metrics requested in a
    * report produce column entries within rows and MetricHeaders. However,
@@ -293,32 +262,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricHeader}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessMetricHeader)
       com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessMetricHeader.class,
-              com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessMetricHeader.class, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessMetricHeader.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,9 +298,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
     }
 
     @java.lang.Override
@@ -349,11 +319,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessMetricHeader buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessMetricHeader result =
-          new com.google.analytics.admin.v1alpha.AccessMetricHeader(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AccessMetricHeader result = new com.google.analytics.admin.v1alpha.AccessMetricHeader(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -369,39 +336,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessMetricHeader
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccessMetricHeader) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricHeader) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricHeader)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -409,8 +375,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessMetricHeader other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance()) return this;
       if (!other.getMetricName().isEmpty()) {
         metricName_ = other.metricName_;
         bitField0_ |= 0x00000001;
@@ -442,19 +407,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                metricName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              metricName_ = 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) {
@@ -464,25 +427,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object metricName_ = "";
     /**
-     *
-     *
      * 
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; - * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -491,21 +451,20 @@ public java.lang.String getMetricName() { } } /** - * - * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -513,35 +472,28 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } } /** - * - * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; - * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetricName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; - * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -551,30 +503,26 @@ public Builder clearMetricName() { return this; } /** - * - * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; - * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetricNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -584,12 +532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetricHeader) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetricHeader) private static final com.google.analytics.admin.v1alpha.AccessMetricHeader DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetricHeader(); } @@ -598,27 +546,27 @@ public static com.google.analytics.admin.v1alpha.AccessMetricHeader getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessMetricHeader 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessMetricHeader 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; @@ -633,4 +581,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessMetricHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java new file mode 100644 index 000000000000..662526fc300a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessMetricHeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricHeader) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The metric's name; for example 'accessCount'.
+   * 
+ * + * string metric_name = 1; + * @return The metricName. + */ + java.lang.String getMetricName(); + /** + *
+   * The metric's name; for example 'accessCount'.
+   * 
+ * + * string metric_name = 1; + * @return The bytes for metricName. + */ + com.google.protobuf.ByteString + getMetricNameBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java index 1bca388890ed..998619c47c06 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessMetricOrBuilder - extends +public interface AccessMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetric) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -34,13 +16,10 @@ public interface AccessMetricOrBuilder
    * 
* * string metric_name = 1; - * * @return The metricName. */ java.lang.String getMetricName(); /** - * - * *
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -49,8 +28,8 @@ public interface AccessMetricOrBuilder
    * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - com.google.protobuf.ByteString getMetricNameBytes(); + com.google.protobuf.ByteString + getMetricNameBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java index a10f205c959b..2bdffbef8745 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java @@ -1,85 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The value of a metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricValue} */ -public final class AccessMetricValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessMetricValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetricValue) AccessMetricValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessMetricValue.newBuilder() to construct. private AccessMetricValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessMetricValue() { value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessMetricValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessMetricValue.class, - com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessMetricValue.class, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** - * - * *
    * The measurement value. For example, this value may be '13'.
    * 
* * string value = 1; - * * @return The value. */ @java.lang.Override @@ -88,29 +65,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * The measurement value. For example, this value may be '13'.
    * 
* * string value = 1; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetricValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessMetricValue other = - (com.google.analytics.admin.v1alpha.AccessMetricValue) obj; + com.google.analytics.admin.v1alpha.AccessMetricValue other = (com.google.analytics.admin.v1alpha.AccessMetricValue) obj; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,135 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessMetricValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The value of a metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessMetricValue) com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessMetricValue.class, - com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessMetricValue.class, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessMetricValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; } @java.lang.Override @@ -342,11 +313,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessMetricValue buildPartial() { - com.google.analytics.admin.v1alpha.AccessMetricValue result = - new com.google.analytics.admin.v1alpha.AccessMetricValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessMetricValue result = new com.google.analytics.admin.v1alpha.AccessMetricValue(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +330,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessMetricValue public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessMetricValue) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricValue) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricValue)other); } else { super.mergeFrom(other); return this; @@ -402,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessMetricValue other) { - if (other == com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance()) return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -435,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + value_ = 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) { @@ -457,25 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object value_ = ""; /** - * - * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -484,21 +445,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -506,35 +466,28 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -544,30 +497,26 @@ public Builder clearValue() { return this; } /** - * - * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -577,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetricValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetricValue) private static final com.google.analytics.admin.v1alpha.AccessMetricValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetricValue(); } @@ -591,27 +540,27 @@ public static com.google.analytics.admin.v1alpha.AccessMetricValue getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessMetricValue 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessMetricValue 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; @@ -626,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessMetricValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java new file mode 100644 index 000000000000..cbb334eee0fb --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessMetricValueOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricValue) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The measurement value. For example, this value may be '13'.
+   * 
+ * + * string value = 1; + * @return The value. + */ + java.lang.String getValue(); + /** + *
+   * The measurement value. For example, this value may be '13'.
+   * 
+ * + * string value = 1; + * @return The bytes for value. + */ + com.google.protobuf.ByteString + getValueBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java index f8993cded9d0..d1233fc057bb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Filters for numeric or date values.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessNumericFilter} */ -public final class AccessNumericFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessNumericFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessNumericFilter) AccessNumericFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessNumericFilter.newBuilder() to construct. private AccessNumericFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessNumericFilter() { operation_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessNumericFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessNumericFilter.class, - com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessNumericFilter.class, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); } /** - * - * *
    * The operation applied to a numeric filter.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AccessNumericFilter.Operation} */ - public enum Operation implements com.google.protobuf.ProtocolMessageEnum { + public enum Operation + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -88,8 +66,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_UNSPECIFIED(0), /** - * - * *
      * Equal
      * 
@@ -98,8 +74,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ EQUAL(1), /** - * - * *
      * Less than
      * 
@@ -108,8 +82,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ LESS_THAN(2), /** - * - * *
      * Less than or equal
      * 
@@ -118,8 +90,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ LESS_THAN_OR_EQUAL(3), /** - * - * *
      * Greater than
      * 
@@ -128,8 +98,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ GREATER_THAN(4), /** - * - * *
      * Greater than or equal
      * 
@@ -141,8 +109,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -151,8 +117,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Equal
      * 
@@ -161,8 +125,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EQUAL_VALUE = 1; /** - * - * *
      * Less than
      * 
@@ -171,8 +133,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LESS_THAN_VALUE = 2; /** - * - * *
      * Less than or equal
      * 
@@ -181,8 +141,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LESS_THAN_OR_EQUAL_VALUE = 3; /** - * - * *
      * Greater than
      * 
@@ -191,8 +149,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GREATER_THAN_VALUE = 4; /** - * - * *
      * Greater than or equal
      * 
@@ -201,6 +157,7 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GREATER_THAN_OR_EQUAL_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -225,57 +182,52 @@ public static Operation valueOf(int value) { */ public static Operation forNumber(int value) { switch (value) { - case 0: - return OPERATION_UNSPECIFIED; - case 1: - return EQUAL; - case 2: - return LESS_THAN; - case 3: - return LESS_THAN_OR_EQUAL; - case 4: - return GREATER_THAN; - case 5: - return GREATER_THAN_OR_EQUAL; - default: - return null; + case 0: return OPERATION_UNSPECIFIED; + case 1: return EQUAL; + case 2: return LESS_THAN; + case 3: return LESS_THAN_OR_EQUAL; + case 4: return GREATER_THAN; + case 5: return GREATER_THAN_OR_EQUAL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Operation> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operation findValueByNumber(int number) { + return Operation.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operation findValueByNumber(int number) { - return Operation.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDescriptor().getEnumTypes().get(0); } private static final Operation[] VALUES = values(); - public static Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operation valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -295,51 +247,37 @@ private Operation(int value) { public static final int OPERATION_FIELD_NUMBER = 1; private int operation_ = 0; /** - * - * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override - public int getOperationValue() { + @java.lang.Override public int getOperationValue() { return operation_; } /** - * - * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @return The operation. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() { - com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = - com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); - return result == null - ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() { + com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); + return result == null ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.NumericValue value_; /** - * - * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -347,25 +285,18 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; - * * @return The value. */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue getValue() { - return value_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; } /** - * - * *
    * A numeric value or a date value.
    * 
@@ -374,13 +305,10 @@ public com.google.analytics.admin.v1alpha.NumericValue getValue() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilder() { - return value_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,10 +320,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (operation_ - != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (operation_ != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { output.writeEnum(1, operation_); } if (value_ != null) { @@ -410,13 +337,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operation_ - != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_); + if (operation_ != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, operation_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -426,18 +353,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessNumericFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessNumericFilter other = - (com.google.analytics.admin.v1alpha.AccessNumericFilter) obj; + com.google.analytics.admin.v1alpha.AccessNumericFilter other = (com.google.analytics.admin.v1alpha.AccessNumericFilter) obj; if (operation_ != other.operation_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -462,136 +389,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessNumericFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessNumericFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Filters for numeric or date values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessNumericFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessNumericFilter) com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessNumericFilter.class, - com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessNumericFilter.class, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessNumericFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -606,9 +526,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; } @java.lang.Override @@ -627,11 +547,8 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessNumericFilter result = - new com.google.analytics.admin.v1alpha.AccessNumericFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessNumericFilter result = new com.google.analytics.admin.v1alpha.AccessNumericFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -642,7 +559,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessNumericFilte result.operation_ = operation_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); } } @@ -650,39 +569,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessNumericFilte public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessNumericFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessNumericFilter) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessNumericFilter)other); } else { super.mergeFrom(other); return this; @@ -690,8 +608,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessNumericFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) return this; if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } @@ -724,25 +641,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - operation_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + operation_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getValueFieldBuilder().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) { @@ -752,34 +668,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int operation_ = 0; /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override - public int getOperationValue() { + @java.lang.Override public int getOperationValue() { return operation_; } /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ @@ -790,38 +698,28 @@ public Builder setOperationValue(int value) { return this; } /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @return The operation. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() { - com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = - com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); - return result == null - ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); + return result == null ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED : result; } /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation( - com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation value) { + public Builder setOperation(com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation value) { if (value == null) { throw new NullPointerException(); } @@ -831,14 +729,11 @@ public Builder setOperation( return this; } /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @return This builder for chaining. */ public Builder clearOperation() { @@ -850,47 +745,34 @@ public Builder clearOperation() { private com.google.analytics.admin.v1alpha.NumericValue value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder> - valueBuilder_; + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> valueBuilder_; /** - * - * *
      * A numeric value or a date value.
      * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * A numeric value or a date value.
      * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; - * * @return The value. */ public com.google.analytics.admin.v1alpha.NumericValue getValue() { if (valueBuilder_ == null) { - return value_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -911,8 +793,6 @@ public Builder setValue(com.google.analytics.admin.v1alpha.NumericValue value) { return this; } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -931,8 +811,6 @@ public Builder setValue( return this; } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -941,9 +819,9 @@ public Builder setValue( */ public Builder mergeValue(com.google.analytics.admin.v1alpha.NumericValue value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && value_ != null - && value_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + value_ != null && + value_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -956,8 +834,6 @@ public Builder mergeValue(com.google.analytics.admin.v1alpha.NumericValue value) return this; } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -975,8 +851,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -989,8 +863,6 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getValueBuilder() return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -1001,14 +873,11 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilde if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null - ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() - : value_; + return value_ == null ? + com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; } } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -1016,24 +885,21 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilde * .google.analytics.admin.v1alpha.NumericValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, - com.google.analytics.admin.v1alpha.NumericValue.Builder, - com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +909,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessNumericFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessNumericFilter) private static final com.google.analytics.admin.v1alpha.AccessNumericFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessNumericFilter(); } @@ -1057,27 +923,27 @@ public static com.google.analytics.admin.v1alpha.AccessNumericFilter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessNumericFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessNumericFilter 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; @@ -1092,4 +958,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessNumericFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java index 6b0de81d27d6..f58677ada113 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java @@ -1,80 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessNumericFilterOrBuilder - extends +public interface AccessNumericFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessNumericFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** - * - * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * * @return The operation. */ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation(); /** - * - * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; - * * @return The value. */ com.google.analytics.admin.v1alpha.NumericValue getValue(); /** - * - * *
    * A numeric value or a date value.
    * 
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java index 8fc0abfa5c79..0f2203529f60 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Order bys define how rows will be sorted in the response. For example,
  * ordering rows by descending access count is one ordering, and ordering rows
@@ -29,136 +12,121 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy}
  */
-public final class AccessOrderBy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccessOrderBy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy)
     AccessOrderByOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccessOrderBy.newBuilder() to construct.
   private AccessOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AccessOrderBy() {}
+  private AccessOrderBy() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccessOrderBy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessOrderBy.class,
-            com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
   }
 
-  public interface MetricOrderByOrBuilder
-      extends
+  public interface MetricOrderByOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The metricName. */ java.lang.String getMetricName(); /** - * - * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - com.google.protobuf.ByteString getMetricNameBytes(); + com.google.protobuf.ByteString + getMetricNameBytes(); } /** - * - * *
    * Sorts by metric values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy} */ - public static final class MetricOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MetricOrderBy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) MetricOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricOrderBy.newBuilder() to construct. private MetricOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MetricOrderBy() { metricName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MetricOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); } public static final int METRIC_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object metricName_ = ""; /** - * - * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The metricName. */ @java.lang.Override @@ -167,29 +135,29 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** - * - * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -198,7 +166,6 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -234,15 +202,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other = - (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) obj; + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other = (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) obj; - if (!getMetricName().equals(other.getMetricName())) return false; + if (!getMetricName() + .equals(other.getMetricName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,94 +230,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -359,41 +320,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sorts by metric values.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,14 +362,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } @@ -425,17 +383,13 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy buildPartial() { - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result = - new com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result = new com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.metricName_ = metricName_; @@ -446,52 +400,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other) { - if (other - == com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other) { + if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance()) return this; if (!other.getMetricName().isEmpty()) { metricName_ = other.metricName_; bitField0_ |= 0x00000001; @@ -523,19 +471,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - metricName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + metricName_ = 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) { @@ -545,25 +491,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object metricName_ = ""; /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -572,21 +515,20 @@ public java.lang.String getMetricName() { } } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -594,35 +536,28 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetricName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -632,28 +567,23 @@ public Builder clearMetricName() { return this; } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetricNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -666,44 +596,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) - private static final com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy(); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -715,90 +642,71 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DimensionOrderByOrBuilder - extends + public interface DimensionOrderByOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ java.lang.String getDimensionName(); /** - * - * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString getDimensionNameBytes(); + com.google.protobuf.ByteString + getDimensionNameBytes(); /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The enum numeric value on the wire for orderType. */ int getOrderTypeValue(); /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The orderType. */ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType getOrderType(); } /** - * - * *
    * Sorts by dimension values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy} */ - public static final class DimensionOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DimensionOrderBy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) DimensionOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DimensionOrderBy.newBuilder() to construct. private DimensionOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DimensionOrderBy() { dimensionName_ = ""; orderType_ = 0; @@ -806,43 +714,39 @@ private DimensionOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DimensionOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); } /** - * - * *
      * Rule to order the string dimension values by.
      * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType} */ - public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { + public enum OrderType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -851,8 +755,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { */ ORDER_TYPE_UNSPECIFIED(0), /** - * - * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -862,8 +764,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       ALPHANUMERIC(1),
       /**
-       *
-       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -873,8 +773,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       CASE_INSENSITIVE_ALPHANUMERIC(2),
       /**
-       *
-       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -889,8 +787,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified.
        * 
@@ -899,8 +795,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORDER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -910,8 +804,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ALPHANUMERIC_VALUE = 1;
       /**
-       *
-       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -921,8 +813,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CASE_INSENSITIVE_ALPHANUMERIC_VALUE = 2;
       /**
-       *
-       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -934,6 +824,7 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NUMERIC_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -958,53 +849,50 @@ public static OrderType valueOf(int value) {
        */
       public static OrderType forNumber(int value) {
         switch (value) {
-          case 0:
-            return ORDER_TYPE_UNSPECIFIED;
-          case 1:
-            return ALPHANUMERIC;
-          case 2:
-            return CASE_INSENSITIVE_ALPHANUMERIC;
-          case 3:
-            return NUMERIC;
-          default:
-            return null;
+          case 0: return ORDER_TYPE_UNSPECIFIED;
+          case 1: return ALPHANUMERIC;
+          case 2: return CASE_INSENSITIVE_ALPHANUMERIC;
+          case 3: return NUMERIC;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          OrderType> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public OrderType findValueByNumber(int number) {
+                return OrderType.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public OrderType findValueByNumber(int number) {
-              return OrderType.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final OrderType[] VALUES = values();
 
-      public static OrderType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OrderType valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -1022,18 +910,14 @@ private OrderType(int value) {
     }
 
     public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object dimensionName_ = "";
     /**
-     *
-     *
      * 
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ @java.lang.Override @@ -1042,29 +926,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** - * - * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -1075,48 +959,30 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { public static final int ORDER_TYPE_FIELD_NUMBER = 2; private int orderType_ = 0; /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override - public int getOrderTypeValue() { + @java.lang.Override public int getOrderTypeValue() { return orderType_; } /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The orderType. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType - getOrderType() { - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber( - orderType_); - return result == null - ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType getOrderType() { + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber(orderType_); + return result == null ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1128,14 +994,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } - if (orderType_ - != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType - .ORDER_TYPE_UNSPECIFIED - .getNumber()) { + if (orderType_ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, orderType_); } getUnknownFields().writeTo(output); @@ -1150,11 +1014,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_); } - if (orderType_ - != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType - .ORDER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, orderType_); + if (orderType_ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, orderType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1164,15 +1026,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other = - (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) obj; + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other = (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) obj; - if (!getDimensionName().equals(other.getDimensionName())) return false; + if (!getDimensionName() + .equals(other.getDimensionName())) return false; if (orderType_ != other.orderType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1195,95 +1057,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1293,42 +1147,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sorts by dimension values.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1339,16 +1190,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } @java.lang.Override @@ -1362,17 +1211,13 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy build() @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy buildPartial() { - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result = - new com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result = new com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dimensionName_ = dimensionName_; @@ -1386,53 +1231,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other) { - if (other - == com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other) { + if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance()) return this; if (!other.getDimensionName().isEmpty()) { dimensionName_ = other.dimensionName_; bitField0_ |= 0x00000001; @@ -1467,25 +1305,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - dimensionName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - orderType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + dimensionName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + orderType_ = input.readEnum(); + 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) { @@ -1495,25 +1330,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object dimensionName_ = ""; /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -1522,21 +1354,20 @@ public java.lang.String getDimensionName() { } } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -1544,35 +1375,28 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimensionName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -1582,21 +1406,17 @@ public Builder clearDimensionName() { return this; } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDimensionNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dimensionName_ = value; bitField0_ |= 0x00000001; @@ -1606,33 +1426,22 @@ public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { private int orderType_ = 0; /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override - public int getOrderTypeValue() { + @java.lang.Override public int getOrderTypeValue() { return orderType_; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @param value The enum numeric value on the wire for orderType to set. * @return This builder for chaining. */ @@ -1643,45 +1452,28 @@ public Builder setOrderTypeValue(int value) { return this; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The orderType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType - getOrderType() { - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber( - orderType_); - return result == null - ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType - .UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType getOrderType() { + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber(orderType_); + return result == null ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @param value The orderType to set. * @return This builder for chaining. */ - public Builder setOrderType( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType value) { + public Builder setOrderType(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType value) { if (value == null) { throw new NullPointerException(); } @@ -1691,16 +1483,11 @@ public Builder setOrderType( return this; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; * @return This builder for chaining. */ public Builder clearOrderType() { @@ -1709,7 +1496,6 @@ public Builder clearOrderType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1722,44 +1508,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) - private static final com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy(); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -1771,24 +1554,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int oneOrderByCase_ = 0; private java.lang.Object oneOrderBy_; - public enum OneOrderByCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { METRIC(1), DIMENSION(2), ONEORDERBY_NOT_SET(0); private final int value; - private OneOrderByCase(int value) { this.value = value; } @@ -1804,36 +1584,30 @@ public static OneOrderByCase valueOf(int value) { public static OneOrderByCase forNumber(int value) { switch (value) { - case 1: - return METRIC; - case 2: - return DIMENSION; - case 0: - return ONEORDERBY_NOT_SET; - default: - return null; + case 1: return METRIC; + case 2: return DIMENSION; + case 0: return ONEORDERBY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneOrderByCase getOneOrderByCase() { - return OneOrderByCase.forNumber(oneOrderByCase_); + public OneOrderByCase + getOneOrderByCase() { + return OneOrderByCase.forNumber( + oneOrderByCase_); } public static final int METRIC_FIELD_NUMBER = 1; /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * * @return Whether the metric field is set. */ @java.lang.Override @@ -1841,26 +1615,21 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * * @return The metric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } /** - * - * *
    * Sorts results by a metric's values.
    * 
@@ -1868,24 +1637,20 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric( * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder - getMetricOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } public static final int DIMENSION_FIELD_NUMBER = 2; /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * * @return Whether the dimension field is set. */ @java.lang.Override @@ -1893,26 +1658,21 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * * @return The dimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDimension() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } /** - * - * *
    * Sorts results by a dimension's values.
    * 
@@ -1920,10 +1680,9 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDime * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder - getDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } @@ -1931,15 +1690,12 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDime public static final int DESC_FIELD_NUMBER = 3; private boolean desc_ = false; /** - * - * *
    * If true, sorts by descending order. If false or unspecified, sorts in
    * ascending order.
    * 
* * bool desc = 3; - * * @return The desc. */ @java.lang.Override @@ -1948,7 +1704,6 @@ public boolean getDesc() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1960,14 +1715,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (oneOrderByCase_ == 1) { - output.writeMessage( - 1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); + output.writeMessage(1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - output.writeMessage( - 2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); + output.writeMessage(2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); } if (desc_ != false) { output.writeBool(3, desc_); @@ -1982,17 +1736,16 @@ public int getSerializedSize() { size = 0; if (oneOrderByCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); } if (desc_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, desc_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, desc_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2002,22 +1755,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessOrderBy other = - (com.google.analytics.admin.v1alpha.AccessOrderBy) obj; + com.google.analytics.admin.v1alpha.AccessOrderBy other = (com.google.analytics.admin.v1alpha.AccessOrderBy) obj; - if (getDesc() != other.getDesc()) return false; + if (getDesc() + != other.getDesc()) return false; if (!getOneOrderByCase().equals(other.getOneOrderByCase())) return false; switch (oneOrderByCase_) { case 1: - if (!getMetric().equals(other.getMetric())) return false; + if (!getMetric() + .equals(other.getMetric())) return false; break; case 2: - if (!getDimension().equals(other.getDimension())) return false; + if (!getDimension() + .equals(other.getDimension())) return false; break; case 0: default: @@ -2034,7 +1789,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DESC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesc()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDesc()); switch (oneOrderByCase_) { case 1: hash = (37 * hash) + METRIC_FIELD_NUMBER; @@ -2052,104 +1808,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Order bys define how rows will be sorted in the response. For example,
    * ordering rows by descending access count is one ordering, and ordering rows
@@ -2158,32 +1907,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessOrderBy)
       com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessOrderBy.class,
-              com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessOrderBy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2201,9 +1951,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
     }
 
     @java.lang.Override
@@ -2222,11 +1972,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessOrderBy buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessOrderBy result =
-          new com.google.analytics.admin.v1alpha.AccessOrderBy(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AccessOrderBy result = new com.google.analytics.admin.v1alpha.AccessOrderBy(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2242,10 +1989,12 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy resu
     private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessOrderBy result) {
       result.oneOrderByCase_ = oneOrderByCase_;
       result.oneOrderBy_ = this.oneOrderBy_;
-      if (oneOrderByCase_ == 1 && metricBuilder_ != null) {
+      if (oneOrderByCase_ == 1 &&
+          metricBuilder_ != null) {
         result.oneOrderBy_ = metricBuilder_.build();
       }
-      if (oneOrderByCase_ == 2 && dimensionBuilder_ != null) {
+      if (oneOrderByCase_ == 2 &&
+          dimensionBuilder_ != null) {
         result.oneOrderBy_ = dimensionBuilder_.build();
       }
     }
@@ -2254,39 +2003,38 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessOrderBy
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccessOrderBy) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2294,26 +2042,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessOrderBy other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()) return this;
       if (other.getDesc() != false) {
         setDesc(other.getDesc());
       }
       switch (other.getOneOrderByCase()) {
-        case METRIC:
-          {
-            mergeMetric(other.getMetric());
-            break;
-          }
-        case DIMENSION:
-          {
-            mergeDimension(other.getDimension());
-            break;
-          }
-        case ONEORDERBY_NOT_SET:
-          {
-            break;
-          }
+        case METRIC: {
+          mergeMetric(other.getMetric());
+          break;
+        }
+        case DIMENSION: {
+          mergeDimension(other.getDimension());
+          break;
+        }
+        case ONEORDERBY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2341,31 +2085,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry);
-                oneOrderByCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getDimensionFieldBuilder().getBuilder(), extensionRegistry);
-                oneOrderByCase_ = 2;
-                break;
-              } // case 18
-            case 24:
-              {
-                desc_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getMetricFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              oneOrderByCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getDimensionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              oneOrderByCase_ = 2;
+              break;
+            } // case 18
+            case 24: {
+              desc_ = 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) {
@@ -2375,12 +2119,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int oneOrderByCase_ = 0;
     private java.lang.Object oneOrderBy_;
-
-    public OneOrderByCase getOneOrderByCase() {
-      return OneOrderByCase.forNumber(oneOrderByCase_);
+    public OneOrderByCase
+        getOneOrderByCase() {
+      return OneOrderByCase.forNumber(
+          oneOrderByCase_);
     }
 
     public Builder clearOneOrderBy() {
@@ -2393,19 +2137,13 @@ public Builder clearOneOrderBy() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy,
-            com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder,
-            com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>
-        metricBuilder_;
+        com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder> metricBuilder_;
     /**
-     *
-     *
      * 
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * * @return Whether the metric field is set. */ @java.lang.Override @@ -2413,14 +2151,11 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** - * - * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * * @return The metric. */ @java.lang.Override @@ -2438,8 +2173,6 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric( } } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -2460,8 +2193,6 @@ public Builder setMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.Metric return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -2480,26 +2211,18 @@ public Builder setMetric( return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ - public Builder mergeMetric( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy value) { + public Builder mergeMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy value) { if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1 - && oneOrderBy_ - != com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy - .getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.newBuilder( - (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_) - .mergeFrom(value) - .buildPartial(); + if (oneOrderByCase_ == 1 && + oneOrderBy_ != com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance()) { + oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.newBuilder((com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_) + .mergeFrom(value).buildPartial(); } else { oneOrderBy_ = value; } @@ -2515,8 +2238,6 @@ public Builder mergeMetric( return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -2540,21 +2261,16 @@ public Builder clearMetric() { return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder - getMetricBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder getMetricBuilder() { return getMetricFieldBuilder().getBuilder(); } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -2562,8 +2278,7 @@ public Builder clearMetric() { * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder - getMetricOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { if ((oneOrderByCase_ == 1) && (metricBuilder_ != null)) { return metricBuilder_.getMessageOrBuilder(); } else { @@ -2574,8 +2289,6 @@ public Builder clearMetric() { } } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -2583,20 +2296,14 @@ public Builder clearMetric() { * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder> + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder> getMetricFieldBuilder() { if (metricBuilder_ == null) { if (!(oneOrderByCase_ == 1)) { - oneOrderBy_ = - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); + oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } - metricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>( + metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>( (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_, getParentForChildren(), isClean()); @@ -2608,19 +2315,13 @@ public Builder clearMetric() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> - dimensionBuilder_; + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> dimensionBuilder_; /** - * - * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * * @return Whether the dimension field is set. */ @java.lang.Override @@ -2628,14 +2329,11 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * * @return The dimension. */ @java.lang.Override @@ -2644,27 +2342,22 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDime if (oneOrderByCase_ == 2) { return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } else { if (oneOrderByCase_ == 2) { return dimensionBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } } /** - * - * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public Builder setDimension( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { + public Builder setDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2678,8 +2371,6 @@ public Builder setDimension( return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -2698,27 +2389,18 @@ public Builder setDimension( return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public Builder mergeDimension( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { + public Builder mergeDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2 - && oneOrderBy_ - != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - .getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder( - (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) - oneOrderBy_) - .mergeFrom(value) - .buildPartial(); + if (oneOrderByCase_ == 2 && + oneOrderBy_ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance()) { + oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder((com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_) + .mergeFrom(value).buildPartial(); } else { oneOrderBy_ = value; } @@ -2734,8 +2416,6 @@ public Builder mergeDimension( return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -2759,21 +2439,16 @@ public Builder clearDimension() { return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder - getDimensionBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder getDimensionBuilder() { return getDimensionFieldBuilder().getBuilder(); } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -2781,21 +2456,17 @@ public Builder clearDimension() { * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder - getDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { if ((oneOrderByCase_ == 2) && (dimensionBuilder_ != null)) { return dimensionBuilder_.getMessageOrBuilder(); } else { if (oneOrderByCase_ == 2) { return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -2803,21 +2474,14 @@ public Builder clearDimension() { * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> getDimensionFieldBuilder() { if (dimensionBuilder_ == null) { if (!(oneOrderByCase_ == 2)) { - oneOrderBy_ = - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - .getDefaultInstance(); + oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } - dimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder>( + dimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder>( (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_, getParentForChildren(), isClean()); @@ -2828,17 +2492,14 @@ public Builder clearDimension() { return dimensionBuilder_; } - private boolean desc_; + private boolean desc_ ; /** - * - * *
      * If true, sorts by descending order. If false or unspecified, sorts in
      * ascending order.
      * 
* * bool desc = 3; - * * @return The desc. */ @java.lang.Override @@ -2846,35 +2507,29 @@ public boolean getDesc() { return desc_; } /** - * - * *
      * If true, sorts by descending order. If false or unspecified, sorts in
      * ascending order.
      * 
* * bool desc = 3; - * * @param value The desc to set. * @return This builder for chaining. */ public Builder setDesc(boolean value) { - + desc_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If true, sorts by descending order. If false or unspecified, sorts in
      * ascending order.
      * 
* * bool desc = 3; - * * @return This builder for chaining. */ public Builder clearDesc() { @@ -2883,9 +2538,9 @@ public Builder clearDesc() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2895,12 +2550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy) private static final com.google.analytics.admin.v1alpha.AccessOrderBy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy(); } @@ -2909,27 +2564,27 @@ public static com.google.analytics.admin.v1alpha.AccessOrderBy getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessOrderBy 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessOrderBy 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; @@ -2944,4 +2599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java index cba2edcadbf4..bd6f92caec98 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessOrderByOrBuilder - extends +public interface AccessOrderByOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessOrderBy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * * @return Whether the metric field is set. */ boolean hasMetric(); /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * * @return The metric. */ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric(); /** - * - * *
    * Sorts results by a metric's values.
    * 
@@ -59,51 +35,39 @@ public interface AccessOrderByOrBuilder com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder(); /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * * @return Whether the dimension field is set. */ boolean hasDimension(); /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * * @return The dimension. */ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDimension(); /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder - getDimensionOrBuilder(); + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder(); /** - * - * *
    * If true, sorts by descending order. If false or unspecified, sorts in
    * ascending order.
    * 
* * bool desc = 3; - * * @return The desc. */ boolean getDesc(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java index 15cc4382ca44..0d179620cb69 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Current state of all quotas for this Analytics property. If any quota for a
  * property is exhausted, all requests to that property will return Resource
@@ -29,56 +12,52 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuota}
  */
-public final class AccessQuota extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccessQuota extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessQuota)
     AccessQuotaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccessQuota.newBuilder() to construct.
   private AccessQuota(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AccessQuota() {}
+  private AccessQuota() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccessQuota();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto
-        .internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessQuota.class,
-            com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessQuota.class, com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
   }
 
   public static final int TOKENS_PER_DAY_FIELD_NUMBER = 1;
   private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerDay_;
   /**
-   *
-   *
    * 
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * * @return Whether the tokensPerDay field is set. */ @java.lang.Override @@ -86,26 +65,19 @@ public boolean hasTokensPerDay() { return tokensPerDay_ != null; } /** - * - * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * * @return The tokensPerDay. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() { - return tokensPerDay_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : tokensPerDay_; + return tokensPerDay_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_; } /** - * - * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
@@ -115,24 +87,19 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() {
    */
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder() {
-    return tokensPerDay_ == null
-        ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
-        : tokensPerDay_;
+    return tokensPerDay_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_;
   }
 
   public static final int TOKENS_PER_HOUR_FIELD_NUMBER = 2;
   private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerHour_;
   /**
-   *
-   *
    * 
    * Properties can use 50,000 tokens per hour. An API request consumes a single
-   * number of tokens, and that number is deducted from both the hourly and
-   * daily quotas.
+   * 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; - * * @return Whether the tokensPerHour field is set. */ @java.lang.Override @@ -140,53 +107,41 @@ public boolean hasTokensPerHour() { return tokensPerHour_ != null; } /** - * - * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
-   * number of tokens, and that number is deducted from both the hourly and
-   * daily quotas.
+   * 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; - * * @return The tokensPerHour. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour() { - return tokensPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : tokensPerHour_; + return tokensPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; } /** - * - * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
-   * number of tokens, and that number is deducted from both the hourly and
-   * daily quotas.
+   * 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; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder() { - return tokensPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : tokensPerHour_; + return tokensPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; } public static final int CONCURRENT_REQUESTS_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.AccessQuotaStatus concurrentRequests_; /** - * - * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * * @return Whether the concurrentRequests field is set. */ @java.lang.Override @@ -194,25 +149,18 @@ public boolean hasConcurrentRequests() { return concurrentRequests_ != null; } /** - * - * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * * @return The concurrentRequests. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests() { - return concurrentRequests_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : concurrentRequests_; + return concurrentRequests_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; } /** - * - * *
    * Properties can use up to 50 concurrent requests.
    * 
@@ -220,26 +168,19 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequest * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder - getConcurrentRequestsOrBuilder() { - return concurrentRequests_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : concurrentRequests_; + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { + return concurrentRequests_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; } public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 4; private com.google.analytics.admin.v1alpha.AccessQuotaStatus serverErrorsPerProjectPerHour_; /** - * - * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; * @return Whether the serverErrorsPerProjectPerHour field is set. */ @java.lang.Override @@ -247,45 +188,79 @@ public boolean hasServerErrorsPerProjectPerHour() { return serverErrorsPerProjectPerHour_ != null; } /** - * - * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; * @return The serverErrorsPerProjectPerHour. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; } /** - * - * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder - getServerErrorsPerProjectPerHourOrBuilder() { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { + return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; } - private byte memoizedIsInitialized = -1; + 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 public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (tokensPerDay_ != null) { output.writeMessage(1, getTokensPerDay()); } @@ -310,6 +286,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); } @@ -320,18 +299,24 @@ public int getSerializedSize() { size = 0; if (tokensPerDay_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTokensPerDay()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTokensPerDay()); } if (tokensPerHour_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTokensPerHour()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTokensPerHour()); } if (concurrentRequests_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConcurrentRequests()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getConcurrentRequests()); } if (serverErrorsPerProjectPerHour_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getServerErrorsPerProjectPerHour()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getServerErrorsPerProjectPerHour()); + } + if (tokensPerProjectPerHour_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTokensPerProjectPerHour()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -341,31 +326,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessQuota)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessQuota other = - (com.google.analytics.admin.v1alpha.AccessQuota) obj; + com.google.analytics.admin.v1alpha.AccessQuota other = (com.google.analytics.admin.v1alpha.AccessQuota) obj; if (hasTokensPerDay() != other.hasTokensPerDay()) return false; if (hasTokensPerDay()) { - if (!getTokensPerDay().equals(other.getTokensPerDay())) return false; + if (!getTokensPerDay() + .equals(other.getTokensPerDay())) return false; } if (hasTokensPerHour() != other.hasTokensPerHour()) return false; if (hasTokensPerHour()) { - if (!getTokensPerHour().equals(other.getTokensPerHour())) return false; + if (!getTokensPerHour() + .equals(other.getTokensPerHour())) return false; } if (hasConcurrentRequests() != other.hasConcurrentRequests()) return false; if (hasConcurrentRequests()) { - if (!getConcurrentRequests().equals(other.getConcurrentRequests())) return false; + if (!getConcurrentRequests() + .equals(other.getConcurrentRequests())) return false; } - if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) - return false; + if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) return false; if (hasServerErrorsPerProjectPerHour()) { - if (!getServerErrorsPerProjectPerHour().equals(other.getServerErrorsPerProjectPerHour())) - return false; + if (!getServerErrorsPerProjectPerHour() + .equals(other.getServerErrorsPerProjectPerHour())) return false; + } + if (hasTokensPerProjectPerHour() != other.hasTokensPerProjectPerHour()) return false; + if (hasTokensPerProjectPerHour()) { + if (!getTokensPerProjectPerHour() + .equals(other.getTokensPerProjectPerHour())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -394,109 +385,106 @@ 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; } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessQuota parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessQuota parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessQuota prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Current state of all quotas for this Analytics property. If any quota for a
    * property is exhausted, all requests to that property will return Resource
@@ -505,32 +493,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuota}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessQuota)
       com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessQuota.class,
-              com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessQuota.class, com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessQuota.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -555,13 +544,18 @@ public Builder clear() {
         serverErrorsPerProjectPerHourBuilder_.dispose();
         serverErrorsPerProjectPerHourBuilder_ = null;
       }
+      tokensPerProjectPerHour_ = null;
+      if (tokensPerProjectPerHourBuilder_ != null) {
+        tokensPerProjectPerHourBuilder_.dispose();
+        tokensPerProjectPerHourBuilder_ = null;
+      }
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto
-          .internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
     }
 
     @java.lang.Override
@@ -580,11 +574,8 @@ public com.google.analytics.admin.v1alpha.AccessQuota build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessQuota buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessQuota result =
-          new com.google.analytics.admin.v1alpha.AccessQuota(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AccessQuota result = new com.google.analytics.admin.v1alpha.AccessQuota(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -592,24 +583,29 @@ public com.google.analytics.admin.v1alpha.AccessQuota buildPartial() {
     private void buildPartial0(com.google.analytics.admin.v1alpha.AccessQuota result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tokensPerDay_ =
-            tokensPerDayBuilder_ == null ? tokensPerDay_ : tokensPerDayBuilder_.build();
+        result.tokensPerDay_ = tokensPerDayBuilder_ == null
+            ? tokensPerDay_
+            : tokensPerDayBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tokensPerHour_ =
-            tokensPerHourBuilder_ == null ? tokensPerHour_ : tokensPerHourBuilder_.build();
+        result.tokensPerHour_ = tokensPerHourBuilder_ == null
+            ? tokensPerHour_
+            : tokensPerHourBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.concurrentRequests_ =
-            concurrentRequestsBuilder_ == null
-                ? concurrentRequests_
-                : concurrentRequestsBuilder_.build();
+        result.concurrentRequests_ = concurrentRequestsBuilder_ == null
+            ? concurrentRequests_
+            : concurrentRequestsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.serverErrorsPerProjectPerHour_ =
-            serverErrorsPerProjectPerHourBuilder_ == null
-                ? serverErrorsPerProjectPerHour_
-                : serverErrorsPerProjectPerHourBuilder_.build();
+        result.serverErrorsPerProjectPerHour_ = serverErrorsPerProjectPerHourBuilder_ == null
+            ? serverErrorsPerProjectPerHour_
+            : serverErrorsPerProjectPerHourBuilder_.build();
+      }
+      if (((from_bitField0_ & 0x00000010) != 0)) {
+        result.tokensPerProjectPerHour_ = tokensPerProjectPerHourBuilder_ == null
+            ? tokensPerProjectPerHour_
+            : tokensPerProjectPerHourBuilder_.build();
       }
     }
 
@@ -617,39 +613,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessQuota result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccessQuota) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuota) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuota)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -670,6 +665,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;
@@ -696,39 +694,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTokensPerDayFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTokensPerHourFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getConcurrentRequestsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTokensPerDayFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTokensPerHourFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getConcurrentRequestsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getTokensPerProjectPerHourFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            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) {
@@ -738,54 +744,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerDay_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
-            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
-        tokensPerDayBuilder_;
+        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> tokensPerDayBuilder_;
     /**
-     *
-     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * * @return Whether the tokensPerDay field is set. */ public boolean hasTokensPerDay() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * * @return The tokensPerDay. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() { if (tokensPerDayBuilder_ == null) { - return tokensPerDay_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : tokensPerDay_; + return tokensPerDay_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_; } else { return tokensPerDayBuilder_.getMessage(); } } /** - * - * *
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -807,8 +799,6 @@ public Builder setTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaSta
       return this;
     }
     /**
-     *
-     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -828,8 +818,6 @@ public Builder setTokensPerDay(
       return this;
     }
     /**
-     *
-     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -839,10 +827,9 @@ public Builder setTokensPerDay(
      */
     public Builder mergeTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
       if (tokensPerDayBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && tokensPerDay_ != null
-            && tokensPerDay_
-                != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          tokensPerDay_ != null &&
+          tokensPerDay_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) {
           getTokensPerDayBuilder().mergeFrom(value);
         } else {
           tokensPerDay_ = value;
@@ -855,8 +842,6 @@ public Builder mergeTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaS
       return this;
     }
     /**
-     *
-     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -875,8 +860,6 @@ public Builder clearTokensPerDay() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -890,8 +873,6 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
       return getTokensPerDayFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -899,19 +880,15 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
      *
      * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
      */
-    public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
-        getTokensPerDayOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder() {
       if (tokensPerDayBuilder_ != null) {
         return tokensPerDayBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerDay_ == null
-            ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
-            : tokensPerDay_;
+        return tokensPerDay_ == null ?
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_;
       }
     }
     /**
-     *
-     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -920,17 +897,14 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
      * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
-            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> 
         getTokensPerDayFieldBuilder() {
       if (tokensPerDayBuilder_ == null) {
-        tokensPerDayBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessQuotaStatus,
-                com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
-                com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
-                getTokensPerDay(), getParentForChildren(), isClean());
+        tokensPerDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
+                getTokensPerDay(),
+                getParentForChildren(),
+                isClean());
         tokensPerDay_ = null;
       }
       return tokensPerDayBuilder_;
@@ -938,55 +912,42 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
 
     private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerHour_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
-            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
-        tokensPerHourBuilder_;
+        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> tokensPerHourBuilder_;
     /**
-     *
-     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; - * * @return Whether the tokensPerHour field is set. */ public boolean hasTokensPerHour() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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; - * * @return The tokensPerHour. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour() { if (tokensPerHourBuilder_ == null) { - return tokensPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : tokensPerHour_; + return tokensPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; } else { return tokensPerHourBuilder_.getMessage(); } } /** - * - * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; @@ -1005,12 +966,10 @@ public Builder setTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuotaSt return this; } /** - * - * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; @@ -1027,22 +986,19 @@ public Builder setTokensPerHour( return this; } /** - * - * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; */ public Builder mergeTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (tokensPerHourBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && tokensPerHour_ != null - && tokensPerHour_ - != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + tokensPerHour_ != null && + tokensPerHour_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { getTokensPerHourBuilder().mergeFrom(value); } else { tokensPerHour_ = value; @@ -1055,12 +1011,10 @@ public Builder mergeTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuota return this; } /** - * - * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; @@ -1076,12 +1030,10 @@ public Builder clearTokensPerHour() { return this; } /** - * - * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; @@ -1092,49 +1044,40 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer return getTokensPerHourFieldBuilder().getBuilder(); } /** - * - * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder - getTokensPerHourOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder() { if (tokensPerHourBuilder_ != null) { return tokensPerHourBuilder_.getMessageOrBuilder(); } else { - return tokensPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : tokensPerHour_; + return tokensPerHour_ == null ? + com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; } } /** - * - * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
-     * number of tokens, and that number is deducted from both the hourly and
-     * daily quotas.
+     * 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; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> getTokensPerHourFieldBuilder() { if (tokensPerHourBuilder_ == null) { - tokensPerHourBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( - getTokensPerHour(), getParentForChildren(), isClean()); + tokensPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( + getTokensPerHour(), + getParentForChildren(), + isClean()); tokensPerHour_ = null; } return tokensPerHourBuilder_; @@ -1142,55 +1085,41 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer private com.google.analytics.admin.v1alpha.AccessQuotaStatus concurrentRequests_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> - concurrentRequestsBuilder_; + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> concurrentRequestsBuilder_; /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * * @return Whether the concurrentRequests field is set. */ public boolean hasConcurrentRequests() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * * @return The concurrentRequests. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests() { if (concurrentRequestsBuilder_ == null) { - return concurrentRequests_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : concurrentRequests_; + return concurrentRequests_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; } else { return concurrentRequestsBuilder_.getMessage(); } } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public Builder setConcurrentRequests( - com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder setConcurrentRequests(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (concurrentRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1204,8 +1133,6 @@ public Builder setConcurrentRequests( return this; } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1224,21 +1151,17 @@ public Builder setConcurrentRequests( return this; } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public Builder mergeConcurrentRequests( - com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder mergeConcurrentRequests(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (concurrentRequestsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && concurrentRequests_ != null - && concurrentRequests_ - != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + concurrentRequests_ != null && + concurrentRequests_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { getConcurrentRequestsBuilder().mergeFrom(value); } else { concurrentRequests_ = value; @@ -1251,8 +1174,6 @@ public Builder mergeConcurrentRequests( return this; } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1270,42 +1191,33 @@ public Builder clearConcurrentRequests() { return this; } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder - getConcurrentRequestsBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getConcurrentRequestsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getConcurrentRequestsFieldBuilder().getBuilder(); } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder - getConcurrentRequestsOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { if (concurrentRequestsBuilder_ != null) { return concurrentRequestsBuilder_.getMessageOrBuilder(); } else { - return concurrentRequests_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : concurrentRequests_; + return concurrentRequests_ == null ? + com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; } } /** - * - * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1313,17 +1225,14 @@ public Builder clearConcurrentRequests() { * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> getConcurrentRequestsFieldBuilder() { if (concurrentRequestsBuilder_ == null) { - concurrentRequestsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( - getConcurrentRequests(), getParentForChildren(), isClean()); + concurrentRequestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( + getConcurrentRequests(), + getParentForChildren(), + isClean()); concurrentRequests_ = null; } return concurrentRequestsBuilder_; @@ -1331,64 +1240,44 @@ public Builder clearConcurrentRequests() { private com.google.analytics.admin.v1alpha.AccessQuotaStatus serverErrorsPerProjectPerHour_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> - serverErrorsPerProjectPerHourBuilder_; + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> serverErrorsPerProjectPerHourBuilder_; /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; * @return Whether the serverErrorsPerProjectPerHour field is set. */ public boolean hasServerErrorsPerProjectPerHour() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; * @return The serverErrorsPerProjectPerHour. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; } else { return serverErrorsPerProjectPerHourBuilder_.getMessage(); } } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ - public Builder setServerErrorsPerProjectPerHour( - com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder setServerErrorsPerProjectPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1402,16 +1291,12 @@ public Builder setServerErrorsPerProjectPerHour( return this; } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ public Builder setServerErrorsPerProjectPerHour( com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) { @@ -1425,24 +1310,18 @@ public Builder setServerErrorsPerProjectPerHour( return this; } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ - public Builder mergeServerErrorsPerProjectPerHour( - com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && serverErrorsPerProjectPerHour_ != null - && serverErrorsPerProjectPerHour_ - != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + serverErrorsPerProjectPerHour_ != null && + serverErrorsPerProjectPerHour_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { getServerErrorsPerProjectPerHourBuilder().mergeFrom(value); } else { serverErrorsPerProjectPerHour_ = value; @@ -1455,16 +1334,12 @@ public Builder mergeServerErrorsPerProjectPerHour( return this; } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ public Builder clearServerErrorsPerProjectPerHour() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1477,76 +1352,240 @@ public Builder clearServerErrorsPerProjectPerHour() { return this; } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder - getServerErrorsPerProjectPerHourBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getServerErrorsPerProjectPerHourBuilder() { bitField0_ |= 0x00000008; onChanged(); return getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(); } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder - getServerErrorsPerProjectPerHourOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { if (serverErrorsPerProjectPerHourBuilder_ != null) { return serverErrorsPerProjectPerHourBuilder_.getMessageOrBuilder(); } else { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null ? + com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; } } /** - * - * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> getServerErrorsPerProjectPerHourFieldBuilder() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHourBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( - getServerErrorsPerProjectPerHour(), getParentForChildren(), isClean()); + serverErrorsPerProjectPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( + getServerErrorsPerProjectPerHour(), + getParentForChildren(), + isClean()); serverErrorsPerProjectPerHour_ = null; } return serverErrorsPerProjectPerHourBuilder_; } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1556,12 +1595,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessQuota) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessQuota) private static final com.google.analytics.admin.v1alpha.AccessQuota DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessQuota(); } @@ -1570,27 +1609,27 @@ public static com.google.analytics.admin.v1alpha.AccessQuota getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessQuota 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessQuota 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; @@ -1605,4 +1644,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessQuota getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java index 796d90b000a3..76682a8534e8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessQuotaOrBuilder - extends +public interface AccessQuotaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessQuota) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * * @return Whether the tokensPerDay field is set. */ boolean hasTokensPerDay(); /** - * - * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * * @return The tokensPerDay. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay(); /** - * - * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
@@ -62,40 +38,32 @@ public interface AccessQuotaOrBuilder
   com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder();
 
   /**
-   *
-   *
    * 
    * Properties can use 50,000 tokens per hour. An API request consumes a single
-   * number of tokens, and that number is deducted from both the hourly and
-   * daily quotas.
+   * 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; - * * @return Whether the tokensPerHour field is set. */ boolean hasTokensPerHour(); /** - * - * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
-   * number of tokens, and that number is deducted from both the hourly and
-   * daily quotas.
+   * 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; - * * @return The tokensPerHour. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour(); /** - * - * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
-   * number of tokens, and that number is deducted from both the hourly and
-   * daily quotas.
+   * 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; @@ -103,32 +71,24 @@ public interface AccessQuotaOrBuilder com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder(); /** - * - * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * * @return Whether the concurrentRequests field is set. */ boolean hasConcurrentRequests(); /** - * - * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * * @return The concurrentRequests. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests(); /** - * - * *
    * Properties can use up to 50 concurrent requests.
    * 
@@ -138,44 +98,68 @@ public interface AccessQuotaOrBuilder com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder(); /** - * - * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; * @return Whether the serverErrorsPerProjectPerHour field is set. */ boolean hasServerErrorsPerProjectPerHour(); /** - * - * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; * @return The serverErrorsPerProjectPerHour. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour(); /** - * - * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + */ + 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 - getServerErrorsPerProjectPerHourOrBuilder(); + 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/AccessQuotaStatus.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java index 53bbef9c102f..e16c45ec0d10 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Current state for a particular quota group.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuotaStatus} */ -public final class AccessQuotaStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessQuotaStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessQuotaStatus) AccessQuotaStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessQuotaStatus.newBuilder() to construct. private AccessQuotaStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AccessQuotaStatus() {} + private AccessQuotaStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessQuotaStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); + com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); } public static final int CONSUMED_FIELD_NUMBER = 1; private int consumed_ = 0; /** - * - * *
    * Quota consumed by this request.
    * 
* * int32 consumed = 1; - * * @return The consumed. */ @java.lang.Override @@ -86,14 +65,11 @@ public int getConsumed() { public static final int REMAINING_FIELD_NUMBER = 2; private int remaining_ = 0; /** - * - * *
    * Quota remaining after this request.
    * 
* * int32 remaining = 2; - * * @return The remaining. */ @java.lang.Override @@ -102,7 +78,6 @@ public int getRemaining() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,7 +89,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (consumed_ != 0) { output.writeInt32(1, consumed_); } @@ -131,10 +107,12 @@ public int getSerializedSize() { size = 0; if (consumed_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, consumed_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, consumed_); } if (remaining_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, remaining_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, remaining_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -144,16 +122,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessQuotaStatus)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessQuotaStatus other = - (com.google.analytics.admin.v1alpha.AccessQuotaStatus) obj; + com.google.analytics.admin.v1alpha.AccessQuotaStatus other = (com.google.analytics.admin.v1alpha.AccessQuotaStatus) obj; - if (getConsumed() != other.getConsumed()) return false; - if (getRemaining() != other.getRemaining()) return false; + if (getConsumed() + != other.getConsumed()) return false; + if (getRemaining() + != other.getRemaining()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,135 +154,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessQuotaStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Current state for a particular quota group.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuotaStatus} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessQuotaStatus) com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, - com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); + com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessQuotaStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -314,9 +287,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; } @java.lang.Override @@ -335,11 +308,8 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus buildPartial() { - com.google.analytics.admin.v1alpha.AccessQuotaStatus result = - new com.google.analytics.admin.v1alpha.AccessQuotaStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessQuotaStatus result = new com.google.analytics.admin.v1alpha.AccessQuotaStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -358,39 +328,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessQuotaStatus public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessQuotaStatus) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuotaStatus) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuotaStatus)other); } else { super.mergeFrom(other); return this; @@ -398,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessQuotaStatus other) { - if (other == com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) return this; if (other.getConsumed() != 0) { setConsumed(other.getConsumed()); } @@ -432,25 +400,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - consumed_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - remaining_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + consumed_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + remaining_ = input.readInt32(); + 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) { @@ -460,19 +425,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int consumed_; + private int consumed_ ; /** - * - * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; - * * @return The consumed. */ @java.lang.Override @@ -480,33 +441,27 @@ public int getConsumed() { return consumed_; } /** - * - * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; - * * @param value The consumed to set. * @return This builder for chaining. */ public Builder setConsumed(int value) { - + consumed_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; - * * @return This builder for chaining. */ public Builder clearConsumed() { @@ -516,16 +471,13 @@ public Builder clearConsumed() { return this; } - private int remaining_; + private int remaining_ ; /** - * - * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; - * * @return The remaining. */ @java.lang.Override @@ -533,33 +485,27 @@ public int getRemaining() { return remaining_; } /** - * - * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; - * * @param value The remaining to set. * @return This builder for chaining. */ public Builder setRemaining(int value) { - + remaining_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; - * * @return This builder for chaining. */ public Builder clearRemaining() { @@ -568,9 +514,9 @@ public Builder clearRemaining() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessQuotaStatus) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessQuotaStatus) private static final com.google.analytics.admin.v1alpha.AccessQuotaStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessQuotaStatus(); } @@ -594,27 +540,27 @@ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessQuotaStatus 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessQuotaStatus 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; @@ -629,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessQuotaStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java new file mode 100644 index 000000000000..529e856779b8 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessQuotaStatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessQuotaStatus) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Quota consumed by this request.
+   * 
+ * + * int32 consumed = 1; + * @return The consumed. + */ + int getConsumed(); + + /** + *
+   * Quota remaining after this request.
+   * 
+ * + * int32 remaining = 2; + * @return The remaining. + */ + int getRemaining(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java new file mode 100644 index 000000000000..054464aeb42a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java @@ -0,0 +1,350 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public final class AccessReportProto { + private AccessReportProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/analytics/admin/v1alpha/access_" + + "report.proto\022\036google.analytics.admin.v1a" + + "lpha\")\n\017AccessDimension\022\026\n\016dimension_nam" + + "e\030\001 \001(\t\"#\n\014AccessMetric\022\023\n\013metric_name\030\001" + + " \001(\t\"7\n\017AccessDateRange\022\022\n\nstart_date\030\001 " + + "\001(\t\022\020\n\010end_date\030\002 \001(\t\"\344\002\n\026AccessFilterEx" + + "pression\022O\n\tand_group\030\001 \001(\0132:.google.ana" + + "lytics.admin.v1alpha.AccessFilterExpress" + + "ionListH\000\022N\n\010or_group\030\002 \001(\0132:.google.ana" + + "lytics.admin.v1alpha.AccessFilterExpress" + + "ionListH\000\022P\n\016not_expression\030\003 \001(\01326.goog" + + "le.analytics.admin.v1alpha.AccessFilterE" + + "xpressionH\000\022E\n\raccess_filter\030\004 \001(\0132,.goo" + + "gle.analytics.admin.v1alpha.AccessFilter" + + "H\000B\020\n\016one_expression\"i\n\032AccessFilterExpr" + + "essionList\022K\n\013expressions\030\001 \003(\01326.google" + + ".analytics.admin.v1alpha.AccessFilterExp" + + "ression\"\351\002\n\014AccessFilter\022K\n\rstring_filte" + + "r\030\002 \001(\01322.google.analytics.admin.v1alpha" + + ".AccessStringFilterH\000\022L\n\016in_list_filter\030" + + "\003 \001(\01322.google.analytics.admin.v1alpha.A" + + "ccessInListFilterH\000\022M\n\016numeric_filter\030\004 " + + "\001(\01323.google.analytics.admin.v1alpha.Acc" + + "essNumericFilterH\000\022M\n\016between_filter\030\005 \001" + + "(\01323.google.analytics.admin.v1alpha.Acce" + + "ssBetweenFilterH\000\022\022\n\nfield_name\030\001 \001(\tB\014\n" + + "\none_filter\"\225\002\n\022AccessStringFilter\022P\n\nma" + + "tch_type\030\001 \001(\0162<.google.analytics.admin." + + "v1alpha.AccessStringFilter.MatchType\022\r\n\005" + + "value\030\002 \001(\t\022\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n\t" + + "MatchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n" + + "\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020\003" + + "\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTI" + + "AL_REGEXP\020\006\"<\n\022AccessInListFilter\022\016\n\006val" + + "ues\030\001 \003(\t\022\026\n\016case_sensitive\030\002 \001(\010\"\254\002\n\023Ac" + + "cessNumericFilter\022P\n\toperation\030\001 \001(\0162=.g" + + "oogle.analytics.admin.v1alpha.AccessNume" + + "ricFilter.Operation\022;\n\005value\030\002 \001(\0132,.goo" + + "gle.analytics.admin.v1alpha.NumericValue" + + "\"\205\001\n\tOperation\022\031\n\025OPERATION_UNSPECIFIED\020" + + "\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n\022LESS_THAN" + + "_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022\031\n\025GREATER" + + "_THAN_OR_EQUAL\020\005\"\227\001\n\023AccessBetweenFilter" + + "\022@\n\nfrom_value\030\001 \001(\0132,.google.analytics." + + "admin.v1alpha.NumericValue\022>\n\010to_value\030\002" + + " \001(\0132,.google.analytics.admin.v1alpha.Nu" + + "mericValue\"J\n\014NumericValue\022\025\n\013int64_valu" + + "e\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone" + + "_value\"\355\003\n\rAccessOrderBy\022M\n\006metric\030\001 \001(\013" + + "2;.google.analytics.admin.v1alpha.Access" + + "OrderBy.MetricOrderByH\000\022S\n\tdimension\030\002 \001" + + "(\0132>.google.analytics.admin.v1alpha.Acce" + + "ssOrderBy.DimensionOrderByH\000\022\014\n\004desc\030\003 \001" + + "(\010\032$\n\rMetricOrderBy\022\023\n\013metric_name\030\001 \001(\t" + + "\032\363\001\n\020DimensionOrderBy\022\026\n\016dimension_name\030" + + "\001 \001(\t\022\\\n\norder_type\030\002 \001(\0162H.google.analy" + + "tics.admin.v1alpha.AccessOrderBy.Dimensi" + + "onOrderBy.OrderType\"i\n\tOrderType\022\032\n\026ORDE" + + "R_TYPE_UNSPECIFIED\020\000\022\020\n\014ALPHANUMERIC\020\001\022!" + + "\n\035CASE_INSENSITIVE_ALPHANUMERIC\020\002\022\013\n\007NUM" + + "ERIC\020\003B\016\n\014one_order_by\"/\n\025AccessDimensio" + + "nHeader\022\026\n\016dimension_name\030\001 \001(\t\")\n\022Acces" + + "sMetricHeader\022\023\n\013metric_name\030\001 \001(\t\"\245\001\n\tA" + + "ccessRow\022N\n\020dimension_values\030\001 \003(\01324.goo" + + "gle.analytics.admin.v1alpha.AccessDimens" + + "ionValue\022H\n\rmetric_values\030\002 \003(\01321.google" + + ".analytics.admin.v1alpha.AccessMetricVal" + + "ue\"%\n\024AccessDimensionValue\022\r\n\005value\030\001 \001(" + + "\t\"\"\n\021AccessMetricValue\022\r\n\005value\030\001 \001(\t\"\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" + + "le.analytics.admin.v1alpha.AccessQuotaSt" + + "atus\022N\n\023concurrent_requests\030\003 \001(\01321.goog" + + "le.analytics.admin.v1alpha.AccessQuotaSt" + + "atus\022]\n\"server_errors_per_project_per_ho" + + "ur\030\004 \001(\01321.google.analytics.admin.v1alph" + + "a.AccessQuotaStatus\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(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor, + new java.lang.String[] { "DimensionName", }); + internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor, + new java.lang.String[] { "MetricName", }); + internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor, + new java.lang.String[] { "StartDate", "EndDate", }); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor, + new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "AccessFilter", "OneExpression", }); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor, + new java.lang.String[] { "Expressions", }); + internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor, + new java.lang.String[] { "StringFilter", "InListFilter", "NumericFilter", "BetweenFilter", "FieldName", "OneFilter", }); + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor, + new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor, + new java.lang.String[] { "Values", "CaseSensitive", }); + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor, + new java.lang.String[] { "Operation", "Value", }); + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor, + new java.lang.String[] { "FromValue", "ToValue", }); + internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor, + new java.lang.String[] { "Int64Value", "DoubleValue", "OneValue", }); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor, + new java.lang.String[] { "Metric", "Dimension", "Desc", "OneOrderBy", }); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor = + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor, + new java.lang.String[] { "MetricName", }); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor = + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor, + new java.lang.String[] { "DimensionName", "OrderType", }); + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor, + new java.lang.String[] { "DimensionName", }); + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor, + new java.lang.String[] { "MetricName", }); + internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor, + new java.lang.String[] { "DimensionValues", "MetricValues", }); + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor, + new java.lang.String[] { "Value", }); + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor, + new java.lang.String[] { "Value", }); + internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor, + new java.lang.String[] { "TokensPerDay", "TokensPerHour", "ConcurrentRequests", "ServerErrorsPerProjectPerHour", "TokensPerProjectPerHour", }); + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor, + new java.lang.String[] { "Consumed", "Remaining", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java index c63a9a37007e..60d169fc2056 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Access report data for each row.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessRow} */ -public final class AccessRow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessRow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessRow) AccessRowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessRow.newBuilder() to construct. private AccessRow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessRow() { dimensionValues_ = java.util.Collections.emptyList(); metricValues_ = java.util.Collections.emptyList(); @@ -44,120 +26,99 @@ private AccessRow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessRow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessRow.class, - com.google.analytics.admin.v1alpha.AccessRow.Builder.class); + com.google.analytics.admin.v1alpha.AccessRow.class, com.google.analytics.admin.v1alpha.AccessRow.Builder.class); } public static final int DIMENSION_VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dimensionValues_; /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ @java.lang.Override - public java.util.List - getDimensionValuesList() { + public java.util.List getDimensionValuesList() { return dimensionValues_; } /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionValuesOrBuilderList() { return dimensionValues_; } /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ @java.lang.Override public int getDimensionValuesCount() { return dimensionValues_.size(); } /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index) { return dimensionValues_.get(index); } /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder - getDimensionValuesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder( + int index) { return dimensionValues_.get(index); } public static final int METRIC_VALUES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List metricValues_; /** - * - * *
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -166,13 +127,10 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValue
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getMetricValuesList() {
+  public java.util.List getMetricValuesList() {
     return metricValues_;
   }
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -181,13 +139,11 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValue
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricValuesOrBuilderList() {
     return metricValues_;
   }
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -200,8 +156,6 @@ public int getMetricValuesCount() {
     return metricValues_.size();
   }
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -214,8 +168,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int
     return metricValues_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -230,7 +182,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -242,7 +193,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < dimensionValues_.size(); i++) {
       output.writeMessage(1, dimensionValues_.get(i));
     }
@@ -259,10 +211,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < dimensionValues_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, dimensionValues_.get(i));
     }
     for (int i = 0; i < metricValues_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricValues_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, metricValues_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -272,16 +226,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessRow)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.AccessRow other =
-        (com.google.analytics.admin.v1alpha.AccessRow) obj;
+    com.google.analytics.admin.v1alpha.AccessRow other = (com.google.analytics.admin.v1alpha.AccessRow) obj;
 
-    if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false;
-    if (!getMetricValuesList().equals(other.getMetricValuesList())) return false;
+    if (!getDimensionValuesList()
+        .equals(other.getDimensionValuesList())) return false;
+    if (!getMetricValuesList()
+        .equals(other.getMetricValuesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -306,136 +261,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(java.nio.ByteBuffer data)
+  public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.AccessRow parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.AccessRow parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessRow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Access report data for each row.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessRow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessRow) com.google.analytics.admin.v1alpha.AccessRowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessRow.class, - com.google.analytics.admin.v1alpha.AccessRow.Builder.class); + com.google.analytics.admin.v1alpha.AccessRow.class, com.google.analytics.admin.v1alpha.AccessRow.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessRow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -458,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; } @java.lang.Override @@ -479,12 +428,9 @@ public com.google.analytics.admin.v1alpha.AccessRow build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessRow buildPartial() { - com.google.analytics.admin.v1alpha.AccessRow result = - new com.google.analytics.admin.v1alpha.AccessRow(this); + com.google.analytics.admin.v1alpha.AccessRow result = new com.google.analytics.admin.v1alpha.AccessRow(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -518,39 +464,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessRow result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessRow) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessRow) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessRow)other); } else { super.mergeFrom(other); return this; @@ -577,10 +522,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessRow other) { dimensionValuesBuilder_ = null; dimensionValues_ = other.dimensionValues_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionValuesFieldBuilder() - : null; + dimensionValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionValuesFieldBuilder() : null; } else { dimensionValuesBuilder_.addAllMessages(other.dimensionValues_); } @@ -604,10 +548,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessRow other) { metricValuesBuilder_ = null; metricValues_ = other.metricValues_; bitField0_ = (bitField0_ & ~0x00000002); - metricValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricValuesFieldBuilder() - : null; + metricValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricValuesFieldBuilder() : null; } else { metricValuesBuilder_.addAllMessages(other.metricValues_); } @@ -639,41 +582,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.AccessDimensionValue m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDimensionValue.parser(), - extensionRegistry); - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.add(m); - } else { - dimensionValuesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.analytics.admin.v1alpha.AccessMetricValue m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessMetricValue.parser(), - extensionRegistry); - if (metricValuesBuilder_ == null) { - ensureMetricValuesIsMutable(); - metricValues_.add(m); - } else { - metricValuesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.analytics.admin.v1alpha.AccessDimensionValue m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDimensionValue.parser(), + extensionRegistry); + if (dimensionValuesBuilder_ == null) { + ensureDimensionValuesIsMutable(); + dimensionValues_.add(m); + } else { + dimensionValuesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.analytics.admin.v1alpha.AccessMetricValue m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessMetricValue.parser(), + extensionRegistry); + if (metricValuesBuilder_ == null) { + ensureMetricValuesIsMutable(); + metricValues_.add(m); + } else { + metricValuesBuilder_.addMessage(m); + } + 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) { @@ -683,40 +623,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - dimensionValues_ = java.util.Collections.emptyList(); - + private java.util.List dimensionValues_ = + java.util.Collections.emptyList(); private void ensureDimensionValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = - new java.util.ArrayList( - dimensionValues_); + dimensionValues_ = new java.util.ArrayList(dimensionValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionValue, - com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, - com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> - dimensionValuesBuilder_; + com.google.analytics.admin.v1alpha.AccessDimensionValue, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> dimensionValuesBuilder_; /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public java.util.List - getDimensionValuesList() { + public java.util.List getDimensionValuesList() { if (dimensionValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionValues_); } else { @@ -724,15 +653,12 @@ private void ensureDimensionValuesIsMutable() { } } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public int getDimensionValuesCount() { if (dimensionValuesBuilder_ == null) { @@ -742,15 +668,12 @@ public int getDimensionValuesCount() { } } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index) { if (dimensionValuesBuilder_ == null) { @@ -760,15 +683,12 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValue } } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder setDimensionValues( int index, com.google.analytics.admin.v1alpha.AccessDimensionValue value) { @@ -785,19 +705,15 @@ public Builder setDimensionValues( return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder setDimensionValues( - int index, - com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); dimensionValues_.set(index, builderForValue.build()); @@ -808,18 +724,14 @@ public Builder setDimensionValues( return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public Builder addDimensionValues( - com.google.analytics.admin.v1alpha.AccessDimensionValue value) { + public Builder addDimensionValues(com.google.analytics.admin.v1alpha.AccessDimensionValue value) { if (dimensionValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -833,15 +745,12 @@ public Builder addDimensionValues( return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder addDimensionValues( int index, com.google.analytics.admin.v1alpha.AccessDimensionValue value) { @@ -858,15 +767,12 @@ public Builder addDimensionValues( return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder addDimensionValues( com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { @@ -880,19 +786,15 @@ public Builder addDimensionValues( return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder addDimensionValues( - int index, - com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); dimensionValues_.add(index, builderForValue.build()); @@ -903,22 +805,19 @@ public Builder addDimensionValues( return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder addAllDimensionValues( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensionValues_); onChanged(); } else { dimensionValuesBuilder_.addAllMessages(values); @@ -926,15 +825,12 @@ public Builder addAllDimensionValues( return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder clearDimensionValues() { if (dimensionValuesBuilder_ == null) { @@ -947,15 +843,12 @@ public Builder clearDimensionValues() { return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ public Builder removeDimensionValues(int index) { if (dimensionValuesBuilder_ == null) { @@ -968,53 +861,42 @@ public Builder removeDimensionValues(int index) { return this; } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder - getDimensionValuesBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder getDimensionValuesBuilder( + int index) { return getDimensionValuesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder - getDimensionValuesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder( + int index) { if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); - } else { + return dimensionValues_.get(index); } else { return dimensionValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> - getDimensionValuesOrBuilderList() { + public java.util.List + getDimensionValuesOrBuilderList() { if (dimensionValuesBuilder_ != null) { return dimensionValuesBuilder_.getMessageOrBuilderList(); } else { @@ -1022,65 +904,48 @@ public Builder removeDimensionValues(int index) { } } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder - addDimensionValuesBuilder() { - return getDimensionValuesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder addDimensionValuesBuilder() { + return getDimensionValuesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder - addDimensionValuesBuilder(int index) { - return getDimensionValuesFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder addDimensionValuesBuilder( + int index) { + return getDimensionValuesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); } /** - * - * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - public java.util.List - getDimensionValuesBuilderList() { + public java.util.List + getDimensionValuesBuilderList() { return getDimensionValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionValue, - com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, - com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> + com.google.analytics.admin.v1alpha.AccessDimensionValue, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> getDimensionValuesFieldBuilder() { if (dimensionValuesBuilder_ == null) { - dimensionValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionValue, - com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, - com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder>( + dimensionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessDimensionValue, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder>( dimensionValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1091,26 +956,18 @@ public Builder removeDimensionValues(int index) { } private java.util.List metricValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metricValues_ = - new java.util.ArrayList( - metricValues_); + metricValues_ = new java.util.ArrayList(metricValues_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessMetricValue, - com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, - com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder> - metricValuesBuilder_; + com.google.analytics.admin.v1alpha.AccessMetricValue, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder> metricValuesBuilder_; /** - * - * *
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1118,8 +975,7 @@ private void ensureMetricValuesIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
-    public java.util.List
-        getMetricValuesList() {
+    public java.util.List getMetricValuesList() {
       if (metricValuesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(metricValues_);
       } else {
@@ -1127,8 +983,6 @@ private void ensureMetricValuesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1144,8 +998,6 @@ public int getMetricValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1161,8 +1013,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int
       }
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1185,8 +1035,6 @@ public Builder setMetricValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1206,8 +1054,6 @@ public Builder setMetricValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1229,8 +1075,6 @@ public Builder addMetricValues(com.google.analytics.admin.v1alpha.AccessMetricVa
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1253,8 +1097,6 @@ public Builder addMetricValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1274,8 +1116,6 @@ public Builder addMetricValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1295,8 +1135,6 @@ public Builder addMetricValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1308,7 +1146,8 @@ public Builder addAllMetricValues(
         java.lang.Iterable values) {
       if (metricValuesBuilder_ == null) {
         ensureMetricValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metricValues_);
         onChanged();
       } else {
         metricValuesBuilder_.addAllMessages(values);
@@ -1316,8 +1155,6 @@ public Builder addAllMetricValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1336,8 +1173,6 @@ public Builder clearMetricValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1356,8 +1191,6 @@ public Builder removeMetricValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1370,8 +1203,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder getMetricVal
       return getMetricValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1382,14 +1213,11 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder getMetricVal
     public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(
         int index) {
       if (metricValuesBuilder_ == null) {
-        return metricValues_.get(index);
-      } else {
+        return metricValues_.get(index);  } else {
         return metricValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1397,8 +1225,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
-    public java.util.List
-        getMetricValuesOrBuilderList() {
+    public java.util.List 
+         getMetricValuesOrBuilderList() {
       if (metricValuesBuilder_ != null) {
         return metricValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1406,8 +1234,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
       }
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1416,12 +1242,10 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
     public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricValuesBuilder() {
-      return getMetricValuesFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
+      return getMetricValuesFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1431,13 +1255,10 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricVal
      */
     public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricValuesBuilder(
         int index) {
-      return getMetricValuesFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
+      return getMetricValuesFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1445,30 +1266,27 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricVal
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
-    public java.util.List
-        getMetricValuesBuilderList() {
+    public java.util.List 
+         getMetricValuesBuilderList() {
       return getMetricValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessMetricValue,
-            com.google.analytics.admin.v1alpha.AccessMetricValue.Builder,
-            com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessMetricValue, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder> 
         getMetricValuesFieldBuilder() {
       if (metricValuesBuilder_ == null) {
-        metricValuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessMetricValue,
-                com.google.analytics.admin.v1alpha.AccessMetricValue.Builder,
-                com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>(
-                metricValues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        metricValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessMetricValue, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>(
+                metricValues_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         metricValues_ = null;
       }
       return metricValuesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1478,12 +1296,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessRow)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessRow)
   private static final com.google.analytics.admin.v1alpha.AccessRow DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessRow();
   }
@@ -1492,27 +1310,27 @@ public static com.google.analytics.admin.v1alpha.AccessRow getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AccessRow 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AccessRow 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;
@@ -1527,4 +1345,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.AccessRow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
similarity index 74%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
index 7c4bb2520499..b67313fba599 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
@@ -1,94 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface AccessRowOrBuilder
-    extends
+public interface AccessRowOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessRow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - java.util.List getDimensionValuesList(); + java.util.List + getDimensionValuesList(); /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index); /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ int getDimensionValuesCount(); /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ - java.util.List + java.util.List getDimensionValuesOrBuilderList(); /** - * - * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; */ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder( int index); /** - * - * *
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -96,10 +64,9 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
-  java.util.List getMetricValuesList();
+  java.util.List 
+      getMetricValuesList();
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -109,8 +76,6 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    */
   com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int index);
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -120,8 +85,6 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    */
   int getMetricValuesCount();
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -129,11 +92,9 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
-  java.util.List
+  java.util.List 
       getMetricValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -141,5 +102,6 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
-  com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(
+      int index);
 }
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
similarity index 68%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
index 2c531d2db4e1..6e5b00ff69e0 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * The filter for strings.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessStringFilter} */ -public final class AccessStringFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AccessStringFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessStringFilter) AccessStringFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AccessStringFilter.newBuilder() to construct. private AccessStringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessStringFilter() { matchType_ = 0; value_ = ""; @@ -44,43 +26,39 @@ private AccessStringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AccessStringFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessStringFilter.class, - com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessStringFilter.class, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); } /** - * - * *
    * The match type of a string filter.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AccessStringFilter.MatchType} */ - public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified
      * 
@@ -89,8 +67,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ MATCH_TYPE_UNSPECIFIED(0), /** - * - * *
      * Exact match of the string value.
      * 
@@ -99,8 +75,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ EXACT(1), /** - * - * *
      * Begins with the string value.
      * 
@@ -109,8 +83,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ BEGINS_WITH(2), /** - * - * *
      * Ends with the string value.
      * 
@@ -119,8 +91,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ ENDS_WITH(3), /** - * - * *
      * Contains the string value.
      * 
@@ -129,8 +99,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ CONTAINS(4), /** - * - * *
      * Full match for the regular expression with the string value.
      * 
@@ -139,8 +107,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ FULL_REGEXP(5), /** - * - * *
      * Partial match for the regular expression with the string value.
      * 
@@ -152,8 +118,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified
      * 
@@ -162,8 +126,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Exact match of the string value.
      * 
@@ -172,8 +134,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXACT_VALUE = 1; /** - * - * *
      * Begins with the string value.
      * 
@@ -182,8 +142,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BEGINS_WITH_VALUE = 2; /** - * - * *
      * Ends with the string value.
      * 
@@ -192,8 +150,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENDS_WITH_VALUE = 3; /** - * - * *
      * Contains the string value.
      * 
@@ -202,8 +158,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINS_VALUE = 4; /** - * - * *
      * Full match for the regular expression with the string value.
      * 
@@ -212,8 +166,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_REGEXP_VALUE = 5; /** - * - * *
      * Partial match for the regular expression with the string value.
      * 
@@ -222,6 +174,7 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTIAL_REGEXP_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -246,59 +199,53 @@ public static MatchType valueOf(int value) { */ public static MatchType forNumber(int value) { switch (value) { - case 0: - return MATCH_TYPE_UNSPECIFIED; - case 1: - return EXACT; - case 2: - return BEGINS_WITH; - case 3: - return ENDS_WITH; - case 4: - return CONTAINS; - case 5: - return FULL_REGEXP; - case 6: - return PARTIAL_REGEXP; - default: - return null; + case 0: return MATCH_TYPE_UNSPECIFIED; + case 1: return EXACT; + case 2: return BEGINS_WITH; + case 3: return ENDS_WITH; + case 4: return CONTAINS; + case 5: return FULL_REGEXP; + case 6: return PARTIAL_REGEXP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MatchType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchType findValueByNumber(int number) { - return MatchType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessStringFilter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessStringFilter.getDescriptor().getEnumTypes().get(0); } private static final MatchType[] VALUES = values(); - public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MatchType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -318,53 +265,38 @@ private MatchType(int value) { public static final int MATCH_TYPE_FIELD_NUMBER = 1; private int matchType_ = 0; /** - * - * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override - public int getMatchTypeValue() { + @java.lang.Override public int getMatchTypeValue() { return matchType_; } /** - * - * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @return The matchType. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = - com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); - return result == null - ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() { + com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); + return result == null ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** - * - * *
    * The string value used for the matching.
    * 
* * string value = 2; - * * @return The value. */ @java.lang.Override @@ -373,29 +305,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * The string value used for the matching.
    * 
* * string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -406,14 +338,11 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int CASE_SENSITIVE_FIELD_NUMBER = 3; private boolean caseSensitive_ = false; /** - * - * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 3; - * * @return The caseSensitive. */ @java.lang.Override @@ -422,7 +351,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,10 +362,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (matchType_ - != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (matchType_ != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -455,16 +382,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ - != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, matchType_); + if (matchType_ != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -474,17 +401,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessStringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessStringFilter other = - (com.google.analytics.admin.v1alpha.AccessStringFilter) obj; + com.google.analytics.admin.v1alpha.AccessStringFilter other = (com.google.analytics.admin.v1alpha.AccessStringFilter) obj; if (matchType_ != other.matchType_) return false; - if (!getValue().equals(other.getValue())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (getCaseSensitive() + != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -501,143 +429,137 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AccessStringFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessStringFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The filter for strings.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessStringFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessStringFilter) com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessStringFilter.class, - com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessStringFilter.class, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessStringFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -649,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; } @java.lang.Override @@ -670,11 +592,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessStringFilter result = - new com.google.analytics.admin.v1alpha.AccessStringFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AccessStringFilter result = new com.google.analytics.admin.v1alpha.AccessStringFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -696,39 +615,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessStringFilter public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AccessStringFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessStringFilter) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessStringFilter)other); } else { super.mergeFrom(other); return this; @@ -736,8 +654,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessStringFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -775,31 +692,27 @@ public Builder mergeFrom( 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: + 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) { @@ -809,34 +722,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int matchType_ = 0; /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override - public int getMatchTypeValue() { + @java.lang.Override public int getMatchTypeValue() { return matchType_; } /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @param value The enum numeric value on the wire for matchType to set. * @return This builder for chaining. */ @@ -847,38 +752,28 @@ public Builder setMatchTypeValue(int value) { return this; } /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @return The matchType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = - com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); - return result == null - ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); + return result == null ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED : result; } /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @param value The matchType to set. * @return This builder for chaining. */ - public Builder setMatchType( - com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType value) { + public Builder setMatchType(com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } @@ -888,14 +783,11 @@ public Builder setMatchType( return this; } /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @return This builder for chaining. */ public Builder clearMatchType() { @@ -907,20 +799,18 @@ public Builder clearMatchType() { private java.lang.Object value_ = ""; /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -929,21 +819,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -951,35 +840,28 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -989,21 +871,17 @@ public Builder clearValue() { return this; } /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -1011,16 +889,13 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { return this; } - private boolean caseSensitive_; + private boolean caseSensitive_ ; /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; - * * @return The caseSensitive. */ @java.lang.Override @@ -1028,33 +903,27 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; - * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; - * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -1063,9 +932,9 @@ public Builder clearCaseSensitive() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +944,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessStringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessStringFilter) private static final com.google.analytics.admin.v1alpha.AccessStringFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessStringFilter(); } @@ -1089,27 +958,27 @@ public static com.google.analytics.admin.v1alpha.AccessStringFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessStringFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessStringFilter 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; @@ -1124,4 +993,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessStringFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java index 668d1e561cdb..22033296b3a4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java @@ -1,87 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessStringFilterOrBuilder - extends +public interface AccessStringFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessStringFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @return The enum numeric value on the wire for matchType. */ int getMatchTypeValue(); /** - * - * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * * @return The matchType. */ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType(); /** - * - * *
    * The string value used for the matching.
    * 
* * string value = 2; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * The string value used for the matching.
    * 
* * string value = 2; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 3; - * * @return The caseSensitive. */ boolean getCaseSensitive(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java index 56f93d453c8b..9df649d8553b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a Google Analytics account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Account} */ -public final class Account extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Account extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Account) AccountOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Account.newBuilder() to construct. private Account(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Account() { name_ = ""; displayName_ = ""; @@ -45,37 +27,33 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Account(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_Account_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Account.class, - com.google.analytics.admin.v1alpha.Account.Builder.class); + com.google.analytics.admin.v1alpha.Account.class, com.google.analytics.admin.v1alpha.Account.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -108,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,15 +104,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -143,15 +116,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -159,14 +128,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -176,15 +142,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -192,15 +154,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -208,14 +166,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -223,18 +178,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -243,29 +194,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -274,18 +225,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int REGION_CODE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object regionCode_ = ""; /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The regionCode. */ @java.lang.Override @@ -294,29 +241,29 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -327,15 +274,12 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int DELETED_FIELD_NUMBER = 6; private boolean deleted_ = false; /** - * - * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -344,7 +288,6 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -388,10 +332,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); @@ -400,7 +346,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, regionCode_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, deleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, deleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -410,26 +357,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.Account)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.Account other = - (com.google.analytics.admin.v1alpha.Account) obj; + com.google.analytics.admin.v1alpha.Account other = (com.google.analytics.admin.v1alpha.Account) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; - if (getDeleted() != other.getDeleted()) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; + if (getDeleted() + != other.getDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -456,142 +408,137 @@ public int hashCode() { hash = (37 * hash) + REGION_CODE_FIELD_NUMBER; hash = (53 * hash) + getRegionCode().hashCode(); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.Account parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.Account parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Account parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Account parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Account parseFrom( 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.Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Account parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Account parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Account parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.Account parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.Account parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Account parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Account parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Account parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.Account prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a Google Analytics account.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Account} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.Account) com.google.analytics.admin.v1alpha.AccountOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Account_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Account.class, - com.google.analytics.admin.v1alpha.Account.Builder.class); + com.google.analytics.admin.v1alpha.Account.class, com.google.analytics.admin.v1alpha.Account.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.Account.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +561,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Account_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_descriptor; } @java.lang.Override @@ -635,11 +582,8 @@ public com.google.analytics.admin.v1alpha.Account build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Account buildPartial() { - com.google.analytics.admin.v1alpha.Account result = - new com.google.analytics.admin.v1alpha.Account(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.Account result = new com.google.analytics.admin.v1alpha.Account(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -650,10 +594,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Account result) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.displayName_ = displayName_; @@ -670,39 +618,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Account result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.Account) { - return mergeFrom((com.google.analytics.admin.v1alpha.Account) other); + return mergeFrom((com.google.analytics.admin.v1alpha.Account)other); } else { super.mergeFrom(other); return this; @@ -761,49 +708,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - regionCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - deleted_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + regionCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + deleted_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -813,13 +757,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -827,13 +768,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -842,8 +783,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -851,14 +790,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -866,8 +806,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -875,22 +813,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + 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 account.
      * Format: accounts/{account}
@@ -898,7 +832,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -908,8 +841,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -917,14 +848,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -934,58 +863,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1001,17 +911,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1022,21 +929,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1049,15 +952,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1070,15 +969,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1086,48 +981,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1135,58 +1018,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1202,17 +1066,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1223,21 +1084,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1250,15 +1107,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1271,15 +1124,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1287,48 +1136,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1336,20 +1173,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1358,21 +1193,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1380,35 +1214,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1418,21 +1245,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -1442,20 +1265,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object regionCode_ = ""; /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1464,21 +1285,20 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1486,35 +1306,28 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } regionCode_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return This builder for chaining. */ public Builder clearRegionCode() { @@ -1524,21 +1337,17 @@ public Builder clearRegionCode() { return this; } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); regionCode_ = value; bitField0_ |= 0x00000010; @@ -1546,17 +1355,14 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { return this; } - private boolean deleted_; + private boolean deleted_ ; /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -1564,35 +1370,29 @@ public boolean getDeleted() { return deleted_; } /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -1601,9 +1401,9 @@ public Builder clearDeleted() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1613,12 +1413,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.Account) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.Account) private static final com.google.analytics.admin.v1alpha.Account DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.Account(); } @@ -1627,27 +1427,27 @@ public static com.google.analytics.admin.v1alpha.Account getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Account 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Account 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; @@ -1662,4 +1462,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java index 9aae2948cfe0..9f1c370c1261 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountOrBuilder - extends +public interface AccountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Account) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -33,13 +15,10 @@ public interface AccountOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -47,147 +26,112 @@ public interface AccountOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ boolean getDeleted(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java index bfd6cbcd9a68..4ef4a43f1cdc 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A virtual resource representing an overview of an account and
  * all its child GA4 properties.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccountSummary}
  */
-public final class AccountSummary extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccountSummary extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccountSummary)
     AccountSummaryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccountSummary.newBuilder() to construct.
   private AccountSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AccountSummary() {
     name_ = "";
     account_ = "";
@@ -47,37 +29,33 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_AccountSummary_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccountSummary.class,
-            com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
+            com.google.analytics.admin.v1alpha.AccountSummary.class, com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -85,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -94,15 +71,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -110,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,12 +104,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ACCOUNT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -140,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ @java.lang.Override @@ -149,15 +122,14 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -165,15 +137,16 @@ public java.lang.String getAccount() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -182,18 +155,14 @@ public com.google.protobuf.ByteString getAccountBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -202,29 +171,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -233,12 +202,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int PROPERTY_SUMMARIES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List propertySummaries_; /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -246,13 +212,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List - getPropertySummariesList() { + public java.util.List getPropertySummariesList() { return propertySummaries_; } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -260,13 +223,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List + public java.util.List getPropertySummariesOrBuilderList() { return propertySummaries_; } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -278,8 +239,6 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -291,8 +250,6 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i return propertySummaries_.get(index); } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -306,7 +263,6 @@ public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -350,8 +307,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } for (int i = 0; i < propertySummaries_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, propertySummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, propertySummaries_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -361,18 +318,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccountSummary)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccountSummary other = - (com.google.analytics.admin.v1alpha.AccountSummary) obj; + com.google.analytics.admin.v1alpha.AccountSummary other = (com.google.analytics.admin.v1alpha.AccountSummary) obj; - if (!getName().equals(other.getName())) return false; - if (!getAccount().equals(other.getAccount())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getPropertySummariesList().equals(other.getPropertySummariesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getPropertySummariesList() + .equals(other.getPropertySummariesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -400,103 +360,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( 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.AccountSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccountSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A virtual resource representing an overview of an account and
    * all its child GA4 properties.
@@ -504,32 +457,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccountSummary}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccountSummary)
       com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccountSummary.class,
-              com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
+              com.google.analytics.admin.v1alpha.AccountSummary.class, com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccountSummary.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -548,9 +502,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
     }
 
     @java.lang.Override
@@ -569,18 +523,14 @@ public com.google.analytics.admin.v1alpha.AccountSummary build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccountSummary buildPartial() {
-      com.google.analytics.admin.v1alpha.AccountSummary result =
-          new com.google.analytics.admin.v1alpha.AccountSummary(this);
+      com.google.analytics.admin.v1alpha.AccountSummary result = new com.google.analytics.admin.v1alpha.AccountSummary(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.analytics.admin.v1alpha.AccountSummary result) {
+    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AccountSummary result) {
       if (propertySummariesBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           propertySummaries_ = java.util.Collections.unmodifiableList(propertySummaries_);
@@ -609,39 +559,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccountSummary res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AccountSummary) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccountSummary) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccountSummary)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -649,8 +598,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccountSummary other) {
-      if (other == com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -684,10 +632,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccountSummary other
             propertySummariesBuilder_ = null;
             propertySummaries_ = other.propertySummaries_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            propertySummariesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPropertySummariesFieldBuilder()
-                    : null;
+            propertySummariesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPropertySummariesFieldBuilder() : null;
           } else {
             propertySummariesBuilder_.addAllMessages(other.propertySummaries_);
           }
@@ -719,45 +666,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                account_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.analytics.admin.v1alpha.PropertySummary m =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.PropertySummary.parser(),
-                        extensionRegistry);
-                if (propertySummariesBuilder_ == null) {
-                  ensurePropertySummariesIsMutable();
-                  propertySummaries_.add(m);
-                } else {
-                  propertySummariesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              account_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              com.google.analytics.admin.v1alpha.PropertySummary m =
+                  input.readMessage(
+                      com.google.analytics.admin.v1alpha.PropertySummary.parser(),
+                      extensionRegistry);
+              if (propertySummariesBuilder_ == null) {
+                ensurePropertySummariesIsMutable();
+                propertySummaries_.add(m);
+              } else {
+                propertySummariesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            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) {
@@ -767,13 +709,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -781,13 +720,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -796,8 +735,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -805,14 +742,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -820,8 +758,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -829,22 +765,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -852,7 +784,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -862,8 +793,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -871,14 +800,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -888,8 +815,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object account_ = ""; /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -897,13 +822,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -912,8 +837,6 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -921,14 +844,15 @@ public java.lang.String getAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -936,8 +860,6 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -945,22 +867,18 @@ public com.google.protobuf.ByteString getAccountBytes() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } account_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -968,7 +886,6 @@ public Builder setAccount(java.lang.String value) {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAccount() { @@ -978,8 +895,6 @@ public Builder clearAccount() { return this; } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -987,14 +902,12 @@ public Builder clearAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000002; @@ -1004,20 +917,18 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1026,21 +937,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1048,35 +958,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1086,21 +989,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1109,34 +1008,25 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } private java.util.List propertySummaries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePropertySummariesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - propertySummaries_ = - new java.util.ArrayList( - propertySummaries_); + propertySummaries_ = new java.util.ArrayList(propertySummaries_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, - com.google.analytics.admin.v1alpha.PropertySummary.Builder, - com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> - propertySummariesBuilder_; + com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> propertySummariesBuilder_; /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesList() { + public java.util.List getPropertySummariesList() { if (propertySummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(propertySummaries_); } else { @@ -1144,8 +1034,6 @@ private void ensurePropertySummariesIsMutable() { } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1160,8 +1048,6 @@ public int getPropertySummariesCount() { } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1176,8 +1062,6 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1199,8 +1083,6 @@ public Builder setPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1219,8 +1101,6 @@ public Builder setPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1241,8 +1121,6 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1alpha.PropertyS return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1264,8 +1142,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1284,8 +1160,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1304,8 +1178,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1316,7 +1188,8 @@ public Builder addAllPropertySummaries( java.lang.Iterable values) { if (propertySummariesBuilder_ == null) { ensurePropertySummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, propertySummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, propertySummaries_); onChanged(); } else { propertySummariesBuilder_.addAllMessages(values); @@ -1324,8 +1197,6 @@ public Builder addAllPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1343,8 +1214,6 @@ public Builder clearPropertySummaries() { return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1362,8 +1231,6 @@ public Builder removePropertySummaries(int index) { return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1375,33 +1242,28 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder getPropertySum return getPropertySummariesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder - getPropertySummariesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySummariesOrBuilder( + int index) { if (propertySummariesBuilder_ == null) { - return propertySummaries_.get(index); - } else { + return propertySummaries_.get(index); } else { return propertySummariesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesOrBuilderList() { + public java.util.List + getPropertySummariesOrBuilderList() { if (propertySummariesBuilder_ != null) { return propertySummariesBuilder_.getMessageOrBuilderList(); } else { @@ -1409,22 +1271,17 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder getPropertySum } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public com.google.analytics.admin.v1alpha.PropertySummary.Builder - addPropertySummariesBuilder() { - return getPropertySummariesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySummariesBuilder() { + return getPropertySummariesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1433,35 +1290,26 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder getPropertySum */ public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySummariesBuilder( int index) { - return getPropertySummariesFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); + return getPropertySummariesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesBuilderList() { + public java.util.List + getPropertySummariesBuilderList() { return getPropertySummariesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, - com.google.analytics.admin.v1alpha.PropertySummary.Builder, - com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> + com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> getPropertySummariesFieldBuilder() { if (propertySummariesBuilder_ == null) { - propertySummariesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, - com.google.analytics.admin.v1alpha.PropertySummary.Builder, - com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder>( + propertySummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder>( propertySummaries_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1470,9 +1318,9 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySum } return propertySummariesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1482,12 +1330,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccountSummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccountSummary) private static final com.google.analytics.admin.v1alpha.AccountSummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccountSummary(); } @@ -1496,27 +1344,27 @@ public static com.google.analytics.admin.v1alpha.AccountSummary getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccountSummary 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccountSummary 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; @@ -1531,4 +1379,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccountSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java similarity index 76% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java index bc3b45fe750b..7e3379d5b602 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountSummaryOrBuilder - extends +public interface AccountSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccountSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -33,13 +15,10 @@ public interface AccountSummaryOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -47,14 +26,12 @@ public interface AccountSummaryOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -62,13 +39,10 @@ public interface AccountSummaryOrBuilder
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -76,49 +50,41 @@ public interface AccountSummaryOrBuilder
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List getPropertySummariesList(); + java.util.List + getPropertySummariesList(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -127,8 +93,6 @@ public interface AccountSummaryOrBuilder */ com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(int index); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -137,19 +101,15 @@ public interface AccountSummaryOrBuilder */ int getPropertySummariesCount(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List + java.util.List getPropertySummariesOrBuilderList(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java index 0a14e27fefc6..90318f06778e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest} */ -public final class AcknowledgeUserDataCollectionRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AcknowledgeUserDataCollectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) AcknowledgeUserDataCollectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionRequest.newBuilder() to construct. - private AcknowledgeUserDataCollectionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AcknowledgeUserDataCollectionRequest() { property_ = ""; acknowledgement_ = ""; @@ -46,45 +26,38 @@ private AcknowledgeUserDataCollectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_AcknowledgeUserDataCollectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder.class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The property. */ @java.lang.Override @@ -93,31 +66,29 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -126,15 +97,12 @@ public com.google.protobuf.ByteString getPropertyBytes() { } public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object acknowledgement_ = ""; /** - * - * *
-   * 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,
@@ -143,7 +111,6 @@ public com.google.protobuf.ByteString getPropertyBytes() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The acknowledgement. */ @java.lang.Override @@ -152,18 +119,17 @@ public java.lang.String getAcknowledgement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; } } /** - * - * *
-   * 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,
@@ -172,15 +138,16 @@ public java.lang.String getAcknowledgement() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for acknowledgement. */ @java.lang.Override - public com.google.protobuf.ByteString getAcknowledgementBytes() { + public com.google.protobuf.ByteString + getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -189,7 +156,6 @@ public com.google.protobuf.ByteString getAcknowledgementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -231,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other = - (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) obj; + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) obj; - if (!getProperty().equals(other.getProperty())) return false; - if (!getAcknowledgement().equals(other.getAcknowledgement())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; + if (!getAcknowledgement() + .equals(other.getAcknowledgement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,139 +230,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( 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.AcknowledgeUserDataCollectionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - 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.AcknowledgeUserDataCollectionRequest 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.AcknowledgeUserDataCollectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder - .class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -405,22 +363,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest build() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -429,17 +384,13 @@ public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest b @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest buildPartial() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = - new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -453,52 +404,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AcknowledgeUserDataCollectionRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other) { - if (other - == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other) { + if (other == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -535,25 +480,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - acknowledgement_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + acknowledgement_ = 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) { @@ -563,27 +505,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -592,23 +529,20 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -616,39 +550,28 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProperty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearProperty() { @@ -658,23 +581,17 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -684,11 +601,9 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) { private java.lang.Object acknowledgement_ = ""; /** - * - * *
-     * 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,
@@ -697,13 +612,13 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The acknowledgement. */ public java.lang.String getAcknowledgement() { java.lang.Object ref = acknowledgement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; @@ -712,11 +627,9 @@ 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,
@@ -725,14 +638,15 @@ public java.lang.String getAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for acknowledgement. */ - public com.google.protobuf.ByteString getAcknowledgementBytes() { + public com.google.protobuf.ByteString + getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -740,11 +654,9 @@ 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,
@@ -753,25 +665,21 @@ public com.google.protobuf.ByteString getAcknowledgementBytes() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgement(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAcknowledgement( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * 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,
@@ -780,7 +688,6 @@ public Builder setAcknowledgement(java.lang.String value) {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAcknowledgement() { @@ -790,11 +697,9 @@ public Builder clearAcknowledgement() { return this; } /** - * - * *
-     * 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,
@@ -803,23 +708,21 @@ public Builder clearAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgementBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAcknowledgementBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,44 +732,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) - private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionRequest 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; @@ -878,8 +778,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java index 35c9aa57b8ef..66837207c912 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AcknowledgeUserDataCollectionRequestOrBuilder - extends +public interface AcknowledgeUserDataCollectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + 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,
@@ -66,16 +39,13 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The acknowledgement. */ 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,
@@ -84,8 +54,8 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for acknowledgement. */ - com.google.protobuf.ByteString getAcknowledgementBytes(); + com.google.protobuf.ByteString + getAcknowledgementBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java index f84c754abbba..770dbcd43ac8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java @@ -1,74 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse} */ -public final class AcknowledgeUserDataCollectionResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AcknowledgeUserDataCollectionResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) AcknowledgeUserDataCollectionResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionResponse.newBuilder() to construct. - private AcknowledgeUserDataCollectionResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AcknowledgeUserDataCollectionResponse() {} + private AcknowledgeUserDataCollectionResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_AcknowledgeUserDataCollectionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder.class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -80,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -98,14 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other = - (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) obj; + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -124,139 +102,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( 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.AcknowledgeUserDataCollectionResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - 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.AcknowledgeUserDataCollectionResponse 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.AcknowledgeUserDataCollectionResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder - .class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -264,22 +232,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse build() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = - buildPartial(); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -288,8 +253,7 @@ public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse buildPartial() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = - new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(this); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(this); onBuilt(); return result; } @@ -298,52 +262,46 @@ public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AcknowledgeUserDataCollectionResponse) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) other); + if (other instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other) { - if (other - == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other) { + if (other == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -370,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -386,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -398,44 +355,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) - private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionResponse 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; @@ -447,8 +401,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java new file mode 100644 index 000000000000..6c0aab20c0c3 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java @@ -0,0 +1,9 @@ +// 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 AcknowledgeUserDataCollectionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java index bdd4ca5b1a0c..833f11734574 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Types of actions that may change a resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ActionType} */ -public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { +public enum ActionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Action type unknown or not specified.
    * 
@@ -39,8 +21,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ ACTION_TYPE_UNSPECIFIED(0), /** - * - * *
    * Resource was created in this change.
    * 
@@ -49,8 +29,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ CREATED(1), /** - * - * *
    * Resource was updated in this change.
    * 
@@ -59,8 +37,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ UPDATED(2), /** - * - * *
    * Resource was deleted in this change.
    * 
@@ -72,8 +48,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Action type unknown or not specified.
    * 
@@ -82,8 +56,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource was created in this change.
    * 
@@ -92,8 +64,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 1; /** - * - * *
    * Resource was updated in this change.
    * 
@@ -102,8 +72,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATED_VALUE = 2; /** - * - * *
    * Resource was deleted in this change.
    * 
@@ -112,6 +80,7 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: - return ACTION_TYPE_UNSPECIFIED; - case 1: - return CREATED; - case 2: - return UPDATED; - case 3: - return DELETED; - default: - return null; + case 0: return ACTION_TYPE_UNSPECIFIED; + case 1: return CREATED; + case 2: return UPDATED; + case 3: return DELETED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ActionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActionType findValueByNumber(int number) { + return ActionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(3); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,3 +164,4 @@ private ActionType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActionType) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java index b34ddadc6f76..3ec53b37e2b0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Different kinds of actors that can make changes to Google Analytics
  * resources.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.ActorType}
  */
-public enum ActorType implements com.google.protobuf.ProtocolMessageEnum {
+public enum ActorType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Unknown or unspecified actor type.
    * 
@@ -40,8 +22,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ ACTOR_TYPE_UNSPECIFIED(0), /** - * - * *
    * Changes made by the user specified in actor_email.
    * 
@@ -50,8 +30,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
    * Changes made by the Google Analytics system.
    * 
@@ -60,8 +38,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM(2), /** - * - * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -73,8 +49,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unknown or unspecified actor type.
    * 
@@ -83,8 +57,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTOR_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Changes made by the user specified in actor_email.
    * 
@@ -93,8 +65,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 1; /** - * - * *
    * Changes made by the Google Analytics system.
    * 
@@ -103,8 +73,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_VALUE = 2; /** - * - * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -113,6 +81,7 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUPPORT_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,51 +106,50 @@ public static ActorType valueOf(int value) { */ public static ActorType forNumber(int value) { switch (value) { - case 0: - return ACTOR_TYPE_UNSPECIFIED; - case 1: - return USER; - case 2: - return SYSTEM; - case 3: - return SUPPORT; - default: - return null; + case 0: return ACTOR_TYPE_UNSPECIFIED; + case 1: return USER; + case 2: return SYSTEM; + case 3: return SUPPORT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActorType findValueByNumber(int number) { - return ActorType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ActorType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActorType findValueByNumber(int number) { + return ActorType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final ActorType[] VALUES = values(); - public static ActorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActorType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -197,3 +165,4 @@ private ActorType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActorType) } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java new file mode 100644 index 000000000000..6dfb8f638b63 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java @@ -0,0 +1,2248 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public final class AnalyticsAdminProto { + private AnalyticsAdminProto() {} + 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_RunAccessReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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 + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/analytics/admin/v1alpha/analyti" + + "cs_admin.proto\022\036google.analytics.admin.v" + + "1alpha\0322google/analytics/admin/v1alpha/a" + + "ccess_report.proto\032-google/analytics/adm" + + "in/v1alpha/audience.proto\032.google/analyt" + + "ics/admin/v1alpha/resources.proto\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032\033google/pro" + + "tobuf/empty.proto\032 google/protobuf/field" + + "_mask.proto\032\037google/protobuf/timestamp.p" + + "roto\"\244\004\n\026RunAccessReportRequest\022\016\n\006entit" + + "y\030\001 \001(\t\022C\n\ndimensions\030\002 \003(\0132/.google.ana" + + "lytics.admin.v1alpha.AccessDimension\022=\n\007" + + "metrics\030\003 \003(\0132,.google.analytics.admin.v" + + "1alpha.AccessMetric\022D\n\013date_ranges\030\004 \003(\013" + + "2/.google.analytics.admin.v1alpha.Access" + + "DateRange\022P\n\020dimension_filter\030\005 \001(\01326.go" + + "ogle.analytics.admin.v1alpha.AccessFilte" + + "rExpression\022M\n\rmetric_filter\030\006 \001(\01326.goo" + + "gle.analytics.admin.v1alpha.AccessFilter" + + "Expression\022\016\n\006offset\030\007 \001(\003\022\r\n\005limit\030\010 \001(" + + "\003\022\021\n\ttime_zone\030\t \001(\t\022@\n\torder_bys\030\n \003(\0132" + + "-.google.analytics.admin.v1alpha.AccessO" + + "rderBy\022\033\n\023return_entity_quota\030\013 \001(\010\"\277\002\n\027" + + "RunAccessReportResponse\022P\n\021dimension_hea" + + "ders\030\001 \003(\01325.google.analytics.admin.v1al" + + "pha.AccessDimensionHeader\022J\n\016metric_head" + + "ers\030\002 \003(\01322.google.analytics.admin.v1alp" + + "ha.AccessMetricHeader\0227\n\004rows\030\003 \003(\0132).go" + + "ogle.analytics.admin.v1alpha.AccessRow\022\021" + + "\n\trow_count\030\004 \001(\005\022:\n\005quota\030\005 \001(\0132+.googl" + + "e.analytics.admin.v1alpha.AccessQuota\"P\n" + + "\021GetAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'" + + "\n%analyticsadmin.googleapis.com/Account\"" + + "R\n\023ListAccountsRequest\022\021\n\tpage_size\030\001 \001(" + + "\005\022\022\n\npage_token\030\002 \001(\t\022\024\n\014show_deleted\030\003 " + + "\001(\010\"j\n\024ListAccountsResponse\0229\n\010accounts\030" + + "\001 \003(\0132\'.google.analytics.admin.v1alpha.A" + + "ccount\022\027\n\017next_page_token\030\002 \001(\t\"S\n\024Delet" + + "eAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a" + + "nalyticsadmin.googleapis.com/Account\"\213\001\n" + + "\024UpdateAccountRequest\022=\n\007account\030\001 \001(\0132\'" + + ".google.analytics.admin.v1alpha.AccountB" + + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMaskB\003\340A\002\"o\n\035ProvisionAccountTi" + + "cketRequest\0228\n\007account\030\001 \001(\0132\'.google.an" + + "alytics.admin.v1alpha.Account\022\024\n\014redirec" + + "t_uri\030\002 \001(\t\";\n\036ProvisionAccountTicketRes" + + "ponse\022\031\n\021account_ticket_id\030\001 \001(\t\"R\n\022GetP" + + "ropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&an" + + "alyticsadmin.googleapis.com/Property\"i\n\025" + + "ListPropertiesRequest\022\023\n\006filter\030\001 \001(\tB\003\340" + + "A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\022\024\n\014show_deleted\030\004 \001(\010\"o\n\026ListPropertie" + + "sResponse\022<\n\nproperties\030\001 \003(\0132(.google.a" + + "nalytics.admin.v1alpha.Property\022\027\n\017next_" + + "page_token\030\002 \001(\t\"\216\001\n\025UpdatePropertyReque" + + "st\022?\n\010property\030\001 \001(\0132(.google.analytics." + + "admin.v1alpha.PropertyB\003\340A\002\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"X\n\025CreatePropertyRequest\022?\n\010property\030\001" + + " \001(\0132(.google.analytics.admin.v1alpha.Pr" + + "opertyB\003\340A\002\"U\n\025DeletePropertyRequest\022<\n\004" + + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" + + "eapis.com/Property\"R\n\022GetUserLinkRequest" + + "\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.g" + + "oogleapis.com/UserLink\"\231\001\n\030BatchGetUserL" + + "inksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&ana" + + "lyticsadmin.googleapis.com/UserLink\022=\n\005n" + + "ames\030\002 \003(\tB.\340A\002\372A(\n&analyticsadmin.googl" + + "eapis.com/UserLink\"Y\n\031BatchGetUserLinksR" + + "esponse\022<\n\nuser_links\030\001 \003(\0132(.google.ana" + + "lytics.admin.v1alpha.UserLink\"}\n\024ListUse" + + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" + + "nalyticsadmin.googleapis.com/UserLink\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025" + + "ListUserLinksResponse\022<\n\nuser_links\030\001 \003(" + + "\0132(.google.analytics.admin.v1alpha.UserL" + + "ink\022\027\n\017next_page_token\030\002 \001(\t\"~\n\025AuditUse" + + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" + + "nalyticsadmin.googleapis.com/UserLink\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026" + + "AuditUserLinksResponse\022A\n\nuser_links\030\001 \003" + + "(\0132-.google.analytics.admin.v1alpha.Audi" + + "tUserLink\022\027\n\017next_page_token\030\002 \001(\t\"\267\001\n\025C" + + "reateUserLinkRequest\022>\n\006parent\030\001 \001(\tB.\340A" + + "\002\372A(\022&analyticsadmin.googleapis.com/User" + + "Link\022\034\n\017notify_new_user\030\002 \001(\010B\003\340A\001\022@\n\tus" + + "er_link\030\003 \001(\0132(.google.analytics.admin.v" + + "1alpha.UserLinkB\003\340A\002\"\312\001\n\033BatchCreateUser" + + "LinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&an" + + "alyticsadmin.googleapis.com/UserLink\022\035\n\020" + + "notify_new_users\030\002 \001(\010B\003\340A\001\022L\n\010requests\030" + + "\003 \003(\01325.google.analytics.admin.v1alpha.C" + + "reateUserLinkRequestB\003\340A\002\"\\\n\034BatchCreate" + + "UserLinksResponse\022<\n\nuser_links\030\001 \003(\0132(." + + "google.analytics.admin.v1alpha.UserLink\"" + + "Y\n\025UpdateUserLinkRequest\022@\n\tuser_link\030\001 " + + "\001(\0132(.google.analytics.admin.v1alpha.Use" + + "rLinkB\003\340A\002\"\253\001\n\033BatchUpdateUserLinksReque" + + "st\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadm" + + "in.googleapis.com/UserLink\022L\n\010requests\030\002" + + " \003(\01325.google.analytics.admin.v1alpha.Up" + + "dateUserLinkRequestB\003\340A\002\"\\\n\034BatchUpdateU" + + "serLinksResponse\022<\n\nuser_links\030\001 \003(\0132(.g" + + "oogle.analytics.admin.v1alpha.UserLink\"U" + + "\n\025DeleteUserLinkRequest\022<\n\004name\030\001 \001(\tB.\340" + + "A\002\372A(\n&analyticsadmin.googleapis.com/Use" + + "rLink\"\253\001\n\033BatchDeleteUserLinksRequest\022>\n" + + "\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.go" + + "ogleapis.com/UserLink\022L\n\010requests\030\002 \003(\0132" + + "5.google.analytics.admin.v1alpha.DeleteU" + + "serLinkRequestB\003\340A\002\"\251\001\n\031CreateFirebaseLi" + + "nkRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analy" + + "ticsadmin.googleapis.com/FirebaseLink\022H\n" + + "\rfirebase_link\030\002 \001(\0132,.google.analytics." + + "admin.v1alpha.FirebaseLinkB\003\340A\002\"]\n\031Delet" + + "eFirebaseLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + + "A,\n*analyticsadmin.googleapis.com/Fireba" + + "seLink\"\205\001\n\030ListFirebaseLinksRequest\022B\n\006p" + + "arent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.goog" + + "leapis.com/FirebaseLink\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListFirebaseLi" + + "nksResponse\022D\n\016firebase_links\030\001 \003(\0132,.go" + + "ogle.analytics.admin.v1alpha.FirebaseLin" + + "k\022\027\n\017next_page_token\030\002 \001(\t\"\\\n\027GetGlobalS" + + "iteTagRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+ana" + + "lyticsadmin.googleapis.com/GlobalSiteTag" + + "\"\256\001\n\032CreateGoogleAdsLinkRequest\022C\n\006paren" + + "t\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.googleap" + + "is.com/GoogleAdsLink\022K\n\017google_ads_link\030" + + "\002 \001(\0132-.google.analytics.admin.v1alpha.G" + + "oogleAdsLinkB\003\340A\002\"\232\001\n\032UpdateGoogleAdsLin" + + "kRequest\022F\n\017google_ads_link\030\001 \001(\0132-.goog" + + "le.analytics.admin.v1alpha.GoogleAdsLink" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" + + "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" + + "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" + + "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" + + "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"~\n\032ListGoogleAdsLinksResponse\022" + + "G\n\020google_ads_links\030\001 \003(\0132-.google.analy" + + "tics.admin.v1alpha.GoogleAdsLink\022\027\n\017next" + + "_page_token\030\002 \001(\t\"h\n\035GetDataSharingSetti" + + "ngsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyt" + + "icsadmin.googleapis.com/DataSharingSetti" + + "ngs\"D\n\033ListAccountSummariesRequest\022\021\n\tpa" + + "ge_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034Li" + + "stAccountSummariesResponse\022I\n\021account_su" + + "mmaries\030\001 \003(\0132..google.analytics.admin.v" + + "1alpha.AccountSummary\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\206\001\n$AcknowledgeUserDataCollection" + + "Request\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analy" + + "ticsadmin.googleapis.com/Property\022\034\n\017ack" + + "nowledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUs" + + "erDataCollectionResponse\"\203\004\n SearchChang" + + "eHistoryEventsRequest\022>\n\007account\030\001 \001(\tB-" + + "\340A\002\372A\'\n%analyticsadmin.googleapis.com/Ac" + + "count\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analyti" + + "csadmin.googleapis.com/Property\022U\n\rresou" + + "rce_type\030\003 \003(\01629.google.analytics.admin." + + "v1alpha.ChangeHistoryResourceTypeB\003\340A\001\022?" + + "\n\006action\030\004 \003(\0162*.google.analytics.admin." + + "v1alpha.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005" + + " \003(\tB\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\001\022;\n\022late" + + "st_change_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n" + + "\npage_token\030\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeH" + + "istoryEventsResponse\022Q\n\025change_history_e" + + "vents\030\001 \003(\01322.google.analytics.admin.v1a" + + "lpha.ChangeHistoryEvent\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"t\n#GetMeasurementProtocolSecret" + + "Request\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analytics" + + "admin.googleapis.com/MeasurementProtocol" + + "Secret\"\336\001\n&CreateMeasurementProtocolSecr" + + "etRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analy" + + "ticsadmin.googleapis.com/MeasurementProt" + + "ocolSecret\022c\n\033measurement_protocol_secre" + + "t\030\002 \001(\01329.google.analytics.admin.v1alpha" + + ".MeasurementProtocolSecretB\003\340A\002\"w\n&Delet" + + "eMeasurementProtocolSecretRequest\022M\n\004nam" + + "e\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.googleap" + + "is.com/MeasurementProtocolSecret\"\276\001\n&Upd" + + "ateMeasurementProtocolSecretRequest\022c\n\033m" + + "easurement_protocol_secret\030\001 \001(\01329.googl" + + "e.analytics.admin.v1alpha.MeasurementPro" + + "tocolSecretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032." + + "google.protobuf.FieldMask\"\237\001\n%ListMeasur" + + "ementProtocolSecretsRequest\022O\n\006parent\030\001 " + + "\001(\tB?\340A\002\372A9\0227analyticsadmin.googleapis.c" + + "om/MeasurementProtocolSecret\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\242\001\n&ListMeas" + + "urementProtocolSecretsResponse\022_\n\034measur" + + "ement_protocol_secrets\030\001 \003(\01329.google.an" + + "alytics.admin.v1alpha.MeasurementProtoco" + + "lSecret\022\027\n\017next_page_token\030\002 \001(\t\"l\n\037GetG" + + "oogleSignalsSettingsRequest\022I\n\004name\030\001 \001(" + + "\tB;\340A\002\372A5\n3analyticsadmin.googleapis.com" + + "/GoogleSignalsSettings\"\267\001\n\"UpdateGoogleS" + + "ignalsSettingsRequest\022[\n\027google_signals_" + + "settings\030\001 \001(\01325.google.analytics.admin." + + "v1alpha.GoogleSignalsSettingsB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"\265\001\n\034CreateConversionEventReques" + + "t\022N\n\020conversion_event\030\001 \001(\0132/.google.ana" + + "lytics.admin.v1alpha.ConversionEventB\003\340A" + + "\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/\022-analyticsadmi" + + "n.googleapis.com/ConversionEvent\"`\n\031GetC" + + "onversionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + + "\372A/\n-analyticsadmin.googleapis.com/Conve" + + "rsionEvent\"c\n\034DeleteConversionEventReque" + + "st\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin" + + ".googleapis.com/ConversionEvent\"\213\001\n\033List" + + "ConversionEventsRequest\022E\n\006parent\030\001 \001(\tB" + + "5\340A\002\372A/\022-analyticsadmin.googleapis.com/C" + + "onversionEvent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\"\203\001\n\034ListConversionEventsRe" + + "sponse\022J\n\021conversion_events\030\001 \003(\0132/.goog" + + "le.analytics.admin.v1alpha.ConversionEve" + + "nt\022\027\n\017next_page_token\030\002 \001(\t\"|\n\'GetDispla" + + "yVideo360AdvertiserLinkRequest\022Q\n\004name\030\001" + + " \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis." + + "com/DisplayVideo360AdvertiserLink\"\247\001\n)Li" + + "stDisplayVideo360AdvertiserLinksRequest\022" + + "S\n\006parent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin." + + "googleapis.com/DisplayVideo360Advertiser" + + "Link\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + + "\001(\t\"\260\001\n*ListDisplayVideo360AdvertiserLin" + + "ksResponse\022i\n\"display_video_360_advertis" + + "er_links\030\001 \003(\0132=.google.analytics.admin." + + "v1alpha.DisplayVideo360AdvertiserLink\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\360\001\n*CreateDisplay" + + "Video360AdvertiserLinkRequest\022S\n\006parent\030" + + "\001 \001(\tBC\340A\002\372A=\022;analyticsadmin.googleapis" + + ".com/DisplayVideo360AdvertiserLink\022m\n!di" + + "splay_video_360_advertiser_link\030\002 \001(\0132=." + + "google.analytics.admin.v1alpha.DisplayVi" + + "deo360AdvertiserLinkB\003\340A\002\"\177\n*DeleteDispl" + + "ayVideo360AdvertiserLinkRequest\022Q\n\004name\030" + + "\001 \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis" + + ".com/DisplayVideo360AdvertiserLink\"\314\001\n*U" + + "pdateDisplayVideo360AdvertiserLinkReques" + + "t\022h\n!display_video_360_advertiser_link\030\001" + + " \001(\0132=.google.analytics.admin.v1alpha.Di" + + "splayVideo360AdvertiserLink\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"\214\001\n/GetDisplayVideo360AdvertiserLinkPr" + + "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana" + + "lyticsadmin.googleapis.com/DisplayVideo3" + + "60AdvertiserLinkProposal\"\267\001\n1ListDisplay" + + "Video360AdvertiserLinkProposalsRequest\022[" + + "\n\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.g" + + "oogleapis.com/DisplayVideo360AdvertiserL" + + "inkProposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"\311\001\n2ListDisplayVideo360Advert" + + "iserLinkProposalsResponse\022z\n+display_vid" + + "eo_360_advertiser_link_proposals\030\001 \003(\0132E" + + ".google.analytics.admin.v1alpha.DisplayV" + + "ideo360AdvertiserLinkProposal\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\221\002\n2CreateDisplayVideo360" + + "AdvertiserLinkProposalRequest\022[\n\006parent\030" + + "\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis" + + ".com/DisplayVideo360AdvertiserLinkPropos" + + "al\022~\n*display_video_360_advertiser_link_" + + "proposal\030\002 \001(\0132E.google.analytics.admin." + + "v1alpha.DisplayVideo360AdvertiserLinkPro" + + "posalB\003\340A\002\"\217\001\n2DeleteDisplayVideo360Adve" + + "rtiserLinkProposalRequest\022Y\n\004name\030\001 \001(\tB" + + "K\340A\002\372AE\nCanalyticsadmin.googleapis.com/D" + + "isplayVideo360AdvertiserLinkProposal\"\220\001\n" + + "3ApproveDisplayVideo360AdvertiserLinkPro" + + "posalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanal" + + "yticsadmin.googleapis.com/DisplayVideo36" + + "0AdvertiserLinkProposal\"\240\001\n4ApproveDispl" + + "ayVideo360AdvertiserLinkProposalResponse" + + "\022h\n!display_video_360_advertiser_link\030\001 " + + "\001(\0132=.google.analytics.admin.v1alpha.Dis" + + "playVideo360AdvertiserLink\"\217\001\n2CancelDis" + + "playVideo360AdvertiserLinkProposalReques" + + "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." + + "googleapis.com/DisplayVideo360Advertiser" + + "LinkProposal\"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/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" + + "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" + + "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" + + "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.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" + + "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(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(), + com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(), + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor, + new java.lang.String[] { "Entity", "Dimensions", "Metrics", "DateRanges", "DimensionFilter", "MetricFilter", "Offset", "Limit", "TimeZone", "OrderBys", "ReturnEntityQuota", }); + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor, + new java.lang.String[] { "DimensionHeaders", "MetricHeaders", "Rows", "RowCount", "Quota", }); + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor, + new java.lang.String[] { "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor, + new java.lang.String[] { "Accounts", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor, + new java.lang.String[] { "Account", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor, + new java.lang.String[] { "Account", "RedirectUri", }); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor, + new java.lang.String[] { "AccountTicketId", }); + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor, + new java.lang.String[] { "Filter", "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor, + new java.lang.String[] { "Properties", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor, + new java.lang.String[] { "Property", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor, + new java.lang.String[] { "Property", }); + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "Names", }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, + new java.lang.String[] { "Parent", "NotifyNewUser", "UserLink", }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "NotifyNewUsers", "Requests", }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", }); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, + new java.lang.String[] { "UserLink", }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "Requests", }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, + new java.lang.String[] { "UserLinks", }); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "Requests", }); + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor, + new java.lang.String[] { "Parent", "FirebaseLink", }); + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor, + new java.lang.String[] { "FirebaseLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { "Parent", "GoogleAdsLink", }); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { "GoogleAdsLink", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor, + new java.lang.String[] { "GoogleAdsLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor, + new java.lang.String[] { "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor, + new java.lang.String[] { "AccountSummaries", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor, + new java.lang.String[] { "Property", "Acknowledgement", }); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor, + new java.lang.String[] { "Account", "Property", "ResourceType", "Action", "ActorEmail", "EarliestChangeTime", "LatestChangeTime", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor, + new java.lang.String[] { "ChangeHistoryEvents", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "Parent", "MeasurementProtocolSecret", }); + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "MeasurementProtocolSecret", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, + new java.lang.String[] { "MeasurementProtocolSecrets", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor, + new java.lang.String[] { "GoogleSignalsSettings", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, + new java.lang.String[] { "ConversionEvent", "Parent", }); + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor, + new java.lang.String[] { "ConversionEvents", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor, + new java.lang.String[] { "DisplayVideo360AdvertiserLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { "Parent", "DisplayVideo360AdvertiserLink", }); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { "DisplayVideo360AdvertiserLink", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor, + new java.lang.String[] { "DisplayVideo360AdvertiserLinkProposals", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(69); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { "Parent", "DisplayVideo360AdvertiserLinkProposal", }); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(70); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(71); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor = + getDescriptor().getMessageTypes().get(72); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor, + new java.lang.String[] { "DisplayVideo360AdvertiserLink", }); + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { "Name", }); + 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, + new java.lang.String[] { "Parent", "CustomDimension", }); + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor = + 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, + new java.lang.String[] { "CustomDimension", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor = + 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, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor = + 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, + new java.lang.String[] { "CustomDimensions", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { "Parent", "CustomMetric", }); + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { "CustomMetric", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor = + 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, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor = + 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, + new java.lang.String[] { "CustomMetrics", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor = + 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, + new java.lang.String[] { "DataRetentionSettings", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor = + 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, + new java.lang.String[] { "Parent", "DataStream", }); + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor = + 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, + new java.lang.String[] { "DataStream", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor = + 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, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor = + 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, + new java.lang.String[] { "DataStreams", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor = + 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, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor = + 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, + new java.lang.String[] { "Audiences", "NextPageToken", }); + internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor = + 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, + new java.lang.String[] { "Parent", "Audience", }); + internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor = + 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, + new java.lang.String[] { "Audience", "UpdateMask", }); + internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor = + 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, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor = + 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); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(); + com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..32dc0f288d6a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,587 @@ +// 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest build() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest other) { + if (other == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..75c6a0099dd2 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java new file mode 100644 index 000000000000..2803a67a6566 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java @@ -0,0 +1,657 @@ +// 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ApproveDisplayVideo360AdvertiserLinkProposalResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); + } + + @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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.Builder.class); + } + + public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 1; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + @java.lang.Override + public boolean hasDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ != null; + } + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return The displayVideo360AdvertiserLink. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + } + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + } + + 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 (displayVideo360AdvertiserLink_ != null) { + output.writeMessage(1, getDisplayVideo360AdvertiserLink()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (displayVideo360AdvertiserLink_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDisplayVideo360AdvertiserLink()); + } + 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse other = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) obj; + + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; + if (hasDisplayVideo360AdvertiserLink()) { + if (!getDisplayVideo360AdvertiserLink() + .equals(other.getDisplayVideo360AdvertiserLink())) 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 (hasDisplayVideo360AdvertiserLink()) { + hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; + hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom( + 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + displayVideo360AdvertiserLink_ = null; + if (displayVideo360AdvertiserLinkBuilder_ != null) { + displayVideo360AdvertiserLinkBuilder_.dispose(); + displayVideo360AdvertiserLinkBuilder_ = 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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse build() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse buildPartial() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse result = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_ == null + ? displayVideo360AdvertiserLink_ + : displayVideo360AdvertiserLinkBuilder_.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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse other) { + if (other == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance()) return this; + if (other.hasDisplayVideo360AdvertiserLink()) { + mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); + } + 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( + getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), + extensionRegistry); + 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 com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + public boolean hasDisplayVideo360AdvertiserLink() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return The displayVideo360AdvertiserLink. + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + } else { + return displayVideo360AdvertiserLinkBuilder_.getMessage(); + } + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + displayVideo360AdvertiserLink_ = value; + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + public Builder setDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLink_ = builderForValue.build(); + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + displayVideo360AdvertiserLink_ != null && + displayVideo360AdvertiserLink_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { + getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); + } else { + displayVideo360AdvertiserLink_ = value; + } + } else { + displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + public Builder clearDisplayVideo360AdvertiserLink() { + bitField0_ = (bitField0_ & ~0x00000001); + displayVideo360AdvertiserLink_ = null; + if (displayVideo360AdvertiserLinkBuilder_ != null) { + displayVideo360AdvertiserLinkBuilder_.dispose(); + displayVideo360AdvertiserLinkBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + if (displayVideo360AdvertiserLinkBuilder_ != null) { + return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); + } else { + return displayVideo360AdvertiserLink_ == null ? + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + } + } + /** + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + getDisplayVideo360AdvertiserLinkFieldBuilder() { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + getDisplayVideo360AdvertiserLink(), + getParentForChildren(), + isClean()); + displayVideo360AdvertiserLink_ = null; + } + return displayVideo360AdvertiserLinkBuilder_; + } + @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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + private static final com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse(); + } + + public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java new file mode 100644 index 000000000000..c2df993259b9 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java @@ -0,0 +1,39 @@ +// 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 ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); + /** + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java index d39651f18f37..3b30ad3369ef 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ArchiveAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveAudienceRequest} */ -public final class ArchiveAudienceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArchiveAudienceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveAudienceRequest) ArchiveAudienceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArchiveAudienceRequest.newBuilder() to construct. private ArchiveAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArchiveAudienceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArchiveAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ArchiveAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Example format: properties/1234/audiences/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234/audiences/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ArchiveAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest other = - (com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) obj; + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest other = (com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( 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.ArchiveAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ArchiveAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveAudienceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ArchiveAudienceRequest) com.google.analytics.admin.v1alpha.ArchiveAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.analytics.admin.v1alpha.ArchiveAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ArchiveAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest result = - new com.google.analytics.admin.v1alpha.ArchiveAudienceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest result = new com.google.analytics.admin.v1alpha.ArchiveAudienceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveAudienceReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ArchiveAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveAudienceRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( 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: + 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) { @@ -462,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ArchiveAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ArchiveAudienceRequest) private static final com.google.analytics.admin.v1alpha.ArchiveAudienceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ArchiveAudienceRequest(); } @@ -606,27 +540,27 @@ public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveAudienceRequest 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; @@ -641,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ArchiveAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java new file mode 100644 index 000000000000..3db08fadde13 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java @@ -0,0 +1,29 @@ +// 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 ArchiveAudienceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveAudienceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234/audiences/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: properties/1234/audiences/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/ArchiveCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java index 6ec443f74596..c979c734d11f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ArchiveCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest} */ -public final class ArchiveCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArchiveCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) ArchiveCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArchiveCustomDimensionRequest.newBuilder() to construct. private ArchiveCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArchiveCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArchiveCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ArchiveCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other = - (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( 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.ArchiveCustomDimensionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ArchiveCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance(); } @@ -350,17 +315,13 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result = - new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ArchiveCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other) { + if (other == com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -468,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -498,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -567,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomDimensionRequest 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; @@ -651,8 +579,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..eb9284a542f2 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 ArchiveCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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/ArchiveCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java index 5f2e59be1971..0176174c8c1f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ArchiveCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomMetricRequest} */ -public final class ArchiveCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArchiveCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) ArchiveCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArchiveCustomMetricRequest.newBuilder() to construct. private ArchiveCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArchiveCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArchiveCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ArchiveCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest other = - (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest other = (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( 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.ArchiveCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ArchiveCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance(); } @@ -350,17 +315,13 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result = - new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result = new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,39 +332,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ArchiveCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -411,9 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -445,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -467,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,13 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(); } @@ -617,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomMetricRequest 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; @@ -652,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..412f11e61dec --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 ArchiveCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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/AttributionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java index 73db69a73654..61d054cd73ff 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The attribution settings used for a given property. This is a singleton
  * resource.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AttributionSettings}
  */
-public final class AttributionSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AttributionSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AttributionSettings)
     AttributionSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AttributionSettings.newBuilder() to construct.
   private AttributionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AttributionSettings() {
     name_ = "";
     acquisitionConversionEventLookbackWindow_ = 0;
@@ -47,47 +29,41 @@ private AttributionSettings() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AttributionSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_AttributionSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AttributionSettings.class,
-            com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
+            com.google.analytics.admin.v1alpha.AttributionSettings.class, com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * How far back in time events should be considered for inclusion in a
    * converting path which leads to the first install of an app or the first
    * visit to a site.
    * 
* - * Protobuf enum {@code - * google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow} + * Protobuf enum {@code google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow} */ public enum AcquisitionConversionEventLookbackWindow implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Lookback window size unspecified.
      * 
@@ -96,8 +72,6 @@ public enum AcquisitionConversionEventLookbackWindow */ ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED(0), /** - * - * *
      * 7-day lookback window.
      * 
@@ -106,8 +80,6 @@ public enum AcquisitionConversionEventLookbackWindow */ ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS(1), /** - * - * *
      * 30-day lookback window.
      * 
@@ -119,8 +91,6 @@ public enum AcquisitionConversionEventLookbackWindow ; /** - * - * *
      * Lookback window size unspecified.
      * 
@@ -129,8 +99,6 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 7-day lookback window.
      * 
@@ -139,8 +107,6 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS_VALUE = 1; /** - * - * *
      * 30-day lookback window.
      * 
@@ -149,6 +115,7 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -173,14 +140,10 @@ public static AcquisitionConversionEventLookbackWindow valueOf(int value) { */ public static AcquisitionConversionEventLookbackWindow forNumber(int value) { switch (value) { - case 0: - return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - case 1: - return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS; - case 2: - return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; - default: - return null; + case 0: return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + case 1: return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS; + case 2: return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; + default: return null; } } @@ -188,33 +151,29 @@ public static AcquisitionConversionEventLookbackWindow forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AcquisitionConversionEventLookbackWindow> - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap< - AcquisitionConversionEventLookbackWindow>() { - public AcquisitionConversionEventLookbackWindow findValueByNumber(int number) { - return AcquisitionConversionEventLookbackWindow.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + AcquisitionConversionEventLookbackWindow> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AcquisitionConversionEventLookbackWindow findValueByNumber(int number) { + return AcquisitionConversionEventLookbackWindow.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor().getEnumTypes().get(0); } private static final AcquisitionConversionEventLookbackWindow[] VALUES = values(); @@ -222,7 +181,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AcquisitionConversionEventLookbackWindow valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -240,22 +200,17 @@ private AcquisitionConversionEventLookbackWindow(int value) { } /** - * - * *
    * How far back in time events should be considered for inclusion in a
    * converting path for all conversions other than first app install/first site
    * visit.
    * 
* - * Protobuf enum {@code - * google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow} + * Protobuf enum {@code google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow} */ public enum OtherConversionEventLookbackWindow implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Lookback window size unspecified.
      * 
@@ -264,8 +219,6 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED(0), /** - * - * *
      * 30-day lookback window.
      * 
@@ -274,8 +227,6 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS(1), /** - * - * *
      * 60-day lookback window.
      * 
@@ -284,8 +235,6 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS(2), /** - * - * *
      * 90-day lookback window.
      * 
@@ -297,8 +246,6 @@ public enum OtherConversionEventLookbackWindow ; /** - * - * *
      * Lookback window size unspecified.
      * 
@@ -307,8 +254,6 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 30-day lookback window.
      * 
@@ -317,8 +262,6 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS_VALUE = 1; /** - * - * *
      * 60-day lookback window.
      * 
@@ -327,8 +270,6 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS_VALUE = 2; /** - * - * *
      * 90-day lookback window.
      * 
@@ -337,6 +278,7 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -361,16 +303,11 @@ public static OtherConversionEventLookbackWindow valueOf(int value) { */ public static OtherConversionEventLookbackWindow forNumber(int value) { switch (value) { - case 0: - return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - case 1: - return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; - case 2: - return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS; - case 3: - return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS; - default: - return null; + case 0: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + case 1: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; + case 2: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS; + case 3: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS; + default: return null; } } @@ -378,32 +315,29 @@ public static OtherConversionEventLookbackWindow forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - OtherConversionEventLookbackWindow> - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OtherConversionEventLookbackWindow findValueByNumber(int number) { - return OtherConversionEventLookbackWindow.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + OtherConversionEventLookbackWindow> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OtherConversionEventLookbackWindow findValueByNumber(int number) { + return OtherConversionEventLookbackWindow.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor().getEnumTypes().get(1); } private static final OtherConversionEventLookbackWindow[] VALUES = values(); @@ -411,7 +345,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static OtherConversionEventLookbackWindow valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -429,20 +364,16 @@ private OtherConversionEventLookbackWindow(int value) { } /** - * - * *
    * The reporting attribution model used to calculate conversion credit in this
    * property's reports.
    * 
* - * Protobuf enum {@code - * google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel} + * Protobuf enum {@code google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel} */ - public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMessageEnum { + public enum ReportingAttributionModel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Reporting attribution model unspecified.
      * 
@@ -451,8 +382,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes */ REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED(0), /** - * - * *
      * Data-driven attribution distributes credit for the conversion based on
      * data for each conversion event. Each Data-driven model is specific to
@@ -463,8 +392,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     CROSS_CHANNEL_DATA_DRIVEN(1),
     /**
-     *
-     *
      * 
      * Ignores direct traffic and attributes 100% of the conversion value to the
      * last channel that the customer clicked through (or engaged view through
@@ -475,8 +402,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     CROSS_CHANNEL_LAST_CLICK(2),
     /**
-     *
-     *
      * 
      * Gives all credit for the conversion to the first channel that a customer
      * clicked (or engaged view through for YouTube) before converting.
@@ -486,8 +411,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     CROSS_CHANNEL_FIRST_CLICK(3),
     /**
-     *
-     *
      * 
      * Distributes the credit for the conversion equally across all the channels
      * a customer clicked (or engaged view through for YouTube) before
@@ -498,8 +421,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     CROSS_CHANNEL_LINEAR(4),
     /**
-     *
-     *
      * 
      * Attributes 40% credit to the first and last interaction, and the
      * remaining 20% credit is distributed evenly to the middle interactions.
@@ -509,8 +430,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     CROSS_CHANNEL_POSITION_BASED(5),
     /**
-     *
-     *
      * 
      * Gives more credit to the touchpoints that happened closer in time to
      * the conversion.
@@ -520,8 +439,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     CROSS_CHANNEL_TIME_DECAY(6),
     /**
-     *
-     *
      * 
      * Attributes 100% of the conversion value to the last Google Ads channel
      * that the customer clicked through before converting.
@@ -534,8 +451,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
     ;
 
     /**
-     *
-     *
      * 
      * Reporting attribution model unspecified.
      * 
@@ -544,8 +459,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes */ public static final int REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data-driven attribution distributes credit for the conversion based on
      * data for each conversion event. Each Data-driven model is specific to
@@ -556,8 +469,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     public static final int CROSS_CHANNEL_DATA_DRIVEN_VALUE = 1;
     /**
-     *
-     *
      * 
      * Ignores direct traffic and attributes 100% of the conversion value to the
      * last channel that the customer clicked through (or engaged view through
@@ -568,8 +479,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     public static final int CROSS_CHANNEL_LAST_CLICK_VALUE = 2;
     /**
-     *
-     *
      * 
      * Gives all credit for the conversion to the first channel that a customer
      * clicked (or engaged view through for YouTube) before converting.
@@ -579,8 +488,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     public static final int CROSS_CHANNEL_FIRST_CLICK_VALUE = 3;
     /**
-     *
-     *
      * 
      * Distributes the credit for the conversion equally across all the channels
      * a customer clicked (or engaged view through for YouTube) before
@@ -591,8 +498,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     public static final int CROSS_CHANNEL_LINEAR_VALUE = 4;
     /**
-     *
-     *
      * 
      * Attributes 40% credit to the first and last interaction, and the
      * remaining 20% credit is distributed evenly to the middle interactions.
@@ -602,8 +507,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     public static final int CROSS_CHANNEL_POSITION_BASED_VALUE = 5;
     /**
-     *
-     *
      * 
      * Gives more credit to the touchpoints that happened closer in time to
      * the conversion.
@@ -613,8 +516,6 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     public static final int CROSS_CHANNEL_TIME_DECAY_VALUE = 6;
     /**
-     *
-     *
      * 
      * Attributes 100% of the conversion value to the last Google Ads channel
      * that the customer clicked through before converting.
@@ -624,6 +525,7 @@ public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMes
      */
     public static final int ADS_PREFERRED_LAST_CLICK_VALUE = 7;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -648,24 +550,15 @@ public static ReportingAttributionModel valueOf(int value) {
      */
     public static ReportingAttributionModel forNumber(int value) {
       switch (value) {
-        case 0:
-          return REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED;
-        case 1:
-          return CROSS_CHANNEL_DATA_DRIVEN;
-        case 2:
-          return CROSS_CHANNEL_LAST_CLICK;
-        case 3:
-          return CROSS_CHANNEL_FIRST_CLICK;
-        case 4:
-          return CROSS_CHANNEL_LINEAR;
-        case 5:
-          return CROSS_CHANNEL_POSITION_BASED;
-        case 6:
-          return CROSS_CHANNEL_TIME_DECAY;
-        case 7:
-          return ADS_PREFERRED_LAST_CLICK;
-        default:
-          return null;
+        case 0: return REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED;
+        case 1: return CROSS_CHANNEL_DATA_DRIVEN;
+        case 2: return CROSS_CHANNEL_LAST_CLICK;
+        case 3: return CROSS_CHANNEL_FIRST_CLICK;
+        case 4: return CROSS_CHANNEL_LINEAR;
+        case 5: return CROSS_CHANNEL_POSITION_BASED;
+        case 6: return CROSS_CHANNEL_TIME_DECAY;
+        case 7: return ADS_PREFERRED_LAST_CLICK;
+        default: return null;
       }
     }
 
@@ -673,31 +566,29 @@ public static ReportingAttributionModel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ReportingAttributionModel findValueByNumber(int number) {
-                return ReportingAttributionModel.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ReportingAttributionModel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ReportingAttributionModel findValueByNumber(int number) {
+              return ReportingAttributionModel.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor()
-          .getEnumTypes()
-          .get(2);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final ReportingAttributionModel[] VALUES = values();
@@ -705,7 +596,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static ReportingAttributionModel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -723,12 +615,9 @@ private ReportingAttributionModel(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -736,7 +625,6 @@ private ReportingAttributionModel(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -745,15 +633,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -761,15 +648,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -780,153 +668,94 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_FIELD_NUMBER = 2; private int acquisitionConversionEventLookbackWindow_ = 0; /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. */ - @java.lang.Override - public int getAcquisitionConversionEventLookbackWindowValue() { + @java.lang.Override public int getAcquisitionConversionEventLookbackWindowValue() { return acquisitionConversionEventLookbackWindow_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The acquisitionConversionEventLookbackWindow. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow - getAcquisitionConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow - result = - com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow.forNumber( - acquisitionConversionEventLookbackWindow_); - return result == null - ? com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.forNumber(acquisitionConversionEventLookbackWindow_); + return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.UNRECOGNIZED : result; } public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_FIELD_NUMBER = 3; private int otherConversionEventLookbackWindow_ = 0; /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for otherConversionEventLookbackWindow. */ - @java.lang.Override - public int getOtherConversionEventLookbackWindowValue() { + @java.lang.Override public int getOtherConversionEventLookbackWindowValue() { return otherConversionEventLookbackWindow_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The otherConversionEventLookbackWindow. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - getOtherConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - result = - com.google.analytics.admin.v1alpha.AttributionSettings - .OtherConversionEventLookbackWindow.forNumber(otherConversionEventLookbackWindow_); - return result == null - ? com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.forNumber(otherConversionEventLookbackWindow_); + return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.UNRECOGNIZED : result; } public static final int REPORTING_ATTRIBUTION_MODEL_FIELD_NUMBER = 4; private int reportingAttributionModel_ = 0; /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for reportingAttributionModel. */ - @java.lang.Override - public int getReportingAttributionModelValue() { + @java.lang.Override public int getReportingAttributionModelValue() { return reportingAttributionModel_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The reportingAttributionModel. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - getReportingAttributionModel() { - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.forNumber( - reportingAttributionModel_); - return result == null - ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel getReportingAttributionModel() { + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.forNumber(reportingAttributionModel_); + return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -938,27 +767,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (acquisitionConversionEventLookbackWindow_ - != com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow - .ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED - .getNumber()) { + if (acquisitionConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { output.writeEnum(2, acquisitionConversionEventLookbackWindow_); } - if (otherConversionEventLookbackWindow_ - != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - .OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED - .getNumber()) { + if (otherConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { output.writeEnum(3, otherConversionEventLookbackWindow_); } - if (reportingAttributionModel_ - != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - .REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED - .getNumber()) { + if (reportingAttributionModel_ != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED.getNumber()) { output.writeEnum(4, reportingAttributionModel_); } getUnknownFields().writeTo(output); @@ -973,28 +793,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (acquisitionConversionEventLookbackWindow_ - != com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow - .ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 2, acquisitionConversionEventLookbackWindow_); - } - if (otherConversionEventLookbackWindow_ - != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - .OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 3, otherConversionEventLookbackWindow_); - } - if (reportingAttributionModel_ - != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - .REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, reportingAttributionModel_); + if (acquisitionConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, acquisitionConversionEventLookbackWindow_); + } + if (otherConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, otherConversionEventLookbackWindow_); + } + if (reportingAttributionModel_ != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, reportingAttributionModel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1004,19 +813,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AttributionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AttributionSettings other = - (com.google.analytics.admin.v1alpha.AttributionSettings) obj; + com.google.analytics.admin.v1alpha.AttributionSettings other = (com.google.analytics.admin.v1alpha.AttributionSettings) obj; - if (!getName().equals(other.getName())) return false; - if (acquisitionConversionEventLookbackWindow_ - != other.acquisitionConversionEventLookbackWindow_) return false; - if (otherConversionEventLookbackWindow_ != other.otherConversionEventLookbackWindow_) - return false; + if (!getName() + .equals(other.getName())) return false; + if (acquisitionConversionEventLookbackWindow_ != other.acquisitionConversionEventLookbackWindow_) return false; + if (otherConversionEventLookbackWindow_ != other.otherConversionEventLookbackWindow_) return false; if (reportingAttributionModel_ != other.reportingAttributionModel_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1043,104 +850,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( 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.AttributionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AttributionSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AttributionSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AttributionSettings prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AttributionSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The attribution settings used for a given property. This is a singleton
    * resource.
@@ -1148,32 +947,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AttributionSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AttributionSettings)
       com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AttributionSettings.class,
-              com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
+              com.google.analytics.admin.v1alpha.AttributionSettings.class, com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AttributionSettings.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1186,9 +986,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
     }
 
     @java.lang.Override
@@ -1207,11 +1007,8 @@ public com.google.analytics.admin.v1alpha.AttributionSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AttributionSettings buildPartial() {
-      com.google.analytics.admin.v1alpha.AttributionSettings result =
-          new com.google.analytics.admin.v1alpha.AttributionSettings(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AttributionSettings result = new com.google.analytics.admin.v1alpha.AttributionSettings(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1222,8 +1019,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AttributionSetting
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.acquisitionConversionEventLookbackWindow_ =
-            acquisitionConversionEventLookbackWindow_;
+        result.acquisitionConversionEventLookbackWindow_ = acquisitionConversionEventLookbackWindow_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.otherConversionEventLookbackWindow_ = otherConversionEventLookbackWindow_;
@@ -1237,39 +1033,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AttributionSetting
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AttributionSettings) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AttributionSettings) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AttributionSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1277,20 +1072,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AttributionSettings other) {
-      if (other == com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       if (other.acquisitionConversionEventLookbackWindow_ != 0) {
-        setAcquisitionConversionEventLookbackWindowValue(
-            other.getAcquisitionConversionEventLookbackWindowValue());
+        setAcquisitionConversionEventLookbackWindowValue(other.getAcquisitionConversionEventLookbackWindowValue());
       }
       if (other.otherConversionEventLookbackWindow_ != 0) {
-        setOtherConversionEventLookbackWindowValue(
-            other.getOtherConversionEventLookbackWindowValue());
+        setOtherConversionEventLookbackWindowValue(other.getOtherConversionEventLookbackWindowValue());
       }
       if (other.reportingAttributionModel_ != 0) {
         setReportingAttributionModelValue(other.getReportingAttributionModelValue());
@@ -1321,37 +1113,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                acquisitionConversionEventLookbackWindow_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                otherConversionEventLookbackWindow_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                reportingAttributionModel_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              acquisitionConversionEventLookbackWindow_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              otherConversionEventLookbackWindow_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              reportingAttributionModel_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            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) {
@@ -1361,13 +1148,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1375,13 +1159,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1390,8 +1174,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1399,14 +1181,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1414,8 +1197,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1423,22 +1204,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + 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 attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1446,7 +1223,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1456,8 +1232,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1465,14 +1239,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1482,37 +1254,25 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int acquisitionConversionEventLookbackWindow_ = 0; /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. */ - @java.lang.Override - public int getAcquisitionConversionEventLookbackWindowValue() { + @java.lang.Override public int getAcquisitionConversionEventLookbackWindowValue() { return acquisitionConversionEventLookbackWindow_; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @param value The enum numeric value on the wire for acquisitionConversionEventLookbackWindow - * to set. + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The enum numeric value on the wire for acquisitionConversionEventLookbackWindow to set. * @return This builder for chaining. */ public Builder setAcquisitionConversionEventLookbackWindowValue(int value) { @@ -1522,53 +1282,30 @@ public Builder setAcquisitionConversionEventLookbackWindowValue(int value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The acquisitionConversionEventLookbackWindow. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow - getAcquisitionConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow - result = - com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow.forNumber( - acquisitionConversionEventLookbackWindow_); - return result == null - ? com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.forNumber(acquisitionConversionEventLookbackWindow_); + return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.UNRECOGNIZED : result; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The acquisitionConversionEventLookbackWindow to set. * @return This builder for chaining. */ - public Builder setAcquisitionConversionEventLookbackWindow( - com.google.analytics.admin.v1alpha.AttributionSettings - .AcquisitionConversionEventLookbackWindow - value) { + public Builder setAcquisitionConversionEventLookbackWindow(com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow value) { if (value == null) { throw new NullPointerException(); } @@ -1578,17 +1315,12 @@ public Builder setAcquisitionConversionEventLookbackWindow( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearAcquisitionConversionEventLookbackWindow() { @@ -1600,37 +1332,25 @@ public Builder clearAcquisitionConversionEventLookbackWindow() { private int otherConversionEventLookbackWindow_ = 0; /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for otherConversionEventLookbackWindow. */ - @java.lang.Override - public int getOtherConversionEventLookbackWindowValue() { + @java.lang.Override public int getOtherConversionEventLookbackWindowValue() { return otherConversionEventLookbackWindow_; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @param value The enum numeric value on the wire for otherConversionEventLookbackWindow to - * set. + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The enum numeric value on the wire for otherConversionEventLookbackWindow to set. * @return This builder for chaining. */ public Builder setOtherConversionEventLookbackWindowValue(int value) { @@ -1640,50 +1360,30 @@ public Builder setOtherConversionEventLookbackWindowValue(int value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The otherConversionEventLookbackWindow. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - getOtherConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - result = - com.google.analytics.admin.v1alpha.AttributionSettings - .OtherConversionEventLookbackWindow.forNumber( - otherConversionEventLookbackWindow_); - return result == null - ? com.google.analytics.admin.v1alpha.AttributionSettings - .OtherConversionEventLookbackWindow.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.forNumber(otherConversionEventLookbackWindow_); + return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.UNRECOGNIZED : result; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The otherConversionEventLookbackWindow to set. * @return This builder for chaining. */ - public Builder setOtherConversionEventLookbackWindow( - com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - value) { + public Builder setOtherConversionEventLookbackWindow(com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow value) { if (value == null) { throw new NullPointerException(); } @@ -1693,17 +1393,12 @@ public Builder setOtherConversionEventLookbackWindow( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearOtherConversionEventLookbackWindow() { @@ -1715,41 +1410,30 @@ public Builder clearOtherConversionEventLookbackWindow() { private int reportingAttributionModel_ = 0; /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for reportingAttributionModel. */ - @java.lang.Override - public int getReportingAttributionModelValue() { + @java.lang.Override public int getReportingAttributionModelValue() { return reportingAttributionModel_; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for reportingAttributionModel to set. * @return This builder for chaining. */ @@ -1760,53 +1444,36 @@ public Builder setReportingAttributionModelValue(int value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The reportingAttributionModel. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - getReportingAttributionModel() { - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - .forNumber(reportingAttributionModel_); - return result == null - ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - .UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel getReportingAttributionModel() { + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.forNumber(reportingAttributionModel_); + return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.UNRECOGNIZED : result; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The reportingAttributionModel to set. * @return This builder for chaining. */ - public Builder setReportingAttributionModel( - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel value) { + public Builder setReportingAttributionModel(com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel value) { if (value == null) { throw new NullPointerException(); } @@ -1816,20 +1483,15 @@ public Builder setReportingAttributionModel( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearReportingAttributionModel() { @@ -1838,9 +1500,9 @@ public Builder clearReportingAttributionModel() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1850,12 +1512,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AttributionSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AttributionSettings) private static final com.google.analytics.admin.v1alpha.AttributionSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AttributionSettings(); } @@ -1864,27 +1526,27 @@ public static com.google.analytics.admin.v1alpha.AttributionSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttributionSettings 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttributionSettings 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; @@ -1899,4 +1561,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AttributionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java similarity index 52% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java index 2abc0d522871..09f168bf7efb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AttributionSettingsOrBuilder - extends +public interface AttributionSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AttributionSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -33,13 +15,10 @@ public interface AttributionSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -47,110 +26,77 @@ public interface AttributionSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. */ 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The acquisitionConversionEventLookbackWindow. */ - com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow - getAcquisitionConversionEventLookbackWindow(); + com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow(); /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for otherConversionEventLookbackWindow. */ 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The otherConversionEventLookbackWindow. */ - com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - getOtherConversionEventLookbackWindow(); + com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow(); /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for reportingAttributionModel. */ 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The reportingAttributionModel. */ - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - getReportingAttributionModel(); + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel getReportingAttributionModel(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java index 9f5e82d18611..8d9f2b2118ac 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a GA4 Audience.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Audience} */ -public final class Audience extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Audience extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Audience) AudienceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Audience.newBuilder() to construct. private Audience(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Audience() { name_ = ""; displayName_ = ""; @@ -47,33 +29,30 @@ private Audience() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Audience(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AudienceProto - .internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Audience.class, - com.google.analytics.admin.v1alpha.Audience.Builder.class); + com.google.analytics.admin.v1alpha.Audience.class, com.google.analytics.admin.v1alpha.Audience.Builder.class); } /** - * - * *
    * Specifies how long an exclusion lasts for users that meet the exclusion
    * filter.
@@ -81,10 +60,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode}
    */
-  public enum AudienceExclusionDurationMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AudienceExclusionDurationMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -93,8 +71,6 @@ public enum AudienceExclusionDurationMode implements com.google.protobuf.Protoco */ AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED(0), /** - * - * *
      * Exclude users from the Audience during periods when they meet the
      * filter clause.
@@ -104,8 +80,6 @@ public enum AudienceExclusionDurationMode implements com.google.protobuf.Protoco
      */
     EXCLUDE_TEMPORARILY(1),
     /**
-     *
-     *
      * 
      * Exclude users from the Audience if they've ever met the filter clause.
      * 
@@ -117,8 +91,6 @@ public enum AudienceExclusionDurationMode implements com.google.protobuf.Protoco ; /** - * - * *
      * Not specified.
      * 
@@ -127,8 +99,6 @@ public enum AudienceExclusionDurationMode implements com.google.protobuf.Protoco */ public static final int AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Exclude users from the Audience during periods when they meet the
      * filter clause.
@@ -138,8 +108,6 @@ public enum AudienceExclusionDurationMode implements com.google.protobuf.Protoco
      */
     public static final int EXCLUDE_TEMPORARILY_VALUE = 1;
     /**
-     *
-     *
      * 
      * Exclude users from the Audience if they've ever met the filter clause.
      * 
@@ -148,6 +116,7 @@ public enum AudienceExclusionDurationMode implements com.google.protobuf.Protoco */ public static final int EXCLUDE_PERMANENTLY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -172,14 +141,10 @@ public static AudienceExclusionDurationMode valueOf(int value) { */ public static AudienceExclusionDurationMode forNumber(int value) { switch (value) { - case 0: - return AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED; - case 1: - return EXCLUDE_TEMPORARILY; - case 2: - return EXCLUDE_PERMANENTLY; - default: - return null; + case 0: return AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED; + case 1: return EXCLUDE_TEMPORARILY; + case 2: return EXCLUDE_PERMANENTLY; + default: return null; } } @@ -187,28 +152,28 @@ public static AudienceExclusionDurationMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + AudienceExclusionDurationMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AudienceExclusionDurationMode findValueByNumber(int number) { + return AudienceExclusionDurationMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AudienceExclusionDurationMode findValueByNumber(int number) { - return AudienceExclusionDurationMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.Audience.getDescriptor().getEnumTypes().get(0); } @@ -217,7 +182,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AudienceExclusionDurationMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -235,19 +201,15 @@ private AudienceExclusionDurationMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The resource name for this Audience resource.
    * Format: properties/{propertyId}/audiences/{audienceId}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -256,30 +218,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource name for this Audience resource.
    * Format: properties/{propertyId}/audiences/{audienceId}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -288,18 +250,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. The display name of the Audience.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -308,29 +266,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The display name of the Audience.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -339,18 +297,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Required. The description of the Audience.
    * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ @java.lang.Override @@ -359,29 +313,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Required. The description of the Audience.
    * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -392,17 +346,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MEMBERSHIP_DURATION_DAYS_FIELD_NUMBER = 4; private int membershipDurationDays_ = 0; /** - * - * *
-   * 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]; - * - * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The membershipDurationDays. */ @java.lang.Override @@ -413,15 +362,12 @@ public int getMembershipDurationDays() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 5; private boolean adsPersonalizationEnabled_ = false; /** - * - * *
-   * 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]; - * * @return The adsPersonalizationEnabled. */ @java.lang.Override @@ -432,17 +378,12 @@ public boolean getAdsPersonalizationEnabled() { public static final int EVENT_TRIGGER_FIELD_NUMBER = 6; private com.google.analytics.admin.v1alpha.AudienceEventTrigger eventTrigger_; /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the eventTrigger field is set. */ @java.lang.Override @@ -450,173 +391,120 @@ public boolean hasEventTrigger() { return eventTrigger_ != null; } /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The eventTrigger. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger getEventTrigger() { - return eventTrigger_ == null - ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() - : eventTrigger_; + return eventTrigger_ == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder - getEventTriggerOrBuilder() { - return eventTrigger_ == null - ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() - : eventTrigger_; + public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEventTriggerOrBuilder() { + return eventTrigger_ == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; } public static final int EXCLUSION_DURATION_MODE_FIELD_NUMBER = 7; private int exclusionDurationMode_ = 0; /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for exclusionDurationMode. */ - @java.lang.Override - public int getExclusionDurationModeValue() { + @java.lang.Override public int getExclusionDurationModeValue() { return exclusionDurationMode_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The exclusionDurationMode. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode - getExclusionDurationMode() { - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber( - exclusionDurationMode_); - return result == null - ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode getExclusionDurationMode() { + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber(exclusionDurationMode_); + return result == null ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED : result; } public static final int FILTER_CLAUSES_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private java.util.List filterClauses_; /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override - public java.util.List - getFilterClausesList() { + public java.util.List getFilterClausesList() { return filterClauses_; } /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override - public java.util.List + public java.util.List getFilterClausesOrBuilderList() { return filterClauses_; } /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override public int getFilterClausesCount() { return filterClauses_.size(); } /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses(int index) { return filterClauses_.get(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilterClausesOrBuilder( @@ -625,7 +513,6 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilte } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -637,7 +524,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -656,10 +544,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (eventTrigger_ != null) { output.writeMessage(6, getEventTrigger()); } - if (exclusionDurationMode_ - != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode - .AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED - .getNumber()) { + if (exclusionDurationMode_ != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(7, exclusionDurationMode_); } for (int i = 0; i < filterClauses_.size(); i++) { @@ -684,22 +569,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (membershipDurationDays_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, membershipDurationDays_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, membershipDurationDays_); } if (adsPersonalizationEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, adsPersonalizationEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, adsPersonalizationEnabled_); } if (eventTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEventTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getEventTrigger()); } - if (exclusionDurationMode_ - != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode - .AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, exclusionDurationMode_); + if (exclusionDurationMode_ != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, exclusionDurationMode_); } for (int i = 0; i < filterClauses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, filterClauses_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, filterClauses_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -709,25 +596,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.Audience)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.Audience other = - (com.google.analytics.admin.v1alpha.Audience) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (getMembershipDurationDays() != other.getMembershipDurationDays()) return false; - if (getAdsPersonalizationEnabled() != other.getAdsPersonalizationEnabled()) return false; + com.google.analytics.admin.v1alpha.Audience other = (com.google.analytics.admin.v1alpha.Audience) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getMembershipDurationDays() + != other.getMembershipDurationDays()) return false; + if (getAdsPersonalizationEnabled() + != other.getAdsPersonalizationEnabled()) return false; if (hasEventTrigger() != other.hasEventTrigger()) return false; if (hasEventTrigger()) { - if (!getEventTrigger().equals(other.getEventTrigger())) return false; + if (!getEventTrigger() + .equals(other.getEventTrigger())) return false; } if (exclusionDurationMode_ != other.exclusionDurationMode_) return false; - if (!getFilterClausesList().equals(other.getFilterClausesList())) return false; + if (!getFilterClausesList() + .equals(other.getFilterClausesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -748,7 +641,8 @@ public int hashCode() { hash = (37 * hash) + MEMBERSHIP_DURATION_DAYS_FIELD_NUMBER; hash = (53 * hash) + getMembershipDurationDays(); hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAdsPersonalizationEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAdsPersonalizationEnabled()); if (hasEventTrigger()) { hash = (37 * hash) + EVENT_TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getEventTrigger().hashCode(); @@ -764,136 +658,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.Audience parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.Audience parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( 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.Audience parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.Audience parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.Audience parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Audience parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.Audience prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a GA4 Audience.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Audience} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.Audience) com.google.analytics.admin.v1alpha.AudienceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Audience.class, - com.google.analytics.admin.v1alpha.Audience.Builder.class); + com.google.analytics.admin.v1alpha.Audience.class, com.google.analytics.admin.v1alpha.Audience.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.Audience.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -920,9 +808,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_descriptor; } @java.lang.Override @@ -941,12 +829,9 @@ public com.google.analytics.admin.v1alpha.Audience build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Audience buildPartial() { - com.google.analytics.admin.v1alpha.Audience result = - new com.google.analytics.admin.v1alpha.Audience(this); + com.google.analytics.admin.v1alpha.Audience result = new com.google.analytics.admin.v1alpha.Audience(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -981,8 +866,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Audience result) { result.adsPersonalizationEnabled_ = adsPersonalizationEnabled_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.eventTrigger_ = - eventTriggerBuilder_ == null ? eventTrigger_ : eventTriggerBuilder_.build(); + result.eventTrigger_ = eventTriggerBuilder_ == null + ? eventTrigger_ + : eventTriggerBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.exclusionDurationMode_ = exclusionDurationMode_; @@ -993,39 +879,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Audience result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.Audience) { - return mergeFrom((com.google.analytics.admin.v1alpha.Audience) other); + return mergeFrom((com.google.analytics.admin.v1alpha.Audience)other); } else { super.mergeFrom(other); return this; @@ -1079,10 +964,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.Audience other) { filterClausesBuilder_ = null; filterClauses_ = other.filterClauses_; bitField0_ = (bitField0_ & ~0x00000080); - filterClausesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilterClausesFieldBuilder() - : null; + filterClausesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilterClausesFieldBuilder() : null; } else { filterClausesBuilder_.addAllMessages(other.filterClauses_); } @@ -1114,69 +998,62 @@ public Builder mergeFrom( 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 32: - { - membershipDurationDays_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - adsPersonalizationEnabled_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - input.readMessage(getEventTriggerFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: - { - exclusionDurationMode_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - com.google.analytics.admin.v1alpha.AudienceFilterClause m = - input.readMessage( - com.google.analytics.admin.v1alpha.AudienceFilterClause.parser(), - extensionRegistry); - if (filterClausesBuilder_ == null) { - ensureFilterClausesIsMutable(); - filterClauses_.add(m); - } else { - filterClausesBuilder_.addMessage(m); - } - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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 32: { + membershipDurationDays_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + adsPersonalizationEnabled_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + getEventTriggerFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + exclusionDurationMode_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + com.google.analytics.admin.v1alpha.AudienceFilterClause m = + input.readMessage( + com.google.analytics.admin.v1alpha.AudienceFilterClause.parser(), + extensionRegistry); + if (filterClausesBuilder_ == null) { + ensureFilterClausesIsMutable(); + filterClauses_.add(m); + } else { + filterClausesBuilder_.addMessage(m); + } + 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) { @@ -1186,26 +1063,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1214,22 +1088,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1237,37 +1110,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * 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(); - } + 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 Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1277,22 +1143,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1302,20 +1164,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The display name of the Audience.
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1324,21 +1184,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The display name of the Audience.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1346,35 +1205,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The display name of the Audience.
      * 
* * 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(); - } + 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 Audience.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1384,21 +1236,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. The display name of the Audience.
      * 
* * 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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1408,20 +1256,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1430,21 +1276,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1452,35 +1297,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1490,21 +1328,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1512,19 +1346,14 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private int membershipDurationDays_; + private int membershipDurationDays_ ; /** - * - * *
-     * 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]; - * - * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The membershipDurationDays. */ @java.lang.Override @@ -1532,39 +1361,29 @@ public int getMembershipDurationDays() { return membershipDurationDays_; } /** - * - * *
-     * 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]; - * - * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The membershipDurationDays to set. * @return This builder for chaining. */ public Builder setMembershipDurationDays(int value) { - + membershipDurationDays_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
-     * 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]; - * - * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearMembershipDurationDays() { @@ -1574,18 +1393,14 @@ public Builder clearMembershipDurationDays() { return this; } - private boolean adsPersonalizationEnabled_; + private boolean adsPersonalizationEnabled_ ; /** - * - * *
-     * 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]; - * - * + * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The adsPersonalizationEnabled. */ @java.lang.Override @@ -1593,37 +1408,29 @@ public boolean getAdsPersonalizationEnabled() { return adsPersonalizationEnabled_; } /** - * - * *
-     * 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]; - * - * + * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The adsPersonalizationEnabled to set. * @return This builder for chaining. */ public Builder setAdsPersonalizationEnabled(boolean value) { - + adsPersonalizationEnabled_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
-     * 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]; - * - * + * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearAdsPersonalizationEnabled() { @@ -1635,61 +1442,42 @@ public Builder clearAdsPersonalizationEnabled() { private com.google.analytics.admin.v1alpha.AudienceEventTrigger eventTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventTrigger, - com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, - com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> - eventTriggerBuilder_; + com.google.analytics.admin.v1alpha.AudienceEventTrigger, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> eventTriggerBuilder_; /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the eventTrigger field is set. */ public boolean hasEventTrigger() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The eventTrigger. */ public com.google.analytics.admin.v1alpha.AudienceEventTrigger getEventTrigger() { if (eventTriggerBuilder_ == null) { - return eventTrigger_ == null - ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() - : eventTrigger_; + return eventTrigger_ == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; } else { return eventTriggerBuilder_.getMessage(); } } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEventTrigger(com.google.analytics.admin.v1alpha.AudienceEventTrigger value) { if (eventTriggerBuilder_ == null) { @@ -1705,16 +1493,12 @@ public Builder setEventTrigger(com.google.analytics.admin.v1alpha.AudienceEventT return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEventTrigger( com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder builderForValue) { @@ -1728,24 +1512,18 @@ public Builder setEventTrigger( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEventTrigger( - com.google.analytics.admin.v1alpha.AudienceEventTrigger value) { + public Builder mergeEventTrigger(com.google.analytics.admin.v1alpha.AudienceEventTrigger value) { if (eventTriggerBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && eventTrigger_ != null - && eventTrigger_ - != com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + eventTrigger_ != null && + eventTrigger_ != com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) { getEventTriggerBuilder().mergeFrom(value); } else { eventTrigger_ = value; @@ -1758,16 +1536,12 @@ public Builder mergeEventTrigger( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEventTrigger() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1780,69 +1554,51 @@ public Builder clearEventTrigger() { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder - getEventTriggerBuilder() { + public com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder getEventTriggerBuilder() { bitField0_ |= 0x00000020; onChanged(); return getEventTriggerFieldBuilder().getBuilder(); } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder - getEventTriggerOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEventTriggerOrBuilder() { if (eventTriggerBuilder_ != null) { return eventTriggerBuilder_.getMessageOrBuilder(); } else { - return eventTrigger_ == null - ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() - : eventTrigger_; + return eventTrigger_ == null ? + com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; } } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventTrigger, - com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, - com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> + com.google.analytics.admin.v1alpha.AudienceEventTrigger, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> getEventTriggerFieldBuilder() { if (eventTriggerBuilder_ == null) { - eventTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventTrigger, - com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, - com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder>( - getEventTrigger(), getParentForChildren(), isClean()); + eventTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceEventTrigger, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder>( + getEventTrigger(), + getParentForChildren(), + isClean()); eventTrigger_ = null; } return eventTriggerBuilder_; @@ -1850,37 +1606,26 @@ public Builder clearEventTrigger() { private int exclusionDurationMode_ = 0; /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for exclusionDurationMode. */ - @java.lang.Override - public int getExclusionDurationModeValue() { + @java.lang.Override public int getExclusionDurationModeValue() { return exclusionDurationMode_; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for exclusionDurationMode to set. * @return This builder for chaining. */ @@ -1891,48 +1636,32 @@ public Builder setExclusionDurationModeValue(int value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The exclusionDurationMode. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode - getExclusionDurationMode() { - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber( - exclusionDurationMode_); - return result == null - ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode getExclusionDurationMode() { + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber(exclusionDurationMode_); + return result == null ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED : result; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The exclusionDurationMode to set. * @return This builder for chaining. */ - public Builder setExclusionDurationMode( - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode value) { + public Builder setExclusionDurationMode(com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode value) { if (value == null) { throw new NullPointerException(); } @@ -1942,18 +1671,13 @@ public Builder setExclusionDurationMode( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearExclusionDurationMode() { @@ -1964,37 +1688,26 @@ public Builder clearExclusionDurationMode() { } private java.util.List filterClauses_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilterClausesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - filterClauses_ = - new java.util.ArrayList( - filterClauses_); + filterClauses_ = new java.util.ArrayList(filterClauses_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterClause, - com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> - filterClausesBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterClause, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> filterClausesBuilder_; /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ - public java.util.List - getFilterClausesList() { + public java.util.List getFilterClausesList() { if (filterClausesBuilder_ == null) { return java.util.Collections.unmodifiableList(filterClauses_); } else { @@ -2002,16 +1715,12 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public int getFilterClausesCount() { if (filterClausesBuilder_ == null) { @@ -2021,16 +1730,12 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses(int index) { if (filterClausesBuilder_ == null) { @@ -2040,16 +1745,12 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder setFilterClauses( int index, com.google.analytics.admin.v1alpha.AudienceFilterClause value) { @@ -2066,20 +1767,15 @@ public Builder setFilterClauses( return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder setFilterClauses( - int index, - com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); filterClauses_.set(index, builderForValue.build()); @@ -2090,16 +1786,12 @@ public Builder setFilterClauses( return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addFilterClauses(com.google.analytics.admin.v1alpha.AudienceFilterClause value) { if (filterClausesBuilder_ == null) { @@ -2115,16 +1807,12 @@ public Builder addFilterClauses(com.google.analytics.admin.v1alpha.AudienceFilte return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addFilterClauses( int index, com.google.analytics.admin.v1alpha.AudienceFilterClause value) { @@ -2141,16 +1829,12 @@ public Builder addFilterClauses( return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addFilterClauses( com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { @@ -2164,20 +1848,15 @@ public Builder addFilterClauses( return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addFilterClauses( - int index, - com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); filterClauses_.add(index, builderForValue.build()); @@ -2188,23 +1867,19 @@ public Builder addFilterClauses( return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder addAllFilterClauses( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filterClauses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filterClauses_); onChanged(); } else { filterClausesBuilder_.addAllMessages(values); @@ -2212,16 +1887,12 @@ public Builder addAllFilterClauses( return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder clearFilterClauses() { if (filterClausesBuilder_ == null) { @@ -2234,16 +1905,12 @@ public Builder clearFilterClauses() { return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public Builder removeFilterClauses(int index) { if (filterClausesBuilder_ == null) { @@ -2256,56 +1923,42 @@ public Builder removeFilterClauses(int index) { return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder getFilterClausesBuilder( int index) { return getFilterClausesFieldBuilder().getBuilder(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder - getFilterClausesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilterClausesOrBuilder( + int index) { if (filterClausesBuilder_ == null) { - return filterClauses_.get(index); - } else { + return filterClauses_.get(index); } else { return filterClausesBuilder_.getMessageOrBuilder(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> - getFilterClausesOrBuilderList() { + public java.util.List + getFilterClausesOrBuilderList() { if (filterClausesBuilder_ != null) { return filterClausesBuilder_.getMessageOrBuilderList(); } else { @@ -2313,68 +1966,48 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder - addFilterClausesBuilder() { - return getFilterClausesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder addFilterClausesBuilder() { + return getFilterClausesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder addFilterClausesBuilder( int index) { - return getFilterClausesFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); + return getFilterClausesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; */ - public java.util.List - getFilterClausesBuilderList() { + public java.util.List + getFilterClausesBuilderList() { return getFilterClausesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterClause, - com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterClause, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> getFilterClausesFieldBuilder() { if (filterClausesBuilder_ == null) { - filterClausesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterClause, - com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder>( + filterClausesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterClause, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder>( filterClauses_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -2383,9 +2016,9 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder addFilter } return filterClausesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2395,12 +2028,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.Audience) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.Audience) private static final com.google.analytics.admin.v1alpha.Audience DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.Audience(); } @@ -2409,27 +2042,27 @@ public static com.google.analytics.admin.v1alpha.Audience getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Audience 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Audience 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; @@ -2444,4 +2077,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Audience getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java index 519b2b369a99..a3da73e26477 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java @@ -1,167 +1,123 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A specific filter for a single dimension or metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter} */ -public final class AudienceDimensionOrMetricFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudienceDimensionOrMetricFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) AudienceDimensionOrMetricFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudienceDimensionOrMetricFilter.newBuilder() to construct. - private AudienceDimensionOrMetricFilter( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AudienceDimensionOrMetricFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudienceDimensionOrMetricFilter() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudienceDimensionOrMetricFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); } - public interface StringFilterOrBuilder - extends + public interface StringFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The match type for the string filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The matchType. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType - getMatchType(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
      * Optional. If true, the match is case-sensitive. If false, the match is
      * case-insensitive.
      * 
* * 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.AudienceDimensionOrMetricFilter.StringFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter} */ - public static final class StringFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StringFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) StringFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringFilter.newBuilder() to construct. private StringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StringFilter() { matchType_ = 0; value_ = ""; @@ -169,45 +125,39 @@ private StringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StringFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder.class); } /** - * - * *
      * The match type for the string filter.
      * 
* - * Protobuf enum {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType} + * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType} */ - public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified
        * 
@@ -216,8 +166,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ MATCH_TYPE_UNSPECIFIED(0), /** - * - * *
        * Exact match of the string value.
        * 
@@ -226,8 +174,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ EXACT(1), /** - * - * *
        * Begins with the string value.
        * 
@@ -236,8 +182,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ BEGINS_WITH(2), /** - * - * *
        * Ends with the string value.
        * 
@@ -246,8 +190,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ ENDS_WITH(3), /** - * - * *
        * Contains the string value.
        * 
@@ -256,8 +198,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ CONTAINS(4), /** - * - * *
        * Full regular expression matches with the string value.
        * 
@@ -265,22 +205,10 @@ 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), ; /** - * - * *
        * Unspecified
        * 
@@ -289,8 +217,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Exact match of the string value.
        * 
@@ -299,8 +225,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXACT_VALUE = 1; /** - * - * *
        * Begins with the string value.
        * 
@@ -309,8 +233,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BEGINS_WITH_VALUE = 2; /** - * - * *
        * Ends with the string value.
        * 
@@ -319,8 +241,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENDS_WITH_VALUE = 3; /** - * - * *
        * Contains the string value.
        * 
@@ -329,8 +249,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINS_VALUE = 4; /** - * - * *
        * Full regular expression matches with the string value.
        * 
@@ -338,16 +256,7 @@ 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) { @@ -373,60 +282,52 @@ public static MatchType valueOf(int value) { */ public static MatchType forNumber(int value) { switch (value) { - case 0: - return MATCH_TYPE_UNSPECIFIED; - case 1: - return EXACT; - case 2: - return BEGINS_WITH; - case 3: - return ENDS_WITH; - case 4: - return CONTAINS; - case 5: - return FULL_REGEXP; - case 6: - return PARTIAL_REGEXP; - default: - return null; + case 0: return MATCH_TYPE_UNSPECIFIED; + case 1: return EXACT; + case 2: return BEGINS_WITH; + case 3: return ENDS_WITH; + case 4: return CONTAINS; + case 5: return FULL_REGEXP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MatchType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchType findValueByNumber(int number) { - return MatchType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDescriptor().getEnumTypes().get(0); } private static final MatchType[] VALUES = values(); - public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MatchType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -446,61 +347,38 @@ private MatchType(int value) { 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.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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() { + @java.lang.Override public int getMatchTypeValue() { return matchType_; } /** - * - * *
      * Required. The match type for the string filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The matchType. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType - getMatchType() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType - result = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .MatchType.forNumber(matchType_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .MatchType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType getMatchType() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.forNumber(matchType_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 @@ -509,29 +387,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
      * 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() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -542,15 +420,12 @@ public com.google.protobuf.ByteString getValueBytes() { 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.
      * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caseSensitive. */ @java.lang.Override @@ -559,7 +434,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -571,11 +445,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (matchType_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (matchType_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -593,17 +465,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, matchType_); + if (matchType_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -613,19 +484,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other = - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) obj; if (matchType_ != other.matchType_) return false; - if (!getValue().equals(other.getValue())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (getCaseSensitive() + != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -642,107 +512,95 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -752,45 +610,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -802,23 +654,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = - buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -826,20 +674,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchType_ = matchType_; @@ -856,56 +698,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - other); + if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) { + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other) { + if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance()) return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -943,31 +775,27 @@ public Builder mergeFrom( 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: + 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) { @@ -977,38 +805,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int matchType_ = 0; /** - * - * *
        * Required. The match type for the string filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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() { + @java.lang.Override public int getMatchTypeValue() { return matchType_; } /** - * - * *
        * Required. The match type for the string filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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. */ @@ -1019,48 +835,28 @@ public Builder setMatchTypeValue(int value) { return this; } /** - * - * *
        * Required. The match type for the string filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The matchType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .MatchType - getMatchType() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType - result = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .MatchType.forNumber(matchType_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .MatchType.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType getMatchType() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.forNumber(matchType_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.UNRECOGNIZED : result; } /** - * - * *
        * Required. The match type for the string filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter.MatchType - value) { + public Builder setMatchType(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } @@ -1070,16 +866,11 @@ public Builder setMatchType( return this; } /** - * - * *
        * Required. The match type for the string filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearMatchType() { @@ -1091,20 +882,18 @@ public Builder clearMatchType() { 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -1113,21 +902,20 @@ public 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. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -1135,35 +923,28 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
        * 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(); - } + 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() { @@ -1173,21 +954,17 @@ public Builder clearValue() { 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(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -1195,17 +972,14 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { return this; } - private boolean caseSensitive_; + private boolean caseSensitive_ ; /** - * - * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caseSensitive. */ @java.lang.Override @@ -1213,35 +987,29 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** - * - * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * 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.
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -1250,7 +1018,6 @@ public Builder clearCaseSensitive() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1263,46 +1030,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .StringFilter - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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(); - } - }; + 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; @@ -1314,174 +1076,152 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InListFilterOrBuilder - extends + public interface InListFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
-     * 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]; - * * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + 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]; - * * @return The count of values. */ 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]; - * * @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.
+     * 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); + com.google.protobuf.ByteString + getValuesBytes(int index); /** - * - * *
      * Optional. If true, the match is case-sensitive. If false, the match is
      * case-insensitive.
      * 
* * 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.AudienceDimensionOrMetricFilter.InListFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter} */ - public static final class InListFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InListFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) InListFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InListFilter.newBuilder() to construct. private InListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InListFilter() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InListFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.
+     * 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() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return 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]; - * * @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.
+     * 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. */ @@ -1489,33 +1229,29 @@ 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.
+     * 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) { + 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.
      * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caseSensitive. */ @java.lang.Override @@ -1524,7 +1260,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1536,7 +1271,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -1561,7 +1297,8 @@ public int getSerializedSize() { size += 1 * getValuesList().size(); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1571,18 +1308,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other = - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) obj; - if (!getValuesList().equals(other.getValuesList())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (getCaseSensitive() + != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1599,107 +1335,95 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1709,45 +1433,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter for a string dimension that matches a particular list of options.
      * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1759,23 +1477,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = - buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1783,21 +1497,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter( - this); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -1805,8 +1513,7 @@ private void buildPartialRepeatedFields( result.values_ = values_; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.caseSensitive_ = caseSensitive_; @@ -1817,56 +1524,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - other); + if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) { + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other) { + if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance()) return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -1906,26 +1603,23 @@ public Builder mergeFrom( 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: + 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) { @@ -1935,55 +1629,47 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList values_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
-       * 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]; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_.getUnmodifiableView(); } /** - * - * *
-       * 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]; - * * @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.
+       * 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. */ @@ -1991,90 +1677,81 @@ 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.
+       * 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) { + 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.
+       * 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(); - } + 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.
+       * 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(); - } + 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.
+       * 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) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); return this; } /** - * - * *
-       * 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]; - * * @return This builder for chaining. */ public Builder clearValues() { @@ -2084,21 +1761,18 @@ public Builder clearValues() { return this; } /** - * - * *
-       * 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]; - * * @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(); - } + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -2106,17 +1780,14 @@ public Builder addValuesBytes(com.google.protobuf.ByteString value) { return this; } - private boolean caseSensitive_; + private boolean caseSensitive_ ; /** - * - * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caseSensitive. */ @java.lang.Override @@ -2124,35 +1795,29 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** - * - * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * 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.
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -2161,7 +1826,6 @@ public Builder clearCaseSensitive() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2174,46 +1838,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .InListFilter - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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(); - } - }; + 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; @@ -2225,132 +1884,109 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NumericValueOrBuilder - extends + public interface NumericValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Integer value.
      * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
      * Integer value.
      * 
* * int64 int64_value = 1; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
      * Double value.
      * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
      * Double value.
      * 
* * double double_value = 2; - * * @return The doubleValue. */ double getDoubleValue(); - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .OneValueCase - getOneValueCase(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.OneValueCase getOneValueCase(); } /** - * - * *
    * To represent a number.
    * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} */ - public static final class NumericValue extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NumericValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) NumericValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericValue.newBuilder() to construct. private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NumericValue() {} + private NumericValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NumericValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), DOUBLE_VALUE(2), ONEVALUE_NOT_SET(0); private final int value; - private OneValueCase(int value) { this.value = value; } @@ -2366,36 +2002,30 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: - return INT64_VALUE; - case 2: - return DOUBLE_VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; + case 1: return INT64_VALUE; + case 2: return DOUBLE_VALUE; + case 0: return ONEVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** - * - * *
      * Integer value.
      * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -2403,14 +2033,11 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** - * - * *
      * Integer value.
      * 
* * int64 int64_value = 1; - * * @return The int64Value. */ @java.lang.Override @@ -2423,14 +2050,11 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** - * - * *
      * Double value.
      * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -2438,14 +2062,11 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** - * - * *
      * Double value.
      * 
* * double double_value = 2; - * * @return The doubleValue. */ @java.lang.Override @@ -2457,7 +2078,6 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2469,12 +2089,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (oneValueCase_ == 1) { - output.writeInt64(1, (long) ((java.lang.Long) oneValue_)); + output.writeInt64( + 1, (long)((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) oneValue_)); + output.writeDouble( + 2, (double)((java.lang.Double) oneValue_)); } getUnknownFields().writeTo(output); } @@ -2486,14 +2109,14 @@ public int getSerializedSize() { size = 0; if (oneValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, (long) ((java.lang.Long) oneValue_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 1, (long)((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) oneValue_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 2, (double)((java.lang.Double) oneValue_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2503,24 +2126,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other = - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 0: default: @@ -2539,14 +2161,13 @@ public int hashCode() { switch (oneValueCase_) { case 1: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInt64Value()); break; case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 0: default: @@ -2556,101 +2177,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2660,45 +2268,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * To represent a number.
      * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2709,23 +2311,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = - buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2733,26 +2331,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { + private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { result.oneValueCase_ = oneValueCase_; result.oneValue_ = this.oneValue_; } @@ -2761,71 +2352,58 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) - other); + if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) { + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other) { + if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case ONEVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2853,25 +2431,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - oneValue_ = input.readInt64(); - oneValueCase_ = 1; - break; - } // case 8 - case 17: - { - oneValue_ = input.readDouble(); - oneValueCase_ = 2; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + oneValue_ = input.readInt64(); + oneValueCase_ = 1; + break; + } // case 8 + case 17: { + oneValue_ = input.readDouble(); + oneValueCase_ = 2; + break; + } // case 17 + 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) { @@ -2881,12 +2456,12 @@ public Builder mergeFrom( } // finally return this; } - private int oneValueCase_ = 0; private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public Builder clearOneValue() { @@ -2899,28 +2474,22 @@ public Builder clearOneValue() { private int bitField0_; /** - * - * *
        * Integer value.
        * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** - * - * *
        * Integer value.
        * 
* * int64 int64_value = 1; - * * @return The int64Value. */ public long getInt64Value() { @@ -2930,33 +2499,27 @@ public long getInt64Value() { return 0L; } /** - * - * *
        * Integer value.
        * 
* * int64 int64_value = 1; - * * @param value The int64Value to set. * @return This builder for chaining. */ public Builder setInt64Value(long value) { - + oneValueCase_ = 1; oneValue_ = value; onChanged(); return this; } /** - * - * *
        * Integer value.
        * 
* * int64 int64_value = 1; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -2969,28 +2532,22 @@ public Builder clearInt64Value() { } /** - * - * *
        * Double value.
        * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** - * - * *
        * Double value.
        * 
* * double double_value = 2; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -3000,33 +2557,27 @@ public double getDoubleValue() { return 0D; } /** - * - * *
        * Double value.
        * 
* * double double_value = 2; - * * @param value The doubleValue to set. * @return This builder for chaining. */ public Builder setDoubleValue(double value) { - + oneValueCase_ = 2; oneValue_ = value; onChanged(); return this; } /** - * - * *
        * Double value.
        * 
* * double double_value = 2; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -3037,7 +2588,6 @@ public Builder clearDoubleValue() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3050,46 +2600,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValue - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -3101,155 +2646,117 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NumericFilterOrBuilder - extends + public interface NumericFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The operation applied to a numeric filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** - * - * *
      * Required. The operation applied to a numeric filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The operation. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation - getOperation(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation(); /** - * - * *
      * Required. The numeric or date value to match against.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
      * Required. The numeric or date value to match against.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The value. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getValue(); /** - * - * *
      * Required. The numeric or date value to match against.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder - getValueOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder(); } /** - * - * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} */ - public static final class NumericFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NumericFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) NumericFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericFilter.newBuilder() to construct. private NumericFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NumericFilter() { operation_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NumericFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder.class); } /** - * - * *
      * The operation applied to a numeric filter.
      * 
* - * Protobuf enum {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation} + * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation} */ - public enum Operation implements com.google.protobuf.ProtocolMessageEnum { + public enum Operation + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -3258,8 +2765,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_UNSPECIFIED(0), /** - * - * *
        * Equal.
        * 
@@ -3268,8 +2773,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ EQUAL(1), /** - * - * *
        * Less than.
        * 
@@ -3278,18 +2781,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ LESS_THAN(2), /** - * - * - *
-       * Less than or equal.
-       * 
- * - * LESS_THAN_OR_EQUAL = 3; - */ - LESS_THAN_OR_EQUAL(3), - /** - * - * *
        * Greater than.
        * 
@@ -3297,22 +2788,10 @@ 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), ; /** - * - * *
        * Unspecified.
        * 
@@ -3321,8 +2800,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Equal.
        * 
@@ -3331,8 +2808,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EQUAL_VALUE = 1; /** - * - * *
        * Less than.
        * 
@@ -3341,18 +2816,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LESS_THAN_VALUE = 2; /** - * - * - *
-       * Less than or equal.
-       * 
- * - * LESS_THAN_OR_EQUAL = 3; - */ - public static final int LESS_THAN_OR_EQUAL_VALUE = 3; - /** - * - * *
        * Greater than.
        * 
@@ -3360,16 +2823,7 @@ 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) { @@ -3395,58 +2849,50 @@ public static Operation valueOf(int value) { */ public static Operation forNumber(int value) { switch (value) { - case 0: - return OPERATION_UNSPECIFIED; - case 1: - return EQUAL; - case 2: - return LESS_THAN; - case 3: - return LESS_THAN_OR_EQUAL; - case 4: - return GREATER_THAN; - case 5: - return GREATER_THAN_OR_EQUAL; - default: - return null; + case 0: return OPERATION_UNSPECIFIED; + case 1: return EQUAL; + case 2: return LESS_THAN; + case 4: return GREATER_THAN; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Operation> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operation findValueByNumber(int number) { + return Operation.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operation findValueByNumber(int number) { - return Operation.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDescriptor().getEnumTypes().get(0); } private static final Operation[] VALUES = values(); - public static Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operation valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -3466,62 +2912,37 @@ private Operation(int value) { public static final int OPERATION_FIELD_NUMBER = 1; private int operation_ = 0; /** - * - * *
      * Required. The operation applied to a numeric filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for operation. */ - @java.lang.Override - public int getOperationValue() { + @java.lang.Override public int getOperationValue() { return operation_; } /** - * - * *
      * Required. The operation applied to a numeric filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The operation. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation - getOperation() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation - result = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation.forNumber(operation_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.forNumber(operation_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value_; /** - * - * *
      * Required. The numeric or date value to match against.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the value field is set. */ @java.lang.Override @@ -3529,48 +2950,30 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
      * Required. The numeric or date value to match against.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The value. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getValue() { - return value_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : value_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getValue() { + return value_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; } /** - * - * *
      * Required. The numeric or date value to match against.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder - getValueOrBuilder() { - return value_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : value_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder() { + return value_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3582,11 +2985,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (operation_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation.OPERATION_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (operation_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { output.writeEnum(1, operation_); } if (value_ != null) { @@ -3601,14 +3002,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operation_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation.OPERATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_); + if (operation_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, operation_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3618,20 +3018,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other = - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) obj; if (operation_ != other.operation_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3655,102 +3053,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter 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.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - 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.AudienceDimensionOrMetricFilter.NumericFilter parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3760,45 +3144,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3813,23 +3191,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = - buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3837,26 +3211,22 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.operation_ = operation_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); } } @@ -3864,56 +3234,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - other); + if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) { + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other) { + if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance()) return this; if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } @@ -3946,25 +3306,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - operation_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + operation_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getValueFieldBuilder().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) { @@ -3974,38 +3333,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int operation_ = 0; /** - * - * *
        * Required. The operation applied to a numeric filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for operation. */ - @java.lang.Override - public int getOperationValue() { + @java.lang.Override public int getOperationValue() { return operation_; } /** - * - * *
        * Required. The operation applied to a numeric filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ @@ -4016,48 +3363,28 @@ public Builder setOperationValue(int value) { return this; } /** - * - * *
        * Required. The operation applied to a numeric filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The operation. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation - getOperation() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation - result = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation.forNumber(operation_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Operation.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.forNumber(operation_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.UNRECOGNIZED : result; } /** - * - * *
        * Required. The operation applied to a numeric filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation - value) { + public Builder setOperation(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation value) { if (value == null) { throw new NullPointerException(); } @@ -4067,16 +3394,11 @@ public Builder setOperation( return this; } /** - * - * *
        * Required. The operation applied to a numeric filter.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearOperation() { @@ -4086,68 +3408,43 @@ public Builder clearOperation() { return this; } - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - value_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder> - valueBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> valueBuilder_; /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The value. */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getValue() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getValue() { if (valueBuilder_ == null) { - return value_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : value_; + return value_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder setValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4161,19 +3458,14 @@ public Builder setValue( return this; } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -4184,24 +3476,17 @@ public Builder setValue( return this; } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder mergeValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && value_ != null - && value_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + value_ != null && + value_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -4214,15 +3499,11 @@ public Builder mergeValue( return this; } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4235,76 +3516,52 @@ public Builder clearValue() { return this; } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder - getValueBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder getValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder - getValueOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : value_; + return value_ == null ? + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; } } /** - * - * *
        * Required. The numeric or date value to match against.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder>(getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4317,46 +3574,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericFilter - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -4368,166 +3620,123 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface BetweenFilterOrBuilder - extends + public interface BetweenFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Begins with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fromValue field is set. */ boolean hasFromValue(); /** - * - * *
      * Required. Begins with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The fromValue. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getFromValue(); /** - * - * *
      * Required. Begins with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder - getFromValueOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getFromValueOrBuilder(); /** - * - * *
      * Required. Ends with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the toValue field is set. */ boolean hasToValue(); /** - * - * *
      * Required. Ends with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The toValue. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getToValue(); /** - * - * *
      * Required. Ends with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder - getToValueOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getToValueOrBuilder(); } /** - * - * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} */ - public static final class BetweenFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BetweenFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) BetweenFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BetweenFilter.newBuilder() to construct. private BetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BetweenFilter() {} + private BetweenFilter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BetweenFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder.class); } public static final int FROM_VALUE_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - fromValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue fromValue_; /** - * - * *
      * Required. Begins with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fromValue field is set. */ @java.lang.Override @@ -4535,60 +3744,37 @@ public boolean hasFromValue() { return fromValue_ != null; } /** - * - * *
      * Required. Begins with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The fromValue. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getFromValue() { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : fromValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getFromValue() { + return fromValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; } /** - * - * *
      * Required. Begins with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder - getFromValueOrBuilder() { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : fromValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getFromValueOrBuilder() { + return fromValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; } public static final int TO_VALUE_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - toValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue toValue_; /** - * - * *
      * Required. Ends with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the toValue field is set. */ @java.lang.Override @@ -4596,48 +3782,30 @@ public boolean hasToValue() { return toValue_ != null; } /** - * - * *
      * Required. Ends with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The toValue. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getToValue() { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : toValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getToValue() { + return toValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; } /** - * - * *
      * Required. Ends with this number, inclusive.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder - getToValueOrBuilder() { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : toValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getToValueOrBuilder() { + return toValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4649,7 +3817,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (fromValue_ != null) { output.writeMessage(1, getFromValue()); } @@ -4666,10 +3835,12 @@ public int getSerializedSize() { size = 0; if (fromValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFromValue()); } if (toValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getToValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4679,23 +3850,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other = - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) obj; if (hasFromValue() != other.hasFromValue()) return false; if (hasFromValue()) { - if (!getFromValue().equals(other.getFromValue())) return false; + if (!getFromValue() + .equals(other.getFromValue())) return false; } if (hasToValue() != other.hasToValue()) return false; if (hasToValue()) { - if (!getToValue().equals(other.getToValue())) return false; + if (!getToValue() + .equals(other.getToValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4721,102 +3891,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter 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.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - 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.AudienceDimensionOrMetricFilter.BetweenFilter 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.AudienceDimensionOrMetricFilter.BetweenFilter - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4826,46 +3982,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4884,23 +4034,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = - buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4908,26 +4054,24 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.fromValue_ = fromValueBuilder_ == null ? fromValue_ : fromValueBuilder_.build(); + result.fromValue_ = fromValueBuilder_ == null + ? fromValue_ + : fromValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.toValue_ = toValueBuilder_ == null ? toValue_ : toValueBuilder_.build(); + result.toValue_ = toValueBuilder_ == null + ? toValue_ + : toValueBuilder_.build(); } } @@ -4935,56 +4079,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - other); + if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) { + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other) { + if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance()) return this; if (other.hasFromValue()) { mergeFromValue(other.getFromValue()); } @@ -5017,25 +4151,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getFromValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getToValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getFromValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getToValueFieldBuilder().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) { @@ -5045,71 +4180,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - fromValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue fromValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder> - fromValueBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> fromValueBuilder_; /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fromValue field is set. */ public boolean hasFromValue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The fromValue. */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getFromValue() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getFromValue() { if (fromValueBuilder_ == null) { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : fromValue_; + return fromValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; } else { return fromValueBuilder_.getMessage(); } } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFromValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder setFromValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (fromValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5123,19 +4232,14 @@ public Builder setFromValue( return this; } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFromValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue) { if (fromValueBuilder_ == null) { fromValue_ = builderForValue.build(); } else { @@ -5146,24 +4250,17 @@ public Builder setFromValue( return this; } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeFromValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder mergeFromValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (fromValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && fromValue_ != null - && fromValue_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + fromValue_ != null && + fromValue_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) { getFromValueBuilder().mergeFrom(value); } else { fromValue_ = value; @@ -5176,15 +4273,11 @@ public Builder mergeFromValue( return this; } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFromValue() { bitField0_ = (bitField0_ & ~0x00000001); @@ -5197,138 +4290,90 @@ public Builder clearFromValue() { return this; } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder - getFromValueBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder getFromValueBuilder() { bitField0_ |= 0x00000001; onChanged(); return getFromValueFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder - getFromValueOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getFromValueOrBuilder() { if (fromValueBuilder_ != null) { return fromValueBuilder_.getMessageOrBuilder(); } else { - return fromValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : fromValue_; + return fromValue_ == null ? + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; } } /** - * - * *
        * Required. Begins with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> getFromValueFieldBuilder() { if (fromValueBuilder_ == null) { - fromValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder>(getFromValue(), getParentForChildren(), isClean()); + fromValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder>( + getFromValue(), + getParentForChildren(), + isClean()); fromValue_ = null; } return fromValueBuilder_; } - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - toValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue toValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder> - toValueBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> toValueBuilder_; /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the toValue field is set. */ public boolean hasToValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The toValue. */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - getToValue() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getToValue() { if (toValueBuilder_ == null) { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : toValue_; + return toValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; } else { return toValueBuilder_.getMessage(); } } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setToValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder setToValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (toValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5342,19 +4387,14 @@ public Builder setToValue( return this; } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setToValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue) { if (toValueBuilder_ == null) { toValue_ = builderForValue.build(); } else { @@ -5365,24 +4405,17 @@ public Builder setToValue( return this; } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeToValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder mergeToValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (toValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && toValue_ != null - && toValue_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + toValue_ != null && + toValue_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) { getToValueBuilder().mergeFrom(value); } else { toValue_ = value; @@ -5395,15 +4428,11 @@ public Builder mergeToValue( return this; } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearToValue() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5416,76 +4445,52 @@ public Builder clearToValue() { return this; } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder - getToValueBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder getToValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getToValueFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder - getToValueOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getToValueOrBuilder() { if (toValueBuilder_ != null) { return toValueBuilder_.getMessageOrBuilder(); } else { - return toValue_ == null - ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .getDefaultInstance() - : toValue_; + return toValue_ == null ? + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; } } /** - * - * *
        * Required. Ends with this number, inclusive.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> getToValueFieldBuilder() { if (toValueBuilder_ == null) { - toValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericValueOrBuilder>(getToValue(), getParentForChildren(), isClean()); + toValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder>( + getToValue(), + getParentForChildren(), + isClean()); toValue_ = null; } return toValueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5498,46 +4503,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .BetweenFilter - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BetweenFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BetweenFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -5549,18 +4549,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - public enum OneFilterCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_FILTER(2), IN_LIST_FILTER(3), @@ -5568,7 +4566,6 @@ public enum OneFilterCase BETWEEN_FILTER(5), ONEFILTER_NOT_SET(0); private final int value; - private OneFilterCase(int value) { this.value = value; } @@ -5584,42 +4581,32 @@ public static OneFilterCase valueOf(int value) { public static OneFilterCase forNumber(int value) { switch (value) { - case 2: - return STRING_FILTER; - case 3: - return IN_LIST_FILTER; - case 4: - return NUMERIC_FILTER; - case 5: - return BETWEEN_FILTER; - case 0: - return ONEFILTER_NOT_SET; - default: - return null; + case 2: return STRING_FILTER; + case 3: return IN_LIST_FILTER; + case 4: return NUMERIC_FILTER; + case 5: return BETWEEN_FILTER; + case 0: return ONEFILTER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); + public 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.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -5627,63 +4614,43 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** - * - * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; * @return The stringFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - getStringFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getStringFilter() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); } /** - * - * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder - getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder getStringFilterOrBuilder() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -5691,64 +4658,44 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** - * - * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; * @return The inListFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - getInListFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getInListFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); } - /** - * - * + /** *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder - getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder getInListFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); } public static final int NUMERIC_FILTER_FIELD_NUMBER = 4; /** - * - * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -5756,63 +4703,43 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** - * - * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; * @return The numericFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - getNumericFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getNumericFilter() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); } /** - * - * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder - getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder getNumericFilterOrBuilder() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); } public static final int BETWEEN_FILTER_FIELD_NUMBER = 5; /** - * - * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -5820,67 +4747,46 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** - * - * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; * @return The betweenFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - getBetweenFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getBetweenFilter() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); } /** - * - * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder - getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); } public static final int FIELD_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object fieldName_ = ""; /** - * - * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The fieldName. */ @java.lang.Override @@ -5889,31 +4795,29 @@ public java.lang.String getFieldName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } } /** - * - * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for fieldName. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldNameBytes() { + public com.google.protobuf.ByteString + getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldName_ = b; return b; } else { @@ -5924,11 +4828,9 @@ public com.google.protobuf.ByteString getFieldNameBytes() { public static final int AT_ANY_POINT_IN_TIME_FIELD_NUMBER = 6; private boolean atAnyPointInTime_ = false; /** - * - * *
-   * 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.
@@ -5936,7 +4838,6 @@ public com.google.protobuf.ByteString getFieldNameBytes() {
    * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The atAnyPointInTime. */ @java.lang.Override @@ -5947,12 +4848,10 @@ public boolean getAtAnyPointInTime() { public static final int IN_ANY_N_DAY_PERIOD_FIELD_NUMBER = 7; private int inAnyNDayPeriod_ = 0; /** - * - * *
-   * 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.
@@ -5961,7 +4860,6 @@ public boolean getAtAnyPointInTime() {
    * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The inAnyNDayPeriod. */ @java.lang.Override @@ -5970,7 +4868,6 @@ public int getInAnyNDayPeriod() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5982,33 +4879,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } if (oneFilterCase_ == 2) { - output.writeMessage( - 2, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - oneFilter_); + output.writeMessage(2, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_); } if (oneFilterCase_ == 3) { - output.writeMessage( - 3, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - oneFilter_); + output.writeMessage(3, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_); } if (oneFilterCase_ == 4) { - output.writeMessage( - 4, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - oneFilter_); + output.writeMessage(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_); } if (oneFilterCase_ == 5) { - output.writeMessage( - 5, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - oneFilter_); + output.writeMessage(5, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_); } if (atAnyPointInTime_ != false) { output.writeBool(6, atAnyPointInTime_); @@ -6029,38 +4915,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (oneFilterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_); } if (oneFilterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_); } if (oneFilterCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_); } if (oneFilterCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_); } if (atAnyPointInTime_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, atAnyPointInTime_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, atAnyPointInTime_); } if (inAnyNDayPeriod_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, inAnyNDayPeriod_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, inAnyNDayPeriod_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6070,30 +4946,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other = - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) obj; - if (!getFieldName().equals(other.getFieldName())) return false; - if (getAtAnyPointInTime() != other.getAtAnyPointInTime()) return false; - if (getInAnyNDayPeriod() != other.getInAnyNDayPeriod()) return false; + if (!getFieldName() + .equals(other.getFieldName())) return false; + if (getAtAnyPointInTime() + != other.getAtAnyPointInTime()) return false; + if (getInAnyNDayPeriod() + != other.getInAnyNDayPeriod()) return false; if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; switch (oneFilterCase_) { case 2: - if (!getStringFilter().equals(other.getStringFilter())) return false; + if (!getStringFilter() + .equals(other.getStringFilter())) return false; break; case 3: - if (!getInListFilter().equals(other.getInListFilter())) return false; + if (!getInListFilter() + .equals(other.getInListFilter())) return false; break; case 4: - if (!getNumericFilter().equals(other.getNumericFilter())) return false; + if (!getNumericFilter() + .equals(other.getNumericFilter())) return false; break; case 5: - if (!getBetweenFilter().equals(other.getBetweenFilter())) return false; + if (!getBetweenFilter() + .equals(other.getBetweenFilter())) return false; break; case 0: default: @@ -6112,7 +4994,8 @@ public int hashCode() { hash = (37 * hash) + FIELD_NAME_FIELD_NUMBER; hash = (53 * hash) + getFieldName().hashCode(); hash = (37 * hash) + AT_ANY_POINT_IN_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAtAnyPointInTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAtAnyPointInTime()); hash = (37 * hash) + IN_ANY_N_DAY_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getInAnyNDayPeriod(); switch (oneFilterCase_) { @@ -6141,138 +5024,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( 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.AudienceDimensionOrMetricFilter parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - 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.AudienceDimensionOrMetricFilter 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.AudienceDimensionOrMetricFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A specific filter for a single dimension or metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6298,16 +5172,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } @java.lang.Override @@ -6321,18 +5193,14 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter build( @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result = - new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000010) != 0)) { result.fieldName_ = fieldName_; @@ -6345,20 +5213,23 @@ private void buildPartial0( } } - private void buildPartialOneofs( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { + private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { result.oneFilterCase_ = oneFilterCase_; result.oneFilter_ = this.oneFilter_; - if (oneFilterCase_ == 2 && stringFilterBuilder_ != null) { + if (oneFilterCase_ == 2 && + stringFilterBuilder_ != null) { result.oneFilter_ = stringFilterBuilder_.build(); } - if (oneFilterCase_ == 3 && inListFilterBuilder_ != null) { + if (oneFilterCase_ == 3 && + inListFilterBuilder_ != null) { result.oneFilter_ = inListFilterBuilder_.build(); } - if (oneFilterCase_ == 4 && numericFilterBuilder_ != null) { + if (oneFilterCase_ == 4 && + numericFilterBuilder_ != null) { result.oneFilter_ = numericFilterBuilder_.build(); } - if (oneFilterCase_ == 5 && betweenFilterBuilder_ != null) { + if (oneFilterCase_ == 5 && + betweenFilterBuilder_ != null) { result.oneFilter_ = betweenFilterBuilder_.build(); } } @@ -6367,51 +5238,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AudienceDimensionOrMetricFilter) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other) { + if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance()) return this; if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; bitField0_ |= 0x00000010; @@ -6424,30 +5290,25 @@ public Builder mergeFrom( setInAnyNDayPeriod(other.getInAnyNDayPeriod()); } switch (other.getOneFilterCase()) { - case STRING_FILTER: - { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: - { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: - { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: - { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: - { - break; - } + case STRING_FILTER: { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: { + mergeInListFilter(other.getInListFilter()); + break; + } + case NUMERIC_FILTER: { + mergeNumericFilter(other.getNumericFilter()); + break; + } + case BETWEEN_FILTER: { + mergeBetweenFilter(other.getBetweenFilter()); + break; + } + case ONEFILTER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -6475,55 +5336,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - fieldName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - 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 - case 34: - { - input.readMessage(getNumericFilterFieldBuilder().getBuilder(), extensionRegistry); - oneFilterCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getBetweenFilterFieldBuilder().getBuilder(), extensionRegistry); - oneFilterCase_ = 5; - break; - } // case 42 - case 48: - { - atAnyPointInTime_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - inAnyNDayPeriod_ = input.readInt32(); - bitField0_ |= 0x00000040; - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + fieldName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + 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 + case 34: { + input.readMessage( + getNumericFilterFieldBuilder().getBuilder(), + extensionRegistry); + oneFilterCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getBetweenFilterFieldBuilder().getBuilder(), + extensionRegistry); + oneFilterCase_ = 5; + break; + } // case 42 + case 48: { + atAnyPointInTime_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + inAnyNDayPeriod_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + 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) { @@ -6533,12 +5394,12 @@ public Builder mergeFrom( } // finally return this; } - private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); + public OneFilterCase + getOneFilterCase() { + return OneFilterCase.forNumber( + oneFilterCase_); } public Builder clearOneFilter() { @@ -6551,22 +5412,13 @@ public Builder clearOneFilter() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .StringFilterOrBuilder> - stringFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder> stringFilterBuilder_; /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -6574,49 +5426,35 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; * @return The stringFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - getStringFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getStringFilter() { if (stringFilterBuilder_ == null) { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); } else { if (oneFilterCase_ == 2) { return stringFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ - public Builder setStringFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { + public Builder setStringFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { if (stringFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6630,19 +5468,14 @@ public Builder setStringFilter( return this; } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ public Builder setStringFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder builderForValue) { if (stringFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -6653,31 +5486,18 @@ public Builder setStringFilter( return this; } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ - public Builder mergeStringFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { + public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 2 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .newBuilder( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .StringFilter) - oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 2 && + oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -6693,15 +5513,11 @@ public Builder mergeStringFilter( return this; } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ public Builder clearStringFilter() { if (stringFilterBuilder_ == null) { @@ -6720,77 +5536,50 @@ public Builder clearStringFilter() { return this; } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder - getStringFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder getStringFilterBuilder() { return getStringFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder - getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder getStringFilterOrBuilder() { if ((oneFilterCase_ == 2) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .StringFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 2)) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .getDefaultInstance(); + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); } - stringFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .StringFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - oneFilter_, + stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -6801,23 +5590,14 @@ public Builder clearStringFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .InListFilterOrBuilder> - inListFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder> inListFilterBuilder_; /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -6825,51 +5605,37 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; * @return The inListFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - getInListFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getInListFilter() { if (inListFilterBuilder_ == null) { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); } else { if (oneFilterCase_ == 3) { return inListFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ - public Builder setInListFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { + public Builder setInListFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { if (inListFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6883,20 +5649,15 @@ public Builder setInListFilter( return this; } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ public Builder setInListFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder builderForValue) { if (inListFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -6907,32 +5668,19 @@ public Builder setInListFilter( return this; } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ - public Builder mergeInListFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { + public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 3 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .newBuilder( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .InListFilter) - oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 3 && + oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -6948,16 +5696,12 @@ public Builder mergeInListFilter( return this; } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ public Builder clearInListFilter() { if (inListFilterBuilder_ == null) { @@ -6976,80 +5720,53 @@ public Builder clearInListFilter() { return this; } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder - getInListFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder getInListFilterBuilder() { return getInListFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder - getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder getInListFilterOrBuilder() { if ((oneFilterCase_ == 3) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .InListFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .getDefaultInstance(); + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); } - inListFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .InListFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - oneFilter_, + inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -7060,23 +5777,13 @@ public Builder clearInListFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericFilterOrBuilder> - numericFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder> numericFilterBuilder_; /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -7084,49 +5791,35 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; * @return The numericFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - getNumericFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getNumericFilter() { if (numericFilterBuilder_ == null) { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); } else { if (oneFilterCase_ == 4) { return numericFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ - public Builder setNumericFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { + public Builder setNumericFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { if (numericFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7140,19 +5833,14 @@ public Builder setNumericFilter( return this; } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ public Builder setNumericFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder builderForValue) { if (numericFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -7163,31 +5851,18 @@ public Builder setNumericFilter( return this; } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ - public Builder mergeNumericFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { + public Builder mergeNumericFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 4 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .newBuilder( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericFilter) - oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 4 && + oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -7203,15 +5878,11 @@ public Builder mergeNumericFilter( return this; } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ public Builder clearNumericFilter() { if (numericFilterBuilder_ == null) { @@ -7230,78 +5901,50 @@ public Builder clearNumericFilter() { return this; } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder - getNumericFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder getNumericFilterBuilder() { return getNumericFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder - getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder getNumericFilterOrBuilder() { if ((oneFilterCase_ == 4) && (numericFilterBuilder_ != null)) { return numericFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder> getNumericFilterFieldBuilder() { if (numericFilterBuilder_ == null) { if (!(oneFilterCase_ == 4)) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .getDefaultInstance(); + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); } - numericFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .NumericFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - oneFilter_, + numericFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -7312,24 +5955,14 @@ public Builder clearNumericFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .BetweenFilterOrBuilder> - betweenFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder> betweenFilterBuilder_; /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -7337,51 +5970,37 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; * @return The betweenFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - getBetweenFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getBetweenFilter() { if (betweenFilterBuilder_ == null) { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); } else { if (oneFilterCase_ == 5) { return betweenFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ - public Builder setBetweenFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { + public Builder setBetweenFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { if (betweenFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7395,20 +6014,15 @@ public Builder setBetweenFilter( return this; } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ public Builder setBetweenFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder builderForValue) { if (betweenFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -7419,32 +6033,19 @@ public Builder setBetweenFilter( return this; } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ - public Builder mergeBetweenFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { + public Builder mergeBetweenFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 5 - && oneFilter_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance()) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .newBuilder( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .BetweenFilter) - oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 5 && + oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -7460,16 +6061,12 @@ public Builder mergeBetweenFilter( return this; } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ public Builder clearBetweenFilter() { if (betweenFilterBuilder_ == null) { @@ -7488,81 +6085,53 @@ public Builder clearBetweenFilter() { return this; } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder - getBetweenFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder getBetweenFilterBuilder() { return getBetweenFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder - getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { if ((oneFilterCase_ == 5) && (betweenFilterBuilder_ != null)) { return betweenFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); } } /** - * - * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .BetweenFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder> getBetweenFilterFieldBuilder() { if (betweenFilterBuilder_ == null) { if (!(oneFilterCase_ == 5)) { - oneFilter_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .getDefaultInstance(); + oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); } - betweenFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - .Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .BetweenFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - oneFilter_, + betweenFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -7574,22 +6143,18 @@ public Builder clearBetweenFilter() { private java.lang.Object fieldName_ = ""; /** - * - * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; @@ -7598,23 +6163,20 @@ public java.lang.String getFieldName() { } } /** - * - * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for fieldName. */ - public com.google.protobuf.ByteString getFieldNameBytes() { + public com.google.protobuf.ByteString + getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldName_ = b; return b; } else { @@ -7622,39 +6184,28 @@ public com.google.protobuf.ByteString getFieldNameBytes() { } } /** - * - * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The fieldName to set. * @return This builder for chaining. */ - public Builder setFieldName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fieldName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearFieldName() { @@ -7664,23 +6215,17 @@ public Builder clearFieldName() { return this; } /** - * - * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @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(); - } + public Builder setFieldNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldName_ = value; bitField0_ |= 0x00000010; @@ -7688,13 +6233,11 @@ public Builder setFieldNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean atAnyPointInTime_; + private boolean atAnyPointInTime_ ; /** - * - * *
-     * 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.
@@ -7702,7 +6245,6 @@ public Builder setFieldNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The atAnyPointInTime. */ @java.lang.Override @@ -7710,11 +6252,9 @@ public boolean getAtAnyPointInTime() { return atAnyPointInTime_; } /** - * - * *
-     * 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.
@@ -7722,23 +6262,20 @@ public boolean getAtAnyPointInTime() {
      * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The atAnyPointInTime to set. * @return This builder for chaining. */ public Builder setAtAnyPointInTime(boolean value) { - + atAnyPointInTime_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
-     * 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.
@@ -7746,7 +6283,6 @@ public Builder setAtAnyPointInTime(boolean value) {
      * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAtAnyPointInTime() { @@ -7756,14 +6292,12 @@ public Builder clearAtAnyPointInTime() { return this; } - private int inAnyNDayPeriod_; + private int inAnyNDayPeriod_ ; /** - * - * *
-     * 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.
@@ -7772,7 +6306,6 @@ public Builder clearAtAnyPointInTime() {
      * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The inAnyNDayPeriod. */ @java.lang.Override @@ -7780,12 +6313,10 @@ public int getInAnyNDayPeriod() { return inAnyNDayPeriod_; } /** - * - * *
-     * 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.
@@ -7794,24 +6325,21 @@ public int getInAnyNDayPeriod() {
      * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The inAnyNDayPeriod to set. * @return This builder for chaining. */ public Builder setInAnyNDayPeriod(int value) { - + inAnyNDayPeriod_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
-     * 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.
@@ -7820,7 +6348,6 @@ public Builder setInAnyNDayPeriod(int value) {
      * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearInAnyNDayPeriod() { @@ -7829,9 +6356,9 @@ public Builder clearInAnyNDayPeriod() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7841,43 +6368,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceDimensionOrMetricFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceDimensionOrMetricFilter 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; @@ -7889,8 +6414,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java index 6e04c71f5d85..d8e4895d8a39 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java @@ -1,239 +1,150 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceDimensionOrMetricFilterOrBuilder - extends +public interface AudienceDimensionOrMetricFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; * @return The stringFilter. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getStringFilter(); /** - * - * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder - getStringFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder getStringFilterOrBuilder(); /** - * - * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; * @return The inListFilter. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getInListFilter(); /** - * - * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder - getInListFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder getInListFilterOrBuilder(); /** - * - * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; * @return Whether the numericFilter field is set. */ boolean hasNumericFilter(); /** - * - * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; * @return The numericFilter. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - getNumericFilter(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getNumericFilter(); /** - * - * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder - getNumericFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder getNumericFilterOrBuilder(); /** - * - * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; * @return Whether the betweenFilter field is set. */ boolean hasBetweenFilter(); /** - * - * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; * @return The betweenFilter. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - getBetweenFilter(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getBetweenFilter(); /** - * - * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder - getBetweenFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder getBetweenFilterOrBuilder(); /** - * - * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The fieldName. */ java.lang.String getFieldName(); /** - * - * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for fieldName. */ - com.google.protobuf.ByteString getFieldNameBytes(); + 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.
@@ -241,18 +152,15 @@ public interface AudienceDimensionOrMetricFilterOrBuilder
    * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The atAnyPointInTime. */ 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.
@@ -261,11 +169,9 @@ public interface AudienceDimensionOrMetricFilterOrBuilder
    * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The inAnyNDayPeriod. */ int getInAnyNDayPeriod(); - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.OneFilterCase - getOneFilterCase(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.OneFilterCase getOneFilterCase(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java index 65e29857decf..3f05c4da34cd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A filter that matches events of a single event name. If an event parameter
  * is specified, only the subset of events that match both the single event name
@@ -29,61 +12,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventFilter}
  */
-public final class AudienceEventFilter extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AudienceEventFilter extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceEventFilter)
     AudienceEventFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AudienceEventFilter.newBuilder() to construct.
   private AudienceEventFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AudienceEventFilter() {
     eventName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AudienceEventFilter();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceEventFilter.class,
-            com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceEventFilter.class, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
   }
 
   public static final int EVENT_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object eventName_ = "";
   /**
-   *
-   *
    * 
    * Required. Immutable. The name of the event to match against.
    * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The eventName. */ @java.lang.Override @@ -92,31 +67,29 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** - * - * *
    * Required. Immutable. The name of the event to match against.
    * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -125,14 +98,11 @@ public com.google.protobuf.ByteString getEventNameBytes() { } public static final int EVENT_PARAMETER_FILTER_EXPRESSION_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.AudienceFilterExpression - eventParameterFilterExpression_; + private com.google.analytics.admin.v1alpha.AudienceFilterExpression eventParameterFilterExpression_; /** - * - * *
-   * 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
@@ -140,10 +110,7 @@ public com.google.protobuf.ByteString getEventNameBytes() {
    * will be considered; all the other filters will be ignored.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the eventParameterFilterExpression field is set. */ @java.lang.Override @@ -151,11 +118,9 @@ public boolean hasEventParameterFilterExpression() { return eventParameterFilterExpression_ != null; } /** - * - * *
-   * 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
@@ -163,25 +128,17 @@ public boolean hasEventParameterFilterExpression() {
    * will be considered; all the other filters will be ignored.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The eventParameterFilterExpression. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpression - getEventParameterFilterExpression() { - return eventParameterFilterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : eventParameterFilterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParameterFilterExpression() { + return eventParameterFilterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; } /** - * - * *
-   * 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
@@ -189,20 +146,14 @@ public boolean hasEventParameterFilterExpression() {
    * will be considered; all the other filters will be ignored.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getEventParameterFilterExpressionOrBuilder() { - return eventParameterFilterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : eventParameterFilterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder() { + return eventParameterFilterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +165,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventName_); } @@ -234,9 +186,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventName_); } if (eventParameterFilterExpression_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getEventParameterFilterExpression()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEventParameterFilterExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,20 +197,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceEventFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceEventFilter other = - (com.google.analytics.admin.v1alpha.AudienceEventFilter) obj; + com.google.analytics.admin.v1alpha.AudienceEventFilter other = (com.google.analytics.admin.v1alpha.AudienceEventFilter) obj; - if (!getEventName().equals(other.getEventName())) return false; - if (hasEventParameterFilterExpression() != other.hasEventParameterFilterExpression()) - return false; + if (!getEventName() + .equals(other.getEventName())) return false; + if (hasEventParameterFilterExpression() != other.hasEventParameterFilterExpression()) return false; if (hasEventParameterFilterExpression()) { - if (!getEventParameterFilterExpression().equals(other.getEventParameterFilterExpression())) - return false; + if (!getEventParameterFilterExpression() + .equals(other.getEventParameterFilterExpression())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -284,104 +234,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( 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.AudienceEventFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceEventFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceEventFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A filter that matches events of a single event name. If an event parameter
    * is specified, only the subset of events that match both the single event name
@@ -390,32 +332,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventFilter}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceEventFilter)
       com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceEventFilter.class,
-              com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceEventFilter.class, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceEventFilter.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +373,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
     }
 
     @java.lang.Override
@@ -451,11 +394,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceEventFilter buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceEventFilter result =
-          new com.google.analytics.admin.v1alpha.AudienceEventFilter(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AudienceEventFilter result = new com.google.analytics.admin.v1alpha.AudienceEventFilter(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -466,10 +406,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceEventFilte
         result.eventName_ = eventName_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.eventParameterFilterExpression_ =
-            eventParameterFilterExpressionBuilder_ == null
-                ? eventParameterFilterExpression_
-                : eventParameterFilterExpressionBuilder_.build();
+        result.eventParameterFilterExpression_ = eventParameterFilterExpressionBuilder_ == null
+            ? eventParameterFilterExpression_
+            : eventParameterFilterExpressionBuilder_.build();
       }
     }
 
@@ -477,39 +416,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceEventFilte
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AudienceEventFilter) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventFilter) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -517,8 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceEventFilter other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance()) return this;
       if (!other.getEventName().isEmpty()) {
         eventName_ = other.eventName_;
         bitField0_ |= 0x00000001;
@@ -553,27 +490,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                eventName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getEventParameterFilterExpressionFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              eventName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEventParameterFilterExpressionFieldBuilder().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) {
@@ -583,27 +517,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object eventName_ = "";
     /**
-     *
-     *
      * 
      * Required. Immutable. The name of the event to match against.
      * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -612,23 +541,20 @@ public java.lang.String getEventName() { } } /** - * - * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for eventName. */ - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -636,39 +562,28 @@ public com.google.protobuf.ByteString getEventNameBytes() { } } /** - * - * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } eventName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearEventName() { @@ -678,23 +593,17 @@ public Builder clearEventName() { return this; } /** - * - * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000001; @@ -702,19 +611,13 @@ public Builder setEventNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.analytics.admin.v1alpha.AudienceFilterExpression - eventParameterFilterExpression_; + private com.google.analytics.admin.v1alpha.AudienceFilterExpression eventParameterFilterExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> - eventParameterFilterExpressionBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> eventParameterFilterExpressionBuilder_; /** - * - * *
-     * 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
@@ -722,21 +625,16 @@ public Builder setEventNameBytes(com.google.protobuf.ByteString value) {
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the eventParameterFilterExpression field is set. */ public boolean hasEventParameterFilterExpression() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
-     * 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
@@ -744,28 +642,20 @@ public boolean hasEventParameterFilterExpression() {
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The eventParameterFilterExpression. */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression - getEventParameterFilterExpression() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParameterFilterExpression() { if (eventParameterFilterExpressionBuilder_ == null) { - return eventParameterFilterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : eventParameterFilterExpression_; + return eventParameterFilterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; } else { return eventParameterFilterExpressionBuilder_.getMessage(); } } /** - * - * *
-     * 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
@@ -773,12 +663,9 @@ public boolean hasEventParameterFilterExpression() {
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEventParameterFilterExpression( - com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder setEventParameterFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (eventParameterFilterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -792,11 +679,9 @@ public Builder setEventParameterFilterExpression( return this; } /** - * - * *
-     * 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
@@ -804,9 +689,7 @@ public Builder setEventParameterFilterExpression(
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEventParameterFilterExpression( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -820,11 +703,9 @@ public Builder setEventParameterFilterExpression( return this; } /** - * - * *
-     * 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
@@ -832,18 +713,13 @@ public Builder setEventParameterFilterExpression(
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEventParameterFilterExpression( - com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder mergeEventParameterFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (eventParameterFilterExpressionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && eventParameterFilterExpression_ != null - && eventParameterFilterExpression_ - != com.google.analytics.admin.v1alpha.AudienceFilterExpression - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + eventParameterFilterExpression_ != null && + eventParameterFilterExpression_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) { getEventParameterFilterExpressionBuilder().mergeFrom(value); } else { eventParameterFilterExpression_ = value; @@ -856,11 +732,9 @@ public Builder mergeEventParameterFilterExpression( return this; } /** - * - * *
-     * 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
@@ -868,9 +742,7 @@ public Builder mergeEventParameterFilterExpression(
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEventParameterFilterExpression() { bitField0_ = (bitField0_ & ~0x00000002); @@ -883,11 +755,9 @@ public Builder clearEventParameterFilterExpression() { return this; } /** - * - * *
-     * 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
@@ -895,22 +765,17 @@ public Builder clearEventParameterFilterExpression() {
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder - getEventParameterFilterExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getEventParameterFilterExpressionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getEventParameterFilterExpressionFieldBuilder().getBuilder(); } /** - * - * *
-     * 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
@@ -918,26 +783,20 @@ public Builder clearEventParameterFilterExpression() {
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getEventParameterFilterExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder() { if (eventParameterFilterExpressionBuilder_ != null) { return eventParameterFilterExpressionBuilder_.getMessageOrBuilder(); } else { - return eventParameterFilterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : eventParameterFilterExpression_; + return eventParameterFilterExpression_ == null ? + com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; } } /** - * - * *
-     * 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
@@ -945,29 +804,24 @@ public Builder clearEventParameterFilterExpression() {
      * will be considered; all the other filters will be ignored.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getEventParameterFilterExpressionFieldBuilder() { if (eventParameterFilterExpressionBuilder_ == null) { - eventParameterFilterExpressionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( - getEventParameterFilterExpression(), getParentForChildren(), isClean()); + eventParameterFilterExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + getEventParameterFilterExpression(), + getParentForChildren(), + isClean()); eventParameterFilterExpression_ = null; } return eventParameterFilterExpressionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceEventFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceEventFilter) private static final com.google.analytics.admin.v1alpha.AudienceEventFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceEventFilter(); } @@ -991,27 +845,27 @@ public static com.google.analytics.admin.v1alpha.AudienceEventFilter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceEventFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceEventFilter 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; @@ -1026,4 +880,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceEventFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java index 1725afaacb1a..81646f575440 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceEventFilterOrBuilder - extends +public interface AudienceEventFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceEventFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Immutable. The name of the event to match against.
    * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The eventName. */ java.lang.String getEventName(); /** - * - * *
    * Required. Immutable. The name of the event to match against.
    * 
* - * - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for eventName. */ - com.google.protobuf.ByteString getEventNameBytes(); + 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
@@ -65,19 +38,14 @@ public interface AudienceEventFilterOrBuilder
    * will be considered; all the other filters will be ignored.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the eventParameterFilterExpression field is set. */ 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
@@ -85,19 +53,14 @@ public interface AudienceEventFilterOrBuilder
    * will be considered; all the other filters will be ignored.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The eventParameterFilterExpression. */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParameterFilterExpression(); /** - * - * *
-   * 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
@@ -105,10 +68,7 @@ public interface AudienceEventFilterOrBuilder
    * will be considered; all the other filters will be ignored.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getEventParameterFilterExpressionOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java index 9d73ad9d8348..d8f3d427ab8d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Specifies an event to log when a user joins the Audience.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventTrigger} */ -public final class AudienceEventTrigger extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudienceEventTrigger extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceEventTrigger) AudienceEventTriggerOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudienceEventTrigger.newBuilder() to construct. private AudienceEventTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudienceEventTrigger() { eventName_ = ""; logCondition_ = 0; @@ -44,43 +26,39 @@ private AudienceEventTrigger() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudienceEventTrigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, - com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); + com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); } /** - * - * *
    * Determines when to log the event.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition} */ - public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum { + public enum LogCondition + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Log condition is not specified.
      * 
@@ -89,8 +67,6 @@ public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum { */ LOG_CONDITION_UNSPECIFIED(0), /** - * - * *
      * The event should be logged only when a user is joined.
      * 
@@ -99,8 +75,6 @@ public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum { */ AUDIENCE_JOINED(1), /** - * - * *
      * The event should be logged whenever the Audience condition is met, even
      * if the user is already a member of the Audience.
@@ -113,8 +87,6 @@ public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Log condition is not specified.
      * 
@@ -123,8 +95,6 @@ public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOG_CONDITION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The event should be logged only when a user is joined.
      * 
@@ -133,8 +103,6 @@ public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUDIENCE_JOINED_VALUE = 1; /** - * - * *
      * The event should be logged whenever the Audience condition is met, even
      * if the user is already a member of the Audience.
@@ -144,6 +112,7 @@ public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUDIENCE_MEMBERSHIP_RENEWED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,51 +137,49 @@ public static LogCondition valueOf(int value) {
      */
     public static LogCondition forNumber(int value) {
       switch (value) {
-        case 0:
-          return LOG_CONDITION_UNSPECIFIED;
-        case 1:
-          return AUDIENCE_JOINED;
-        case 2:
-          return AUDIENCE_MEMBERSHIP_RENEWED;
-        default:
-          return null;
+        case 0: return LOG_CONDITION_UNSPECIFIED;
+        case 1: return AUDIENCE_JOINED;
+        case 2: return AUDIENCE_MEMBERSHIP_RENEWED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        LogCondition> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public LogCondition findValueByNumber(int number) {
+              return LogCondition.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LogCondition findValueByNumber(int number) {
-            return LogCondition.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final LogCondition[] VALUES = values();
 
-    public static LogCondition valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static LogCondition valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -230,18 +197,14 @@ private LogCondition(int value) {
   }
 
   public static final int EVENT_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object eventName_ = "";
   /**
-   *
-   *
    * 
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventName. */ @java.lang.Override @@ -250,29 +213,29 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** - * - * *
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -283,47 +246,30 @@ public com.google.protobuf.ByteString getEventNameBytes() { public static final int LOG_CONDITION_FIELD_NUMBER = 2; private int logCondition_ = 0; /** - * - * *
    * Required. When to log the event.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for logCondition. */ - @java.lang.Override - public int getLogConditionValue() { + @java.lang.Override public int getLogConditionValue() { return logCondition_; } /** - * - * *
    * Required. When to log the event.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The logCondition. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition() { - com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = - com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber( - logCondition_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition() { + com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber(logCondition_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -335,14 +281,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventName_); } - if (logCondition_ - != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition - .LOG_CONDITION_UNSPECIFIED - .getNumber()) { + if (logCondition_ != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.LOG_CONDITION_UNSPECIFIED.getNumber()) { output.writeEnum(2, logCondition_); } getUnknownFields().writeTo(output); @@ -357,11 +301,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventName_); } - if (logCondition_ - != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition - .LOG_CONDITION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, logCondition_); + if (logCondition_ != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.LOG_CONDITION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, logCondition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -371,15 +313,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceEventTrigger)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceEventTrigger other = - (com.google.analytics.admin.v1alpha.AudienceEventTrigger) obj; + com.google.analytics.admin.v1alpha.AudienceEventTrigger other = (com.google.analytics.admin.v1alpha.AudienceEventTrigger) obj; - if (!getEventName().equals(other.getEventName())) return false; + if (!getEventName() + .equals(other.getEventName())) return false; if (logCondition_ != other.logCondition_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -402,136 +344,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( 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.AudienceEventTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceEventTrigger prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceEventTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies an event to log when a user joins the Audience.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventTrigger} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceEventTrigger) com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, - com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); + com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AudienceEventTrigger.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +477,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; } @java.lang.Override @@ -563,11 +498,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventTrigger build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger buildPartial() { - com.google.analytics.admin.v1alpha.AudienceEventTrigger result = - new com.google.analytics.admin.v1alpha.AudienceEventTrigger(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AudienceEventTrigger result = new com.google.analytics.admin.v1alpha.AudienceEventTrigger(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -586,39 +518,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceEventTrigg public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AudienceEventTrigger) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventTrigger) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventTrigger)other); } else { super.mergeFrom(other); return this; @@ -626,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceEventTrigger other) { - if (other == com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) return this; if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; bitField0_ |= 0x00000001; @@ -662,25 +592,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - eventName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - logCondition_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + eventName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + logCondition_ = input.readEnum(); + 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) { @@ -690,25 +617,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object eventName_ = ""; /** - * - * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -717,21 +641,20 @@ public java.lang.String getEventName() { } } /** - * - * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -739,35 +662,28 @@ public com.google.protobuf.ByteString getEventNameBytes() { } } /** - * - * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } eventName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEventName() { @@ -777,21 +693,17 @@ public Builder clearEventName() { return this; } /** - * - * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000001; @@ -801,33 +713,22 @@ public Builder setEventNameBytes(com.google.protobuf.ByteString value) { private int logCondition_ = 0; /** - * - * *
      * Required. When to log the event.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for logCondition. */ - @java.lang.Override - public int getLogConditionValue() { + @java.lang.Override public int getLogConditionValue() { return logCondition_; } /** - * - * *
      * Required. When to log the event.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for logCondition to set. * @return This builder for chaining. */ @@ -838,43 +739,28 @@ public Builder setLogConditionValue(int value) { return this; } /** - * - * *
      * Required. When to log the event.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The logCondition. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition() { - com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = - com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber( - logCondition_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber(logCondition_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED : result; } /** - * - * *
      * Required. When to log the event.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The logCondition to set. * @return This builder for chaining. */ - public Builder setLogCondition( - com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition value) { + public Builder setLogCondition(com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition value) { if (value == null) { throw new NullPointerException(); } @@ -884,16 +770,11 @@ public Builder setLogCondition( return this; } /** - * - * *
      * Required. When to log the event.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearLogCondition() { @@ -902,9 +783,9 @@ public Builder clearLogCondition() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -914,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceEventTrigger) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceEventTrigger) private static final com.google.analytics.admin.v1alpha.AudienceEventTrigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceEventTrigger(); } @@ -928,27 +809,27 @@ public static com.google.analytics.admin.v1alpha.AudienceEventTrigger getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceEventTrigger 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceEventTrigger 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; @@ -963,4 +844,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceEventTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java similarity index 51% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java index 82fda45faf2d..53e85714200a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java @@ -1,78 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceEventTriggerOrBuilder - extends +public interface AudienceEventTriggerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceEventTrigger) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventName. */ java.lang.String getEventName(); /** - * - * *
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventName. */ - com.google.protobuf.ByteString getEventNameBytes(); + com.google.protobuf.ByteString + getEventNameBytes(); /** - * - * *
    * Required. When to log the event.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for logCondition. */ int getLogConditionValue(); /** - * - * *
    * Required. When to log the event.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The logCondition. */ com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java index b22c69161dc5..224ac1db1474 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A clause for defining either a simple or sequence filter. A filter can be
  * inclusive (i.e., users satisfying the filter clause are included in the
@@ -30,59 +13,54 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterClause}
  */
-public final class AudienceFilterClause extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AudienceFilterClause extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceFilterClause)
     AudienceFilterClauseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AudienceFilterClause.newBuilder() to construct.
   private AudienceFilterClause(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AudienceFilterClause() {
     clauseType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AudienceFilterClause();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceFilterClause.class,
-            com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceFilterClause.class, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Specifies whether this is an include or exclude filter clause.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType} */ - public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnum { + public enum AudienceClauseType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified clause type.
      * 
@@ -91,8 +69,6 @@ public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnu */ AUDIENCE_CLAUSE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Users will be included in the Audience if the filter clause is met.
      * 
@@ -101,8 +77,6 @@ public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnu */ INCLUDE(1), /** - * - * *
      * Users will be excluded from the Audience if the filter clause is met.
      * 
@@ -114,8 +88,6 @@ public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
      * Unspecified clause type.
      * 
@@ -124,8 +96,6 @@ public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnu */ public static final int AUDIENCE_CLAUSE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Users will be included in the Audience if the filter clause is met.
      * 
@@ -134,8 +104,6 @@ public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnu */ public static final int INCLUDE_VALUE = 1; /** - * - * *
      * Users will be excluded from the Audience if the filter clause is met.
      * 
@@ -144,6 +112,7 @@ public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnu */ public static final int EXCLUDE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,14 +137,10 @@ public static AudienceClauseType valueOf(int value) { */ public static AudienceClauseType forNumber(int value) { switch (value) { - case 0: - return AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; - case 1: - return INCLUDE; - case 2: - return EXCLUDE; - default: - return null; + case 0: return AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; + case 1: return INCLUDE; + case 2: return EXCLUDE; + default: return null; } } @@ -183,31 +148,29 @@ public static AudienceClauseType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + AudienceClauseType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AudienceClauseType findValueByNumber(int number) { + return AudienceClauseType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AudienceClauseType findValueByNumber(int number) { - return AudienceClauseType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceFilterClause.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceFilterClause.getDescriptor().getEnumTypes().get(0); } private static final AudienceClauseType[] VALUES = values(); @@ -215,7 +178,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AudienceClauseType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -234,16 +198,13 @@ private AudienceClauseType(int value) { private int filterCase_ = 0; private java.lang.Object filter_; - public enum FilterCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SIMPLE_FILTER(2), SEQUENCE_FILTER(3), FILTER_NOT_SET(0); private final int value; - private FilterCase(int value) { this.value = value; } @@ -259,36 +220,30 @@ public static FilterCase valueOf(int value) { public static FilterCase forNumber(int value) { switch (value) { - case 2: - return SIMPLE_FILTER; - case 3: - return SEQUENCE_FILTER; - case 0: - return FILTER_NOT_SET; - default: - return null; + case 2: return SIMPLE_FILTER; + case 3: return SEQUENCE_FILTER; + case 0: return FILTER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FilterCase getFilterCase() { - return FilterCase.forNumber(filterCase_); + public FilterCase + getFilterCase() { + return FilterCase.forNumber( + filterCase_); } public static final int SIMPLE_FILTER_FIELD_NUMBER = 2; /** - * - * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * * @return Whether the simpleFilter field is set. */ @java.lang.Override @@ -296,26 +251,21 @@ public boolean hasSimpleFilter() { return filterCase_ == 2; } /** - * - * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * * @return The simpleFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter() { if (filterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; + return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; } return com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance(); } /** - * - * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
@@ -323,25 +273,21 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter() * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder - getSimpleFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder() { if (filterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; + return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; } return com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance(); } public static final int SEQUENCE_FILTER_FIELD_NUMBER = 3; /** - * - * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * * @return Whether the sequenceFilter field is set. */ @java.lang.Override @@ -349,27 +295,22 @@ public boolean hasSequenceFilter() { return filterCase_ == 3; } /** - * - * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * * @return The sequenceFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilter() { if (filterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_; + return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_; } return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance(); } /** - * - * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
@@ -378,10 +319,9 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilt
    * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder
-      getSequenceFilterOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder() {
     if (filterCase_ == 3) {
-      return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_;
+       return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_;
     }
     return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance();
   }
@@ -389,48 +329,30 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilt
   public static final int CLAUSE_TYPE_FIELD_NUMBER = 1;
   private int clauseType_ = 0;
   /**
-   *
-   *
    * 
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for clauseType. */ - @java.lang.Override - public int getClauseTypeValue() { + @java.lang.Override public int getClauseTypeValue() { return clauseType_; } /** - * - * *
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The clauseType. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType - getClauseType() { - com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = - com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber( - clauseType_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType getClauseType() { + com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber(clauseType_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -442,11 +364,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (clauseType_ - != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType - .AUDIENCE_CLAUSE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (clauseType_ != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.AUDIENCE_CLAUSE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, clauseType_); } if (filterCase_ == 2) { @@ -464,21 +384,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (clauseType_ - != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType - .AUDIENCE_CLAUSE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, clauseType_); + if (clauseType_ != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.AUDIENCE_CLAUSE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, clauseType_); } if (filterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_); } if (filterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -488,22 +404,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceFilterClause)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceFilterClause other = - (com.google.analytics.admin.v1alpha.AudienceFilterClause) obj; + com.google.analytics.admin.v1alpha.AudienceFilterClause other = (com.google.analytics.admin.v1alpha.AudienceFilterClause) obj; if (clauseType_ != other.clauseType_) return false; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 2: - if (!getSimpleFilter().equals(other.getSimpleFilter())) return false; + if (!getSimpleFilter() + .equals(other.getSimpleFilter())) return false; break; case 3: - if (!getSequenceFilter().equals(other.getSequenceFilter())) return false; + if (!getSequenceFilter() + .equals(other.getSequenceFilter())) return false; break; case 0: default: @@ -539,104 +456,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( 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.AudienceFilterClause parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceFilterClause prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceFilterClause prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A clause for defining either a simple or sequence filter. A filter can be
    * inclusive (i.e., users satisfying the filter clause are included in the
@@ -646,32 +555,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterClause}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceFilterClause)
       com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceFilterClause.class,
-              com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceFilterClause.class, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceFilterClause.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -689,9 +599,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
     }
 
     @java.lang.Override
@@ -710,11 +620,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceFilterClause buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceFilterClause result =
-          new com.google.analytics.admin.v1alpha.AudienceFilterClause(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AudienceFilterClause result = new com.google.analytics.admin.v1alpha.AudienceFilterClause(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -727,14 +634,15 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceFilterClau
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.analytics.admin.v1alpha.AudienceFilterClause result) {
+    private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceFilterClause result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 2 && simpleFilterBuilder_ != null) {
+      if (filterCase_ == 2 &&
+          simpleFilterBuilder_ != null) {
         result.filter_ = simpleFilterBuilder_.build();
       }
-      if (filterCase_ == 3 && sequenceFilterBuilder_ != null) {
+      if (filterCase_ == 3 &&
+          sequenceFilterBuilder_ != null) {
         result.filter_ = sequenceFilterBuilder_.build();
       }
     }
@@ -743,39 +651,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AudienceFilterClause) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterClause) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterClause)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -783,26 +690,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceFilterClause other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()) return this;
       if (other.clauseType_ != 0) {
         setClauseTypeValue(other.getClauseTypeValue());
       }
       switch (other.getFilterCase()) {
-        case SIMPLE_FILTER:
-          {
-            mergeSimpleFilter(other.getSimpleFilter());
-            break;
-          }
-        case SEQUENCE_FILTER:
-          {
-            mergeSequenceFilter(other.getSequenceFilter());
-            break;
-          }
-        case FILTER_NOT_SET:
-          {
-            break;
-          }
+        case SIMPLE_FILTER: {
+          mergeSimpleFilter(other.getSimpleFilter());
+          break;
+        }
+        case SEQUENCE_FILTER: {
+          mergeSequenceFilter(other.getSequenceFilter());
+          break;
+        }
+        case FILTER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -830,31 +733,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                clauseType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getSimpleFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getSequenceFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              clauseType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getSimpleFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getSequenceFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 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) {
@@ -864,12 +767,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int filterCase_ = 0;
     private java.lang.Object filter_;
-
-    public FilterCase getFilterCase() {
-      return FilterCase.forNumber(filterCase_);
+    public FilterCase
+        getFilterCase() {
+      return FilterCase.forNumber(
+          filterCase_);
     }
 
     public Builder clearFilter() {
@@ -882,19 +785,13 @@ public Builder clearFilter() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceSimpleFilter,
-            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder,
-            com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder>
-        simpleFilterBuilder_;
+        com.google.analytics.admin.v1alpha.AudienceSimpleFilter, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder> simpleFilterBuilder_;
     /**
-     *
-     *
      * 
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * * @return Whether the simpleFilter field is set. */ @java.lang.Override @@ -902,14 +799,11 @@ public boolean hasSimpleFilter() { return filterCase_ == 2; } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * * @return The simpleFilter. */ @java.lang.Override @@ -927,8 +821,6 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter() } } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -949,8 +841,6 @@ public Builder setSimpleFilter(com.google.analytics.admin.v1alpha.AudienceSimple return this; } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -969,25 +859,18 @@ public Builder setSimpleFilter( return this; } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ - public Builder mergeSimpleFilter( - com.google.analytics.admin.v1alpha.AudienceSimpleFilter value) { + public Builder mergeSimpleFilter(com.google.analytics.admin.v1alpha.AudienceSimpleFilter value) { if (simpleFilterBuilder_ == null) { - if (filterCase_ == 2 - && filter_ - != com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance()) { - filter_ = - com.google.analytics.admin.v1alpha.AudienceSimpleFilter.newBuilder( - (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 2 && + filter_ != com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance()) { + filter_ = com.google.analytics.admin.v1alpha.AudienceSimpleFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -1003,8 +886,6 @@ public Builder mergeSimpleFilter( return this; } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -1028,21 +909,16 @@ public Builder clearSimpleFilter() { return this; } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ - public com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder - getSimpleFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder getSimpleFilterBuilder() { return getSimpleFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -1050,8 +926,7 @@ public Builder clearSimpleFilter() { * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder - getSimpleFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder() { if ((filterCase_ == 2) && (simpleFilterBuilder_ != null)) { return simpleFilterBuilder_.getMessageOrBuilder(); } else { @@ -1062,8 +937,6 @@ public Builder clearSimpleFilter() { } } /** - * - * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -1071,19 +944,14 @@ public Builder clearSimpleFilter() { * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSimpleFilter, - com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceSimpleFilter, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder> getSimpleFilterFieldBuilder() { if (simpleFilterBuilder_ == null) { if (!(filterCase_ == 2)) { filter_ = com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance(); } - simpleFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSimpleFilter, - com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder>( + simpleFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceSimpleFilter, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_, getParentForChildren(), isClean()); @@ -1095,20 +963,14 @@ public Builder clearSimpleFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder> - sequenceFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder> sequenceFilterBuilder_; /** - * - * *
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * * @return Whether the sequenceFilter field is set. */ @java.lang.Override @@ -1116,15 +978,12 @@ public boolean hasSequenceFilter() { return filterCase_ == 3; } /** - * - * *
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * * @return The sequenceFilter. */ @java.lang.Override @@ -1142,8 +1001,6 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilt } } /** - * - * *
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1151,8 +1008,7 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilt
      *
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
-    public Builder setSequenceFilter(
-        com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
+    public Builder setSequenceFilter(com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
       if (sequenceFilterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1166,8 +1022,6 @@ public Builder setSequenceFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1187,8 +1041,6 @@ public Builder setSequenceFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1196,17 +1048,12 @@ public Builder setSequenceFilter(
      *
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
-    public Builder mergeSequenceFilter(
-        com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
+    public Builder mergeSequenceFilter(com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
       if (sequenceFilterBuilder_ == null) {
-        if (filterCase_ == 3
-            && filter_
-                != com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance()) {
-          filter_ =
-              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.newBuilder(
-                      (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 3 &&
+            filter_ != com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance()) {
+          filter_ = com.google.analytics.admin.v1alpha.AudienceSequenceFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -1222,8 +1069,6 @@ public Builder mergeSequenceFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1248,8 +1093,6 @@ public Builder clearSequenceFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1257,13 +1100,10 @@ public Builder clearSequenceFilter() {
      *
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
-    public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder
-        getSequenceFilterBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder getSequenceFilterBuilder() {
       return getSequenceFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1272,8 +1112,7 @@ public Builder clearSequenceFilter() {
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder
-        getSequenceFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder() {
       if ((filterCase_ == 3) && (sequenceFilterBuilder_ != null)) {
         return sequenceFilterBuilder_.getMessageOrBuilder();
       } else {
@@ -1284,8 +1123,6 @@ public Builder clearSequenceFilter() {
       }
     }
     /**
-     *
-     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1294,19 +1131,14 @@ public Builder clearSequenceFilter() {
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceSequenceFilter,
-            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder,
-            com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder>
+        com.google.analytics.admin.v1alpha.AudienceSequenceFilter, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder> 
         getSequenceFilterFieldBuilder() {
       if (sequenceFilterBuilder_ == null) {
         if (!(filterCase_ == 3)) {
           filter_ = com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance();
         }
-        sequenceFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AudienceSequenceFilter,
-                com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder,
-                com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder>(
+        sequenceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AudienceSequenceFilter, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_,
                 getParentForChildren(),
                 isClean());
@@ -1319,33 +1151,22 @@ public Builder clearSequenceFilter() {
 
     private int clauseType_ = 0;
     /**
-     *
-     *
      * 
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for clauseType. */ - @java.lang.Override - public int getClauseTypeValue() { + @java.lang.Override public int getClauseTypeValue() { return clauseType_; } /** - * - * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for clauseType to set. * @return This builder for chaining. */ @@ -1356,44 +1177,28 @@ public Builder setClauseTypeValue(int value) { return this; } /** - * - * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The clauseType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType - getClauseType() { - com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = - com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber( - clauseType_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType getClauseType() { + com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber(clauseType_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The clauseType to set. * @return This builder for chaining. */ - public Builder setClauseType( - com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType value) { + public Builder setClauseType(com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType value) { if (value == null) { throw new NullPointerException(); } @@ -1403,16 +1208,11 @@ public Builder setClauseType( return this; } /** - * - * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearClauseType() { @@ -1421,9 +1221,9 @@ public Builder clearClauseType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1433,12 +1233,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceFilterClause) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceFilterClause) private static final com.google.analytics.admin.v1alpha.AudienceFilterClause DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceFilterClause(); } @@ -1447,27 +1247,27 @@ public static com.google.analytics.admin.v1alpha.AudienceFilterClause getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceFilterClause 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceFilterClause 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; @@ -1482,4 +1282,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceFilterClause getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java index 7f05d1b20485..cbf616a54874 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceFilterClauseOrBuilder - extends +public interface AudienceFilterClauseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceFilterClause) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * * @return Whether the simpleFilter field is set. */ boolean hasSimpleFilter(); /** - * - * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * * @return The simpleFilter. */ com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter(); /** - * - * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
@@ -59,34 +35,26 @@ public interface AudienceFilterClauseOrBuilder com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder(); /** - * - * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * * @return Whether the sequenceFilter field is set. */ boolean hasSequenceFilter(); /** - * - * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * * @return The sequenceFilter. */ com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilter(); /** - * - * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
@@ -97,30 +65,20 @@ public interface AudienceFilterClauseOrBuilder
   com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for clauseType. */ int getClauseTypeValue(); /** - * - * *
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The clauseType. */ com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType getClauseType(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java index e3749c0135fb..be67d3c6e302 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java @@ -1,76 +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/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A logical expression of Audience dimension, metric, or event filters.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpression} */ -public final class AudienceFilterExpression extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudienceFilterExpression extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceFilterExpression) AudienceFilterExpressionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudienceFilterExpression.newBuilder() to construct. private AudienceFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AudienceFilterExpression() {} + private AudienceFilterExpression() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudienceFilterExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); } private int exprCase_ = 0; private java.lang.Object expr_; - public enum ExprCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AND_GROUP(1), OR_GROUP(2), @@ -79,7 +59,6 @@ public enum ExprCase EVENT_FILTER(5), EXPR_NOT_SET(0); private final int value; - private ExprCase(int value) { this.value = value; } @@ -95,36 +74,28 @@ public static ExprCase valueOf(int value) { public static ExprCase forNumber(int value) { switch (value) { - case 1: - return AND_GROUP; - case 2: - return OR_GROUP; - case 3: - return NOT_EXPRESSION; - case 4: - return DIMENSION_OR_METRIC_FILTER; - case 5: - return EVENT_FILTER; - case 0: - return EXPR_NOT_SET; - default: - return null; + case 1: return AND_GROUP; + case 2: return OR_GROUP; + case 3: return NOT_EXPRESSION; + case 4: return DIMENSION_OR_METRIC_FILTER; + case 5: return EVENT_FILTER; + case 0: return EXPR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ExprCase getExprCase() { - return ExprCase.forNumber(exprCase_); + public ExprCase + getExprCase() { + return ExprCase.forNumber( + exprCase_); } public static final int AND_GROUP_FIELD_NUMBER = 1; /** - * - * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -132,7 +103,6 @@ public ExprCase getExprCase() {
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -140,8 +110,6 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** - * - * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -149,19 +117,16 @@ public boolean hasAndGroup() {
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * * @return The andGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGroup() { if (exprCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; + return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; } return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance(); } /** - * - * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -171,25 +136,21 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGro
    * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
-      getAndGroupOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder() {
     if (exprCase_ == 1) {
-      return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
+       return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
   }
 
   public static final int OR_GROUP_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -197,27 +158,22 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** - * - * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * * @return The orGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGroup() { if (exprCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; + return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; } return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance(); } /** - * - * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
@@ -226,18 +182,15 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGrou
    * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
-      getOrGroupOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder() {
     if (exprCase_ == 2) {
-      return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
+       return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
   }
 
   public static final int NOT_EXPRESSION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -245,7 +198,6 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGrou
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -253,8 +205,6 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** - * - * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -262,19 +212,16 @@ public boolean hasNotExpression() {
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * * @return The notExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpression() { if (exprCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_; + return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_; } return com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance(); } /** - * - * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -284,27 +231,21 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpress
    * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder
-      getNotExpressionOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder() {
     if (exprCase_ == 3) {
-      return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_;
+       return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance();
   }
 
   public static final int DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; * @return Whether the dimensionOrMetricFilter field is set. */ @java.lang.Override @@ -312,59 +253,45 @@ public boolean hasDimensionOrMetricFilter() { return exprCase_ == 4; } /** - * - * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; * @return The dimensionOrMetricFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - getDimensionOrMetricFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDimensionOrMetricFilter() { if (exprCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } /** - * - * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder - getDimensionOrMetricFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder() { if (exprCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } public static final int EVENT_FILTER_FIELD_NUMBER = 5; /** - * - * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * * @return Whether the eventFilter field is set. */ @java.lang.Override @@ -372,27 +299,22 @@ public boolean hasEventFilter() { return exprCase_ == 5; } /** - * - * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * * @return The eventFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter() { if (exprCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_; + return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_; } return com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance(); } /** - * - * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
@@ -403,13 +325,12 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter() {
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder getEventFilterOrBuilder() {
     if (exprCase_ == 5) {
-      return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_;
+       return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -421,21 +342,19 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (exprCase_ == 1) {
-      output.writeMessage(
-          1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      output.writeMessage(1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      output.writeMessage(
-          2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      output.writeMessage(2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
       output.writeMessage(3, (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_);
     }
     if (exprCase_ == 4) {
-      output.writeMessage(
-          4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
+      output.writeMessage(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
     }
     if (exprCase_ == 5) {
       output.writeMessage(5, (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_);
@@ -450,29 +369,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (exprCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_);
     }
     if (exprCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
     }
     if (exprCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -482,30 +396,34 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceFilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.AudienceFilterExpression other =
-        (com.google.analytics.admin.v1alpha.AudienceFilterExpression) obj;
+    com.google.analytics.admin.v1alpha.AudienceFilterExpression other = (com.google.analytics.admin.v1alpha.AudienceFilterExpression) obj;
 
     if (!getExprCase().equals(other.getExprCase())) return false;
     switch (exprCase_) {
       case 1:
-        if (!getAndGroup().equals(other.getAndGroup())) return false;
+        if (!getAndGroup()
+            .equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getOrGroup().equals(other.getOrGroup())) return false;
+        if (!getOrGroup()
+            .equals(other.getOrGroup())) return false;
         break;
       case 3:
-        if (!getNotExpression().equals(other.getNotExpression())) return false;
+        if (!getNotExpression()
+            .equals(other.getNotExpression())) return false;
         break;
       case 4:
-        if (!getDimensionOrMetricFilter().equals(other.getDimensionOrMetricFilter())) return false;
+        if (!getDimensionOrMetricFilter()
+            .equals(other.getDimensionOrMetricFilter())) return false;
         break;
       case 5:
-        if (!getEventFilter().equals(other.getEventFilter())) return false;
+        if (!getEventFilter()
+            .equals(other.getEventFilter())) return false;
         break;
       case 0:
       default:
@@ -551,136 +469,129 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
       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.AudienceFilterExpression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.analytics.admin.v1alpha.AudienceFilterExpression prototype) {
+  public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceFilterExpression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A logical expression of Audience dimension, metric, or event filters.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpression} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceFilterExpression) com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AudienceFilterExpression.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -706,9 +617,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; } @java.lang.Override @@ -727,11 +638,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression buildPartial() { - com.google.analytics.admin.v1alpha.AudienceFilterExpression result = - new com.google.analytics.admin.v1alpha.AudienceFilterExpression(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AudienceFilterExpression result = new com.google.analytics.admin.v1alpha.AudienceFilterExpression(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -741,23 +649,27 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceFilterExpr int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.analytics.admin.v1alpha.AudienceFilterExpression result) { + private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceFilterExpression result) { result.exprCase_ = exprCase_; result.expr_ = this.expr_; - if (exprCase_ == 1 && andGroupBuilder_ != null) { + if (exprCase_ == 1 && + andGroupBuilder_ != null) { result.expr_ = andGroupBuilder_.build(); } - if (exprCase_ == 2 && orGroupBuilder_ != null) { + if (exprCase_ == 2 && + orGroupBuilder_ != null) { result.expr_ = orGroupBuilder_.build(); } - if (exprCase_ == 3 && notExpressionBuilder_ != null) { + if (exprCase_ == 3 && + notExpressionBuilder_ != null) { result.expr_ = notExpressionBuilder_.build(); } - if (exprCase_ == 4 && dimensionOrMetricFilterBuilder_ != null) { + if (exprCase_ == 4 && + dimensionOrMetricFilterBuilder_ != null) { result.expr_ = dimensionOrMetricFilterBuilder_.build(); } - if (exprCase_ == 5 && eventFilterBuilder_ != null) { + if (exprCase_ == 5 && + eventFilterBuilder_ != null) { result.expr_ = eventFilterBuilder_.build(); } } @@ -766,39 +678,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AudienceFilterExpression) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpression) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpression)other); } else { super.mergeFrom(other); return this; @@ -806,38 +717,31 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceFilterExpression other) { - if (other == com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) return this; switch (other.getExprCase()) { - case AND_GROUP: - { - mergeAndGroup(other.getAndGroup()); - break; - } - case OR_GROUP: - { - mergeOrGroup(other.getOrGroup()); - break; - } - case NOT_EXPRESSION: - { - mergeNotExpression(other.getNotExpression()); - break; - } - case DIMENSION_OR_METRIC_FILTER: - { - mergeDimensionOrMetricFilter(other.getDimensionOrMetricFilter()); - break; - } - case EVENT_FILTER: - { - mergeEventFilter(other.getEventFilter()); - break; - } - case EXPR_NOT_SET: - { - break; - } + case AND_GROUP: { + mergeAndGroup(other.getAndGroup()); + break; + } + case OR_GROUP: { + mergeOrGroup(other.getOrGroup()); + break; + } + case NOT_EXPRESSION: { + mergeNotExpression(other.getNotExpression()); + break; + } + case DIMENSION_OR_METRIC_FILTER: { + mergeDimensionOrMetricFilter(other.getDimensionOrMetricFilter()); + break; + } + case EVENT_FILTER: { + mergeEventFilter(other.getEventFilter()); + break; + } + case EXPR_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -865,44 +769,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAndGroupFieldBuilder().getBuilder(), extensionRegistry); - exprCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getOrGroupFieldBuilder().getBuilder(), extensionRegistry); - exprCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getNotExpressionFieldBuilder().getBuilder(), extensionRegistry); - exprCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage( - getDimensionOrMetricFilterFieldBuilder().getBuilder(), extensionRegistry); - exprCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getEventFilterFieldBuilder().getBuilder(), extensionRegistry); - exprCase_ = 5; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAndGroupFieldBuilder().getBuilder(), + extensionRegistry); + exprCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getOrGroupFieldBuilder().getBuilder(), + extensionRegistry); + exprCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getNotExpressionFieldBuilder().getBuilder(), + extensionRegistry); + exprCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getDimensionOrMetricFilterFieldBuilder().getBuilder(), + extensionRegistry); + exprCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getEventFilterFieldBuilder().getBuilder(), + extensionRegistry); + exprCase_ = 5; + break; + } // case 42 + 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) { @@ -912,12 +819,12 @@ public Builder mergeFrom( } // finally return this; } - private int exprCase_ = 0; private java.lang.Object expr_; - - public ExprCase getExprCase() { - return ExprCase.forNumber(exprCase_); + public ExprCase + getExprCase() { + return ExprCase.forNumber( + exprCase_); } public Builder clearExpr() { @@ -930,13 +837,8 @@ public Builder clearExpr() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> - andGroupBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> andGroupBuilder_; /** - * - * *
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -944,7 +846,6 @@ public Builder clearExpr() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -952,8 +853,6 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** - * - * *
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -961,7 +860,6 @@ public boolean hasAndGroup() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * * @return The andGroup. */ @java.lang.Override @@ -979,8 +877,6 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGro } } /** - * - * *
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -989,8 +885,7 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGro
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
-    public Builder setAndGroup(
-        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder setAndGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (andGroupBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1004,8 +899,6 @@ public Builder setAndGroup(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -1026,8 +919,6 @@ public Builder setAndGroup(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -1036,18 +927,12 @@ public Builder setAndGroup(
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
-    public Builder mergeAndGroup(
-        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (andGroupBuilder_ == null) {
-        if (exprCase_ == 1
-            && expr_
-                != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList
-                    .getDefaultInstance()) {
-          expr_ =
-              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder(
-                      (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (exprCase_ == 1 &&
+            expr_ != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) {
+          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
+              .mergeFrom(value).buildPartial();
         } else {
           expr_ = value;
         }
@@ -1063,8 +948,6 @@ public Builder mergeAndGroup(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -1090,8 +973,6 @@ public Builder clearAndGroup() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -1100,13 +981,10 @@ public Builder clearAndGroup() {
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder
-        getAndGroupBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder getAndGroupBuilder() {
       return getAndGroupFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -1116,8 +994,7 @@ public Builder clearAndGroup() {
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
-        getAndGroupOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder() {
       if ((exprCase_ == 1) && (andGroupBuilder_ != null)) {
         return andGroupBuilder_.getMessageOrBuilder();
       } else {
@@ -1128,8 +1005,6 @@ public Builder clearAndGroup() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -1139,20 +1014,14 @@ public Builder clearAndGroup() {
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>
+        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> 
         getAndGroupFieldBuilder() {
       if (andGroupBuilder_ == null) {
         if (!(exprCase_ == 1)) {
-          expr_ =
-              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
+          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
         }
-        andGroupBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
-                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
-                com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
+        andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1164,20 +1033,14 @@ public Builder clearAndGroup() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>
-        orGroupBuilder_;
+        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> orGroupBuilder_;
     /**
-     *
-     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -1185,15 +1048,12 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** - * - * *
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * * @return The orGroup. */ @java.lang.Override @@ -1211,8 +1071,6 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGrou } } /** - * - * *
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1220,8 +1078,7 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGrou
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
-    public Builder setOrGroup(
-        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder setOrGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (orGroupBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1235,8 +1092,6 @@ public Builder setOrGroup(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1256,8 +1111,6 @@ public Builder setOrGroup(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1265,18 +1118,12 @@ public Builder setOrGroup(
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
-    public Builder mergeOrGroup(
-        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (orGroupBuilder_ == null) {
-        if (exprCase_ == 2
-            && expr_
-                != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList
-                    .getDefaultInstance()) {
-          expr_ =
-              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder(
-                      (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (exprCase_ == 2 &&
+            expr_ != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) {
+          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
+              .mergeFrom(value).buildPartial();
         } else {
           expr_ = value;
         }
@@ -1292,8 +1139,6 @@ public Builder mergeOrGroup(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1318,8 +1163,6 @@ public Builder clearOrGroup() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1327,13 +1170,10 @@ public Builder clearOrGroup() {
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder
-        getOrGroupBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder getOrGroupBuilder() {
       return getOrGroupFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1342,8 +1182,7 @@ public Builder clearOrGroup() {
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
-        getOrGroupOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder() {
       if ((exprCase_ == 2) && (orGroupBuilder_ != null)) {
         return orGroupBuilder_.getMessageOrBuilder();
       } else {
@@ -1354,8 +1193,6 @@ public Builder clearOrGroup() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1364,20 +1201,14 @@ public Builder clearOrGroup() {
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>
+        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> 
         getOrGroupFieldBuilder() {
       if (orGroupBuilder_ == null) {
         if (!(exprCase_ == 2)) {
-          expr_ =
-              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
+          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
         }
-        orGroupBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
-                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
-                com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
+        orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1389,13 +1220,8 @@ public Builder clearOrGroup() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpression,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>
-        notExpressionBuilder_;
+        com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> notExpressionBuilder_;
     /**
-     *
-     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1403,7 +1229,6 @@ public Builder clearOrGroup() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1411,8 +1236,6 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** - * - * *
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1420,7 +1243,6 @@ public boolean hasNotExpression() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * * @return The notExpression. */ @java.lang.Override @@ -1438,8 +1260,6 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpress } } /** - * - * *
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1448,8 +1268,7 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpress
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
-    public Builder setNotExpression(
-        com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
+    public Builder setNotExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
       if (notExpressionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1463,8 +1282,6 @@ public Builder setNotExpression(
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1485,8 +1302,6 @@ public Builder setNotExpression(
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1495,18 +1310,12 @@ public Builder setNotExpression(
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
-    public Builder mergeNotExpression(
-        com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
+    public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
       if (notExpressionBuilder_ == null) {
-        if (exprCase_ == 3
-            && expr_
-                != com.google.analytics.admin.v1alpha.AudienceFilterExpression
-                    .getDefaultInstance()) {
-          expr_ =
-              com.google.analytics.admin.v1alpha.AudienceFilterExpression.newBuilder(
-                      (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (exprCase_ == 3 &&
+            expr_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) {
+          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpression.newBuilder((com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_)
+              .mergeFrom(value).buildPartial();
         } else {
           expr_ = value;
         }
@@ -1522,8 +1331,6 @@ public Builder mergeNotExpression(
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1549,8 +1356,6 @@ public Builder clearNotExpression() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1559,13 +1364,10 @@ public Builder clearNotExpression() {
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder
-        getNotExpressionBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getNotExpressionBuilder() {
       return getNotExpressionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1575,8 +1377,7 @@ public Builder clearNotExpression() {
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder
-        getNotExpressionOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder() {
       if ((exprCase_ == 3) && (notExpressionBuilder_ != null)) {
         return notExpressionBuilder_.getMessageOrBuilder();
       } else {
@@ -1587,8 +1388,6 @@ public Builder clearNotExpression() {
       }
     }
     /**
-     *
-     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1598,19 +1397,14 @@ public Builder clearNotExpression() {
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpression,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder,
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>
+        com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> 
         getNotExpressionFieldBuilder() {
       if (notExpressionBuilder_ == null) {
         if (!(exprCase_ == 3)) {
           expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance();
         }
-        notExpressionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AudienceFilterExpression,
-                com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder,
-                com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>(
+        notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1622,22 +1416,14 @@ public Builder clearNotExpression() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter,
-            com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder,
-            com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder>
-        dimensionOrMetricFilterBuilder_;
+        com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder> dimensionOrMetricFilterBuilder_;
     /**
-     *
-     *
      * 
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; * @return Whether the dimensionOrMetricFilter field is set. */ @java.lang.Override @@ -1645,50 +1431,37 @@ public boolean hasDimensionOrMetricFilter() { return exprCase_ == 4; } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; * @return The dimensionOrMetricFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - getDimensionOrMetricFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDimensionOrMetricFilter() { if (dimensionOrMetricFilterBuilder_ == null) { if (exprCase_ == 4) { return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } else { if (exprCase_ == 4) { return dimensionOrMetricFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ - public Builder setDimensionOrMetricFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { + public Builder setDimensionOrMetricFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { if (dimensionOrMetricFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1702,20 +1475,15 @@ public Builder setDimensionOrMetricFilter( return this; } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ public Builder setDimensionOrMetricFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder builderForValue) { if (dimensionOrMetricFilterBuilder_ == null) { expr_ = builderForValue.build(); onChanged(); @@ -1726,29 +1494,19 @@ public Builder setDimensionOrMetricFilter( return this; } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ - public Builder mergeDimensionOrMetricFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { + public Builder mergeDimensionOrMetricFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { if (dimensionOrMetricFilterBuilder_ == null) { - if (exprCase_ == 4 - && expr_ - != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .getDefaultInstance()) { - expr_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_) - .mergeFrom(value) - .buildPartial(); + if (exprCase_ == 4 && + expr_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance()) { + expr_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_) + .mergeFrom(value).buildPartial(); } else { expr_ = value; } @@ -1764,16 +1522,12 @@ public Builder mergeDimensionOrMetricFilter( return this; } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ public Builder clearDimensionOrMetricFilter() { if (dimensionOrMetricFilterBuilder_ == null) { @@ -1792,74 +1546,52 @@ public Builder clearDimensionOrMetricFilter() { return this; } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder - getDimensionOrMetricFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder getDimensionOrMetricFilterBuilder() { return getDimensionOrMetricFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder - getDimensionOrMetricFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder() { if ((exprCase_ == 4) && (dimensionOrMetricFilterBuilder_ != null)) { return dimensionOrMetricFilterBuilder_.getMessageOrBuilder(); } else { if (exprCase_ == 4) { return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } } /** - * - * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder> getDimensionOrMetricFilterFieldBuilder() { if (dimensionOrMetricFilterBuilder_ == null) { if (!(exprCase_ == 4)) { - expr_ = - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - .getDefaultInstance(); + expr_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } - dimensionOrMetricFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder>( + dimensionOrMetricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_, getParentForChildren(), isClean()); @@ -1871,20 +1603,14 @@ public Builder clearDimensionOrMetricFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventFilter, - com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, - com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder> - eventFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceEventFilter, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder> eventFilterBuilder_; /** - * - * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
      * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * * @return Whether the eventFilter field is set. */ @java.lang.Override @@ -1892,15 +1618,12 @@ public boolean hasEventFilter() { return exprCase_ == 5; } /** - * - * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
      * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * * @return The eventFilter. */ @java.lang.Override @@ -1918,8 +1641,6 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter() { } } /** - * - * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1941,8 +1662,6 @@ public Builder setEventFilter(com.google.analytics.admin.v1alpha.AudienceEventFi
       return this;
     }
     /**
-     *
-     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1962,8 +1681,6 @@ public Builder setEventFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1973,14 +1690,10 @@ public Builder setEventFilter(
      */
     public Builder mergeEventFilter(com.google.analytics.admin.v1alpha.AudienceEventFilter value) {
       if (eventFilterBuilder_ == null) {
-        if (exprCase_ == 5
-            && expr_
-                != com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance()) {
-          expr_ =
-              com.google.analytics.admin.v1alpha.AudienceEventFilter.newBuilder(
-                      (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (exprCase_ == 5 &&
+            expr_ != com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance()) {
+          expr_ = com.google.analytics.admin.v1alpha.AudienceEventFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_)
+              .mergeFrom(value).buildPartial();
         } else {
           expr_ = value;
         }
@@ -1996,8 +1709,6 @@ public Builder mergeEventFilter(com.google.analytics.admin.v1alpha.AudienceEvent
       return this;
     }
     /**
-     *
-     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -2022,8 +1733,6 @@ public Builder clearEventFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -2035,8 +1744,6 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder getEventFi
       return getEventFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -2045,8 +1752,7 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder getEventFi
      * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder
-        getEventFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder getEventFilterOrBuilder() {
       if ((exprCase_ == 5) && (eventFilterBuilder_ != null)) {
         return eventFilterBuilder_.getMessageOrBuilder();
       } else {
@@ -2057,8 +1763,6 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder getEventFi
       }
     }
     /**
-     *
-     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -2067,19 +1771,14 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder getEventFi
      * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceEventFilter,
-            com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder,
-            com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder>
+        com.google.analytics.admin.v1alpha.AudienceEventFilter, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder> 
         getEventFilterFieldBuilder() {
       if (eventFilterBuilder_ == null) {
         if (!(exprCase_ == 5)) {
           expr_ = com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance();
         }
-        eventFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AudienceEventFilter,
-                com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder,
-                com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder>(
+        eventFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AudienceEventFilter, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_,
                 getParentForChildren(),
                 isClean());
@@ -2089,9 +1788,9 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder getEventFi
       onChanged();
       return eventFilterBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2101,12 +1800,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceFilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceFilterExpression)
   private static final com.google.analytics.admin.v1alpha.AudienceFilterExpression DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceFilterExpression();
   }
@@ -2115,27 +1814,27 @@ public static com.google.analytics.admin.v1alpha.AudienceFilterExpression getDef
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AudienceFilterExpression 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AudienceFilterExpression 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;
@@ -2150,4 +1849,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.AudienceFilterExpression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
similarity index 60%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
index 5930c15ee7fe..98a43debeabd 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
@@ -1,155 +1,115 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the 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/audience.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * A list of Audience filter expressions.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpressionList} */ -public final class AudienceFilterExpressionList extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AudienceFilterExpressionList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceFilterExpressionList) AudienceFilterExpressionListOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AudienceFilterExpressionList.newBuilder() to construct. private AudienceFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudienceFilterExpressionList() { filterExpressions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudienceFilterExpressionList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); } public static final int FILTER_EXPRESSIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - filterExpressions_; + private java.util.List filterExpressions_; /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ @java.lang.Override - public java.util.List - getFilterExpressionsList() { + public java.util.List getFilterExpressionsList() { return filterExpressions_; } /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + public java.util.List getFilterExpressionsOrBuilderList() { return filterExpressions_; } /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ @java.lang.Override public int getFilterExpressionsCount() { return filterExpressions_.size(); } /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions( - int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions(int index) { return filterExpressions_.get(index); } /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionsOrBuilder( + int index) { return filterExpressions_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < filterExpressions_.size(); i++) { output.writeMessage(1, filterExpressions_.get(i)); } @@ -175,8 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < filterExpressions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, filterExpressions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, filterExpressions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -186,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other = - (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) obj; + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other = (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) obj; - if (!getFilterExpressionsList().equals(other.getFilterExpressionsList())) return false; + if (!getFilterExpressionsList() + .equals(other.getFilterExpressionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,136 +177,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( 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.AudienceFilterExpressionList parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A list of Audience filter expressions.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpressionList} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceFilterExpressionList) com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -361,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance(); } @@ -383,18 +336,14 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList buildPartial() { - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result = - new com.google.analytics.admin.v1alpha.AudienceFilterExpressionList(this); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result = new com.google.analytics.admin.v1alpha.AudienceFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { if (filterExpressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { filterExpressions_ = java.util.Collections.unmodifiableList(filterExpressions_); @@ -406,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -415,50 +363,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AudienceFilterExpressionList) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other) { + if (other == com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) return this; if (filterExpressionsBuilder_ == null) { if (!other.filterExpressions_.isEmpty()) { if (filterExpressions_.isEmpty()) { @@ -477,10 +421,9 @@ public Builder mergeFrom( filterExpressionsBuilder_ = null; filterExpressions_ = other.filterExpressions_; bitField0_ = (bitField0_ & ~0x00000001); - filterExpressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilterExpressionsFieldBuilder() - : null; + filterExpressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilterExpressionsFieldBuilder() : null; } else { filterExpressionsBuilder_.addAllMessages(other.filterExpressions_); } @@ -512,27 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.AudienceFilterExpression m = - input.readMessage( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.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: + case 10: { + com.google.analytics.admin.v1alpha.AudienceFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1alpha.AudienceFilterExpression.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) { @@ -542,40 +483,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - filterExpressions_ = java.util.Collections.emptyList(); - + private java.util.List filterExpressions_ = + java.util.Collections.emptyList(); private void ensureFilterExpressionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - filterExpressions_ = - new java.util.ArrayList( - filterExpressions_); + filterExpressions_ = new java.util.ArrayList(filterExpressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> - filterExpressionsBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> filterExpressionsBuilder_; /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public java.util.List - getFilterExpressionsList() { + public java.util.List getFilterExpressionsList() { if (filterExpressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(filterExpressions_); } else { @@ -583,15 +512,11 @@ private void ensureFilterExpressionsIsMutable() { } } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public int getFilterExpressionsCount() { if (filterExpressionsBuilder_ == null) { @@ -601,18 +526,13 @@ public int getFilterExpressionsCount() { } } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions( - int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions(int index) { if (filterExpressionsBuilder_ == null) { return filterExpressions_.get(index); } else { @@ -620,15 +540,11 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpr } } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder setFilterExpressions( int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { @@ -645,19 +561,14 @@ public Builder setFilterExpressions( return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder setFilterExpressions( - int index, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.set(index, builderForValue.build()); @@ -668,18 +579,13 @@ public Builder setFilterExpressions( return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public Builder addFilterExpressions( - com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,15 +599,11 @@ public Builder addFilterExpressions( return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder addFilterExpressions( int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { @@ -718,15 +620,11 @@ public Builder addFilterExpressions( return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder addFilterExpressions( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -740,19 +638,14 @@ public Builder addFilterExpressions( return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder addFilterExpressions( - int index, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.add(index, builderForValue.build()); @@ -763,22 +656,18 @@ public Builder addFilterExpressions( return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder addAllFilterExpressions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filterExpressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filterExpressions_); onChanged(); } else { filterExpressionsBuilder_.addAllMessages(values); @@ -786,15 +675,11 @@ public Builder addAllFilterExpressions( return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder clearFilterExpressions() { if (filterExpressionsBuilder_ == null) { @@ -807,15 +692,11 @@ public Builder clearFilterExpressions() { return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ public Builder removeFilterExpressions(int index) { if (filterExpressionsBuilder_ == null) { @@ -828,53 +709,39 @@ public Builder removeFilterExpressions(int index) { return this; } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder - getFilterExpressionsBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getFilterExpressionsBuilder( + int index) { return getFilterExpressionsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionsOrBuilder( + int index) { if (filterExpressionsBuilder_ == null) { - return filterExpressions_.get(index); - } else { + return filterExpressions_.get(index); } else { return filterExpressionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> - getFilterExpressionsOrBuilderList() { + public java.util.List + getFilterExpressionsOrBuilderList() { if (filterExpressionsBuilder_ != null) { return filterExpressionsBuilder_.getMessageOrBuilderList(); } else { @@ -882,67 +749,45 @@ public Builder removeFilterExpressions(int index) { } } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder - addFilterExpressionsBuilder() { - return getFilterExpressionsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder addFilterExpressionsBuilder() { + return getFilterExpressionsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder - addFilterExpressionsBuilder(int index) { - return getFilterExpressionsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder addFilterExpressionsBuilder( + int index) { + return getFilterExpressionsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); } /** - * - * *
      * A list of Audience filter expressions.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - public java.util.List - getFilterExpressionsBuilderList() { + public java.util.List + getFilterExpressionsBuilderList() { return getFilterExpressionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getFilterExpressionsFieldBuilder() { if (filterExpressionsBuilder_ == null) { - filterExpressionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + filterExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( filterExpressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -951,9 +796,9 @@ public Builder removeFilterExpressions(int index) { } return filterExpressionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -963,43 +808,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceFilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceFilterExpressionList) - private static final com.google.analytics.admin.v1alpha.AudienceFilterExpressionList - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceFilterExpressionList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceFilterExpressionList(); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceFilterExpressionList 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceFilterExpressionList 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; @@ -1011,8 +854,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java similarity index 57% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java index db0aaaec09d6..842dfaee86c9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java @@ -1,84 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceFilterExpressionListOrBuilder - extends +public interface AudienceFilterExpressionListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceFilterExpressionList) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - java.util.List + java.util.List getFilterExpressionsList(); /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions(int index); /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ int getFilterExpressionsCount(); /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - java.util.List + java.util.List getFilterExpressionsOrBuilderList(); /** - * - * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionsOrBuilder(int index); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionsOrBuilder( + int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java similarity index 81% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java index 739242ab8c3b..8c4eba845307 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceFilterExpressionOrBuilder - extends +public interface AudienceFilterExpressionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceFilterExpression) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -33,13 +15,10 @@ public interface AudienceFilterExpressionOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ boolean hasAndGroup(); /** - * - * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -47,13 +26,10 @@ public interface AudienceFilterExpressionOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * * @return The andGroup. */ com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGroup(); /** - * - * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -65,34 +41,26 @@ public interface AudienceFilterExpressionOrBuilder
   com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder();
 
   /**
-   *
-   *
    * 
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** - * - * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * * @return The orGroup. */ com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGroup(); /** - * - * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
@@ -103,8 +71,6 @@ public interface AudienceFilterExpressionOrBuilder
   com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder();
 
   /**
-   *
-   *
    * 
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -112,13 +78,10 @@ public interface AudienceFilterExpressionOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** - * - * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -126,13 +89,10 @@ public interface AudienceFilterExpressionOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * * @return The notExpression. */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpression(); /** - * - * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -144,79 +104,56 @@ public interface AudienceFilterExpressionOrBuilder
   com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder();
 
   /**
-   *
-   *
    * 
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; * @return Whether the dimensionOrMetricFilter field is set. */ boolean hasDimensionOrMetricFilter(); /** - * - * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; * @return The dimensionOrMetricFilter. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDimensionOrMetricFilter(); /** - * - * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder - getDimensionOrMetricFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder(); /** - * - * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * * @return Whether the eventFilter field is set. */ boolean hasEventFilter(); /** - * - * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * * @return The eventFilter. */ com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter(); /** - * - * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
similarity index 72%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
index 4c2c4041ebfd..ef99706fe160 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/audience.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * Specifies how to evaluate users for joining an Audience.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceFilterScope} */ -public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEnum { +public enum AudienceFilterScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Scope is not specified.
    * 
@@ -39,8 +21,6 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn */ AUDIENCE_FILTER_SCOPE_UNSPECIFIED(0), /** - * - * *
    * User joins the Audience if the filter condition is met within one
    * event.
@@ -50,8 +30,6 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn
    */
   AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT(1),
   /**
-   *
-   *
    * 
    * User joins the Audience if the filter condition is met within one
    * session.
@@ -61,8 +39,6 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn
    */
   AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION(2),
   /**
-   *
-   *
    * 
    * User joins the Audience if the filter condition is met by any event
    * across any session.
@@ -75,8 +51,6 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn
   ;
 
   /**
-   *
-   *
    * 
    * Scope is not specified.
    * 
@@ -85,8 +59,6 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn */ public static final int AUDIENCE_FILTER_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * User joins the Audience if the filter condition is met within one
    * event.
@@ -96,8 +68,6 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT_VALUE = 1;
   /**
-   *
-   *
    * 
    * User joins the Audience if the filter condition is met within one
    * session.
@@ -107,8 +77,6 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION_VALUE = 2;
   /**
-   *
-   *
    * 
    * User joins the Audience if the filter condition is met by any event
    * across any session.
@@ -118,6 +86,7 @@ public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -142,16 +111,11 @@ public static AudienceFilterScope valueOf(int value) {
    */
   public static AudienceFilterScope forNumber(int value) {
     switch (value) {
-      case 0:
-        return AUDIENCE_FILTER_SCOPE_UNSPECIFIED;
-      case 1:
-        return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT;
-      case 2:
-        return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION;
-      case 3:
-        return AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS;
-      default:
-        return null;
+      case 0: return AUDIENCE_FILTER_SCOPE_UNSPECIFIED;
+      case 1: return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT;
+      case 2: return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION;
+      case 3: return AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS;
+      default: return null;
     }
   }
 
@@ -159,28 +123,28 @@ public static AudienceFilterScope forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AudienceFilterScope findValueByNumber(int number) {
-              return AudienceFilterScope.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      AudienceFilterScope> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public AudienceFilterScope findValueByNumber(int number) {
+            return AudienceFilterScope.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -189,7 +153,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static AudienceFilterScope valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -205,3 +170,4 @@ private AudienceFilterScope(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.AudienceFilterScope)
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java
similarity index 100%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java
new file mode 100644
index 000000000000..efb648f5e050
--- /dev/null
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java
@@ -0,0 +1,195 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/audience.proto
+
+package com.google.analytics.admin.v1alpha;
+
+public interface AudienceOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Audience)
+    com.google.protobuf.MessageOrBuilder {
+
+  /**
+   * 
+   * Output only. The resource name for this Audience resource.
+   * Format: properties/{propertyId}/audiences/{audienceId}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The resource name for this Audience resource.
+   * Format: properties/{propertyId}/audiences/{audienceId}
+   * 
+ * + * 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 Audience.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + *
+   * Required. The display name of the Audience.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString + getDisplayNameBytes(); + + /** + *
+   * Required. The description of the Audience.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * Required. The description of the Audience.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for description. + */ + 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.
+   * 
+ * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return The membershipDurationDays. + */ + int getMembershipDurationDays(); + + /** + *
+   * 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]; + * @return The adsPersonalizationEnabled. + */ + 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.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the eventTrigger field is set. + */ + 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.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The eventTrigger. + */ + 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.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEventTriggerOrBuilder(); + + /** + *
+   * 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.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The enum numeric value on the wire for exclusionDurationMode. + */ + 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.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The exclusionDurationMode. + */ + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode getExclusionDurationMode(); + + /** + *
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + java.util.List + getFilterClausesList(); + /** + *
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses(int index); + /** + *
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + int getFilterClausesCount(); + /** + *
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + java.util.List + getFilterClausesOrBuilderList(); + /** + *
+   * Required. Immutable. Unordered list. Filter clauses that define the
+   * Audience. All clauses will be AND’ed together.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilterClausesOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java new file mode 100644 index 000000000000..84b13180957f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java @@ -0,0 +1,333 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/audience.proto + +package com.google.analytics.admin.v1alpha; + +public final class AudienceProto { + private AudienceProto() {} + 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_AudienceDimensionOrMetricFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/analytics/admin/v1alpha/audienc" + + "e.proto\022\036google.analytics.admin.v1alpha\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032\036google/protobuf/dur" + + "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" + + "t_filter\030\003 \001(\0132L.google.analytics.admin." + + "v1alpha.AudienceDimensionOrMetricFilter." + + "InListFilterH\000\022g\n\016numeric_filter\030\004 \001(\0132M" + + ".google.analytics.admin.v1alpha.Audience" + + "DimensionOrMetricFilter.NumericFilterH\000\022" + + "g\n\016between_filter\030\005 \001(\0132M.google.analyti" + + "cs.admin.v1alpha.AudienceDimensionOrMetr" + + "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\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\"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" + + "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(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor, + new java.lang.String[] { "StringFilter", "InListFilter", "NumericFilter", "BetweenFilter", "FieldName", "AtAnyPointInTime", "InAnyNDayPeriod", "OneFilter", }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor, + new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor, + new java.lang.String[] { "Values", "CaseSensitive", }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor, + new java.lang.String[] { "Int64Value", "DoubleValue", "OneValue", }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(3); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor, + new java.lang.String[] { "Operation", "Value", }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(4); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor, + new java.lang.String[] { "FromValue", "ToValue", }); + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor, + new java.lang.String[] { "EventName", "EventParameterFilterExpression", }); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor, + new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "DimensionOrMetricFilter", "EventFilter", "Expr", }); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor, + new java.lang.String[] { "FilterExpressions", }); + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor, + new java.lang.String[] { "Scope", "FilterExpression", }); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor, + new java.lang.String[] { "Scope", "SequenceMaximumDuration", "SequenceSteps", }); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor, + new java.lang.String[] { "Scope", "ImmediatelyFollows", "ConstraintDuration", "FilterExpression", }); + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor, + new java.lang.String[] { "SimpleFilter", "SequenceFilter", "ClauseType", "Filter", }); + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor, + new java.lang.String[] { "EventName", "LogCondition", }); + internal_static_google_analytics_admin_v1alpha_Audience_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_Audience_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "MembershipDurationDays", "AdsPersonalizationEnabled", "EventTrigger", "ExclusionDurationMode", "FilterClauses", }); + 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.DurationProto.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/AudienceSequenceFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java similarity index 53% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java index 5dc036829500..67d59623ad61 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Defines filters that must occur in a specific order for the user to be a
  * member of the Audience.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter}
  */
-public final class AudienceSequenceFilter extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AudienceSequenceFilter extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter)
     AudienceSequenceFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AudienceSequenceFilter.newBuilder() to construct.
   private AudienceSequenceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AudienceSequenceFilter() {
     scope_ = 0;
     sequenceSteps_ = java.util.Collections.emptyList();
@@ -45,284 +27,216 @@ private AudienceSequenceFilter() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AudienceSequenceFilter();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class,
-            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
   }
 
-  public interface AudienceSequenceStepOrBuilder
-      extends
+  public interface AudienceSequenceStepOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ 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.
      * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The immediatelyFollows. */ 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.
      * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the constraintDuration field is set. */ 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.
      * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The constraintDuration. */ 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.
      * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the filterExpression field is set. */ 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The filterExpression. */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression(); /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder(); } /** - * - * *
    * A condition that must occur in the specified step order for this user
    * to match the sequence.
    * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} */ - public static final class AudienceSequenceStep extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AudienceSequenceStep extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) AudienceSequenceStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudienceSequenceStep.newBuilder() to construct. private AudienceSequenceStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudienceSequenceStep() { scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AudienceSequenceStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.class, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder - .class); + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private int scope_ = 0; /** - * - * *
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = - com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { + com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; } public static final int IMMEDIATELY_FOLLOWS_FIELD_NUMBER = 2; private boolean immediatelyFollows_ = false; /** - * - * *
-     * 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]; - * * @return The immediatelyFollows. */ @java.lang.Override @@ -333,19 +247,14 @@ public boolean getImmediatelyFollows() { public static final int CONSTRAINT_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration constraintDuration_; /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the constraintDuration field is set. */ @java.lang.Override @@ -353,62 +262,44 @@ public boolean hasConstraintDuration() { return constraintDuration_ != null; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The constraintDuration. */ @java.lang.Override public com.google.protobuf.Duration getConstraintDuration() { - return constraintDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : constraintDuration_; + return constraintDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { - return constraintDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : constraintDuration_; + return constraintDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; } public static final int FILTER_EXPRESSION_FIELD_NUMBER = 4; private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the filterExpression field is set. */ @java.lang.Override @@ -416,47 +307,32 @@ public boolean hasFilterExpression() { return filterExpression_ != null; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The filterExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionOrBuilder() { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { + return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,11 +344,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (scope_ - != com.google.analytics.admin.v1alpha.AudienceFilterScope - .AUDIENCE_FILTER_SCOPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, scope_); } if (immediatelyFollows_ != false) { @@ -493,21 +367,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ - != com.google.analytics.admin.v1alpha.AudienceFilterScope - .AUDIENCE_FILTER_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); + if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, scope_); } if (immediatelyFollows_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, immediatelyFollows_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, immediatelyFollows_); } if (constraintDuration_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConstraintDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getConstraintDuration()); } if (filterExpression_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFilterExpression()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getFilterExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -517,25 +391,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other = - (com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) obj; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other = (com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) obj; if (scope_ != other.scope_) return false; - if (getImmediatelyFollows() != other.getImmediatelyFollows()) return false; + if (getImmediatelyFollows() + != other.getImmediatelyFollows()) return false; if (hasConstraintDuration() != other.hasConstraintDuration()) return false; if (hasConstraintDuration()) { - if (!getConstraintDuration().equals(other.getConstraintDuration())) return false; + if (!getConstraintDuration() + .equals(other.getConstraintDuration())) return false; } if (hasFilterExpression() != other.hasFilterExpression()) return false; if (hasFilterExpression()) { - if (!getFilterExpression().equals(other.getFilterExpression())) return false; + if (!getFilterExpression() + .equals(other.getFilterExpression())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -551,7 +425,8 @@ public int hashCode() { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; hash = (37 * hash) + IMMEDIATELY_FOLLOWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImmediatelyFollows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getImmediatelyFollows()); if (hasConstraintDuration()) { hash = (37 * hash) + CONSTRAINT_DURATION_FIELD_NUMBER; hash = (53 * hash) + getConstraintDuration().hashCode(); @@ -565,101 +440,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( + 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.AudienceSequenceFilter.AudienceSequenceStep - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - 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.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - 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.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep - 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.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -669,46 +531,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A condition that must occur in the specified step order for this user
      * to match the sequence.
      * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} + * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - .class, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - .Builder.class); + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -729,23 +585,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto - .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - build() { - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = - buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep build() { + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -753,20 +605,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - buildPartial() { - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = - new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep buildPartial() { + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.scope_ = scope_; @@ -775,16 +621,14 @@ private void buildPartial0( result.immediatelyFollows_ = immediatelyFollows_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.constraintDuration_ = - constraintDurationBuilder_ == null - ? constraintDuration_ - : constraintDurationBuilder_.build(); + result.constraintDuration_ = constraintDurationBuilder_ == null + ? constraintDuration_ + : constraintDurationBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.filterExpression_ = - filterExpressionBuilder_ == null - ? filterExpression_ - : filterExpressionBuilder_.build(); + result.filterExpression_ = filterExpressionBuilder_ == null + ? filterExpression_ + : filterExpressionBuilder_.build(); } } @@ -792,56 +636,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) - other); + if (other instanceof com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) { + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other) { - if (other - == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other) { + if (other == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance()) return this; if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } @@ -880,39 +714,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - scope_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - immediatelyFollows_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage( - getConstraintDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getFilterExpressionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + scope_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + immediatelyFollows_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getConstraintDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getFilterExpressionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -922,38 +753,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int scope_ = 0; /** - * - * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -964,37 +783,24 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = - com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; } /** - * - * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The scope to set. * @return This builder for chaining. */ @@ -1008,16 +814,11 @@ public Builder setScope(com.google.analytics.admin.v1alpha.AudienceFilterScope v return this; } /** - * - * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearScope() { @@ -1027,20 +828,17 @@ public Builder clearScope() { return this; } - private boolean immediatelyFollows_; + private boolean immediatelyFollows_ ; /** - * - * *
-       * 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]; - * * @return The immediatelyFollows. */ @java.lang.Override @@ -1048,41 +846,35 @@ public boolean getImmediatelyFollows() { return immediatelyFollows_; } /** - * - * *
-       * 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]; - * * @param value The immediatelyFollows to set. * @return This builder for chaining. */ public Builder setImmediatelyFollows(boolean value) { - + immediatelyFollows_ = value; bitField0_ |= 0x00000002; onChanged(); return 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
+       * 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]; - * * @return This builder for chaining. */ public Builder clearImmediatelyFollows() { @@ -1094,67 +886,48 @@ public Builder clearImmediatelyFollows() { private com.google.protobuf.Duration constraintDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - constraintDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> constraintDurationBuilder_; /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the constraintDuration field is set. */ public boolean hasConstraintDuration() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The constraintDuration. */ public com.google.protobuf.Duration getConstraintDuration() { if (constraintDurationBuilder_ == null) { - return constraintDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : constraintDuration_; + return constraintDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; } else { return constraintDurationBuilder_.getMessage(); } } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setConstraintDuration(com.google.protobuf.Duration value) { if (constraintDurationBuilder_ == null) { @@ -1170,20 +943,17 @@ public Builder setConstraintDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setConstraintDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setConstraintDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (constraintDurationBuilder_ == null) { constraintDuration_ = builderForValue.build(); } else { @@ -1194,24 +964,20 @@ public Builder setConstraintDuration(com.google.protobuf.Duration.Builder builde return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeConstraintDuration(com.google.protobuf.Duration value) { if (constraintDurationBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && constraintDuration_ != null - && constraintDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + constraintDuration_ != null && + constraintDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getConstraintDurationBuilder().mergeFrom(value); } else { constraintDuration_ = value; @@ -1224,18 +990,14 @@ public Builder mergeConstraintDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearConstraintDuration() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1248,18 +1010,14 @@ public Builder clearConstraintDuration() { return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getConstraintDurationBuilder() { bitField0_ |= 0x00000004; @@ -1267,54 +1025,42 @@ public com.google.protobuf.Duration.Builder getConstraintDurationBuilder() { return getConstraintDurationFieldBuilder().getBuilder(); } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { if (constraintDurationBuilder_ != null) { return constraintDurationBuilder_.getMessageOrBuilder(); } else { - return constraintDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : constraintDuration_; + return constraintDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; } } /** - * - * *
-       * 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.
        * 
* - * - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getConstraintDurationFieldBuilder() { if (constraintDurationBuilder_ == null) { - constraintDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getConstraintDuration(), getParentForChildren(), isClean()); + constraintDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getConstraintDuration(), + getParentForChildren(), + isClean()); constraintDuration_ = null; } return constraintDurationBuilder_; @@ -1322,64 +1068,44 @@ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> - filterExpressionBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> filterExpressionBuilder_; /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the filterExpression field is set. */ public boolean hasFilterExpression() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The filterExpression. */ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { if (filterExpressionBuilder_ == null) { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } else { return filterExpressionBuilder_.getMessage(); } } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setFilterExpression( - com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder setFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1393,16 +1119,12 @@ public Builder setFilterExpression( return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ public Builder setFilterExpression( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -1416,25 +1138,18 @@ public Builder setFilterExpression( return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeFilterExpression( - com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && filterExpression_ != null - && filterExpression_ - != com.google.analytics.admin.v1alpha.AudienceFilterExpression - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + filterExpression_ != null && + filterExpression_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) { getFilterExpressionBuilder().mergeFrom(value); } else { filterExpression_ = value; @@ -1447,16 +1162,12 @@ public Builder mergeFilterExpression( return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearFilterExpression() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1469,74 +1180,55 @@ public Builder clearFilterExpression() { return this; } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder - getFilterExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getFilterExpressionBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFilterExpressionFieldBuilder().getBuilder(); } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { if (filterExpressionBuilder_ != null) { return filterExpressionBuilder_.getMessageOrBuilder(); } else { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + return filterExpression_ == null ? + com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } } /** - * - * *
-       * 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.
        * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getFilterExpressionFieldBuilder() { if (filterExpressionBuilder_ == null) { - filterExpressionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( - getFilterExpression(), getParentForChildren(), isClean()); + filterExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + getFilterExpression(), + getParentForChildren(), + isClean()); filterExpression_ = null; } return filterExpressionBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1549,46 +1241,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) - private static final com.google.analytics.admin.v1alpha.AudienceSequenceFilter - .AudienceSequenceStep - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep(); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceSequenceStep 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceSequenceStep 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; @@ -1600,66 +1287,46 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SCOPE_FIELD_NUMBER = 1; private int scope_ = 0; /** - * - * *
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = - com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { + com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; } public static final int SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration sequenceMaximumDuration_; /** - * - * *
    * 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]; * @return Whether the sequenceMaximumDuration field is set. */ @java.lang.Override @@ -1667,139 +1334,96 @@ public boolean hasSequenceMaximumDuration() { return sequenceMaximumDuration_ != null; } /** - * - * *
    * 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]; * @return The sequenceMaximumDuration. */ @java.lang.Override public com.google.protobuf.Duration getSequenceMaximumDuration() { - return sequenceMaximumDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder() { - return sequenceMaximumDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; } public static final int SEQUENCE_STEPS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> - sequenceSteps_; + private java.util.List sequenceSteps_; /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> - getSequenceStepsList() { + public java.util.List getSequenceStepsList() { return sequenceSteps_; } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - ? extends - com.google.analytics.admin.v1alpha.AudienceSequenceFilter - .AudienceSequenceStepOrBuilder> + public java.util.List getSequenceStepsOrBuilderList() { return sequenceSteps_; } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getSequenceStepsCount() { return sequenceSteps_.size(); } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - getSequenceSteps(int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index) { return sequenceSteps_.get(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder - getSequenceStepsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder( + int index) { return sequenceSteps_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1811,10 +1435,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (scope_ - != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, scope_); } if (sequenceMaximumDuration_ != null) { @@ -1832,17 +1455,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ - != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); + if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, scope_); } if (sequenceMaximumDuration_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSequenceMaximumDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSequenceMaximumDuration()); } for (int i = 0; i < sequenceSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, sequenceSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, sequenceSteps_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1852,20 +1475,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceSequenceFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceSequenceFilter other = - (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) obj; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter other = (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) obj; if (scope_ != other.scope_) return false; if (hasSequenceMaximumDuration() != other.hasSequenceMaximumDuration()) return false; if (hasSequenceMaximumDuration()) { - if (!getSequenceMaximumDuration().equals(other.getSequenceMaximumDuration())) return false; + if (!getSequenceMaximumDuration() + .equals(other.getSequenceMaximumDuration())) return false; } - if (!getSequenceStepsList().equals(other.getSequenceStepsList())) return false; + if (!getSequenceStepsList() + .equals(other.getSequenceStepsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1893,104 +1517,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( 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.AudienceSequenceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceSequenceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines filters that must occur in a specific order for the user to be a
    * member of the Audience.
@@ -1998,32 +1614,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter)
       com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class,
-              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceSequenceFilter.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2045,9 +1662,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
     }
 
     @java.lang.Override
@@ -2066,18 +1683,14 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceSequenceFilter buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceSequenceFilter result =
-          new com.google.analytics.admin.v1alpha.AudienceSequenceFilter(this);
+      com.google.analytics.admin.v1alpha.AudienceSequenceFilter result = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.analytics.admin.v1alpha.AudienceSequenceFilter result) {
+    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AudienceSequenceFilter result) {
       if (sequenceStepsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           sequenceSteps_ = java.util.Collections.unmodifiableList(sequenceSteps_);
@@ -2095,10 +1708,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFi
         result.scope_ = scope_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sequenceMaximumDuration_ =
-            sequenceMaximumDurationBuilder_ == null
-                ? sequenceMaximumDuration_
-                : sequenceMaximumDurationBuilder_.build();
+        result.sequenceMaximumDuration_ = sequenceMaximumDurationBuilder_ == null
+            ? sequenceMaximumDuration_
+            : sequenceMaximumDurationBuilder_.build();
       }
     }
 
@@ -2106,39 +1718,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFi
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AudienceSequenceFilter) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSequenceFilter) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSequenceFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2146,8 +1757,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSequenceFilter other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance()) return this;
       if (other.scope_ != 0) {
         setScopeValue(other.getScopeValue());
       }
@@ -2172,10 +1782,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSequenceFilt
             sequenceStepsBuilder_ = null;
             sequenceSteps_ = other.sequenceSteps_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            sequenceStepsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSequenceStepsFieldBuilder()
-                    : null;
+            sequenceStepsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSequenceStepsFieldBuilder() : null;
           } else {
             sequenceStepsBuilder_.addAllMessages(other.sequenceSteps_);
           }
@@ -2207,41 +1816,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                scope_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(
-                    getSequenceMaximumDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep m =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.AudienceSequenceFilter
-                            .AudienceSequenceStep.parser(),
-                        extensionRegistry);
-                if (sequenceStepsBuilder_ == null) {
-                  ensureSequenceStepsIsMutable();
-                  sequenceSteps_.add(m);
-                } else {
-                  sequenceStepsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              scope_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getSequenceMaximumDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep m =
+                  input.readMessage(
+                      com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.parser(),
+                      extensionRegistry);
+              if (sequenceStepsBuilder_ == null) {
+                ensureSequenceStepsIsMutable();
+                sequenceSteps_.add(m);
+              } else {
+                sequenceStepsBuilder_.addMessage(m);
+              }
+              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) {
@@ -2251,38 +1856,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int scope_ = 0;
     /**
-     *
-     *
      * 
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -2293,37 +1886,24 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = - com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The scope to set. * @return This builder for chaining. */ @@ -2337,16 +1917,11 @@ public Builder setScope(com.google.analytics.admin.v1alpha.AudienceFilterScope v return this; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearScope() { @@ -2358,58 +1933,39 @@ public Builder clearScope() { private com.google.protobuf.Duration sequenceMaximumDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - sequenceMaximumDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> sequenceMaximumDurationBuilder_; /** - * - * *
      * 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]; * @return Whether the sequenceMaximumDuration field is set. */ public boolean hasSequenceMaximumDuration() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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]; * @return The sequenceMaximumDuration. */ public com.google.protobuf.Duration getSequenceMaximumDuration() { if (sequenceMaximumDurationBuilder_ == null) { - return sequenceMaximumDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; } else { return sequenceMaximumDurationBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setSequenceMaximumDuration(com.google.protobuf.Duration value) { if (sequenceMaximumDurationBuilder_ == null) { @@ -2425,15 +1981,11 @@ public Builder setSequenceMaximumDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * 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]; */ public Builder setSequenceMaximumDuration( com.google.protobuf.Duration.Builder builderForValue) { @@ -2447,21 +1999,17 @@ public Builder setSequenceMaximumDuration( return this; } /** - * - * *
      * 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]; */ public Builder mergeSequenceMaximumDuration(com.google.protobuf.Duration value) { if (sequenceMaximumDurationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sequenceMaximumDuration_ != null - && sequenceMaximumDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sequenceMaximumDuration_ != null && + sequenceMaximumDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getSequenceMaximumDurationBuilder().mergeFrom(value); } else { sequenceMaximumDuration_ = value; @@ -2474,15 +2022,11 @@ public Builder mergeSequenceMaximumDuration(com.google.protobuf.Duration value) return this; } /** - * - * *
      * 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]; */ public Builder clearSequenceMaximumDuration() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2495,15 +2039,11 @@ public Builder clearSequenceMaximumDuration() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Duration.Builder getSequenceMaximumDurationBuilder() { bitField0_ |= 0x00000002; @@ -2511,88 +2051,62 @@ public com.google.protobuf.Duration.Builder getSequenceMaximumDurationBuilder() return getSequenceMaximumDurationFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder() { if (sequenceMaximumDurationBuilder_ != null) { return sequenceMaximumDurationBuilder_.getMessageOrBuilder(); } else { - return sequenceMaximumDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getSequenceMaximumDurationFieldBuilder() { if (sequenceMaximumDurationBuilder_ == null) { - sequenceMaximumDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getSequenceMaximumDuration(), getParentForChildren(), isClean()); + sequenceMaximumDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getSequenceMaximumDuration(), + getParentForChildren(), + isClean()); sequenceMaximumDuration_ = null; } return sequenceMaximumDurationBuilder_; } - private java.util.List< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> - sequenceSteps_ = java.util.Collections.emptyList(); - + private java.util.List sequenceSteps_ = + java.util.Collections.emptyList(); private void ensureSequenceStepsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - sequenceSteps_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep>( - sequenceSteps_); + sequenceSteps_ = new java.util.ArrayList(sequenceSteps_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> - sequenceStepsBuilder_; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> sequenceStepsBuilder_; /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> - getSequenceStepsList() { + public java.util.List getSequenceStepsList() { if (sequenceStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(sequenceSteps_); } else { @@ -2600,16 +2114,12 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getSequenceStepsCount() { if (sequenceStepsBuilder_ == null) { @@ -2619,19 +2129,14 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - getSequenceSteps(int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index) { if (sequenceStepsBuilder_ == null) { return sequenceSteps_.get(index); } else { @@ -2639,20 +2144,15 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSequenceSteps( - int index, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { + int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { if (sequenceStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2666,21 +2166,15 @@ public Builder setSequenceSteps( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSequenceSteps( - int index, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder - builderForValue) { + int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); sequenceSteps_.set(index, builderForValue.build()); @@ -2691,19 +2185,14 @@ public Builder setSequenceSteps( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addSequenceSteps( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { + public Builder addSequenceSteps(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { if (sequenceStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2717,20 +2206,15 @@ public Builder addSequenceSteps( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSequenceSteps( - int index, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { + int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { if (sequenceStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2744,20 +2228,15 @@ public Builder addSequenceSteps( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSequenceSteps( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); sequenceSteps_.add(builderForValue.build()); @@ -2768,21 +2247,15 @@ public Builder addSequenceSteps( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSequenceSteps( - int index, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder - builderForValue) { + int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); sequenceSteps_.add(index, builderForValue.build()); @@ -2793,25 +2266,19 @@ public Builder addSequenceSteps( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllSequenceSteps( - java.lang.Iterable< - ? extends - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> - values) { + java.lang.Iterable values) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sequenceSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sequenceSteps_); onChanged(); } else { sequenceStepsBuilder_.addAllMessages(values); @@ -2819,16 +2286,12 @@ public Builder addAllSequenceSteps( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSequenceSteps() { if (sequenceStepsBuilder_ == null) { @@ -2841,16 +2304,12 @@ public Builder clearSequenceSteps() { return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeSequenceSteps(int index) { if (sequenceStepsBuilder_ == null) { @@ -2863,58 +2322,42 @@ public Builder removeSequenceSteps(int index) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder - getSequenceStepsBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder getSequenceStepsBuilder( + int index) { return getSequenceStepsFieldBuilder().getBuilder(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder - getSequenceStepsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder( + int index) { if (sequenceStepsBuilder_ == null) { - return sequenceSteps_.get(index); - } else { + return sequenceSteps_.get(index); } else { return sequenceStepsBuilder_.getMessageOrBuilder(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends - com.google.analytics.admin.v1alpha.AudienceSequenceFilter - .AudienceSequenceStepOrBuilder> - getSequenceStepsOrBuilderList() { + public java.util.List + getSequenceStepsOrBuilderList() { if (sequenceStepsBuilder_ != null) { return sequenceStepsBuilder_.getMessageOrBuilderList(); } else { @@ -2922,75 +2365,48 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder - addSequenceStepsBuilder() { - return getSequenceStepsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder addSequenceStepsBuilder() { + return getSequenceStepsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance()); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder - addSequenceStepsBuilder(int index) { - return getSequenceStepsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder addSequenceStepsBuilder( + int index) { + return getSequenceStepsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance()); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder> - getSequenceStepsBuilderList() { + public java.util.List + getSequenceStepsBuilderList() { return getSequenceStepsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> getSequenceStepsFieldBuilder() { if (sequenceStepsBuilder_ == null) { - sequenceStepsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - .Builder, - com.google.analytics.admin.v1alpha.AudienceSequenceFilter - .AudienceSequenceStepOrBuilder>( + sequenceStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder>( sequenceSteps_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2999,9 +2415,9 @@ public Builder removeSequenceSteps(int index) { } return sequenceStepsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3011,12 +2427,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter) private static final com.google.analytics.admin.v1alpha.AudienceSequenceFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter(); } @@ -3025,27 +2441,27 @@ public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceSequenceFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceSequenceFilter 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; @@ -3060,4 +2476,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java new file mode 100644 index 000000000000..19c072b5a1c5 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java @@ -0,0 +1,104 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/audience.proto + +package com.google.analytics.admin.v1alpha; + +public interface AudienceSequenceFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSequenceFilter) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return The enum numeric value on the wire for scope. + */ + int getScopeValue(); + /** + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return The scope. + */ + com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); + + /** + *
+   * Optional. Defines the time period in which the whole sequence must occur.
+   * 
+ * + * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the sequenceMaximumDuration field is set. + */ + boolean hasSequenceMaximumDuration(); + /** + *
+   * Optional. Defines the time period in which the whole sequence must occur.
+   * 
+ * + * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The sequenceMaximumDuration. + */ + com.google.protobuf.Duration getSequenceMaximumDuration(); + /** + *
+   * Optional. Defines the time period in which the whole sequence must occur.
+   * 
+ * + * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder(); + + /** + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getSequenceStepsList(); + /** + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index); + /** + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + int getSequenceStepsCount(); + /** + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getSequenceStepsOrBuilderList(); + /** + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder( + int index); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java index 806f422b5e62..552d1d1e1062 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Defines a simple filter that a user must satisfy to be a member of the
  * Audience.
@@ -28,100 +11,79 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSimpleFilter}
  */
-public final class AudienceSimpleFilter extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AudienceSimpleFilter extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceSimpleFilter)
     AudienceSimpleFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AudienceSimpleFilter.newBuilder() to construct.
   private AudienceSimpleFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AudienceSimpleFilter() {
     scope_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AudienceSimpleFilter();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto
-        .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class,
-            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
   }
 
   public static final int SCOPE_FIELD_NUMBER = 1;
   private int scope_ = 0;
   /**
-   *
-   *
    * 
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = - com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { + com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; } public static final int FILTER_EXPRESSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; /** - * - * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the filterExpression field is set. */ @java.lang.Override @@ -129,45 +91,32 @@ public boolean hasFilterExpression() { return filterExpression_ != null; } /** - * - * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The filterExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } /** - * - * *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
    * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionOrBuilder() { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { + return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,10 +128,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (scope_ - != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, scope_); } if (filterExpression_ != null) { @@ -197,13 +145,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ - != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); + if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, scope_); } if (filterExpression_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFilterExpression()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFilterExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,18 +161,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceSimpleFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceSimpleFilter other = - (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) obj; + com.google.analytics.admin.v1alpha.AudienceSimpleFilter other = (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) obj; if (scope_ != other.scope_) return false; if (hasFilterExpression() != other.hasFilterExpression()) return false; if (hasFilterExpression()) { - if (!getFilterExpression().equals(other.getFilterExpression())) return false; + if (!getFilterExpression() + .equals(other.getFilterExpression())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -249,104 +197,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( 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.AudienceSimpleFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AudienceSimpleFilter prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceSimpleFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines a simple filter that a user must satisfy to be a member of the
    * Audience.
@@ -354,32 +294,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSimpleFilter}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceSimpleFilter)
       com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class,
-              com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceSimpleFilter.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -394,9 +335,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto
-          .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
     }
 
     @java.lang.Override
@@ -415,11 +356,8 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceSimpleFilter buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceSimpleFilter result =
-          new com.google.analytics.admin.v1alpha.AudienceSimpleFilter(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.AudienceSimpleFilter result = new com.google.analytics.admin.v1alpha.AudienceSimpleFilter(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -430,8 +368,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSimpleFilt
         result.scope_ = scope_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.filterExpression_ =
-            filterExpressionBuilder_ == null ? filterExpression_ : filterExpressionBuilder_.build();
+        result.filterExpression_ = filterExpressionBuilder_ == null
+            ? filterExpression_
+            : filterExpressionBuilder_.build();
       }
     }
 
@@ -439,39 +378,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSimpleFilt
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.AudienceSimpleFilter) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSimpleFilter) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSimpleFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -479,8 +417,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSimpleFilter other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance()) return this;
       if (other.scope_ != 0) {
         setScopeValue(other.getScopeValue());
       }
@@ -513,26 +450,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                scope_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(
-                    getFilterExpressionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              scope_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getFilterExpressionFieldBuilder().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) {
@@ -542,38 +477,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int scope_ = 0;
     /**
-     *
-     *
      * 
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -584,37 +507,24 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = - com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The scope to set. * @return This builder for chaining. */ @@ -628,16 +538,11 @@ public Builder setScope(com.google.analytics.admin.v1alpha.AudienceFilterScope v return this; } /** - * - * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearScope() { @@ -649,61 +554,44 @@ public Builder clearScope() { private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> - filterExpressionBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> filterExpressionBuilder_; /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return Whether the filterExpression field is set. */ public boolean hasFilterExpression() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The filterExpression. */ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { if (filterExpressionBuilder_ == null) { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } else { return filterExpressionBuilder_.getMessage(); } } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setFilterExpression( - com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder setFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,15 +605,12 @@ public Builder setFilterExpression( return this; } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ public Builder setFilterExpression( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -739,24 +624,18 @@ public Builder setFilterExpression( return this; } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeFilterExpression( - com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && filterExpression_ != null - && filterExpression_ - != com.google.analytics.admin.v1alpha.AudienceFilterExpression - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + filterExpression_ != null && + filterExpression_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) { getFilterExpressionBuilder().mergeFrom(value); } else { filterExpression_ = value; @@ -769,15 +648,12 @@ public Builder mergeFilterExpression( return this; } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearFilterExpression() { bitField0_ = (bitField0_ & ~0x00000002); @@ -790,73 +666,58 @@ public Builder clearFilterExpression() { return this; } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder - getFilterExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getFilterExpressionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFilterExpressionFieldBuilder().getBuilder(); } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder - getFilterExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { if (filterExpressionBuilder_ != null) { return filterExpressionBuilder_.getMessageOrBuilder(); } else { - return filterExpression_ == null - ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() - : filterExpression_; + return filterExpression_ == null ? + com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; } } /** - * - * *
-     * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+     * Required. Immutable. A logical expression of Audience dimension, metric, or
+     * event filters.
      * 
* - * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getFilterExpressionFieldBuilder() { if (filterExpressionBuilder_ == null) { - filterExpressionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, - com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( - getFilterExpression(), getParentForChildren(), isClean()); + filterExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + getFilterExpression(), + getParentForChildren(), + isClean()); filterExpression_ = null; } return filterExpressionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +727,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceSimpleFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceSimpleFilter) private static final com.google.analytics.admin.v1alpha.AudienceSimpleFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceSimpleFilter(); } @@ -880,27 +741,27 @@ public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceSimpleFilter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceSimpleFilter 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; @@ -915,4 +776,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java new file mode 100644 index 000000000000..5b6fed000a65 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/audience.proto + +package com.google.analytics.admin.v1alpha; + +public interface AudienceSimpleFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSimpleFilter) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return The enum numeric value on the wire for scope. + */ + int getScopeValue(); + /** + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return The scope. + */ + com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); + + /** + *
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the filterExpression field is set. + */ + boolean hasFilterExpression(); + /** + *
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return The filterExpression. + */ + com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression(); + /** + *
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
+   * 
+ * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java index d3d44860ddf8..8cad243c4030 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Read-only resource used to summarize a principal's effective roles.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ -public final class AuditUserLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuditUserLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLink) AuditUserLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuditUserLink.newBuilder() to construct. private AuditUserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuditUserLink() { name_ = ""; emailAddress_ = ""; @@ -46,43 +28,38 @@ private AuditUserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuditUserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_AuditUserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, - com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -91,29 +68,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,18 +99,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object emailAddress_ = ""; /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The emailAddress. */ @java.lang.Override @@ -142,29 +115,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -173,12 +146,9 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } public static final int DIRECT_ROLES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList directRoles_; /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -187,15 +157,13 @@ public com.google.protobuf.ByteString getEmailAddressBytes() {
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_; } /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -204,15 +172,12 @@ public com.google.protobuf.ProtocolStringList getDirectRolesList() {
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -221,7 +186,6 @@ public int getDirectRolesCount() {
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -229,8 +193,6 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -239,21 +201,18 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } public static final int EFFECTIVE_ROLES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList effectiveRoles_; /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -261,15 +220,13 @@ public com.google.protobuf.ByteString getDirectRolesBytes(int index) {
    * 
* * repeated string effective_roles = 4; - * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList + getEffectiveRolesList() { return effectiveRoles_; } /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -277,15 +234,12 @@ public com.google.protobuf.ProtocolStringList getEffectiveRolesList() {
    * 
* * repeated string effective_roles = 4; - * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -293,7 +247,6 @@ public int getEffectiveRolesCount() {
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -301,8 +254,6 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -310,16 +261,15 @@ public java.lang.String getEffectiveRoles(int index) {
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString + getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,7 +281,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -383,18 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLink other = - (com.google.analytics.admin.v1alpha.AuditUserLink) obj; + com.google.analytics.admin.v1alpha.AuditUserLink other = (com.google.analytics.admin.v1alpha.AuditUserLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getEmailAddress().equals(other.getEmailAddress())) return false; - if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; - if (!getEffectiveRolesList().equals(other.getEffectiveRolesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEmailAddress() + .equals(other.getEmailAddress())) return false; + if (!getDirectRolesList() + .equals(other.getDirectRolesList())) return false; + if (!getEffectiveRolesList() + .equals(other.getEffectiveRolesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -423,136 +377,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( 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.AuditUserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Read-only resource used to summarize a principal's effective roles.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLink) com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, - com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLink.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +515,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override @@ -588,18 +536,14 @@ public com.google.analytics.admin.v1alpha.AuditUserLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLink buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLink result = - new com.google.analytics.admin.v1alpha.AuditUserLink(this); + com.google.analytics.admin.v1alpha.AuditUserLink result = new com.google.analytics.admin.v1alpha.AuditUserLink(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.AuditUserLink result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AuditUserLink result) { if (((bitField0_ & 0x00000004) != 0)) { directRoles_ = directRoles_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -626,39 +570,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AuditUserLink resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AuditUserLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink)other); } else { super.mergeFrom(other); return this; @@ -666,8 +609,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLink other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -724,39 +666,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - emailAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDirectRolesIsMutable(); - directRoles_.add(s); - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEffectiveRolesIsMutable(); - effectiveRoles_.add(s); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + emailAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDirectRolesIsMutable(); + directRoles_.add(s); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEffectiveRolesIsMutable(); + effectiveRoles_.add(s); + break; + } // case 34 + 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) { @@ -766,25 +703,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -793,21 +727,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -815,35 +748,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -853,21 +779,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -877,20 +799,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object emailAddress_ = ""; /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -899,21 +819,20 @@ public java.lang.String getEmailAddress() { } } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -921,35 +840,28 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmailAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } emailAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @return This builder for chaining. */ public Builder clearEmailAddress() { @@ -959,21 +871,17 @@ public Builder clearEmailAddress() { return this; } /** - * - * *
      * Email address of the linked user
      * 
* * string email_address = 2; - * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmailAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); emailAddress_ = value; bitField0_ |= 0x00000002; @@ -981,18 +889,14 @@ public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList directRoles_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1001,15 +905,13 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1018,15 +920,12 @@ public com.google.protobuf.ProtocolStringList getDirectRolesList() {
      * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1035,7 +934,6 @@ public int getDirectRolesCount() {
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -1043,8 +941,6 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1053,16 +949,14 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1071,23 +965,19 @@ public com.google.protobuf.ByteString getDirectRolesBytes(int index) {
      * 
* * repeated string direct_roles = 3; - * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDirectRoles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1096,22 +986,18 @@ public Builder setDirectRoles(int index, java.lang.String value) {
      * 
* * repeated string direct_roles = 3; - * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDirectRoles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1120,19 +1006,18 @@ public Builder addDirectRoles(java.lang.String value) {
      * 
* * repeated string direct_roles = 3; - * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles(java.lang.Iterable values) { + public Builder addAllDirectRoles( + java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, directRoles_); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1141,7 +1026,6 @@ public Builder addAllDirectRoles(java.lang.Iterable values) {
      * 
* * repeated string direct_roles = 3; - * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1151,8 +1035,6 @@ public Builder clearDirectRoles() { return this; } /** - * - * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1161,14 +1043,12 @@ public Builder clearDirectRoles() {
      * 
* * repeated string direct_roles = 3; - * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDirectRolesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); @@ -1176,18 +1056,14 @@ public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList effectiveRoles_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList effectiveRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEffectiveRolesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(effectiveRoles_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1195,15 +1071,13 @@ private void ensureEffectiveRolesIsMutable() {
      * 
* * repeated string effective_roles = 4; - * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList + getEffectiveRolesList() { return effectiveRoles_.getUnmodifiableView(); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1211,15 +1085,12 @@ public com.google.protobuf.ProtocolStringList getEffectiveRolesList() {
      * 
* * repeated string effective_roles = 4; - * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1227,7 +1098,6 @@ public int getEffectiveRolesCount() {
      * 
* * repeated string effective_roles = 4; - * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -1235,8 +1105,6 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1244,16 +1112,14 @@ public java.lang.String getEffectiveRoles(int index) {
      * 
* * repeated string effective_roles = 4; - * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString + getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1261,23 +1127,19 @@ public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) {
      * 
* * repeated string effective_roles = 4; - * * @param index The index to set the value at. * @param value The effectiveRoles to set. * @return This builder for chaining. */ - public Builder setEffectiveRoles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEffectiveRoles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEffectiveRolesIsMutable(); effectiveRoles_.set(index, value); onChanged(); return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1285,22 +1147,18 @@ public Builder setEffectiveRoles(int index, java.lang.String value) {
      * 
* * repeated string effective_roles = 4; - * * @param value The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRoles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEffectiveRoles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1308,19 +1166,18 @@ public Builder addEffectiveRoles(java.lang.String value) {
      * 
* * repeated string effective_roles = 4; - * * @param values The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addAllEffectiveRoles(java.lang.Iterable values) { + public Builder addAllEffectiveRoles( + java.lang.Iterable values) { ensureEffectiveRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, effectiveRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, effectiveRoles_); onChanged(); return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1328,7 +1185,6 @@ public Builder addAllEffectiveRoles(java.lang.Iterable values)
      * 
* * repeated string effective_roles = 4; - * * @return This builder for chaining. */ public Builder clearEffectiveRoles() { @@ -1338,8 +1194,6 @@ public Builder clearEffectiveRoles() { return this; } /** - * - * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1347,23 +1201,21 @@ public Builder clearEffectiveRoles() {
      * 
* * repeated string effective_roles = 4; - * * @param value The bytes of the effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRolesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEffectiveRolesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1373,12 +1225,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLink) private static final com.google.analytics.admin.v1alpha.AuditUserLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLink(); } @@ -1387,27 +1239,27 @@ public static com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLink 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; @@ -1422,4 +1274,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java similarity index 77% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java index fa33e7f4ba39..71e824faab83 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java @@ -1,81 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinkOrBuilder - extends +public interface AuditUserLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** - * - * *
    * Email address of the linked user
    * 
* * string email_address = 2; - * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString getEmailAddressBytes(); + com.google.protobuf.ByteString + getEmailAddressBytes(); /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -84,13 +56,11 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - java.util.List getDirectRolesList(); + java.util.List + getDirectRolesList(); /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -99,13 +69,10 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ int getDirectRolesCount(); /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -114,14 +81,11 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** - * - * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -130,15 +94,13 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString getDirectRolesBytes(int index); + com.google.protobuf.ByteString + getDirectRolesBytes(int index); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -146,13 +108,11 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string effective_roles = 4; - * * @return A list containing the effectiveRoles. */ - java.util.List getEffectiveRolesList(); + java.util.List + getEffectiveRolesList(); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -160,13 +120,10 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string effective_roles = 4; - * * @return The count of effectiveRoles. */ int getEffectiveRolesCount(); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -174,14 +131,11 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ java.lang.String getEffectiveRoles(int index); /** - * - * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -189,9 +143,9 @@ public interface AuditUserLinkOrBuilder
    * 
* * repeated string effective_roles = 4; - * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - com.google.protobuf.ByteString getEffectiveRolesBytes(int index); + com.google.protobuf.ByteString + getEffectiveRolesBytes(int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java index 81eed21a44f7..62928c40aca5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ -public final class AuditUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuditUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) AuditUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuditUserLinksRequest.newBuilder() to construct. private AuditUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuditUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private AuditUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuditUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_AuditUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -136,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -145,12 +115,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -159,7 +126,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -168,15 +134,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -185,15 +150,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,7 +168,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,7 +203,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -250,17 +217,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = - (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,136 +253,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( 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.AuditUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.analytics.admin.v1alpha.AuditUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override @@ -446,11 +408,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = - new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -472,39 +431,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AuditUserLinksRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AuditUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -512,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -553,31 +510,27 @@ public Builder mergeFrom( 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: + 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) { @@ -587,27 +540,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -616,23 +564,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -640,39 +585,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -682,23 +616,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,10 +634,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -718,7 +644,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -726,8 +651,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -736,20 +659,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -758,7 +678,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -770,8 +689,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -780,13 +697,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -795,8 +712,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -805,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -820,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -830,22 +744,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -854,7 +764,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -864,8 +773,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -874,23 +781,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -900,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) private static final com.google.analytics.admin.v1alpha.AuditUserLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(); } @@ -914,27 +819,27 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksRequest 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; @@ -949,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java index f673fe5cde24..e03c1372474c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksRequestOrBuilder - extends +public interface AuditUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -63,14 +36,11 @@ public interface AuditUserLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface AuditUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -94,8 +61,8 @@ public interface AuditUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java index 1fbd4348da5f..0e8415806175 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ -public final class AuditUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuditUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) AuditUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuditUserLinksResponse.newBuilder() to construct. private AuditUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuditUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private AuditUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuditUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_AuditUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List userLinks_; /** - * - * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -87,8 +65,6 @@ public java.util.List getUserL
     return userLinks_;
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -97,13 +73,11 @@ public java.util.List getUserL
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getUserLinksOrBuilderList() {
     return userLinks_;
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -116,8 +90,6 @@ public int getUserLinksCount() {
     return userLinks_.size();
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -130,8 +102,6 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
     return userLinks_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -146,19 +116,15 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
   }
 
   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 @@ -167,30 +133,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -199,7 +165,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -228,7 +194,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -241,16 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = - (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -274,136 +242,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( 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.AuditUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.analytics.admin.v1alpha.AuditUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override @@ -441,18 +402,14 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = - new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AuditUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -475,39 +432,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AuditUserLinksResp public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.AuditUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -515,8 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -535,10 +490,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRespon userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -575,33 +529,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.AuditUserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.AuditUserLink.parser(), - extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.AuditUserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.AuditUserLink.parser(), + extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -611,29 +562,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AuditUserLink, - com.google.analytics.admin.v1alpha.AuditUserLink.Builder, - com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -649,8 +592,6 @@ public java.util.List getUserL
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -666,8 +607,6 @@ public int getUserLinksCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -683,8 +622,6 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -692,7 +629,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder setUserLinks(
+        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -706,8 +644,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.AuditU
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -727,8 +663,6 @@ public Builder setUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -750,8 +684,6 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -759,7 +691,8 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder addUserLinks(
+        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -773,8 +706,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.AuditU
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -794,8 +725,6 @@ public Builder addUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -815,8 +744,6 @@ public Builder addUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -828,7 +755,8 @@ public Builder addAllUserLinks(
         java.lang.Iterable values) {
       if (userLinksBuilder_ == null) {
         ensureUserLinksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, userLinks_);
         onChanged();
       } else {
         userLinksBuilder_.addAllMessages(values);
@@ -836,8 +764,6 @@ public Builder addAllUserLinks(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -856,8 +782,6 @@ public Builder clearUserLinks() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -876,8 +800,6 @@ public Builder removeUserLinks(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -885,12 +807,11 @@ public Builder removeUserLinks(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(int index) {
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(
+        int index) {
       return getUserLinksFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -901,14 +822,11 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuil
     public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
         int index) {
       if (userLinksBuilder_ == null) {
-        return userLinks_.get(index);
-      } else {
+        return userLinks_.get(index);  } else {
         return userLinksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -916,8 +834,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List
-        getUserLinksOrBuilderList() {
+    public java.util.List 
+         getUserLinksOrBuilderList() {
       if (userLinksBuilder_ != null) {
         return userLinksBuilder_.getMessageOrBuilderList();
       } else {
@@ -925,8 +843,6 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
       }
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -935,12 +851,10 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
     public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder() {
-      return getUserLinksFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+      return getUserLinksFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -948,13 +862,12 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(int index) {
-      return getUserLinksFieldBuilder()
-          .addBuilder(index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(
+        int index) {
+      return getUserLinksFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -962,23 +875,20 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List
-        getUserLinksBuilderList() {
+    public java.util.List 
+         getUserLinksBuilderList() {
       return getUserLinksFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AuditUserLink,
-            com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
-            com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>
+        com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> 
         getUserLinksFieldBuilder() {
       if (userLinksBuilder_ == null) {
-        userLinksBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AuditUserLink,
-                com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
-                com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
-                userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
+                userLinks_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         userLinks_ = null;
       }
       return userLinksBuilder_;
@@ -986,21 +896,19 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
 
     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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1009,22 +917,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,37 +939,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1072,31 +972,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) private static final com.google.analytics.admin.v1alpha.AuditUserLinksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(); } @@ -1120,27 +1016,27 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksResponse 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; @@ -1155,4 +1051,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java index 6f0caa45fbb5..81c260253eb3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksResponseOrBuilder - extends +public interface AuditUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -33,10 +15,9 @@ public interface AuditUserLinksResponseOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List getUserLinksList();
+  java.util.List 
+      getUserLinksList();
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -46,8 +27,6 @@ public interface AuditUserLinksResponseOrBuilder
    */
   com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index);
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -57,8 +36,6 @@ public interface AuditUserLinksResponseOrBuilder
    */
   int getUserLinksCount();
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -66,11 +43,9 @@ public interface AuditUserLinksResponseOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List
+  java.util.List 
       getUserLinksOrBuilderList();
   /**
-   *
-   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -78,32 +53,28 @@ public interface AuditUserLinksResponseOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
+      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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java index ff8771b1ffd9..10c0592d3a84 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ -public final class BatchCreateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) BatchCreateUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksRequest.newBuilder() to construct. private BatchCreateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,48 +26,41 @@ private BatchCreateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_BatchCreateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
-   * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,34 +69,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,16 +105,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int NOTIFY_NEW_USERS_FIELD_NUMBER = 2; private boolean notifyNewUsers_ = false; /** - * - * *
-   * 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]; - * * @return The notifyNewUsers. */ @java.lang.Override @@ -150,86 +120,64 @@ public boolean getNotifyNewUsers() { } public static final int REQUESTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List requests_; /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** - * - * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -238,7 +186,6 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +197,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -273,10 +221,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUsers_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUsers_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, notifyNewUsers_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, requests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -286,17 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getNotifyNewUsers() != other.getNotifyNewUsers()) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getNotifyNewUsers() + != other.getNotifyNewUsers()) return false; + if (!getRequestsList() + .equals(other.getRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,7 +263,8 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUsers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNotifyNewUsers()); if (getRequestsCount() > 0) { hash = (37 * hash) + REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getRequestsList().hashCode(); @@ -322,136 +275,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( 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.BatchCreateUserLinksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -469,14 +415,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance(); } @@ -491,18 +436,14 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -514,8 +455,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -529,39 +469,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BatchCreateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -569,9 +508,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -598,10 +535,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000004); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -633,39 +569,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - notifyNewUsers_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - com.google.analytics.admin.v1alpha.CreateUserLinkRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + notifyNewUsers_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + com.google.analytics.admin.v1alpha.CreateUserLinkRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), + extensionRegistry); + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(m); + } else { + requestsBuilder_.addMessage(m); + } + 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) { @@ -675,30 +607,25 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
-     * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -707,26 +634,23 @@ 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
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -734,45 +658,34 @@ 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
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -782,26 +695,20 @@ public Builder clearParent() { return this; } /** - * - * *
-     * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -809,18 +716,15 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private boolean notifyNewUsers_; + private boolean notifyNewUsers_ ; /** - * - * *
-     * 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]; - * * @return The notifyNewUsers. */ @java.lang.Override @@ -828,37 +732,31 @@ public boolean getNotifyNewUsers() { return notifyNewUsers_; } /** - * - * *
-     * 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]; - * * @param value The notifyNewUsers to set. * @return This builder for chaining. */ public Builder setNotifyNewUsers(boolean value) { - + notifyNewUsers_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearNotifyNewUsers() { @@ -869,37 +767,26 @@ public Builder clearNotifyNewUsers() { } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> - requestsBuilder_; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -907,16 +794,12 @@ private void ensureRequestsIsMutable() { } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -926,16 +809,12 @@ public int getRequestsCount() { } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -945,16 +824,12 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -971,20 +846,15 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( - int index, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -995,16 +865,12 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -1020,16 +886,12 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequ return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -1046,16 +908,12 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { @@ -1069,20 +927,15 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( - int index, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -1093,23 +946,19 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -1117,16 +966,12 @@ public Builder addAllRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1139,16 +984,12 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1161,56 +1002,42 @@ public Builder removeRequests(int index) { return this; } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); - } else { + return requests_.get(index); } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> - getRequestsOrBuilderList() { + public java.util.List + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1218,76 +1045,59 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( + requests_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); requests_ = null; } return requestsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1297,43 +1107,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksRequest 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; @@ -1345,8 +1153,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java new file mode 100644 index 000000000000..a4cccb7c3adf --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java @@ -0,0 +1,96 @@ +// 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 BatchCreateUserLinksRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + 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
+   * messages must either be empty or match this field.
+   * Example format: accounts/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + 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.
+   * 
+ * + * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The notifyNewUsers. + */ + boolean getNotifyNewUsers(); + + /** + *
+   * Required. The requests specifying the user links to create.
+   * A maximum of 1000 user links can be created in a batch.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getRequestsList(); + /** + *
+   * Required. The requests specifying the user links to create.
+   * A maximum of 1000 user links can be created in a batch.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index); + /** + *
+   * Required. The requests specifying the user links to create.
+   * A maximum of 1000 user links can be created in a batch.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + int getRequestsCount(); + /** + *
+   * Required. The requests specifying the user links to create.
+   * A maximum of 1000 user links can be created in a batch.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getRequestsOrBuilderList(); + /** + *
+   * Required. The requests specifying the user links to create.
+   * A maximum of 1000 user links can be created in a batch.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( + int index); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java index 9a98bc1d9f83..621c1a53d4aa 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ -public final class BatchCreateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) BatchCreateUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksResponse.newBuilder() to construct. private BatchCreateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_BatchCreateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List userLinks_; /** - * - * *
    * The user links created.
    * 
@@ -85,8 +63,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * The user links created.
    * 
@@ -94,13 +70,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * The user links created.
    * 
@@ -112,8 +86,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * The user links created.
    * 
@@ -125,8 +97,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * The user links created.
    * 
@@ -134,12 +104,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -165,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = - (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +177,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( 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.BatchCreateUserLinksResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance(); } @@ -372,18 +336,14 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = - new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -395,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { int from_bitField0_ = bitField0_; } @@ -404,50 +363,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BatchCreateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { + if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -466,10 +421,9 @@ public Builder mergeFrom( userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -501,26 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), + extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -530,29 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * The user links created.
      * 
@@ -567,8 +512,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * The user links created.
      * 
@@ -583,8 +526,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * The user links created.
      * 
@@ -599,15 +540,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -621,8 +561,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links created.
      * 
@@ -641,8 +579,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -663,15 +599,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -685,8 +620,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links created.
      * 
@@ -705,8 +638,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -725,8 +656,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -737,7 +666,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -745,8 +675,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * The user links created.
      * 
@@ -764,8 +692,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * The user links created.
      * 
@@ -783,44 +709,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -828,8 +749,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * The user links created.
      * 
@@ -837,55 +756,49 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -895,43 +808,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksResponse 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; @@ -943,8 +854,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java index ed0c92aa2e73..68aa45e9f7c0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchCreateUserLinksResponseOrBuilder - extends +public interface BatchCreateUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * The user links created.
    * 
@@ -44,8 +25,6 @@ public interface BatchCreateUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * The user links created.
    * 
@@ -54,24 +33,21 @@ public interface BatchCreateUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java index d0163fd4d49b..410470fc875e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchDeleteUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ -public final class BatchDeleteUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDeleteUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) BatchDeleteUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDeleteUserLinksRequest.newBuilder() to construct. private BatchDeleteUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchDeleteUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,37 +26,33 @@ private BatchDeleteUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDeleteUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_BatchDeleteUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -82,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,15 +69,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -110,18 +84,17 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,86 +103,64 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUESTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List requests_; /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { return requests_.get(index); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -218,7 +169,6 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -250,7 +201,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, requests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -260,16 +212,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestsList() + .equals(other.getRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,136 +246,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( 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.BatchDeleteUserLinksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchDeleteUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +385,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance(); } @@ -461,18 +406,14 @@ public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -484,8 +425,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -496,39 +436,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BatchDeleteUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -536,9 +475,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -562,10 +499,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000002); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -597,33 +533,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), + extensionRegistry); + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(m); + } else { + requestsBuilder_.addMessage(m); + } + 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) { @@ -633,13 +566,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -647,16 +577,14 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -665,8 +593,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -674,17 +600,16 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -692,8 +617,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -701,25 +624,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -727,10 +644,7 @@ public Builder setParent(java.lang.String value) {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -740,8 +654,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -749,17 +661,13 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,37 +676,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> - requestsBuilder_; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -806,16 +703,12 @@ private void ensureRequestsIsMutable() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -825,16 +718,12 @@ public int getRequestsCount() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -844,16 +733,12 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -870,20 +755,15 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( - int index, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -894,16 +774,12 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -919,16 +795,12 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequ return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -945,16 +817,12 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { @@ -968,20 +836,15 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( - int index, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -992,23 +855,19 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -1016,16 +875,12 @@ public Builder addAllRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1038,16 +893,12 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1060,56 +911,42 @@ public Builder removeRequests(int index) { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); - } else { + return requests_.get(index); } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> - getRequestsOrBuilderList() { + public java.util.List + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1117,76 +954,59 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( + requests_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); requests_ = null; } return requestsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1196,43 +1016,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteUserLinksRequest 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; @@ -1244,8 +1062,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java similarity index 52% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java index d6f29cd1aa43..72e2bfa25d6e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchDeleteUserLinksRequestOrBuilder - extends +public interface BatchDeleteUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -33,16 +15,11 @@ public interface BatchDeleteUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -50,78 +27,58 @@ public interface BatchDeleteUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRequestsList(); + java.util.List + getRequestsList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getRequestsCount(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder(int index); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( + int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java index 3d19824de04b..3fb82978d93b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ -public final class BatchGetUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) BatchGetUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetUserLinksRequest.newBuilder() to construct. private BatchGetUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetUserLinksRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,37 +26,33 @@ private BatchGetUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchGetUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_BatchGetUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -82,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,15 +69,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -110,18 +84,17 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,58 +103,43 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int NAMES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList names_; /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_; } /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ @@ -189,27 +147,22 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -256,16 +210,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getNamesList().equals(other.getNamesList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getNamesList() + .equals(other.getNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,136 +244,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( 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.BatchGetUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.analytics.admin.v1alpha.BatchGetUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -430,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override @@ -451,18 +399,14 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result) { if (((bitField0_ & 0x00000002) != 0)) { names_ = names_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -481,39 +425,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetUserLinksR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BatchGetUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -521,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -564,26 +506,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNamesIsMutable(); - names_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNamesIsMutable(); + names_.add(s); + 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) { @@ -593,13 +532,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -607,16 +543,14 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -625,8 +559,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -634,17 +566,16 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -652,8 +583,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -661,25 +590,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -687,10 +610,7 @@ public Builder setParent(java.lang.String value) {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -700,8 +620,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -709,17 +627,13 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -727,64 +641,48 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList names_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_.getUnmodifiableView(); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ @@ -792,110 +690,86 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNames( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNames( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames(java.lang.Iterable values) { + public Builder addAllNames( + java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, names_); onChanged(); return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearNames() { @@ -905,34 +779,28 @@ public Builder clearNames() { return this; } /** - * - * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,12 +810,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(); } @@ -956,27 +824,27 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksRequest 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; @@ -991,4 +859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java similarity index 54% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java index 7d5b1fc7556d..592588536878 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksRequestOrBuilder - extends +public interface BatchGetUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -33,16 +15,11 @@ public interface BatchGetUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -50,78 +27,58 @@ public interface BatchGetUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - java.util.List getNamesList(); + java.util.List + getNamesList(); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ int getNamesCount(); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** - * - * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString getNamesBytes(int index); + com.google.protobuf.ByteString + getNamesBytes(int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java index f71b8afc28e9..99973ebe1bdc 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ -public final class BatchGetUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) BatchGetUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetUserLinksResponse.newBuilder() to construct. private BatchGetUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchGetUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_BatchGetUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List userLinks_; /** - * - * *
    * The requested user links.
    * 
@@ -85,8 +63,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * The requested user links.
    * 
@@ -94,13 +70,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * The requested user links.
    * 
@@ -112,8 +86,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * The requested user links.
    * 
@@ -125,8 +97,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * The requested user links.
    * 
@@ -134,12 +104,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -165,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = - (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +177,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( 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.BatchGetUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.analytics.admin.v1alpha.BatchGetUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance(); } @@ -372,18 +336,14 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = - new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -395,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { int from_bitField0_ = bitField0_; } @@ -404,39 +363,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BatchGetUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -444,9 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -465,10 +421,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRes userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -500,26 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), + extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -529,29 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * The requested user links.
      * 
@@ -566,8 +512,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * The requested user links.
      * 
@@ -582,8 +526,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * The requested user links.
      * 
@@ -598,15 +540,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,8 +561,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The requested user links.
      * 
@@ -640,8 +579,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -662,15 +599,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -684,8 +620,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The requested user links.
      * 
@@ -704,8 +638,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -724,8 +656,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -736,7 +666,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -744,8 +675,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * The requested user links.
      * 
@@ -763,8 +692,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * The requested user links.
      * 
@@ -782,44 +709,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -827,8 +749,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * The requested user links.
      * 
@@ -836,55 +756,49 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -894,13 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(); } @@ -909,27 +822,27 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksResponse 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; @@ -944,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java index fafcc49b1955..c3d140593525 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksResponseOrBuilder - extends +public interface BatchGetUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * The requested user links.
    * 
@@ -44,8 +25,6 @@ public interface BatchGetUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * The requested user links.
    * 
@@ -54,24 +33,21 @@ public interface BatchGetUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java index fb0d175db2bf..64e5008852d4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ -public final class BatchUpdateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) BatchUpdateUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksRequest.newBuilder() to construct. private BatchUpdateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,37 +26,33 @@ private BatchUpdateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_BatchUpdateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -82,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,15 +69,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -110,18 +84,17 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,86 +103,64 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUESTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List requests_; /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -218,7 +169,6 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -250,7 +201,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, requests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -260,16 +212,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestsList().equals(other.getRequestsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestsList() + .equals(other.getRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,136 +246,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( 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.BatchUpdateUserLinksRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +385,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance(); } @@ -461,18 +406,14 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = - new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -484,8 +425,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -496,39 +436,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BatchUpdateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -536,9 +475,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -562,10 +499,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000002); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -597,33 +533,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), + extensionRegistry); + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(m); + } else { + requestsBuilder_.addMessage(m); + } + 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) { @@ -633,13 +566,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -647,16 +577,14 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -665,8 +593,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -674,17 +600,16 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -692,8 +617,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -701,25 +624,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -727,10 +644,7 @@ public Builder setParent(java.lang.String value) {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -740,8 +654,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -749,17 +661,13 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,37 +676,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> - requestsBuilder_; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsList() { + public java.util.List getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -806,16 +703,12 @@ private void ensureRequestsIsMutable() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -825,16 +718,12 @@ public int getRequestsCount() { } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -844,16 +733,12 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -870,20 +755,15 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( - int index, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -894,16 +774,12 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -919,16 +795,12 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequ return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -945,16 +817,12 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { @@ -968,20 +836,15 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRequests( - int index, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -992,23 +855,19 @@ public Builder addRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -1016,16 +875,12 @@ public Builder addAllRequests( return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -1038,16 +893,12 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1060,56 +911,42 @@ public Builder removeRequests(int index) { return this; } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); - } else { + return requests_.get(index); } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> - getRequestsOrBuilderList() { + public java.util.List + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1117,76 +954,59 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** - * - * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( + requests_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); requests_ = null; } return requestsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1196,43 +1016,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksRequest 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; @@ -1244,8 +1062,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java similarity index 52% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java index fbaf9c26037c..f3835ca9e5ef 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksRequestOrBuilder - extends +public interface BatchUpdateUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -33,16 +15,11 @@ public interface BatchUpdateUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -50,78 +27,58 @@ public interface BatchUpdateUserLinksRequestOrBuilder
    * Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRequestsList(); + java.util.List + getRequestsList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getRequestsCount(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** - * - * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( + int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java index faea6126576e..eb8f0e6e5784 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ -public final class BatchUpdateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) BatchUpdateUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksResponse.newBuilder() to construct. private BatchUpdateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_BatchUpdateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List userLinks_; /** - * - * *
    * The user links updated.
    * 
@@ -85,8 +63,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * The user links updated.
    * 
@@ -94,13 +70,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * The user links updated.
    * 
@@ -112,8 +86,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * The user links updated.
    * 
@@ -125,8 +97,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * The user links updated.
    * 
@@ -134,12 +104,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -165,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = - (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,136 +177,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( 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.BatchUpdateUserLinksResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,14 +315,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance(); } @@ -372,18 +336,14 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = - new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -395,8 +355,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { int from_bitField0_ = bitField0_; } @@ -404,50 +363,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BatchUpdateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { + if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -466,10 +421,9 @@ public Builder mergeFrom( userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -501,26 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), + extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -530,29 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * The user links updated.
      * 
@@ -567,8 +512,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * The user links updated.
      * 
@@ -583,8 +526,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * The user links updated.
      * 
@@ -599,15 +540,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -621,8 +561,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links updated.
      * 
@@ -641,8 +579,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -663,15 +599,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -685,8 +620,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * The user links updated.
      * 
@@ -705,8 +638,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -725,8 +656,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -737,7 +666,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -745,8 +675,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * The user links updated.
      * 
@@ -764,8 +692,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * The user links updated.
      * 
@@ -783,44 +709,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -828,8 +749,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * The user links updated.
      * 
@@ -837,55 +756,49 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -895,43 +808,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksResponse 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; @@ -943,8 +854,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java index a00931b1ce72..d9d9c6be6ca4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksResponseOrBuilder - extends +public interface BatchUpdateUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * The user links updated.
    * 
@@ -44,8 +25,6 @@ public interface BatchUpdateUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * The user links updated.
    * 
@@ -54,24 +33,21 @@ public interface BatchUpdateUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java new file mode 100644 index 000000000000..c43f0fb47a3b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java @@ -0,0 +1,1784 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java new file mode 100644 index 000000000000..b5df7be0a2db --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java @@ -0,0 +1,215 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..bb4074c9b4ba --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,587 @@ +// 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 CancelDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CancelDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CancelDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CancelDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest 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 CancelDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest build() { + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest other) { + if (other == com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..ce3f4889e237 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/ChangeHistoryChange.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java index 344a26909e2f..4c210c6a8d68 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A description of a change to a single Google Analytics resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange} */ -public final class ChangeHistoryChange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeHistoryChange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange) ChangeHistoryChangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeHistoryChange.newBuilder() to construct. private ChangeHistoryChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeHistoryChange() { resource_ = ""; action_ = 0; @@ -44,62 +26,52 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ChangeHistoryChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); } - public interface ChangeHistoryResourceOrBuilder - extends + public interface ChangeHistoryResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return Whether the account field is set. */ boolean hasAccount(); /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
@@ -109,32 +81,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return The property. */ com.google.analytics.admin.v1alpha.Property getProperty(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
@@ -144,32 +108,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return Whether the firebaseLink field is set. */ boolean hasFirebaseLink(); /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -179,32 +135,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -214,163 +162,111 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return Whether the googleSignalsSettings field is set. */ boolean hasGoogleSignalsSettings(); /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return The googleSignalsSettings. */ com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(); /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return Whether the displayVideo360AdvertiserLink field is set. */ boolean hasDisplayVideo360AdvertiserLink(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return The displayVideo360AdvertiserLink. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ boolean hasDisplayVideo360AdvertiserLinkProposal(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return The displayVideo360AdvertiserLinkProposal. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(); /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ boolean hasConversionEvent(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -380,74 +276,51 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return The customDimension. */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
@@ -457,32 +330,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return The customMetric. */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
@@ -492,71 +357,78 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder(); + 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(); + + /** *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 18; - * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 18; - * * @return The dataStream. */ com.google.analytics.admin.v1alpha.DataStream getDataStream(); /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -566,47 +438,89 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); /** - * - * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * * @return Whether the attributionSettings field is set. */ boolean hasAttributionSettings(); /** - * - * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * * @return The attributionSettings. */ com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings(); /** - * - * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder - getAttributionSettingsOrBuilder(); + 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(); + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); } /** - * - * *
    * A snapshot of a resource as before or after the result of a change in
    * change history.
@@ -614,51 +528,47 @@ public interface ChangeHistoryResourceOrBuilder
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource}
    */
-  public static final class ChangeHistoryResource extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ChangeHistoryResource extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)
       ChangeHistoryResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ChangeHistoryResource.newBuilder() to construct.
     private ChangeHistoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private ChangeHistoryResource() {}
+    private ChangeHistoryResource() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ChangeHistoryResource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    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_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class,
-              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder
-                  .class);
+              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
     }
 
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
-
     public enum ResourceCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ACCOUNT(1),
       PROPERTY(2),
@@ -672,11 +582,13 @@ 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;
-
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -692,60 +604,45 @@ public static ResourceCase valueOf(int value) {
 
       public static ResourceCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return ACCOUNT;
-          case 2:
-            return PROPERTY;
-          case 6:
-            return FIREBASE_LINK;
-          case 7:
-            return GOOGLE_ADS_LINK;
-          case 8:
-            return GOOGLE_SIGNALS_SETTINGS;
-          case 9:
-            return DISPLAY_VIDEO_360_ADVERTISER_LINK;
-          case 10:
-            return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL;
-          case 11:
-            return CONVERSION_EVENT;
-          case 12:
-            return MEASUREMENT_PROTOCOL_SECRET;
-          case 13:
-            return CUSTOM_DIMENSION;
-          case 14:
-            return CUSTOM_METRIC;
-          case 15:
-            return DATA_RETENTION_SETTINGS;
-          case 18:
-            return DATA_STREAM;
-          case 20:
-            return ATTRIBUTION_SETTINGS;
-          case 0:
-            return RESOURCE_NOT_SET;
-          default:
-            return null;
+          case 1: return ACCOUNT;
+          case 2: return PROPERTY;
+          case 6: return FIREBASE_LINK;
+          case 7: return GOOGLE_ADS_LINK;
+          case 8: return GOOGLE_SIGNALS_SETTINGS;
+          case 9: return DISPLAY_VIDEO_360_ADVERTISER_LINK;
+          case 10: return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL;
+          case 11: return CONVERSION_EVENT;
+          case 12: return MEASUREMENT_PROTOCOL_SECRET;
+          case 13: return CUSTOM_DIMENSION;
+          case 14: 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: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ResourceCase getResourceCase() {
-      return ResourceCase.forNumber(resourceCase_);
+    public ResourceCase
+    getResourceCase() {
+      return ResourceCase.forNumber(
+          resourceCase_);
     }
 
     public static final int ACCOUNT_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return Whether the account field is set. */ @java.lang.Override @@ -753,26 +650,21 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1alpha.Account) resource_; + return (com.google.analytics.admin.v1alpha.Account) resource_; } return com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
@@ -782,21 +674,18 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1alpha.Account) resource_; + return (com.google.analytics.admin.v1alpha.Account) resource_; } return com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } public static final int PROPERTY_FIELD_NUMBER = 2; /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return Whether the property field is set. */ @java.lang.Override @@ -804,26 +693,21 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getProperty() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1alpha.Property) resource_; + return (com.google.analytics.admin.v1alpha.Property) resource_; } return com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
@@ -833,21 +717,18 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1alpha.Property) resource_; + return (com.google.analytics.admin.v1alpha.Property) resource_; } return com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } public static final int FIREBASE_LINK_FIELD_NUMBER = 6; /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -855,26 +736,21 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; + return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; } return com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -884,21 +760,18 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; + return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; } return com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 7; /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -906,26 +779,21 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -935,22 +803,18 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } public static final int GOOGLE_SIGNALS_SETTINGS_FIELD_NUMBER = 8; /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return Whether the googleSignalsSettings field is set. */ @java.lang.Override @@ -958,56 +822,43 @@ public boolean hasGoogleSignalsSettings() { return resourceCase_ == 8; } /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return The googleSignalsSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings() { if (resourceCase_ == 8) { - return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; + return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; } return com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); } /** - * - * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { if (resourceCase_ == 8) { - return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; + return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; } return com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 9; /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -1015,61 +866,45 @@ public boolean hasDisplayVideo360AdvertiserLink() { return resourceCase_ == 9; } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { if (resourceCase_ == 9) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { if (resourceCase_ == 9) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER = 10; /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ @java.lang.Override @@ -1077,60 +912,44 @@ public boolean hasDisplayVideo360AdvertiserLinkProposal() { return resourceCase_ == 10; } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return The displayVideo360AdvertiserLinkProposal. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } /** - * - * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 11; /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -1138,26 +957,21 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; + return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; } return com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -1165,26 +979,20 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; + return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; } return com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 12; /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -1192,56 +1000,42 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 13; /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -1249,26 +1043,21 @@ public boolean hasCustomDimension() { return resourceCase_ == 13; } /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { if (resourceCase_ == 13) { - return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; + return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; } return com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } /** - * - * *
      * A snapshot of a CustomDimension resource in change history.
      * 
@@ -1276,24 +1065,20 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if (resourceCase_ == 13) { - return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; + return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; } return com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } public static final int CUSTOM_METRIC_FIELD_NUMBER = 14; /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -1301,26 +1086,21 @@ public boolean hasCustomMetric() { return resourceCase_ == 14; } /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { if (resourceCase_ == 14) { - return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; + return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; } return com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } /** - * - * *
      * A snapshot of a CustomMetric resource in change history.
      * 
@@ -1330,22 +1110,18 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { if (resourceCase_ == 14) { - return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; + return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; } return com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 15; /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -1353,53 +1129,85 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; } return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); } /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; } return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); } - public static final int DATA_STREAM_FIELD_NUMBER = 18; + 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; + /** *
      * 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 @@ -1407,26 +1215,21 @@ 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 (resourceCase_ == 18) { - return (com.google.analytics.admin.v1alpha.DataStream) resource_; + return (com.google.analytics.admin.v1alpha.DataStream) resource_; } return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); } /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -1436,21 +1239,18 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { if (resourceCase_ == 18) { - return (com.google.analytics.admin.v1alpha.DataStream) resource_; + return (com.google.analytics.admin.v1alpha.DataStream) resource_; } return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); } public static final int ATTRIBUTION_SETTINGS_FIELD_NUMBER = 20; /** - * - * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * * @return Whether the attributionSettings field is set. */ @java.lang.Override @@ -1458,26 +1258,21 @@ public boolean hasAttributionSettings() { return resourceCase_ == 20; } /** - * - * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * * @return The attributionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings() { if (resourceCase_ == 20) { - return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; + return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; } return com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); } /** - * - * *
      * A snapshot of AttributionSettings resource in change history.
      * 
@@ -1485,16 +1280,100 @@ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSett * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder - getAttributionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { if (resourceCase_ == 20) { - return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; + return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; } return com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + 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 public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1506,7 +1385,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resourceCase_ == 1) { output.writeMessage(1, (com.google.analytics.admin.v1alpha.Account) resource_); } @@ -1520,24 +1400,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(7, (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_); } if (resourceCase_ == 8) { - output.writeMessage( - 8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); + output.writeMessage(8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); } if (resourceCase_ == 9) { - output.writeMessage( - 9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); + output.writeMessage(9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); } if (resourceCase_ == 10) { - output.writeMessage( - 10, - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); + output.writeMessage(10, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); } if (resourceCase_ == 11) { output.writeMessage(11, (com.google.analytics.admin.v1alpha.ConversionEvent) resource_); } if (resourceCase_ == 12) { - output.writeMessage( - 12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); + output.writeMessage(12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 13) { output.writeMessage(13, (com.google.analytics.admin.v1alpha.CustomDimension) resource_); @@ -1546,8 +1421,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(14, (com.google.analytics.admin.v1alpha.CustomMetric) resource_); } if (resourceCase_ == 15) { - output.writeMessage( - 15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); + 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_); @@ -1555,6 +1432,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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); } @@ -1565,76 +1448,72 @@ public int getSerializedSize() { size = 0; if (resourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.analytics.admin.v1alpha.Account) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.analytics.admin.v1alpha.Account) resource_); } if (resourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.admin.v1alpha.Property) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.analytics.admin.v1alpha.Property) resource_); } if (resourceCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.analytics.admin.v1alpha.FirebaseLink) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.analytics.admin.v1alpha.FirebaseLink) resource_); } if (resourceCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_); } if (resourceCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); } if (resourceCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); } if (resourceCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); } if (resourceCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.analytics.admin.v1alpha.ConversionEvent) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.analytics.admin.v1alpha.ConversionEvent) resource_); } if (resourceCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.analytics.admin.v1alpha.CustomDimension) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.analytics.admin.v1alpha.CustomDimension) resource_); } if (resourceCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, (com.google.analytics.admin.v1alpha.CustomMetric) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.analytics.admin.v1alpha.CustomMetric) resource_); } if (resourceCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); + size += 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( - 18, (com.google.analytics.admin.v1alpha.DataStream) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.google.analytics.admin.v1alpha.DataStream) resource_); } if (resourceCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, (com.google.analytics.admin.v1alpha.AttributionSettings) resource_); + size += 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; @@ -1644,62 +1523,82 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other = - (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) obj; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other = (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) obj; if (!getResourceCase().equals(other.getResourceCase())) return false; switch (resourceCase_) { case 1: - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; break; case 2: - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; break; case 6: - if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink() + .equals(other.getFirebaseLink())) return false; break; case 7: - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; break; case 8: - if (!getGoogleSignalsSettings().equals(other.getGoogleSignalsSettings())) return false; + if (!getGoogleSignalsSettings() + .equals(other.getGoogleSignalsSettings())) return false; break; case 9: - if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) - return false; + if (!getDisplayVideo360AdvertiserLink() + .equals(other.getDisplayVideo360AdvertiserLink())) return false; break; case 10: if (!getDisplayVideo360AdvertiserLinkProposal() .equals(other.getDisplayVideo360AdvertiserLinkProposal())) return false; break; case 11: - if (!getConversionEvent().equals(other.getConversionEvent())) return false; + if (!getConversionEvent() + .equals(other.getConversionEvent())) return false; break; case 12: - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; break; case 13: - if (!getCustomDimension().equals(other.getCustomDimension())) return false; + if (!getCustomDimension() + .equals(other.getCustomDimension())) return false; break; case 14: - if (!getCustomMetric().equals(other.getCustomMetric())) return false; + if (!getCustomMetric() + .equals(other.getCustomMetric())) return false; break; case 15: - if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; + 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; + if (!getDataStream() + .equals(other.getDataStream())) return false; break; case 20: - if (!getAttributionSettings().equals(other.getAttributionSettings())) return false; + 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 +1663,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 +1675,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: } @@ -1780,101 +1691,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + 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.ChangeHistoryChange.ChangeHistoryResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - 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.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - 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.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource - 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.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1884,45 +1782,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A snapshot of a resource as before or after the result of a change in
      * change history.
      * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource} + * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - .class); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1963,34 +1856,40 @@ 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; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource build() { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = - buildPartial(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1998,200 +1897,207 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResou } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - buildPartial() { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = - new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource buildPartial() { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { + private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { result.resourceCase_ = resourceCase_; result.resource_ = this.resource_; - if (resourceCase_ == 1 && accountBuilder_ != null) { + if (resourceCase_ == 1 && + accountBuilder_ != null) { result.resource_ = accountBuilder_.build(); } - if (resourceCase_ == 2 && propertyBuilder_ != null) { + if (resourceCase_ == 2 && + propertyBuilder_ != null) { result.resource_ = propertyBuilder_.build(); } - if (resourceCase_ == 6 && firebaseLinkBuilder_ != null) { + if (resourceCase_ == 6 && + firebaseLinkBuilder_ != null) { result.resource_ = firebaseLinkBuilder_.build(); } - if (resourceCase_ == 7 && googleAdsLinkBuilder_ != null) { + if (resourceCase_ == 7 && + googleAdsLinkBuilder_ != null) { result.resource_ = googleAdsLinkBuilder_.build(); } - if (resourceCase_ == 8 && googleSignalsSettingsBuilder_ != null) { + if (resourceCase_ == 8 && + googleSignalsSettingsBuilder_ != null) { result.resource_ = googleSignalsSettingsBuilder_.build(); } - if (resourceCase_ == 9 && displayVideo360AdvertiserLinkBuilder_ != null) { + if (resourceCase_ == 9 && + displayVideo360AdvertiserLinkBuilder_ != null) { result.resource_ = displayVideo360AdvertiserLinkBuilder_.build(); } - if (resourceCase_ == 10 && displayVideo360AdvertiserLinkProposalBuilder_ != null) { + if (resourceCase_ == 10 && + displayVideo360AdvertiserLinkProposalBuilder_ != null) { result.resource_ = displayVideo360AdvertiserLinkProposalBuilder_.build(); } - if (resourceCase_ == 11 && conversionEventBuilder_ != null) { + if (resourceCase_ == 11 && + conversionEventBuilder_ != null) { result.resource_ = conversionEventBuilder_.build(); } - if (resourceCase_ == 12 && measurementProtocolSecretBuilder_ != null) { + if (resourceCase_ == 12 && + measurementProtocolSecretBuilder_ != null) { result.resource_ = measurementProtocolSecretBuilder_.build(); } - if (resourceCase_ == 13 && customDimensionBuilder_ != null) { + if (resourceCase_ == 13 && + customDimensionBuilder_ != null) { result.resource_ = customDimensionBuilder_.build(); } - if (resourceCase_ == 14 && customMetricBuilder_ != null) { + if (resourceCase_ == 14 && + customMetricBuilder_ != null) { result.resource_ = customMetricBuilder_.build(); } - if (resourceCase_ == 15 && dataRetentionSettingsBuilder_ != null) { + if (resourceCase_ == 15 && + dataRetentionSettingsBuilder_ != null) { result.resource_ = dataRetentionSettingsBuilder_.build(); } - if (resourceCase_ == 18 && dataStreamBuilder_ != null) { + if (resourceCase_ == 16 && + searchAds360LinkBuilder_ != null) { + result.resource_ = searchAds360LinkBuilder_.build(); + } + if (resourceCase_ == 18 && + dataStreamBuilder_ != null) { result.resource_ = dataStreamBuilder_.build(); } - if (resourceCase_ == 20 && attributionSettingsBuilder_ != null) { + 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 public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) other); + if (other instanceof com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) { + return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other) { - if (other - == com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other) { + if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) return this; switch (other.getResourceCase()) { - case ACCOUNT: - { - mergeAccount(other.getAccount()); - break; - } - case PROPERTY: - { - mergeProperty(other.getProperty()); - break; - } - case FIREBASE_LINK: - { - mergeFirebaseLink(other.getFirebaseLink()); - break; - } - case GOOGLE_ADS_LINK: - { - mergeGoogleAdsLink(other.getGoogleAdsLink()); - break; - } - case GOOGLE_SIGNALS_SETTINGS: - { - mergeGoogleSignalsSettings(other.getGoogleSignalsSettings()); - break; - } - case DISPLAY_VIDEO_360_ADVERTISER_LINK: - { - mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); - break; - } - case DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL: - { - mergeDisplayVideo360AdvertiserLinkProposal( - other.getDisplayVideo360AdvertiserLinkProposal()); - break; - } - case CONVERSION_EVENT: - { - mergeConversionEvent(other.getConversionEvent()); - break; - } - case MEASUREMENT_PROTOCOL_SECRET: - { - mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); - break; - } - case CUSTOM_DIMENSION: - { - mergeCustomDimension(other.getCustomDimension()); - break; - } - case CUSTOM_METRIC: - { - mergeCustomMetric(other.getCustomMetric()); - break; - } - case DATA_RETENTION_SETTINGS: - { - mergeDataRetentionSettings(other.getDataRetentionSettings()); - break; - } - case DATA_STREAM: - { - mergeDataStream(other.getDataStream()); - break; - } - case ATTRIBUTION_SETTINGS: - { - mergeAttributionSettings(other.getAttributionSettings()); - break; - } - case RESOURCE_NOT_SET: - { - break; - } + case ACCOUNT: { + mergeAccount(other.getAccount()); + break; + } + case PROPERTY: { + mergeProperty(other.getProperty()); + break; + } + case FIREBASE_LINK: { + mergeFirebaseLink(other.getFirebaseLink()); + break; + } + case GOOGLE_ADS_LINK: { + mergeGoogleAdsLink(other.getGoogleAdsLink()); + break; + } + case GOOGLE_SIGNALS_SETTINGS: { + mergeGoogleSignalsSettings(other.getGoogleSignalsSettings()); + break; + } + case DISPLAY_VIDEO_360_ADVERTISER_LINK: { + mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); + break; + } + case DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL: { + mergeDisplayVideo360AdvertiserLinkProposal(other.getDisplayVideo360AdvertiserLinkProposal()); + break; + } + case CONVERSION_EVENT: { + mergeConversionEvent(other.getConversionEvent()); + break; + } + case MEASUREMENT_PROTOCOL_SECRET: { + mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); + break; + } + case CUSTOM_DIMENSION: { + mergeCustomDimension(other.getCustomDimension()); + break; + } + case CUSTOM_METRIC: { + mergeCustomMetric(other.getCustomMetric()); + break; + } + case DATA_RETENTION_SETTINGS: { + mergeDataRetentionSettings(other.getDataRetentionSettings()); + break; + } + case SEARCH_ADS_360_LINK: { + mergeSearchAds360Link(other.getSearchAds360Link()); + break; + } + case DATA_STREAM: { + mergeDataStream(other.getDataStream()); + break; + } + case ATTRIBUTION_SETTINGS: { + mergeAttributionSettings(other.getAttributionSettings()); + break; + } + case EXPANDED_DATA_SET: { + mergeExpandedDataSet(other.getExpandedDataSet()); + break; + } + case BIGQUERY_LINK: { + mergeBigqueryLink(other.getBigqueryLink()); + break; + } + case RESOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2219,107 +2125,131 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 2; - break; - } // case 18 - case 50: - { - input.readMessage(getFirebaseLinkFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage(getGoogleAdsLinkFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 7; - break; - } // case 58 - case 66: - { - input.readMessage( - getGoogleSignalsSettingsFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 8; - break; - } // case 66 - case 74: - { - input.readMessage( - getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 9; - break; - } // case 74 - case 82: - { - input.readMessage( - getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 10; - break; - } // case 82 - case 90: - { - input.readMessage( - getConversionEventFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 11; - break; - } // case 90 - case 98: - { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 12; - break; - } // case 98 - case 106: - { - input.readMessage( - getCustomDimensionFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 13; - break; - } // case 106 - case 114: - { - input.readMessage(getCustomMetricFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 14; - break; - } // case 114 - case 122: - { - input.readMessage( - getDataRetentionSettingsFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 15; - break; - } // case 122 - case 146: - { - input.readMessage(getDataStreamFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 18; - break; - } // case 146 - case 162: - { - input.readMessage( - getAttributionSettingsFieldBuilder().getBuilder(), extensionRegistry); - resourceCase_ = 20; - break; - } // case 162 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAccountFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getPropertyFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 2; + break; + } // case 18 + case 50: { + input.readMessage( + getFirebaseLinkFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getGoogleAdsLinkFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getGoogleSignalsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 8; + break; + } // case 66 + case 74: { + input.readMessage( + getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 9; + break; + } // case 74 + case 82: { + input.readMessage( + getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 10; + break; + } // case 82 + case 90: { + input.readMessage( + getConversionEventFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 11; + break; + } // case 90 + case 98: { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 12; + break; + } // case 98 + case 106: { + input.readMessage( + getCustomDimensionFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 13; + break; + } // case 106 + case 114: { + input.readMessage( + getCustomMetricFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 14; + break; + } // case 114 + case 122: { + input.readMessage( + getDataRetentionSettingsFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 15; + break; + } // case 122 + case 130: { + input.readMessage( + getSearchAds360LinkFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 16; + break; + } // case 130 + case 146: { + input.readMessage( + getDataStreamFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 18; + break; + } // case 146 + case 162: { + input.readMessage( + getAttributionSettingsFieldBuilder().getBuilder(), + extensionRegistry); + 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)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2329,12 +2259,12 @@ public Builder mergeFrom( } // finally return this; } - private int resourceCase_ = 0; private java.lang.Object resource_; - - public ResourceCase getResourceCase() { - return ResourceCase.forNumber(resourceCase_); + public ResourceCase + getResourceCase() { + return ResourceCase.forNumber( + resourceCase_); } public Builder clearResource() { @@ -2347,19 +2277,13 @@ public Builder clearResource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> - accountBuilder_; + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountBuilder_; /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return Whether the account field is set. */ @java.lang.Override @@ -2367,14 +2291,11 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ @java.lang.Override @@ -2392,8 +2313,6 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { } } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2414,8 +2333,6 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2434,8 +2351,6 @@ public Builder setAccount( return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2444,13 +2359,10 @@ public Builder setAccount( */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { - if (resourceCase_ == 1 - && resource_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.Account.newBuilder( - (com.google.analytics.admin.v1alpha.Account) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 1 && + resource_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.Account.newBuilder((com.google.analytics.admin.v1alpha.Account) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2466,8 +2378,6 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2491,8 +2401,6 @@ public Builder clearAccount() { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2503,8 +2411,6 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2523,8 +2429,6 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() } } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2532,19 +2436,14 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1alpha.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { if (!(resourceCase_ == 1)) { resource_ = com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } - accountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder>( + accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( (com.google.analytics.admin.v1alpha.Account) resource_, getParentForChildren(), isClean()); @@ -2556,19 +2455,13 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> - propertyBuilder_; + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertyBuilder_; /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return Whether the property field is set. */ @java.lang.Override @@ -2576,14 +2469,11 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Property property = 2; - * * @return The property. */ @java.lang.Override @@ -2601,8 +2491,6 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { } } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2623,8 +2511,6 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2643,8 +2529,6 @@ public Builder setProperty( return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2653,13 +2537,10 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { - if (resourceCase_ == 2 - && resource_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.Property.newBuilder( - (com.google.analytics.admin.v1alpha.Property) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 2 && + resource_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.Property.newBuilder((com.google.analytics.admin.v1alpha.Property) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2675,8 +2556,6 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2700,8 +2579,6 @@ public Builder clearProperty() { return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2712,8 +2589,6 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2732,8 +2607,6 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2741,19 +2614,14 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder * .google.analytics.admin.v1alpha.Property property = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { if (!(resourceCase_ == 2)) { resource_ = com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( (com.google.analytics.admin.v1alpha.Property) resource_, getParentForChildren(), isClean()); @@ -2765,19 +2633,13 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> - firebaseLinkBuilder_; + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> firebaseLinkBuilder_; /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -2785,14 +2647,11 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ @java.lang.Override @@ -2810,8 +2669,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { } } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2832,8 +2689,6 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2852,8 +2707,6 @@ public Builder setFirebaseLink( return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2862,14 +2715,10 @@ public Builder setFirebaseLink( */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (resourceCase_ == 6 - && resource_ - != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder( - (com.google.analytics.admin.v1alpha.FirebaseLink) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 6 && + resource_ != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder((com.google.analytics.admin.v1alpha.FirebaseLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2885,8 +2734,6 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2910,8 +2757,6 @@ public Builder clearFirebaseLink() { return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2922,8 +2767,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBu return getFirebaseLinkFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2942,8 +2785,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2951,19 +2792,14 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { if (!(resourceCase_ == 6)) { resource_ = com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } - firebaseLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( + firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( (com.google.analytics.admin.v1alpha.FirebaseLink) resource_, getParentForChildren(), isClean()); @@ -2975,19 +2811,13 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> - googleAdsLinkBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -2995,14 +2825,11 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ @java.lang.Override @@ -3020,8 +2847,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { } } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3042,8 +2867,6 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3062,8 +2885,6 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3072,14 +2893,10 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (resourceCase_ == 7 - && resource_ - != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder( - (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 7 && + resource_ != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3095,8 +2912,6 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3120,8 +2935,6 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3132,8 +2945,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3152,8 +2963,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3161,19 +2970,14 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { if (!(resourceCase_ == 7)) { resource_ = com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } - googleAdsLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_, getParentForChildren(), isClean()); @@ -3185,20 +2989,13 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> - googleSignalsSettingsBuilder_; + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> googleSignalsSettingsBuilder_; /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return Whether the googleSignalsSettings field is set. */ @java.lang.Override @@ -3206,15 +3003,11 @@ public boolean hasGoogleSignalsSettings() { return resourceCase_ == 8; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; * @return The googleSignalsSettings. */ @java.lang.Override @@ -3232,17 +3025,13 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignals } } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - public Builder setGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder setGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3256,14 +3045,11 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ public Builder setGoogleSignalsSettings( com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder builderForValue) { @@ -3277,27 +3063,18 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - public Builder mergeGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { - if (resourceCase_ == 8 - && resource_ - != com.google.analytics.admin.v1alpha.GoogleSignalsSettings - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder( - (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 8 && + resource_ != com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3313,14 +3090,11 @@ public Builder mergeGoogleSignalsSettings( return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ public Builder clearGoogleSignalsSettings() { if (googleSignalsSettingsBuilder_ == null) { @@ -3339,32 +3113,24 @@ public Builder clearGoogleSignalsSettings() { return this; } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder - getGoogleSignalsSettingsBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder getGoogleSignalsSettingsBuilder() { return getGoogleSignalsSettingsFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { if ((resourceCase_ == 8) && (googleSignalsSettingsBuilder_ != null)) { return googleSignalsSettingsBuilder_.getMessageOrBuilder(); } else { @@ -3375,30 +3141,21 @@ public Builder clearGoogleSignalsSettings() { } } /** - * - * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> getGoogleSignalsSettingsFieldBuilder() { if (googleSignalsSettingsBuilder_ == null) { if (!(resourceCase_ == 8)) { - resource_ = - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); - } - googleSignalsSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); + } + googleSignalsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_, getParentForChildren(), isClean()); @@ -3410,22 +3167,14 @@ public Builder clearGoogleSignalsSettings() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - displayVideo360AdvertiserLinkBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -3433,50 +3182,37 @@ public boolean hasDisplayVideo360AdvertiserLink() { return resourceCase_ == 9; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (resourceCase_ == 9) { return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } else { if (resourceCase_ == 9) { return displayVideo360AdvertiserLinkBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ - public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3490,20 +3226,15 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinkBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -3514,30 +3245,19 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ - public Builder mergeDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (resourceCase_ == 9 - && resource_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) - resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 9 && + resource_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3553,16 +3273,12 @@ public Builder mergeDisplayVideo360AdvertiserLink( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ public Builder clearDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { @@ -3581,74 +3297,52 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinkBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { if ((resourceCase_ == 9) && (displayVideo360AdvertiserLinkBuilder_ != null)) { return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); } else { if (resourceCase_ == 9) { return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinkFieldBuilder() { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (!(resourceCase_ == 9)) { - resource_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance(); - } - displayVideo360AdvertiserLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); + } + displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_, getParentForChildren(), isClean()); @@ -3660,22 +3354,14 @@ public Builder clearDisplayVideo360AdvertiserLink() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - displayVideo360AdvertiserLinkProposalBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> displayVideo360AdvertiserLinkProposalBuilder_; /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ @java.lang.Override @@ -3683,51 +3369,37 @@ public boolean hasDisplayVideo360AdvertiserLinkProposal() { return resourceCase_ == 10; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; * @return The displayVideo360AdvertiserLinkProposal. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposal() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } else { if (resourceCase_ == 10) { return displayVideo360AdvertiserLinkProposalBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ - public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder setDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3741,20 +3413,15 @@ public Builder setDisplayVideo360AdvertiserLinkProposal( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -3765,30 +3432,19 @@ public Builder setDisplayVideo360AdvertiserLinkProposal( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ - public Builder mergeDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder mergeDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - if (resourceCase_ == 10 - && resource_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder( - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 10 && + resource_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3804,16 +3460,12 @@ public Builder mergeDisplayVideo360AdvertiserLinkProposal( return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ public Builder clearDisplayVideo360AdvertiserLinkProposal() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { @@ -3832,78 +3484,53 @@ public Builder clearDisplayVideo360AdvertiserLinkProposal() { return this; } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - getDisplayVideo360AdvertiserLinkProposalBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder getDisplayVideo360AdvertiserLinkProposalBuilder() { return getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { if ((resourceCase_ == 10) && (displayVideo360AdvertiserLinkProposalBuilder_ != null)) { return displayVideo360AdvertiserLinkProposalBuilder_.getMessageOrBuilder(); } else { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); } } /** - * - * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> getDisplayVideo360AdvertiserLinkProposalFieldBuilder() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (!(resourceCase_ == 10)) { - resource_ = - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance(); - } - displayVideo360AdvertiserLinkProposalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha - .DisplayVideo360AdvertiserLinkProposalOrBuilder>( - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - resource_, + resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); + } + displayVideo360AdvertiserLinkProposalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_, getParentForChildren(), isClean()); resource_ = null; @@ -3914,19 +3541,13 @@ public Builder clearDisplayVideo360AdvertiserLinkProposal() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> - conversionEventBuilder_; + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> conversionEventBuilder_; /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -3934,14 +3555,11 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ @java.lang.Override @@ -3959,8 +3577,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { } } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -3981,8 +3597,6 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4001,25 +3615,18 @@ public Builder setConversionEvent( return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ - public Builder mergeConversionEvent( - com.google.analytics.admin.v1alpha.ConversionEvent value) { + public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (resourceCase_ == 11 - && resource_ - != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder( - (com.google.analytics.admin.v1alpha.ConversionEvent) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 11 && + resource_ != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder((com.google.analytics.admin.v1alpha.ConversionEvent) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4035,8 +3642,6 @@ public Builder mergeConversionEvent( return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4060,21 +3665,16 @@ public Builder clearConversionEvent() { return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ - public com.google.analytics.admin.v1alpha.ConversionEvent.Builder - getConversionEventBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionEventBuilder() { return getConversionEventFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4082,8 +3682,7 @@ public Builder clearConversionEvent() { * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { if ((resourceCase_ == 11) && (conversionEventBuilder_ != null)) { return conversionEventBuilder_.getMessageOrBuilder(); } else { @@ -4094,8 +3693,6 @@ public Builder clearConversionEvent() { } } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4103,19 +3700,14 @@ public Builder clearConversionEvent() { * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { if (!(resourceCase_ == 11)) { resource_ = com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } - conversionEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( (com.google.analytics.admin.v1alpha.ConversionEvent) resource_, getParentForChildren(), isClean()); @@ -4127,21 +3719,13 @@ public Builder clearConversionEvent() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -4149,21 +3733,15 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { if (resourceCase_ == 12) { return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; @@ -4177,18 +3755,13 @@ public boolean hasMeasurementProtocolSecret() { } } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public Builder setMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4202,15 +3775,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -4224,28 +3793,18 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (resourceCase_ == 12 - && resource_ - != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder( - (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 12 && + resource_ != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4261,15 +3820,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ public Builder clearMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { @@ -4288,34 +3843,24 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if ((resourceCase_ == 12) && (measurementProtocolSecretBuilder_ != null)) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { @@ -4326,31 +3871,21 @@ public Builder clearMeasurementProtocolSecret() { } } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { if (!(resourceCase_ == 12)) { - resource_ = - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); - } - measurementProtocolSecretBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); + } + measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_, getParentForChildren(), isClean()); @@ -4362,19 +3897,13 @@ public Builder clearMeasurementProtocolSecret() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> - customDimensionBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionBuilder_; /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -4382,14 +3911,11 @@ public boolean hasCustomDimension() { return resourceCase_ == 13; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * * @return The customDimension. */ @java.lang.Override @@ -4407,8 +3933,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { } } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4429,8 +3953,6 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4449,25 +3971,18 @@ public Builder setCustomDimension( return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ - public Builder mergeCustomDimension( - com.google.analytics.admin.v1alpha.CustomDimension value) { + public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (resourceCase_ == 13 - && resource_ - != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.CustomDimension.newBuilder( - (com.google.analytics.admin.v1alpha.CustomDimension) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 13 && + resource_ != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.CustomDimension.newBuilder((com.google.analytics.admin.v1alpha.CustomDimension) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4483,8 +3998,6 @@ public Builder mergeCustomDimension( return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4508,21 +4021,16 @@ public Builder clearCustomDimension() { return this; } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ - public com.google.analytics.admin.v1alpha.CustomDimension.Builder - getCustomDimensionBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimensionBuilder() { return getCustomDimensionFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4530,8 +4038,7 @@ public Builder clearCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if ((resourceCase_ == 13) && (customDimensionBuilder_ != null)) { return customDimensionBuilder_.getMessageOrBuilder(); } else { @@ -4542,8 +4049,6 @@ public Builder clearCustomDimension() { } } /** - * - * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4551,19 +4056,14 @@ public Builder clearCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { if (!(resourceCase_ == 13)) { resource_ = com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } - customDimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( (com.google.analytics.admin.v1alpha.CustomDimension) resource_, getParentForChildren(), isClean()); @@ -4575,19 +4075,13 @@ public Builder clearCustomDimension() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> - customMetricBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricBuilder_; /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -4595,14 +4089,11 @@ public boolean hasCustomMetric() { return resourceCase_ == 14; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * * @return The customMetric. */ @java.lang.Override @@ -4620,8 +4111,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { } } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4642,8 +4131,6 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4662,8 +4149,6 @@ public Builder setCustomMetric( return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4672,14 +4157,10 @@ public Builder setCustomMetric( */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { - if (resourceCase_ == 14 - && resource_ - != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.CustomMetric.newBuilder( - (com.google.analytics.admin.v1alpha.CustomMetric) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 14 && + resource_ != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.CustomMetric.newBuilder((com.google.analytics.admin.v1alpha.CustomMetric) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4695,8 +4176,6 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4720,8 +4199,6 @@ public Builder clearCustomMetric() { return this; } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4732,8 +4209,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4752,8 +4227,6 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } } /** - * - * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4761,19 +4234,14 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { if (!(resourceCase_ == 14)) { resource_ = com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } - customMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( (com.google.analytics.admin.v1alpha.CustomMetric) resource_, getParentForChildren(), isClean()); @@ -4785,20 +4253,13 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> - dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -4806,15 +4267,11 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ @java.lang.Override @@ -4832,17 +4289,13 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetention } } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - public Builder setDataRetentionSettings( - com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder setDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4856,14 +4309,11 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder builderForValue) { @@ -4877,27 +4327,18 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - public Builder mergeDataRetentionSettings( - com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (resourceCase_ == 15 - && resource_ - != com.google.analytics.admin.v1alpha.DataRetentionSettings - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder( - (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 15 && + resource_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -4913,14 +4354,11 @@ public Builder mergeDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ public Builder clearDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { @@ -4939,32 +4377,24 @@ public Builder clearDataRetentionSettings() { return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder - getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { if ((resourceCase_ == 15) && (dataRetentionSettingsBuilder_ != null)) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { @@ -4975,30 +4405,21 @@ public Builder clearDataRetentionSettings() { } } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { if (!(resourceCase_ == 15)) { - resource_ = - com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); - } - dataRetentionSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( + resource_ = com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); + } + dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_, getParentForChildren(), isClean()); @@ -5010,53 +4431,220 @@ 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; - * - * @return Whether the dataStream field is set. + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + * @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; - * - * @return The dataStream. + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + * @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 SearchAds360Link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds360Link value) { + if (searchAds360LinkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + onChanged(); + } else { + searchAds360LinkBuilder_.setMessage(value); + } + resourceCase_ = 16; + return this; + } + /** + *
+       * A snapshot of a SearchAds360Link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + public Builder setSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { + if (searchAds360LinkBuilder_ == null) { + resource_ = builderForValue.build(); + onChanged(); + } else { + searchAds360LinkBuilder_.setMessage(builderForValue.build()); + } + resourceCase_ = 16; + return this; + } + /** + *
+       * A snapshot of a SearchAds360Link resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; + */ + 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.SearchAds360Link.newBuilder((com.google.analytics.admin.v1alpha.SearchAds360Link) resource_) + .mergeFrom(value).buildPartial(); + } else { + resource_ = value; + } + onChanged(); + } else { + if (resourceCase_ == 16) { + searchAds360LinkBuilder_.mergeFrom(value); + } else { + searchAds360LinkBuilder_.setMessage(value); + } + } + resourceCase_ = 16; + return this; + } + /** + *
+       * 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.
        * 
@@ -5077,8 +4665,6 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5097,8 +4683,6 @@ public Builder setDataStream( return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5107,13 +4691,10 @@ public Builder setDataStream( */ 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(); + 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; } @@ -5129,8 +4710,6 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5154,8 +4733,6 @@ public Builder clearDataStream() { return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5166,8 +4743,6 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5186,8 +4761,6 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui } } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5195,19 +4768,14 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui * .google.analytics.admin.v1alpha.DataStream data_stream = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { if (!(resourceCase_ == 18)) { resource_ = com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); } - dataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.DataStream) resource_, getParentForChildren(), isClean()); @@ -5219,19 +4787,13 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, - com.google.analytics.admin.v1alpha.AttributionSettings.Builder, - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> - attributionSettingsBuilder_; + com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> attributionSettingsBuilder_; /** - * - * *
        * A snapshot of AttributionSettings resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * * @return Whether the attributionSettings field is set. */ @java.lang.Override @@ -5239,14 +4801,11 @@ public boolean hasAttributionSettings() { return resourceCase_ == 20; } /** - * - * *
        * A snapshot of AttributionSettings resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * * @return The attributionSettings. */ @java.lang.Override @@ -5264,174 +4823,502 @@ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSett } } /** - * - * *
-       * A snapshot of AttributionSettings resource in change history.
+       * A snapshot of AttributionSettings resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + */ + public Builder setAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { + if (attributionSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + onChanged(); + } else { + attributionSettingsBuilder_.setMessage(value); + } + resourceCase_ = 20; + return this; + } + /** + *
+       * A snapshot of AttributionSettings resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + */ + public Builder setAttributionSettings( + com.google.analytics.admin.v1alpha.AttributionSettings.Builder builderForValue) { + if (attributionSettingsBuilder_ == null) { + resource_ = builderForValue.build(); + onChanged(); + } else { + attributionSettingsBuilder_.setMessage(builderForValue.build()); + } + resourceCase_ = 20; + return this; + } + /** + *
+       * A snapshot of AttributionSettings resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + */ + public Builder mergeAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { + if (attributionSettingsBuilder_ == null) { + if (resourceCase_ == 20 && + resource_ != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1alpha.AttributionSettings.newBuilder((com.google.analytics.admin.v1alpha.AttributionSettings) resource_) + .mergeFrom(value).buildPartial(); + } else { + resource_ = value; + } + onChanged(); + } else { + if (resourceCase_ == 20) { + attributionSettingsBuilder_.mergeFrom(value); + } else { + attributionSettingsBuilder_.setMessage(value); + } + } + resourceCase_ = 20; + return this; + } + /** + *
+       * A snapshot of AttributionSettings resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + */ + public Builder clearAttributionSettings() { + if (attributionSettingsBuilder_ == null) { + if (resourceCase_ == 20) { + resourceCase_ = 0; + resource_ = null; + onChanged(); + } + } else { + if (resourceCase_ == 20) { + resourceCase_ = 0; + resource_ = null; + } + attributionSettingsBuilder_.clear(); + } + return this; + } + /** + *
+       * A snapshot of AttributionSettings resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + */ + public com.google.analytics.admin.v1alpha.AttributionSettings.Builder getAttributionSettingsBuilder() { + return getAttributionSettingsFieldBuilder().getBuilder(); + } + /** + *
+       * A snapshot of AttributionSettings resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { + if ((resourceCase_ == 20) && (attributionSettingsBuilder_ != null)) { + return attributionSettingsBuilder_.getMessageOrBuilder(); + } else { + if (resourceCase_ == 20) { + return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; + } + return com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); + } + } + /** + *
+       * A snapshot of AttributionSettings resource in change history.
+       * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> + getAttributionSettingsFieldBuilder() { + if (attributionSettingsBuilder_ == null) { + if (!(resourceCase_ == 20)) { + resource_ = com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); + } + attributionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( + (com.google.analytics.admin.v1alpha.AttributionSettings) resource_, + getParentForChildren(), + isClean()); + resource_ = null; + } + resourceCase_ = 20; + onChanged(); + 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.AttributionSettings attribution_settings = 20; + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; */ - public Builder setAttributionSettings( - com.google.analytics.admin.v1alpha.AttributionSettings value) { - if (attributionSettingsBuilder_ == null) { + public Builder setBigqueryLink(com.google.analytics.admin.v1alpha.BigQueryLink value) { + if (bigqueryLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resource_ = value; onChanged(); } else { - attributionSettingsBuilder_.setMessage(value); + bigqueryLinkBuilder_.setMessage(value); } - resourceCase_ = 20; + resourceCase_ = 23; return this; } /** - * - * *
-       * A snapshot of AttributionSettings resource in change history.
+       * A snapshot of a BigQuery link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; */ - public Builder setAttributionSettings( - com.google.analytics.admin.v1alpha.AttributionSettings.Builder builderForValue) { - if (attributionSettingsBuilder_ == null) { + public Builder setBigqueryLink( + com.google.analytics.admin.v1alpha.BigQueryLink.Builder builderForValue) { + if (bigqueryLinkBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); } else { - attributionSettingsBuilder_.setMessage(builderForValue.build()); + bigqueryLinkBuilder_.setMessage(builderForValue.build()); } - resourceCase_ = 20; + resourceCase_ = 23; return this; } /** - * - * *
-       * A snapshot of AttributionSettings resource in change history.
+       * A snapshot of a BigQuery link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; */ - public Builder mergeAttributionSettings( - com.google.analytics.admin.v1alpha.AttributionSettings value) { - if (attributionSettingsBuilder_ == null) { - if (resourceCase_ == 20 - && resource_ - != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1alpha.AttributionSettings.newBuilder( - (com.google.analytics.admin.v1alpha.AttributionSettings) resource_) - .mergeFrom(value) - .buildPartial(); + 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_ == 20) { - attributionSettingsBuilder_.mergeFrom(value); + if (resourceCase_ == 23) { + bigqueryLinkBuilder_.mergeFrom(value); } else { - attributionSettingsBuilder_.setMessage(value); + bigqueryLinkBuilder_.setMessage(value); } } - resourceCase_ = 20; + resourceCase_ = 23; return this; } /** - * - * *
-       * A snapshot of AttributionSettings resource in change history.
+       * A snapshot of a BigQuery link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; */ - public Builder clearAttributionSettings() { - if (attributionSettingsBuilder_ == null) { - if (resourceCase_ == 20) { + public Builder clearBigqueryLink() { + if (bigqueryLinkBuilder_ == null) { + if (resourceCase_ == 23) { resourceCase_ = 0; resource_ = null; onChanged(); } } else { - if (resourceCase_ == 20) { + if (resourceCase_ == 23) { resourceCase_ = 0; resource_ = null; } - attributionSettingsBuilder_.clear(); + bigqueryLinkBuilder_.clear(); } return this; } /** - * - * *
-       * A snapshot of AttributionSettings resource in change history.
+       * A snapshot of a BigQuery link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; */ - public com.google.analytics.admin.v1alpha.AttributionSettings.Builder - getAttributionSettingsBuilder() { - return getAttributionSettingsFieldBuilder().getBuilder(); + public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinkBuilder() { + return getBigqueryLinkFieldBuilder().getBuilder(); } /** - * - * *
-       * A snapshot of AttributionSettings resource in change history.
+       * A snapshot of a BigQuery link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder - getAttributionSettingsOrBuilder() { - if ((resourceCase_ == 20) && (attributionSettingsBuilder_ != null)) { - return attributionSettingsBuilder_.getMessageOrBuilder(); + public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkOrBuilder() { + if ((resourceCase_ == 23) && (bigqueryLinkBuilder_ != null)) { + return bigqueryLinkBuilder_.getMessageOrBuilder(); } else { - if (resourceCase_ == 20) { - return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; + if (resourceCase_ == 23) { + return (com.google.analytics.admin.v1alpha.BigQueryLink) resource_; } - return com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); } } /** - * - * *
-       * A snapshot of AttributionSettings resource in change history.
+       * A snapshot of a BigQuery link resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, - com.google.analytics.admin.v1alpha.AttributionSettings.Builder, - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> - getAttributionSettingsFieldBuilder() { - if (attributionSettingsBuilder_ == null) { - if (!(resourceCase_ == 20)) { - resource_ = com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); - } - attributionSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, - com.google.analytics.admin.v1alpha.AttributionSettings.Builder, - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( - (com.google.analytics.admin.v1alpha.AttributionSettings) resource_, + 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_ = 20; + resourceCase_ = 23; onChanged(); - return attributionSettingsBuilder_; + return bigqueryLinkBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5444,46 +5331,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) - private static final com.google.analytics.admin.v1alpha.ChangeHistoryChange - .ChangeHistoryResource - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryResource 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryResource 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; @@ -5495,25 +5377,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int RESOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The resource. */ @java.lang.Override @@ -5522,29 +5400,29 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -5555,53 +5433,38 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int ACTION_FIELD_NUMBER = 2; private int action_ = 0; /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The action. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.ActionType getAction() { - com.google.analytics.admin.v1alpha.ActionType result = - com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); + @java.lang.Override public com.google.analytics.admin.v1alpha.ActionType getAction() { + com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED : result; } public static final int RESOURCE_BEFORE_CHANGE_FIELD_NUMBER = 3; - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - resourceBeforeChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return Whether the resourceBeforeChange field is set. */ @java.lang.Override @@ -5609,63 +5472,40 @@ public boolean hasResourceBeforeChange() { return resourceBeforeChange_ != null; } /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange() { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { + return resourceBeforeChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder() { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { + return resourceBeforeChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } public static final int RESOURCE_AFTER_CHANGE_FIELD_NUMBER = 4; - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - resourceAfterChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return Whether the resourceAfterChange field is set. */ @java.lang.Override @@ -5673,50 +5513,32 @@ public boolean hasResourceAfterChange() { return resourceAfterChange_ != null; } /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange() { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { + return resourceAfterChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder() { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { + return resourceAfterChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5728,12 +5550,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } - if (action_ - != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + if (action_ != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, action_); } if (resourceBeforeChange_ != null) { @@ -5754,16 +5576,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } - if (action_ - != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, action_); + if (action_ != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, action_); } if (resourceBeforeChange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResourceBeforeChange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResourceBeforeChange()); } if (resourceAfterChange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResourceAfterChange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getResourceAfterChange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5773,23 +5596,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryChange)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChangeHistoryChange other = - (com.google.analytics.admin.v1alpha.ChangeHistoryChange) obj; + com.google.analytics.admin.v1alpha.ChangeHistoryChange other = (com.google.analytics.admin.v1alpha.ChangeHistoryChange) obj; - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (action_ != other.action_) return false; if (hasResourceBeforeChange() != other.hasResourceBeforeChange()) return false; if (hasResourceBeforeChange()) { - if (!getResourceBeforeChange().equals(other.getResourceBeforeChange())) return false; + if (!getResourceBeforeChange() + .equals(other.getResourceBeforeChange())) return false; } if (hasResourceAfterChange() != other.hasResourceAfterChange()) return false; if (hasResourceAfterChange()) { - if (!getResourceAfterChange().equals(other.getResourceAfterChange())) return false; + if (!getResourceAfterChange() + .equals(other.getResourceAfterChange())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5820,136 +5645,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( 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.ChangeHistoryChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ChangeHistoryChange prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A description of a change to a single Google Analytics resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChangeHistoryChange) com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryChange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5970,9 +5788,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; } @java.lang.Override @@ -5991,11 +5809,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ChangeHistoryChange buildPartial() { - com.google.analytics.admin.v1alpha.ChangeHistoryChange result = - new com.google.analytics.admin.v1alpha.ChangeHistoryChange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ChangeHistoryChange result = new com.google.analytics.admin.v1alpha.ChangeHistoryChange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -6009,16 +5824,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryChang result.action_ = action_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resourceBeforeChange_ = - resourceBeforeChangeBuilder_ == null - ? resourceBeforeChange_ - : resourceBeforeChangeBuilder_.build(); + result.resourceBeforeChange_ = resourceBeforeChangeBuilder_ == null + ? resourceBeforeChange_ + : resourceBeforeChangeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.resourceAfterChange_ = - resourceAfterChangeBuilder_ == null - ? resourceAfterChange_ - : resourceAfterChangeBuilder_.build(); + result.resourceAfterChange_ = resourceAfterChangeBuilder_ == null + ? resourceAfterChange_ + : resourceAfterChangeBuilder_.build(); } } @@ -6026,39 +5839,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryChang public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ChangeHistoryChange) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryChange) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryChange)other); } else { super.mergeFrom(other); return this; @@ -6066,8 +5878,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryChange other) { - if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; bitField0_ |= 0x00000001; @@ -6108,39 +5919,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - action_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage( - getResourceBeforeChangeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getResourceAfterChangeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + action_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getResourceBeforeChangeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getResourceAfterChangeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -6150,25 +5958,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resource_ = ""; /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -6177,21 +5982,20 @@ public java.lang.String getResource() { } } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -6199,35 +6003,28 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -6237,21 +6034,17 @@ public Builder clearResource() { return this; } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -6261,29 +6054,22 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private int action_ = 0; /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ @@ -6294,31 +6080,24 @@ public Builder setActionValue(int value) { return this; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The action. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ActionType getAction() { - com.google.analytics.admin.v1alpha.ActionType result = - com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); + com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED : result; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @param value The action to set. * @return This builder for chaining. */ @@ -6332,14 +6111,11 @@ public Builder setAction(com.google.analytics.admin.v1alpha.ActionType value) { return this; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return This builder for chaining. */ public Builder clearAction() { @@ -6349,69 +6125,46 @@ public Builder clearAction() { return this; } - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - resourceBeforeChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> - resourceBeforeChangeBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceBeforeChangeBuilder_; /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return Whether the resourceBeforeChange field is set. */ public boolean hasResourceBeforeChange() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { if (resourceBeforeChangeBuilder_ == null) { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + return resourceBeforeChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } else { return resourceBeforeChangeBuilder_.getMessage(); } } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public Builder setResourceBeforeChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceBeforeChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6425,20 +6178,15 @@ public Builder setResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ public Builder setResourceBeforeChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { if (resourceBeforeChangeBuilder_ == null) { resourceBeforeChange_ = builderForValue.build(); } else { @@ -6449,25 +6197,18 @@ public Builder setResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public Builder mergeResourceBeforeChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceBeforeChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && resourceBeforeChange_ != null - && resourceBeforeChange_ - != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + resourceBeforeChange_ != null && + resourceBeforeChange_ != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { getResourceBeforeChangeBuilder().mergeFrom(value); } else { resourceBeforeChange_ = value; @@ -6480,16 +6221,12 @@ public Builder mergeResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ public Builder clearResourceBeforeChange() { bitField0_ = (bitField0_ & ~0x00000004); @@ -6502,140 +6239,96 @@ public Builder clearResourceBeforeChange() { return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - getResourceBeforeChangeBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceBeforeChangeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResourceBeforeChangeFieldBuilder().getBuilder(); } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { if (resourceBeforeChangeBuilder_ != null) { return resourceBeforeChangeBuilder_.getMessageOrBuilder(); } else { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + return resourceBeforeChange_ == null ? + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceBeforeChangeFieldBuilder() { if (resourceBeforeChangeBuilder_ == null) { - resourceBeforeChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryChange - .ChangeHistoryResourceOrBuilder>( - getResourceBeforeChange(), getParentForChildren(), isClean()); + resourceBeforeChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( + getResourceBeforeChange(), + getParentForChildren(), + isClean()); resourceBeforeChange_ = null; } return resourceBeforeChangeBuilder_; } - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - resourceAfterChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> - resourceAfterChangeBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceAfterChangeBuilder_; /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return Whether the resourceAfterChange field is set. */ public boolean hasResourceAfterChange() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { if (resourceAfterChangeBuilder_ == null) { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + return resourceAfterChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } else { return resourceAfterChangeBuilder_.getMessage(); } } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public Builder setResourceAfterChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceAfterChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6649,20 +6342,15 @@ public Builder setResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ public Builder setResourceAfterChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { if (resourceAfterChangeBuilder_ == null) { resourceAfterChange_ = builderForValue.build(); } else { @@ -6673,25 +6361,18 @@ public Builder setResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public Builder mergeResourceAfterChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceAfterChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && resourceAfterChange_ != null - && resourceAfterChange_ - != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + resourceAfterChange_ != null && + resourceAfterChange_ != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { getResourceAfterChangeBuilder().mergeFrom(value); } else { resourceAfterChange_ = value; @@ -6704,16 +6385,12 @@ public Builder mergeResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ public Builder clearResourceAfterChange() { bitField0_ = (bitField0_ & ~0x00000008); @@ -6726,79 +6403,58 @@ public Builder clearResourceAfterChange() { return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder - getResourceAfterChangeBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceAfterChangeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getResourceAfterChangeFieldBuilder().getBuilder(); } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { if (resourceAfterChangeBuilder_ != null) { return resourceAfterChangeBuilder_.getMessageOrBuilder(); } else { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + return resourceAfterChange_ == null ? + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceAfterChangeFieldBuilder() { if (resourceAfterChangeBuilder_ == null) { - resourceAfterChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - .Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryChange - .ChangeHistoryResourceOrBuilder>( - getResourceAfterChange(), getParentForChildren(), isClean()); + resourceAfterChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( + getResourceAfterChange(), + getParentForChildren(), + isClean()); resourceAfterChange_ = null; } return resourceAfterChangeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6808,12 +6464,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChangeHistoryChange) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChangeHistoryChange) private static final com.google.analytics.admin.v1alpha.ChangeHistoryChange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChangeHistoryChange(); } @@ -6822,27 +6478,27 @@ public static com.google.analytics.admin.v1alpha.ChangeHistoryChange getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryChange 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryChange 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; @@ -6857,4 +6513,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ChangeHistoryChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java index bb3c081716ec..48e0e49d6f61 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java @@ -1,167 +1,108 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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 ChangeHistoryChangeOrBuilder - extends +public interface ChangeHistoryChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryChange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; - * * @return The action. */ com.google.analytics.admin.v1alpha.ActionType getAction(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return Whether the resourceBeforeChange field is set. */ boolean hasResourceBeforeChange(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return Whether the resourceAfterChange field is set. */ boolean hasResourceAfterChange(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java similarity index 74% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java index 452868222af6..53648575dbcd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A set of changes within a Google Analytics account or its child properties
  * that resulted from the same cause. Common causes would be updates made in the
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryEvent}
  */
-public final class ChangeHistoryEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ChangeHistoryEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     ChangeHistoryEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ChangeHistoryEvent.newBuilder() to construct.
   private ChangeHistoryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ChangeHistoryEvent() {
     id_ = "";
     actorType_ = 0;
@@ -49,43 +31,38 @@ private ChangeHistoryEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ChangeHistoryEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_ChangeHistoryEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class,
-            com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
+            com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
-   *
-   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -94,29 +71,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -127,14 +104,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CHANGE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp changeTime_; /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ @java.lang.Override @@ -142,14 +116,11 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ @java.lang.Override @@ -157,8 +128,6 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** - * - * *
    * Time when change was made.
    * 
@@ -173,45 +142,33 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { public static final int ACTOR_TYPE_FIELD_NUMBER = 3; private int actorType_ = 0; /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override - public int getActorTypeValue() { + @java.lang.Override public int getActorTypeValue() { return actorType_; } /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The actorType. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.ActorType getActorType() { - com.google.analytics.admin.v1alpha.ActorType result = - com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); + @java.lang.Override public com.google.analytics.admin.v1alpha.ActorType getActorType() { + com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1alpha.ActorType.UNRECOGNIZED : result; } public static final int USER_ACTOR_EMAIL_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object userActorEmail_ = ""; /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -219,7 +176,6 @@ public com.google.analytics.admin.v1alpha.ActorType getActorType() {
    * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ @java.lang.Override @@ -228,15 +184,14 @@ public java.lang.String getUserActorEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; } } /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -244,15 +199,16 @@ public java.lang.String getUserActorEmail() {
    * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getUserActorEmailBytes() { + public com.google.protobuf.ByteString + getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -263,15 +219,12 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() { public static final int CHANGES_FILTERED_FIELD_NUMBER = 5; private boolean changesFiltered_ = false; /** - * - * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; - * * @return The changesFiltered. */ @java.lang.Override @@ -280,12 +233,9 @@ public boolean getChangesFiltered() { } public static final int CHANGES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List changes_; /** - * - * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -298,8 +248,6 @@ public java.util.List ge
     return changes_;
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -308,13 +256,11 @@ public java.util.List ge
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getChangesOrBuilderList() {
     return changes_;
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -327,8 +273,6 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -341,8 +285,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int ind
     return changes_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -357,7 +299,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -369,15 +310,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
     }
     if (changeTime_ != null) {
       output.writeMessage(2, getChangeTime());
     }
-    if (actorType_
-        != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+    if (actorType_ != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
@@ -402,20 +343,23 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
     }
     if (changeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChangeTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getChangeTime());
     }
-    if (actorType_
-        != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, actorType_);
+    if (actorType_ != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userActorEmail_);
     }
     if (changesFiltered_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, changesFiltered_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(5, changesFiltered_);
     }
     for (int i = 0; i < changes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, changes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, changes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -425,23 +369,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryEvent)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.ChangeHistoryEvent other =
-        (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) obj;
+    com.google.analytics.admin.v1alpha.ChangeHistoryEvent other = (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) obj;
 
-    if (!getId().equals(other.getId())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
     if (hasChangeTime() != other.hasChangeTime()) return false;
     if (hasChangeTime()) {
-      if (!getChangeTime().equals(other.getChangeTime())) return false;
+      if (!getChangeTime()
+          .equals(other.getChangeTime())) return false;
     }
     if (actorType_ != other.actorType_) return false;
-    if (!getUserActorEmail().equals(other.getUserActorEmail())) return false;
-    if (getChangesFiltered() != other.getChangesFiltered()) return false;
-    if (!getChangesList().equals(other.getChangesList())) return false;
+    if (!getUserActorEmail()
+        .equals(other.getUserActorEmail())) return false;
+    if (getChangesFiltered()
+        != other.getChangesFiltered()) return false;
+    if (!getChangesList()
+        .equals(other.getChangesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -464,7 +412,8 @@ public int hashCode() {
     hash = (37 * hash) + USER_ACTOR_EMAIL_FIELD_NUMBER;
     hash = (53 * hash) + getUserActorEmail().hashCode();
     hash = (37 * hash) + CHANGES_FILTERED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChangesFiltered());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getChangesFiltered());
     if (getChangesCount() > 0) {
       hash = (37 * hash) + CHANGES_FIELD_NUMBER;
       hash = (53 * hash) + getChangesList().hashCode();
@@ -475,104 +424,96 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       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.ChangeHistoryEvent parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.analytics.admin.v1alpha.ChangeHistoryEvent prototype) {
+  public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryEvent prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A set of changes within a Google Analytics account or its child properties
    * that resulted from the same cause. Common causes would be updates made in the
@@ -582,32 +523,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChangeHistoryEvent)
       com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class,
-              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
+              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -632,9 +574,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
@@ -653,18 +595,14 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.ChangeHistoryEvent buildPartial() {
-      com.google.analytics.admin.v1alpha.ChangeHistoryEvent result =
-          new com.google.analytics.admin.v1alpha.ChangeHistoryEvent(this);
+      com.google.analytics.admin.v1alpha.ChangeHistoryEvent result = new com.google.analytics.admin.v1alpha.ChangeHistoryEvent(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.analytics.admin.v1alpha.ChangeHistoryEvent result) {
+    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ChangeHistoryEvent result) {
       if (changesBuilder_ == null) {
         if (((bitField0_ & 0x00000020) != 0)) {
           changes_ = java.util.Collections.unmodifiableList(changes_);
@@ -682,7 +620,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryEvent
         result.id_ = id_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.changeTime_ = changeTimeBuilder_ == null ? changeTime_ : changeTimeBuilder_.build();
+        result.changeTime_ = changeTimeBuilder_ == null
+            ? changeTime_
+            : changeTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.actorType_ = actorType_;
@@ -699,39 +639,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryEvent
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.ChangeHistoryEvent) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryEvent) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -739,8 +678,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryEvent other) {
-      if (other == com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()) return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         bitField0_ |= 0x00000001;
@@ -778,10 +716,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryEvent o
             changesBuilder_ = null;
             changes_ = other.changes_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            changesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getChangesFieldBuilder()
-                    : null;
+            changesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getChangesFieldBuilder() : null;
           } else {
             changesBuilder_.addAllMessages(other.changes_);
           }
@@ -813,57 +750,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getChangeTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                actorType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                userActorEmail_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                changesFiltered_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                com.google.analytics.admin.v1alpha.ChangeHistoryChange m =
-                    input.readMessage(
-                        com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(),
-                        extensionRegistry);
-                if (changesBuilder_ == null) {
-                  ensureChangesIsMutable();
-                  changes_.add(m);
-                } else {
-                  changesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              id_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getChangeTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              actorType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              userActorEmail_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              changesFiltered_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              com.google.analytics.admin.v1alpha.ChangeHistoryChange m =
+                  input.readMessage(
+                      com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(),
+                      extensionRegistry);
+              if (changesBuilder_ == null) {
+                ensureChangesIsMutable();
+                changes_.add(m);
+              } else {
+                changesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            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) {
@@ -873,25 +805,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
-     *
-     *
      * 
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -900,21 +829,20 @@ public java.lang.String getId() { } } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -922,35 +850,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -960,21 +881,17 @@ public Builder clearId() { return this; } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -984,47 +901,34 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp changeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - changeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> changeTimeBuilder_; /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ public boolean hasChangeTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ public com.google.protobuf.Timestamp getChangeTime() { if (changeTimeBuilder_ == null) { - return changeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : changeTime_; + return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } else { return changeTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when change was made.
      * 
@@ -1045,15 +949,14 @@ public Builder setChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; */ - public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (changeTimeBuilder_ == null) { changeTime_ = builderForValue.build(); } else { @@ -1064,8 +967,6 @@ public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1074,9 +975,9 @@ public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { if (changeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && changeTime_ != null - && changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + changeTime_ != null && + changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getChangeTimeBuilder().mergeFrom(value); } else { changeTime_ = value; @@ -1089,8 +990,6 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1108,8 +1007,6 @@ public Builder clearChangeTime() { return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1122,8 +1019,6 @@ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { return getChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when change was made.
      * 
@@ -1134,14 +1029,11 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { if (changeTimeBuilder_ != null) { return changeTimeBuilder_.getMessageOrBuilder(); } else { - return changeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : changeTime_; + return changeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } } /** - * - * *
      * Time when change was made.
      * 
@@ -1149,17 +1041,14 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { * .google.protobuf.Timestamp change_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getChangeTimeFieldBuilder() { if (changeTimeBuilder_ == null) { - changeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getChangeTime(), getParentForChildren(), isClean()); + changeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getChangeTime(), + getParentForChildren(), + isClean()); changeTime_ = null; } return changeTimeBuilder_; @@ -1167,29 +1056,22 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { private int actorType_ = 0; /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override - public int getActorTypeValue() { + @java.lang.Override public int getActorTypeValue() { return actorType_; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @param value The enum numeric value on the wire for actorType to set. * @return This builder for chaining. */ @@ -1200,31 +1082,24 @@ public Builder setActorTypeValue(int value) { return this; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The actorType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ActorType getActorType() { - com.google.analytics.admin.v1alpha.ActorType result = - com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); + com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1alpha.ActorType.UNRECOGNIZED : result; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @param value The actorType to set. * @return This builder for chaining. */ @@ -1238,14 +1113,11 @@ public Builder setActorType(com.google.analytics.admin.v1alpha.ActorType value) return this; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return This builder for chaining. */ public Builder clearActorType() { @@ -1257,8 +1129,6 @@ public Builder clearActorType() { private java.lang.Object userActorEmail_ = ""; /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1266,13 +1136,13 @@ public Builder clearActorType() {
      * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ public java.lang.String getUserActorEmail() { java.lang.Object ref = userActorEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; @@ -1281,8 +1151,6 @@ public java.lang.String getUserActorEmail() { } } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1290,14 +1158,15 @@ public java.lang.String getUserActorEmail() {
      * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ - public com.google.protobuf.ByteString getUserActorEmailBytes() { + public com.google.protobuf.ByteString + getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -1305,8 +1174,6 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() { } } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1314,22 +1181,18 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() {
      * 
* * string user_actor_email = 4; - * * @param value The userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserActorEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userActorEmail_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1337,7 +1200,6 @@ public Builder setUserActorEmail(java.lang.String value) {
      * 
* * string user_actor_email = 4; - * * @return This builder for chaining. */ public Builder clearUserActorEmail() { @@ -1347,8 +1209,6 @@ public Builder clearUserActorEmail() { return this; } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1356,14 +1216,12 @@ public Builder clearUserActorEmail() {
      * 
* * string user_actor_email = 4; - * * @param value The bytes for userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserActorEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userActorEmail_ = value; bitField0_ |= 0x00000008; @@ -1371,17 +1229,14 @@ public Builder setUserActorEmailBytes(com.google.protobuf.ByteString value) { return this; } - private boolean changesFiltered_; + private boolean changesFiltered_ ; /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @return The changesFiltered. */ @java.lang.Override @@ -1389,35 +1244,29 @@ public boolean getChangesFiltered() { return changesFiltered_; } /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @param value The changesFiltered to set. * @return This builder for chaining. */ public Builder setChangesFiltered(boolean value) { - + changesFiltered_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @return This builder for chaining. */ public Builder clearChangesFiltered() { @@ -1428,26 +1277,18 @@ public Builder clearChangesFiltered() { } private java.util.List changes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChangesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - changes_ = - new java.util.ArrayList( - changes_); + changes_ = new java.util.ArrayList(changes_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange, - com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder> - changesBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryChange, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder> changesBuilder_; /** - * - * *
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1463,8 +1304,6 @@ public java.util.List ge
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1480,8 +1319,6 @@ public int getChangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1497,8 +1334,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int ind
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1521,8 +1356,6 @@ public Builder setChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1542,8 +1375,6 @@ public Builder setChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1565,8 +1396,6 @@ public Builder addChanges(com.google.analytics.admin.v1alpha.ChangeHistoryChange
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1589,8 +1418,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1610,8 +1437,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1631,8 +1456,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1641,11 +1464,11 @@ public Builder addChanges(
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
     public Builder addAllChanges(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (changesBuilder_ == null) {
         ensureChangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, changes_);
         onChanged();
       } else {
         changesBuilder_.addAllMessages(values);
@@ -1653,8 +1476,6 @@ public Builder addAllChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1673,8 +1494,6 @@ public Builder clearChanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1693,8 +1512,6 @@ public Builder removeChanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1707,8 +1524,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder getChanges
       return getChangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1719,14 +1534,11 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder getChanges
     public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
         int index) {
       if (changesBuilder_ == null) {
-        return changes_.get(index);
-      } else {
+        return changes_.get(index);  } else {
         return changesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1734,8 +1546,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
      *
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
-    public java.util.List
-        getChangesOrBuilderList() {
+    public java.util.List 
+         getChangesOrBuilderList() {
       if (changesBuilder_ != null) {
         return changesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1743,8 +1555,6 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1753,12 +1563,10 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
     public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChangesBuilder() {
-      return getChangesFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1768,13 +1576,10 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChanges
      */
     public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChangesBuilder(
         int index) {
-      return getChangesFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1782,30 +1587,27 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChanges
      *
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
-    public java.util.List
-        getChangesBuilderList() {
+    public java.util.List 
+         getChangesBuilderList() {
       return getChangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChangeHistoryChange,
-            com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder,
-            com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>
+        com.google.analytics.admin.v1alpha.ChangeHistoryChange, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder> 
         getChangesFieldBuilder() {
       if (changesBuilder_ == null) {
-        changesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.ChangeHistoryChange,
-                com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder,
-                com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>(
-                changes_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        changesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.ChangeHistoryChange, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>(
+                changes_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         changes_ = null;
       }
       return changesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1815,12 +1617,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChangeHistoryEvent)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChangeHistoryEvent)
   private static final com.google.analytics.admin.v1alpha.ChangeHistoryEvent DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChangeHistoryEvent();
   }
@@ -1829,27 +1631,27 @@ public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ChangeHistoryEvent 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ChangeHistoryEvent 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;
@@ -1864,4 +1666,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
similarity index 81%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
index 0229a14cf3ac..5556422b64a7 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
@@ -1,80 +1,51 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface ChangeHistoryEventOrBuilder
-    extends
+public interface ChangeHistoryEventOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ boolean hasChangeTime(); /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ com.google.protobuf.Timestamp getChangeTime(); /** - * - * *
    * Time when change was made.
    * 
@@ -84,33 +55,25 @@ public interface ChangeHistoryEventOrBuilder com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder(); /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The enum numeric value on the wire for actorType. */ int getActorTypeValue(); /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * * @return The actorType. */ com.google.analytics.admin.v1alpha.ActorType getActorType(); /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -118,13 +81,10 @@ public interface ChangeHistoryEventOrBuilder
    * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ java.lang.String getUserActorEmail(); /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -132,28 +92,23 @@ public interface ChangeHistoryEventOrBuilder
    * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ - com.google.protobuf.ByteString getUserActorEmailBytes(); + com.google.protobuf.ByteString + getUserActorEmailBytes(); /** - * - * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; - * * @return The changesFiltered. */ boolean getChangesFiltered(); /** - * - * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -161,10 +116,9 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List getChangesList();
+  java.util.List 
+      getChangesList();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -174,8 +128,6 @@ public interface ChangeHistoryEventOrBuilder
    */
   com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int index);
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -185,8 +137,6 @@ public interface ChangeHistoryEventOrBuilder
    */
   int getChangesCount();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -194,11 +144,9 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List
+  java.util.List 
       getChangesOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -206,5 +154,6 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
+      int index);
 }
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
similarity index 76%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
index 55c4efb119f3..9f423e460109 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * Types of resources whose changes may be returned from change history.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ChangeHistoryResourceType} */ -public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum ChangeHistoryResourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Resource type unknown or not specified.
    * 
@@ -39,8 +21,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Account resource
    * 
@@ -49,8 +29,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ ACCOUNT(1), /** - * - * *
    * Property resource
    * 
@@ -59,8 +37,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ PROPERTY(2), /** - * - * *
    * FirebaseLink resource
    * 
@@ -69,8 +45,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ FIREBASE_LINK(6), /** - * - * *
    * GoogleAdsLink resource
    * 
@@ -79,8 +53,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ GOOGLE_ADS_LINK(7), /** - * - * *
    * GoogleSignalsSettings resource
    * 
@@ -89,8 +61,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ GOOGLE_SIGNALS_SETTINGS(8), /** - * - * *
    * ConversionEvent resource
    * 
@@ -99,8 +69,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CONVERSION_EVENT(9), /** - * - * *
    * MeasurementProtocolSecret resource
    * 
@@ -109,8 +77,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ MEASUREMENT_PROTOCOL_SECRET(10), /** - * - * *
    * CustomDimension resource
    * 
@@ -119,8 +85,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CUSTOM_DIMENSION(11), /** - * - * *
    * CustomMetric resource
    * 
@@ -129,8 +93,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CUSTOM_METRIC(12), /** - * - * *
    * DataRetentionSettings resource
    * 
@@ -139,8 +101,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DATA_RETENTION_SETTINGS(13), /** - * - * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -149,8 +109,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DISPLAY_VIDEO_360_ADVERTISER_LINK(14), /** - * - * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -159,8 +117,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL(15), /** - * - * *
    * SearchAds360Link resource
    * 
@@ -169,8 +125,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ SEARCH_ADS_360_LINK(16), /** - * - * *
    * DataStream resource
    * 
@@ -179,8 +133,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DATA_STREAM(18), /** - * - * *
    * AttributionSettings resource
    * 
@@ -188,12 +140,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), ; /** - * - * *
    * Resource type unknown or not specified.
    * 
@@ -202,8 +168,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Account resource
    * 
@@ -212,8 +176,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int ACCOUNT_VALUE = 1; /** - * - * *
    * Property resource
    * 
@@ -222,8 +184,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int PROPERTY_VALUE = 2; /** - * - * *
    * FirebaseLink resource
    * 
@@ -232,8 +192,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int FIREBASE_LINK_VALUE = 6; /** - * - * *
    * GoogleAdsLink resource
    * 
@@ -242,8 +200,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int GOOGLE_ADS_LINK_VALUE = 7; /** - * - * *
    * GoogleSignalsSettings resource
    * 
@@ -252,8 +208,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int GOOGLE_SIGNALS_SETTINGS_VALUE = 8; /** - * - * *
    * ConversionEvent resource
    * 
@@ -262,8 +216,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CONVERSION_EVENT_VALUE = 9; /** - * - * *
    * MeasurementProtocolSecret resource
    * 
@@ -272,8 +224,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int MEASUREMENT_PROTOCOL_SECRET_VALUE = 10; /** - * - * *
    * CustomDimension resource
    * 
@@ -282,8 +232,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CUSTOM_DIMENSION_VALUE = 11; /** - * - * *
    * CustomMetric resource
    * 
@@ -292,8 +240,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CUSTOM_METRIC_VALUE = 12; /** - * - * *
    * DataRetentionSettings resource
    * 
@@ -302,8 +248,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DATA_RETENTION_SETTINGS_VALUE = 13; /** - * - * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -312,8 +256,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_VALUE = 14; /** - * - * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -322,8 +264,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_VALUE = 15; /** - * - * *
    * SearchAds360Link resource
    * 
@@ -332,8 +272,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int SEARCH_ADS_360_LINK_VALUE = 16; /** - * - * *
    * DataStream resource
    * 
@@ -342,8 +280,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DATA_STREAM_VALUE = 18; /** - * - * *
    * AttributionSettings resource
    * 
@@ -351,6 +287,23 @@ 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) { @@ -376,40 +329,25 @@ public static ChangeHistoryResourceType valueOf(int value) { */ public static ChangeHistoryResourceType forNumber(int value) { switch (value) { - case 0: - return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; - case 1: - return ACCOUNT; - case 2: - return PROPERTY; - case 6: - return FIREBASE_LINK; - case 7: - return GOOGLE_ADS_LINK; - case 8: - return GOOGLE_SIGNALS_SETTINGS; - case 9: - return CONVERSION_EVENT; - case 10: - return MEASUREMENT_PROTOCOL_SECRET; - case 11: - return CUSTOM_DIMENSION; - case 12: - return CUSTOM_METRIC; - case 13: - return DATA_RETENTION_SETTINGS; - case 14: - return DISPLAY_VIDEO_360_ADVERTISER_LINK; - case 15: - return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; - case 16: - return SEARCH_ADS_360_LINK; - case 18: - return DATA_STREAM; - case 20: - return ATTRIBUTION_SETTINGS; - default: - return null; + case 0: return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; + case 1: return ACCOUNT; + case 2: return PROPERTY; + case 6: return FIREBASE_LINK; + case 7: return GOOGLE_ADS_LINK; + case 8: return GOOGLE_SIGNALS_SETTINGS; + case 9: return CONVERSION_EVENT; + case 10: return MEASUREMENT_PROTOCOL_SECRET; + case 11: return CUSTOM_DIMENSION; + case 12: return CUSTOM_METRIC; + case 13: return DATA_RETENTION_SETTINGS; + case 14: return DISPLAY_VIDEO_360_ADVERTISER_LINK; + case 15: return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; + case 16: return SEARCH_ADS_360_LINK; + case 18: return DATA_STREAM; + case 20: return ATTRIBUTION_SETTINGS; + case 21: return EXPANDED_DATA_SET; + case 22: return CHANNEL_GROUP; + default: return null; } } @@ -417,28 +355,28 @@ public static ChangeHistoryResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChangeHistoryResourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeHistoryResourceType findValueByNumber(int number) { + return ChangeHistoryResourceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeHistoryResourceType findValueByNumber(int number) { - return ChangeHistoryResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(4); } @@ -447,7 +385,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ChangeHistoryResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -463,3 +402,4 @@ private ChangeHistoryResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ChangeHistoryResourceType) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java index d059f7680514..3da84469b0e3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A conversion event in a Google Analytics property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ -public final class ConversionEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConversionEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ConversionEvent) ConversionEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConversionEvent.newBuilder() to construct. private ConversionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConversionEvent() { name_ = ""; eventName_ = ""; @@ -44,44 +26,39 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConversionEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,19 +99,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int EVENT_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object eventName_ = ""; /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ @java.lang.Override @@ -143,30 +116,30 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -177,15 +150,11 @@ public com.google.protobuf.ByteString getEventNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -193,15 +162,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -209,14 +174,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -226,14 +188,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETABLE_FIELD_NUMBER = 4; private boolean deletable_ = false; /** - * - * *
-   * 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]; - * * @return The deletable. */ @java.lang.Override @@ -244,19 +204,16 @@ public boolean getDeletable() { public static final int CUSTOM_FIELD_NUMBER = 5; private boolean custom_ = false; /** - * - * *
-   * 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]; - * * @return The custom. */ @java.lang.Override @@ -265,7 +222,6 @@ public boolean getCustom() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -309,13 +266,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (deletable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, deletable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, deletable_); } if (custom_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, custom_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, custom_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,22 +285,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ConversionEvent)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ConversionEvent other = - (com.google.analytics.admin.v1alpha.ConversionEvent) obj; + com.google.analytics.admin.v1alpha.ConversionEvent other = (com.google.analytics.admin.v1alpha.ConversionEvent) obj; - if (!getName().equals(other.getName())) return false; - if (!getEventName().equals(other.getEventName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEventName() + .equals(other.getEventName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (getDeletable() != other.getDeletable()) return false; - if (getCustom() != other.getCustom()) return false; + if (getDeletable() + != other.getDeletable()) return false; + if (getCustom() + != other.getCustom()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -361,144 +325,140 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + DELETABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeletable()); hash = (37 * hash) + CUSTOM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustom()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCustom()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( 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.ConversionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ConversionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A conversion event in a Google Analytics property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ConversionEvent) com.google.analytics.admin.v1alpha.ConversionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -516,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override @@ -537,11 +497,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent buildPartial() { - com.google.analytics.admin.v1alpha.ConversionEvent result = - new com.google.analytics.admin.v1alpha.ConversionEvent(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ConversionEvent result = new com.google.analytics.admin.v1alpha.ConversionEvent(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -555,7 +512,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ConversionEvent re result.eventName_ = eventName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.deletable_ = deletable_; @@ -569,39 +528,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ConversionEvent re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ConversionEvent) { - return mergeFrom((com.google.analytics.admin.v1alpha.ConversionEvent) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ConversionEvent)other); } else { super.mergeFrom(other); return this; @@ -609,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ConversionEvent other) { - if (other == com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -656,43 +613,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - eventName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - deletable_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - custom_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + eventName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + deletable_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + custom_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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) { @@ -702,26 +655,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -730,22 +680,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -753,37 +702,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); - } + 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 conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -793,22 +735,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -818,21 +756,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object eventName_ = ""; /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -841,22 +777,21 @@ public java.lang.String getEventName() { } } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -864,37 +799,30 @@ public com.google.protobuf.ByteString getEventNameBytes() { } } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } eventName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearEventName() { @@ -904,22 +832,18 @@ public Builder clearEventName() { return this; } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000002; @@ -929,58 +853,39 @@ public Builder setEventNameBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -996,17 +901,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1017,21 +919,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1044,15 +942,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1065,15 +959,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1081,63 +971,49 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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 deletable_; + private boolean deletable_ ; /** - * - * *
-     * 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]; - * * @return The deletable. */ @java.lang.Override @@ -1145,33 +1021,29 @@ public boolean getDeletable() { return deletable_; } /** - * - * *
-     * 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]; - * * @param value The deletable to set. * @return This builder for chaining. */ public Builder setDeletable(boolean value) { - + deletable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearDeletable() { @@ -1181,21 +1053,18 @@ public Builder clearDeletable() { return this; } - private boolean custom_; + private boolean custom_ ; /** - * - * *
-     * 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]; - * * @return The custom. */ @java.lang.Override @@ -1203,43 +1072,37 @@ public boolean getCustom() { return custom_; } /** - * - * *
-     * 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]; - * * @param value The custom to set. * @return This builder for chaining. */ public Builder setCustom(boolean value) { - + custom_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearCustom() { @@ -1248,9 +1111,9 @@ public Builder clearCustom() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1260,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ConversionEvent) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ConversionEvent) private static final com.google.analytics.admin.v1alpha.ConversionEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ConversionEvent(); } @@ -1274,27 +1137,27 @@ public static com.google.analytics.admin.v1alpha.ConversionEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversionEvent 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversionEvent 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; @@ -1309,4 +1172,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ConversionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java index b42b2f98fd2a..df89974c7a30 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java @@ -1,147 +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/resources.proto package com.google.analytics.admin.v1alpha; -public interface ConversionEventOrBuilder - extends +public interface ConversionEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ConversionEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ java.lang.String getEventName(); /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ - com.google.protobuf.ByteString getEventNameBytes(); + com.google.protobuf.ByteString + getEventNameBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ 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]; - * * @return The deletable. */ 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.
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The custom. */ boolean getCustom(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java index 7e70d8038f44..12b88f848e72 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAudienceRequest} */ -public final class CreateAudienceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAudienceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateAudienceRequest) CreateAudienceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAudienceRequest.newBuilder() to construct. private CreateAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAudienceRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, - com.google.analytics.admin.v1alpha.CreateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, com.google.analytics.admin.v1alpha.CreateAudienceRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.Audience audience_; /** - * - * *
    * Required. The audience to create.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the audience field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasAudience() { return audience_ != null; } /** - * - * *
    * Required. The audience to create.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The audience. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Audience getAudience() { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } /** - * - * *
    * Required. The audience to create.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (audience_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAudience()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAudience()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateAudienceRequest other = - (com.google.analytics.admin.v1alpha.CreateAudienceRequest) obj; + com.google.analytics.admin.v1alpha.CreateAudienceRequest other = (com.google.analytics.admin.v1alpha.CreateAudienceRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAudience() != other.hasAudience()) return false; if (hasAudience()) { - if (!getAudience().equals(other.getAudience())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( 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.CreateAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateAudienceRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAudienceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateAudienceRequest) com.google.analytics.admin.v1alpha.CreateAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, - com.google.analytics.admin.v1alpha.CreateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, com.google.analytics.admin.v1alpha.CreateAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateAudienceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; } @java.lang.Override @@ -422,11 +372,8 @@ public com.google.analytics.admin.v1alpha.CreateAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateAudienceRequest result = - new com.google.analytics.admin.v1alpha.CreateAudienceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreateAudienceRequest result = new com.google.analytics.admin.v1alpha.CreateAudienceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -437,7 +384,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAudienceRequ result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.audience_ = audienceBuilder_ == null ? audience_ : audienceBuilder_.build(); + result.audience_ = audienceBuilder_ == null + ? audience_ + : audienceBuilder_.build(); } } @@ -445,39 +394,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAudienceRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateAudienceRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateAudienceRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateAudienceRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateAudienceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -521,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAudienceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAudienceFieldBuilder().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) { @@ -549,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -578,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -602,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -644,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -670,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.Audience audience_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder> - audienceBuilder_; + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> audienceBuilder_; /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the audience field is set. */ public boolean hasAudience() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The audience. */ public com.google.analytics.admin.v1alpha.Audience getAudience() { if (audienceBuilder_ == null) { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } else { return audienceBuilder_.getMessage(); } } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { @@ -737,15 +639,11 @@ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { return this; } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAudience( com.google.analytics.admin.v1alpha.Audience.Builder builderForValue) { @@ -759,21 +657,17 @@ public Builder setAudience( return this; } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && audience_ != null - && audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + audience_ != null && + audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { getAudienceBuilder().mergeFrom(value); } else { audience_ = value; @@ -786,15 +680,11 @@ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) return this; } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAudience() { bitField0_ = (bitField0_ & ~0x00000002); @@ -807,15 +697,11 @@ public Builder clearAudience() { return this; } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() { bitField0_ |= 0x00000002; @@ -823,55 +709,43 @@ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() return getAudienceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { if (audienceBuilder_ != null) { return audienceBuilder_.getMessageOrBuilder(); } else { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } } /** - * - * *
      * Required. The audience to create.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder> + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> getAudienceFieldBuilder() { if (audienceBuilder_ == null) { - audienceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder>( - getAudience(), getParentForChildren(), isClean()); + audienceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder>( + getAudience(), + getParentForChildren(), + isClean()); audience_ = null; } return audienceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -881,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateAudienceRequest) private static final com.google.analytics.admin.v1alpha.CreateAudienceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateAudienceRequest(); } @@ -895,27 +769,27 @@ public static com.google.analytics.admin.v1alpha.CreateAudienceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAudienceRequest 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; @@ -930,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java new file mode 100644 index 000000000000..2a81a07d57fa --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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 CreateAudienceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAudienceRequest) + 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 audience to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the audience field is set. + */ + boolean hasAudience(); + /** + *
+   * Required. The audience to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The audience. + */ + com.google.analytics.admin.v1alpha.Audience getAudience(); + /** + *
+   * Required. The audience to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java index 0b8c7c959f5f..05da764fd073 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java @@ -1,85 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConversionEventRequest} */ -public final class CreateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateConversionEventRequest) CreateConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConversionEventRequest.newBuilder() to construct. private CreateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConversionEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.ConversionEvent conversionEvent_; /** - * - * *
    * Required. The conversion event to create.
    * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -87,58 +63,39 @@ public boolean hasConversionEvent() { return conversionEvent_ != null; } /** - * - * *
    * Required. The conversion event to create.
    * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { - return conversionEvent_ == null - ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; } /** - * - * *
    * Required. The conversion event to create.
    * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { - return conversionEvent_ == null - ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; } public static final int PARENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
-   * 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -147,32 +104,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -181,7 +136,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -210,7 +165,8 @@ public int getSerializedSize() { size = 0; if (conversionEvent_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConversionEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getConversionEvent()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); @@ -223,19 +179,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateConversionEventRequest other = - (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.CreateConversionEventRequest other = (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) obj; if (hasConversionEvent() != other.hasConversionEvent()) return false; if (hasConversionEvent()) { - if (!getConversionEvent().equals(other.getConversionEvent())) return false; + if (!getConversionEvent() + .equals(other.getConversionEvent())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( 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.CreateConversionEventRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConversionEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateConversionEventRequest) com.google.analytics.admin.v1alpha.CreateConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateConversionEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance(); } @@ -425,21 +374,18 @@ public com.google.analytics.admin.v1alpha.CreateConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateConversionEventRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateConversionEventRequest result = - new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreateConversionEventRequest result = new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.conversionEvent_ = - conversionEventBuilder_ == null ? conversionEvent_ : conversionEventBuilder_.build(); + result.conversionEvent_ = conversionEventBuilder_ == null + ? conversionEvent_ + : conversionEventBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.parent_ = parent_; @@ -450,50 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateConversionEventRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateConversionEventRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateConversionEventRequest other) { + if (other == com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance()) return this; if (other.hasConversionEvent()) { mergeConversionEvent(other.getConversionEvent()); } @@ -528,25 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getConversionEventFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getConversionEventFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parent_ = 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) { @@ -556,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.ConversionEvent conversionEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> - conversionEventBuilder_; + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> conversionEventBuilder_; /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversionEvent field is set. */ public boolean hasConversionEvent() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conversionEvent. */ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { if (conversionEventBuilder_ == null) { - return conversionEvent_ == null - ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; } else { return conversionEventBuilder_.getMessage(); } } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { @@ -628,15 +549,11 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversionEvent( com.google.analytics.admin.v1alpha.ConversionEvent.Builder builderForValue) { @@ -650,22 +567,17 @@ public Builder setConversionEvent( return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && conversionEvent_ != null - && conversionEvent_ - != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + conversionEvent_ != null && + conversionEvent_ != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { getConversionEventBuilder().mergeFrom(value); } else { conversionEvent_ = value; @@ -678,15 +590,11 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.Conversio return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConversionEvent() { bitField0_ = (bitField0_ & ~0x00000001); @@ -699,15 +607,11 @@ public Builder clearConversionEvent() { return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionEventBuilder() { bitField0_ |= 0x00000001; @@ -715,49 +619,36 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { if (conversionEventBuilder_ != null) { return conversionEventBuilder_.getMessageOrBuilder(); } else { - return conversionEvent_ == null - ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? + com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; } } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { - conversionEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( - getConversionEvent(), getParentForChildren(), isClean()); + conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + getConversionEvent(), + getParentForChildren(), + isClean()); conversionEvent_ = null; } return conversionEventBuilder_; @@ -765,23 +656,19 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE private java.lang.Object parent_ = ""; /** - * - * *
-     * 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -790,24 +677,21 @@ 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
      * 
* - * - * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -815,41 +699,30 @@ 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
      * 
* - * - * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 2 [(.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(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -859,33 +732,27 @@ public Builder clearParent() { return this; } /** - * - * *
-     * 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) = { ... } - * - * + * string parent = 2 [(.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(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -895,43 +762,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.CreateConversionEventRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateConversionEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConversionEventRequest 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; @@ -943,8 +808,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..26033401075a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java @@ -0,0 +1,58 @@ +// 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 CreateConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the conversionEvent field is set. + */ + boolean hasConversionEvent(); + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The conversionEvent. + */ + com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); + + /** + *
+   * 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) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * 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) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java index cebce377b435..2c1585dfe80b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomDimensionRequest} */ -public final class CreateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) CreateCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomDimensionRequest.newBuilder() to construct. private CreateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomDimensionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; /** - * - * *
    * Required. The CustomDimension to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customDimension field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** - * - * *
    * Required. The CustomDimension to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } /** - * - * *
    * Required. The CustomDimension to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomDimension()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other = - (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension().equals(other.getCustomDimension())) return false; + if (!getCustomDimension() + .equals(other.getCustomDimension())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( 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.CreateCustomDimensionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) com.google.analytics.admin.v1alpha.CreateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance(); } @@ -423,24 +372,21 @@ public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result = - new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customDimension_ = - customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); + result.customDimension_ = customDimensionBuilder_ == null + ? customDimension_ + : customDimensionBuilder_.build(); } } @@ -448,50 +394,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other) { + if (other == com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -526,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCustomDimensionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCustomDimensionFieldBuilder().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) { @@ -554,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -583,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -607,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -649,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -675,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> - customDimensionBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionBuilder_; /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customDimension. */ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { @@ -742,15 +639,11 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomDimension( com.google.analytics.admin.v1alpha.CustomDimension.Builder builderForValue) { @@ -764,22 +657,17 @@ public Builder setCustomDimension( return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && customDimension_ != null - && customDimension_ - != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + customDimension_ != null && + customDimension_ != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -792,15 +680,11 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomDimension() { bitField0_ = (bitField0_ & ~0x00000002); @@ -813,15 +697,11 @@ public Builder clearCustomDimension() { return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimensionBuilder() { bitField0_ |= 0x00000002; @@ -829,56 +709,43 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( - getCustomDimension(), getParentForChildren(), isClean()); + customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + getCustomDimension(), + getParentForChildren(), + isClean()); customDimension_ = null; } return customDimensionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -888,43 +755,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomDimensionRequest 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; @@ -936,8 +801,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..63fe5fc15c4f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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 CreateCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) + 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 CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customDimension field is set. + */ + boolean hasCustomDimension(); + /** + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The customDimension. + */ + com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); + /** + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java index 8dffbbb53220..144f55051a06 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomMetricRequest} */ -public final class CreateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomMetricRequest) CreateCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomMetricRequest.newBuilder() to construct. private CreateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomMetricRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOM_METRIC_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; /** - * - * *
    * Required. The CustomMetric to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customMetric field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** - * - * *
    * Required. The CustomMetric to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } /** - * - * *
    * Required. The CustomMetric to create.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomMetric()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other = - (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other = (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric().equals(other.getCustomMetric())) return false; + if (!getCustomMetric() + .equals(other.getCustomMetric())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( 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.CreateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateCustomMetricRequest) com.google.analytics.admin.v1alpha.CreateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance(); } @@ -423,24 +372,21 @@ public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result = - new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result = new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customMetric_ = - customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); + result.customMetric_ = customMetricBuilder_ == null + ? customMetric_ + : customMetricBuilder_.build(); } } @@ -448,39 +394,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -488,9 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -525,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCustomMetricFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCustomMetricFieldBuilder().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) { @@ -553,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -582,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -606,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -648,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> - customMetricBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricBuilder_; /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customMetric. */ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { @@ -741,15 +639,11 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomMetric( com.google.analytics.admin.v1alpha.CustomMetric.Builder builderForValue) { @@ -763,22 +657,17 @@ public Builder setCustomMetric( return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && customMetric_ != null - && customMetric_ - != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + customMetric_ != null && + customMetric_ != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -791,15 +680,11 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomMetric() { bitField0_ = (bitField0_ & ~0x00000002); @@ -812,15 +697,11 @@ public Builder clearCustomMetric() { return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBuilder() { bitField0_ |= 0x00000002; @@ -828,55 +709,43 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( - getCustomMetric(), getParentForChildren(), isClean()); + customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + getCustomMetric(), + getParentForChildren(), + isClean()); customMetric_ = null; } return customMetricBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,13 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.CreateCustomMetricRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateCustomMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(); } @@ -901,27 +769,27 @@ public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomMetricRequest 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; @@ -936,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..b4b64d9ebafb --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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 CreateCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomMetricRequest) + 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 CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customMetric field is set. + */ + boolean hasCustomMetric(); + /** + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The customMetric. + */ + com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); + /** + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java index 16e23e7afa8a..975ddba581e5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDataStreamRequest} */ -public final class CreateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDataStreamRequest) CreateDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDataStreamRequest.newBuilder() to construct. private CreateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDataStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateDataStreamRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATA_STREAM_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.DataStream dataStream_; /** - * - * *
    * Required. The DataStream to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataStream field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasDataStream() { return dataStream_ != null; } /** - * - * *
    * Required. The DataStream to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream getDataStream() { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } /** - * - * *
    * Required. The DataStream to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateDataStreamRequest other = - (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.CreateDataStreamRequest other = (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream().equals(other.getDataStream())) return false; + if (!getDataStream() + .equals(other.getDataStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( 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.CreateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDataStreamRequest) com.google.analytics.admin.v1alpha.CreateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; } @java.lang.Override @@ -422,11 +372,8 @@ public com.google.analytics.admin.v1alpha.CreateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateDataStreamRequest result = - new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreateDataStreamRequest result = new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -437,7 +384,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDataStreamRe result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null + ? dataStream_ + : dataStreamBuilder_.build(); } } @@ -445,39 +394,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDataStreamRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -521,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getDataStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDataStreamFieldBuilder().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) { @@ -549,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -578,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -602,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -644,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -670,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.DataStream dataStream_; 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.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> dataStreamBuilder_; /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataStream. */ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamBuilder_ == null) { @@ -737,15 +639,11 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataStream( com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { @@ -759,21 +657,17 @@ public Builder setDataStream( return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataStream_ != null - && dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataStream_ != null && + dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -786,15 +680,11 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataStream() { bitField0_ = (bitField0_ & ~0x00000002); @@ -807,15 +697,11 @@ public Builder clearDataStream() { return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilder() { bitField0_ |= 0x00000002; @@ -823,55 +709,43 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( - getDataStream(), getParentForChildren(), isClean()); + dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + getDataStream(), + getParentForChildren(), + isClean()); dataStream_ = null; } return dataStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -881,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDataStreamRequest) private static final com.google.analytics.admin.v1alpha.CreateDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(); } @@ -895,27 +769,27 @@ public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataStreamRequest 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; @@ -930,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..d38913bfb913 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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 CreateDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDataStreamRequest) + 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 DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the dataStream field is set. + */ + boolean hasDataStream(); + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The dataStream. + */ + com.google.analytics.admin.v1alpha.DataStream getDataStream(); + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..056b5acb3501 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,809 @@ +// 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 CreateDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CreateDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CreateDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateDisplayVideo360AdvertiserLinkProposalRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.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 DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER = 2; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal_; + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + @java.lang.Override + public boolean hasDisplayVideo360AdvertiserLinkProposal() { + return displayVideo360AdvertiserLinkProposal_ != null; + } + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayVideo360AdvertiserLinkProposal. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { + return displayVideo360AdvertiserLinkProposal_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; + } + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + return displayVideo360AdvertiserLinkProposal_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; + } + + 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 (displayVideo360AdvertiserLinkProposal_ != null) { + output.writeMessage(2, getDisplayVideo360AdvertiserLinkProposal()); + } + 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 (displayVideo360AdvertiserLinkProposal_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDisplayVideo360AdvertiserLinkProposal()); + } + 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.CreateDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (hasDisplayVideo360AdvertiserLinkProposal() != other.hasDisplayVideo360AdvertiserLinkProposal()) return false; + if (hasDisplayVideo360AdvertiserLinkProposal()) { + if (!getDisplayVideo360AdvertiserLinkProposal() + .equals(other.getDisplayVideo360AdvertiserLinkProposal())) 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 (hasDisplayVideo360AdvertiserLinkProposal()) { + hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER; + hash = (53 * hash) + getDisplayVideo360AdvertiserLinkProposal().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest 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 CreateDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + displayVideo360AdvertiserLinkProposal_ = null; + if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { + displayVideo360AdvertiserLinkProposalBuilder_.dispose(); + displayVideo360AdvertiserLinkProposalBuilder_ = 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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest build() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposalBuilder_ == null + ? displayVideo360AdvertiserLinkProposal_ + : displayVideo360AdvertiserLinkProposalBuilder_.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.CreateDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest other) { + if (other == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasDisplayVideo360AdvertiserLinkProposal()) { + mergeDisplayVideo360AdvertiserLinkProposal(other.getDisplayVideo360AdvertiserLinkProposal()); + } + 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( + getDisplayVideo360AdvertiserLinkProposalFieldBuilder().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.DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> displayVideo360AdvertiserLinkProposalBuilder_; + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + public boolean hasDisplayVideo360AdvertiserLinkProposal() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayVideo360AdvertiserLinkProposal. + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + return displayVideo360AdvertiserLinkProposal_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; + } else { + return displayVideo360AdvertiserLinkProposalBuilder_.getMessage(); + } + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + displayVideo360AdvertiserLinkProposal_ = value; + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposal_ = builderForValue.build(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + displayVideo360AdvertiserLinkProposal_ != null && + displayVideo360AdvertiserLinkProposal_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()) { + getDisplayVideo360AdvertiserLinkProposalBuilder().mergeFrom(value); + } else { + displayVideo360AdvertiserLinkProposal_ = value; + } + } else { + displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearDisplayVideo360AdvertiserLinkProposal() { + bitField0_ = (bitField0_ & ~0x00000002); + displayVideo360AdvertiserLinkProposal_ = null; + if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { + displayVideo360AdvertiserLinkProposalBuilder_.dispose(); + displayVideo360AdvertiserLinkProposalBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder getDisplayVideo360AdvertiserLinkProposalBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { + return displayVideo360AdvertiserLinkProposalBuilder_.getMessageOrBuilder(); + } else { + return displayVideo360AdvertiserLinkProposal_ == null ? + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; + } + } + /** + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + getDisplayVideo360AdvertiserLinkProposalFieldBuilder() { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( + getDisplayVideo360AdvertiserLinkProposal(), + getParentForChildren(), + isClean()); + displayVideo360AdvertiserLinkProposal_ = null; + } + return displayVideo360AdvertiserLinkProposalBuilder_; + } + @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.CreateDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..276ca7813e16 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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 CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + 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 DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + boolean hasDisplayVideo360AdvertiserLinkProposal(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayVideo360AdvertiserLinkProposal. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java similarity index 51% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java index c52c1bf71992..8af6e104ba8f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java @@ -1,90 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest} */ -public final class CreateDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) CreateDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDisplayVideo360AdvertiserLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,19 +96,13 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; /** - * - * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -146,46 +110,30 @@ public boolean hasDisplayVideo360AdvertiserLink() { return displayVideo360AdvertiserLink_ != null; } /** - * - * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } /** - * - * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -217,9 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (displayVideo360AdvertiserLink_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getDisplayVideo360AdvertiserLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDisplayVideo360AdvertiserLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,21 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) - return false; + if (!getParent() + .equals(other.getParent())) return false; + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) - return false; + if (!getDisplayVideo360AdvertiserLink() + .equals(other.getDisplayVideo360AdvertiserLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -267,145 +213,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( + 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.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - 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.CreateDisplayVideo360AdvertiserLinkRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - 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.CreateDisplayVideo360AdvertiserLinkRequest - 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.CreateDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,22 +351,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -443,28 +371,22 @@ public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkReq } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - buildPartial() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = - new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.displayVideo360AdvertiserLink_ = - displayVideo360AdvertiserLinkBuilder_ == null - ? displayVideo360AdvertiserLink_ - : displayVideo360AdvertiserLinkBuilder_.build(); + result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_ == null + ? displayVideo360AdvertiserLink_ + : displayVideo360AdvertiserLinkBuilder_.build(); } } @@ -472,53 +394,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other) { + if (other == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -553,26 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDisplayVideo360AdvertiserLinkFieldBuilder().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) { @@ -582,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -611,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -635,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -677,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -701,65 +589,43 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - displayVideo360AdvertiserLinkBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the displayVideo360AdvertiserLink field is set. */ public boolean hasDisplayVideo360AdvertiserLink() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The displayVideo360AdvertiserLink. */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } else { return displayVideo360AdvertiserLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -773,15 +639,11 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDisplayVideo360AdvertiserLink( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -795,24 +657,17 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && displayVideo360AdvertiserLink_ != null - && displayVideo360AdvertiserLink_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + displayVideo360AdvertiserLink_ != null && + displayVideo360AdvertiserLink_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); } else { displayVideo360AdvertiserLink_ = value; @@ -825,15 +680,11 @@ public Builder mergeDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDisplayVideo360AdvertiserLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -846,73 +697,55 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinkBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { if (displayVideo360AdvertiserLinkBuilder_ != null) { return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); } else { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null ? + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } } /** - * - * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinkFieldBuilder() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( - getDisplayVideo360AdvertiserLink(), getParentForChildren(), isClean()); + displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + getDisplayVideo360AdvertiserLink(), + getParentForChildren(), + isClean()); displayVideo360AdvertiserLink_ = null; } return displayVideo360AdvertiserLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,46 +755,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDisplayVideo360AdvertiserLinkRequest 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; @@ -973,8 +801,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..41bf5ad15a2b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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 CreateDisplayVideo360AdvertiserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) + 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 DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); + /** + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java index 66fc75c95d3d..e2b206c23643 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateFirebaseLinkRequest} */ -public final class CreateFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateFirebaseLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) CreateFirebaseLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateFirebaseLinkRequest.newBuilder() to construct. private CreateFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateFirebaseLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,16 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FIREBASE_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.FirebaseLink firebaseLink_; /** - * - * *
    * Required. The Firebase link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -144,44 +112,30 @@ public boolean hasFirebaseLink() { return firebaseLink_ != null; } /** - * - * *
    * Required. The Firebase link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { - return firebaseLink_ == null - ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; } /** - * - * *
    * Required. The Firebase link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { - return firebaseLink_ == null - ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,7 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (firebaseLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFirebaseLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFirebaseLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,18 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest other = - (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest other = (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasFirebaseLink() != other.hasFirebaseLink()) return false; if (hasFirebaseLink()) { - if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink() + .equals(other.getFirebaseLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -259,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( 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.CreateFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateFirebaseLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance(); } @@ -425,24 +374,21 @@ public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result = - new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result = new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.firebaseLink_ = - firebaseLinkBuilder_ == null ? firebaseLink_ : firebaseLinkBuilder_.build(); + result.firebaseLink_ = firebaseLinkBuilder_ == null + ? firebaseLink_ + : firebaseLinkBuilder_.build(); } } @@ -450,39 +396,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -490,9 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -527,25 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getFirebaseLinkFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getFirebaseLinkFieldBuilder().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) { @@ -555,28 +497,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -585,24 +522,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -610,41 +544,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -654,24 +577,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -681,58 +598,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.FirebaseLink firebaseLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> - firebaseLinkBuilder_; + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> firebaseLinkBuilder_; /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the firebaseLink field is set. */ public boolean hasFirebaseLink() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The firebaseLink. */ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { if (firebaseLinkBuilder_ == null) { - return firebaseLink_ == null - ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; } else { return firebaseLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { @@ -748,15 +646,11 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFirebaseLink( com.google.analytics.admin.v1alpha.FirebaseLink.Builder builderForValue) { @@ -770,22 +664,17 @@ public Builder setFirebaseLink( return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && firebaseLink_ != null - && firebaseLink_ - != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + firebaseLink_ != null && + firebaseLink_ != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { getFirebaseLinkBuilder().mergeFrom(value); } else { firebaseLink_ = value; @@ -798,15 +687,11 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFirebaseLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -819,15 +704,11 @@ public Builder clearFirebaseLink() { return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBuilder() { bitField0_ |= 0x00000002; @@ -835,55 +716,43 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBu return getFirebaseLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (firebaseLinkBuilder_ != null) { return firebaseLinkBuilder_.getMessageOrBuilder(); } else { - return firebaseLink_ == null - ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? + com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; } } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { - firebaseLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( - getFirebaseLink(), getParentForChildren(), isClean()); + firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( + getFirebaseLink(), + getParentForChildren(), + isClean()); firebaseLink_ = null; } return firebaseLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,13 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(); } @@ -908,27 +776,27 @@ public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFirebaseLinkRequest 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; @@ -943,4 +811,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..ae17db521f7b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,58 @@ +// 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 CreateFirebaseLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. 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. 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(); + + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the firebaseLink field is set. + */ + boolean hasFirebaseLink(); + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The firebaseLink. + */ + com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java index 350d806c3a21..c075182923a3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest} */ -public final class CreateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) CreateGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateGoogleAdsLinkRequest.newBuilder() to construct. private CreateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateGoogleAdsLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; /** - * - * *
    * Required. The GoogleAdsLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** - * - * *
    * Required. The GoogleAdsLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } /** - * - * *
    * Required. The GoogleAdsLink to create.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGoogleAdsLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( 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.CreateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -423,24 +372,21 @@ public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result = - new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.googleAdsLink_ = - googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = googleAdsLinkBuilder_ == null + ? googleAdsLink_ + : googleAdsLinkBuilder_.build(); } } @@ -448,39 +394,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -488,9 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -525,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getGoogleAdsLinkFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getGoogleAdsLinkFieldBuilder().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) { @@ -553,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -582,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -606,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -648,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> - googleAdsLinkBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The googleAdsLink. */ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { @@ -741,15 +639,11 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGoogleAdsLink( com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder builderForValue) { @@ -763,22 +657,17 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && googleAdsLink_ != null - && googleAdsLink_ - != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + googleAdsLink_ != null && + googleAdsLink_ != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -791,15 +680,11 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGoogleAdsLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -812,15 +697,11 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLinkBuilder() { bitField0_ |= 0x00000002; @@ -828,55 +709,43 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), getParentForChildren(), isClean()); + googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), + getParentForChildren(), + isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,13 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(); } @@ -901,27 +769,27 @@ public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGoogleAdsLinkRequest 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; @@ -936,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..72a64848bb17 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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 CreateGoogleAdsLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) + 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 GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the googleAdsLink field is set. + */ + boolean hasGoogleAdsLink(); + /** + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The googleAdsLink. + */ + com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); + /** + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java index 9147c1f01816..888ebe7f7d9c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java @@ -1,91 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest} */ -public final class CreateMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) CreateMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMeasurementProtocolSecretRequest.newBuilder() to construct. - private CreateMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMeasurementProtocolSecretRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,16 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -147,46 +112,30 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -218,9 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (measurementProtocolSecret_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getMeasurementProtocolSecret()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMeasurementProtocolSecret()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,20 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -268,139 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( 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.CreateMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - 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.CreateMeasurementProtocolSecretRequest 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.CreateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,22 +353,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -438,28 +373,22 @@ public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - buildPartial() { - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest buildPartial() { + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.measurementProtocolSecret_ = - measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } } @@ -467,52 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreateMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -547,26 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -576,28 +497,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -606,24 +522,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -631,41 +544,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -675,24 +577,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -702,62 +598,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -771,15 +646,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -793,24 +664,17 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && measurementProtocolSecret_ != null - && measurementProtocolSecret_ - != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + measurementProtocolSecret_ != null && + measurementProtocolSecret_ != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -823,15 +687,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000002); @@ -844,73 +704,55 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), getParentForChildren(), isClean()); + measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), + getParentForChildren(), + isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,44 +762,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMeasurementProtocolSecretRequest 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; @@ -969,8 +808,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..698e00d225d9 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,58 @@ +// 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 CreateMeasurementProtocolSecretRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the measurementProtocolSecret field is set. + */ + boolean hasMeasurementProtocolSecret(); + /** + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The measurementProtocolSecret. + */ + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); + /** + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java index f8b2937f3f7a..eb858adfed1d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java @@ -1,84 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreatePropertyRequest} */ -public final class CreatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreatePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreatePropertyRequest) CreatePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreatePropertyRequest.newBuilder() to construct. private CreatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreatePropertyRequest() {} + private CreatePropertyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CreatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, - com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Property property_; /** - * - * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ @java.lang.Override @@ -86,46 +63,32 @@ public boolean hasProperty() { return property_ != null; } /** - * - * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getProperty() { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } /** - * - * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +100,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -151,7 +115,8 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -161,17 +126,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreatePropertyRequest other = - (com.google.analytics.admin.v1alpha.CreatePropertyRequest) obj; + com.google.analytics.admin.v1alpha.CreatePropertyRequest other = (com.google.analytics.admin.v1alpha.CreatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -194,136 +159,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( 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.CreatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreatePropertyRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreatePropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreatePropertyRequest) com.google.analytics.admin.v1alpha.CreatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, - com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreatePropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; } @java.lang.Override @@ -358,11 +316,8 @@ public com.google.analytics.admin.v1alpha.CreatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreatePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreatePropertyRequest result = - new com.google.analytics.admin.v1alpha.CreatePropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CreatePropertyRequest result = new com.google.analytics.admin.v1alpha.CreatePropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -370,7 +325,9 @@ public com.google.analytics.admin.v1alpha.CreatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.CreatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null + ? property_ + : propertyBuilder_.build(); } } @@ -378,39 +335,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreatePropertyRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CreatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreatePropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreatePropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +374,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreatePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -449,19 +404,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPropertyFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -471,66 +426,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> - propertyBuilder_; + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertyBuilder_; /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ public com.google.analytics.admin.v1alpha.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { @@ -546,16 +481,12 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -569,22 +500,18 @@ public Builder setProperty( return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -597,16 +524,12 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -619,16 +542,12 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -636,57 +555,45 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? + com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -696,12 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreatePropertyRequest) private static final com.google.analytics.admin.v1alpha.CreatePropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreatePropertyRequest(); } @@ -710,27 +617,27 @@ public static com.google.analytics.admin.v1alpha.CreatePropertyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePropertyRequest 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; @@ -745,4 +652,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..fb9f826a731c --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java @@ -0,0 +1,39 @@ +// 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 CreatePropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreatePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the property field is set. + */ + boolean hasProperty(); + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The property. + */ + com.google.analytics.admin.v1alpha.Property getProperty(); + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java new file mode 100644 index 000000000000..5940f77a8663 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java @@ -0,0 +1,809 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..2062721d5a44 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java index 78dee828712c..5c8726fc7b92 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for CreateUserLink RPC.
  * Users can have multiple email addresses associated with their Google
@@ -33,61 +16,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
  */
-public final class CreateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateUserLinkRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
     CreateUserLinkRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateUserLinkRequest.newBuilder() to construct.
   private CreateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateUserLinkRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateUserLinkRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_CreateUserLinkRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-        .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
-            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -96,31 +71,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -131,15 +104,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int NOTIFY_NEW_USER_FIELD_NUMBER = 2; private boolean notifyNewUser_ = false; /** - * - * *
-   * 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]; - * * @return The notifyNewUser. */ @java.lang.Override @@ -150,16 +120,11 @@ public boolean getNotifyNewUser() { public static final int USER_LINK_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** - * - * *
    * Required. The user link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ @java.lang.Override @@ -167,44 +132,30 @@ public boolean hasUserLink() { return userLink_ != null; } /** - * - * *
    * Required. The user link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } /** - * - * *
    * Required. The user link to create.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,10 +191,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUser_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUser_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, notifyNewUser_); } if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUserLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUserLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,19 +206,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = - (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getNotifyNewUser() != other.getNotifyNewUser()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getNotifyNewUser() + != other.getNotifyNewUser()) return false; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink().equals(other.getUserLink())) return false; + if (!getUserLink() + .equals(other.getUserLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -280,7 +236,8 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUser()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNotifyNewUser()); if (hasUserLink()) { hash = (37 * hash) + USER_LINK_FIELD_NUMBER; hash = (53 * hash) + getUserLink().hashCode(); @@ -291,104 +248,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( 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.CreateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateUserLink RPC.
    * Users can have multiple email addresses associated with their Google
@@ -401,32 +350,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
       com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
-              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.CreateUserLinkRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -442,9 +392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
-          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
@@ -463,11 +413,8 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.CreateUserLinkRequest buildPartial() {
-      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result =
-          new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -481,7 +428,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateUserLinkRequ
         result.notifyNewUser_ = notifyNewUser_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.userLink_ = userLinkBuilder_ == null ? userLink_ : userLinkBuilder_.build();
+        result.userLink_ = userLinkBuilder_ == null
+            ? userLink_
+            : userLinkBuilder_.build();
       }
     }
 
@@ -489,39 +438,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateUserLinkRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.CreateUserLinkRequest) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -529,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateUserLinkRequest other) {
-      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -568,31 +515,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                notifyNewUser_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getUserLinkFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              notifyNewUser_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getUserLinkFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -602,27 +547,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -631,23 +571,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -655,39 +592,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -697,23 +623,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -721,17 +641,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private boolean notifyNewUser_; + private boolean notifyNewUser_ ; /** - * - * *
-     * 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]; - * * @return The notifyNewUser. */ @java.lang.Override @@ -739,35 +656,29 @@ public boolean getNotifyNewUser() { return notifyNewUser_; } /** - * - * *
-     * 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]; - * * @param value The notifyNewUser to set. * @return This builder for chaining. */ public Builder setNotifyNewUser(boolean value) { - + notifyNewUser_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearNotifyNewUser() { @@ -779,58 +690,39 @@ public Builder clearNotifyNewUser() { private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ public boolean hasUserLink() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -846,15 +738,11 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -868,21 +756,17 @@ public Builder setUserLink( return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && userLink_ != null - && userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + userLink_ != null && + userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { getUserLinkBuilder().mergeFrom(value); } else { userLink_ = value; @@ -895,15 +779,11 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUserLink() { bitField0_ = (bitField0_ & ~0x00000004); @@ -916,15 +796,11 @@ public Builder clearUserLink() { return this; } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { bitField0_ |= 0x00000004; @@ -932,55 +808,43 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() return getUserLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } } /** - * - * *
      * Required. The user link to create.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), getParentForChildren(), isClean()); + userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), + getParentForChildren(), + isClean()); userLink_ = null; } return userLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -990,12 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.CreateUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(); } @@ -1004,27 +868,27 @@ public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserLinkRequest 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; @@ -1039,4 +903,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..a49448044c16 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java @@ -0,0 +1,67 @@ +// 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 CreateUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * 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]; + * @return The notifyNewUser. + */ + boolean getNotifyNewUser(); + + /** + *
+   * Required. The user link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + *
+   * Required. The user link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + *
+   * Required. The user link to create.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java index a2cc64b9d68a..e220429db39d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A definition for a CustomDimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomDimension} */ -public final class CustomDimension extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomDimension extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomDimension) CustomDimensionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomDimension.newBuilder() to construct. private CustomDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomDimension() { name_ = ""; parameterName_ = ""; @@ -47,43 +29,39 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomDimension(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CustomDimension_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomDimension.class, - com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); + com.google.analytics.admin.v1alpha.CustomDimension.class, com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); } /** - * - * *
    * Valid values for the scope of this dimension.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.CustomDimension.DimensionScope} */ - public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { + public enum DimensionScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -92,8 +70,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ DIMENSION_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Dimension scoped to an event.
      * 
@@ -102,8 +78,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ EVENT(1), /** - * - * *
      * Dimension scoped to a user.
      * 
@@ -115,8 +89,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -125,8 +97,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Dimension scoped to an event.
      * 
@@ -135,8 +105,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 1; /** - * - * *
      * Dimension scoped to a user.
      * 
@@ -145,6 +113,7 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,51 +138,49 @@ public static DimensionScope valueOf(int value) { */ public static DimensionScope forNumber(int value) { switch (value) { - case 0: - return DIMENSION_SCOPE_UNSPECIFIED; - case 1: - return EVENT; - case 2: - return USER; - default: - return null; + case 0: return DIMENSION_SCOPE_UNSPECIFIED; + case 1: return EVENT; + case 2: return USER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DimensionScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DimensionScope findValueByNumber(int number) { + return DimensionScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DimensionScope findValueByNumber(int number) { - return DimensionScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor().getEnumTypes().get(0); } private static final DimensionScope[] VALUES = values(); - public static DimensionScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DimensionScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,19 +198,15 @@ private DimensionScope(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -252,30 +215,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -284,12 +247,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -300,10 +260,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ @java.lang.Override @@ -312,15 +269,14 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -331,18 +287,17 @@ public java.lang.String getParameterName() {
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -351,22 +306,18 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
-   * 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]; - * * @return The displayName. */ @java.lang.Override @@ -375,33 +326,33 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -410,18 +361,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
-   * 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]; - * * @return The description. */ @java.lang.Override @@ -430,29 +378,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -463,57 +412,39 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int SCOPE_FIELD_NUMBER = 5; private int scope_ = 0; /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { + com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED : result; } public static final int DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER = 6; private boolean disallowAdsPersonalization_ = false; /** - * - * *
-   * 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]; - * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -522,7 +453,6 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -534,7 +464,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -547,10 +478,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (scope_ - != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope - .DIMENSION_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, scope_); } if (disallowAdsPersonalization_ != false) { @@ -577,14 +505,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (scope_ - != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope - .DIMENSION_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, scope_); + if (scope_ != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, scope_); } if (disallowAdsPersonalization_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disallowAdsPersonalization_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, disallowAdsPersonalization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -594,20 +521,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CustomDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CustomDimension other = - (com.google.analytics.admin.v1alpha.CustomDimension) obj; + com.google.analytics.admin.v1alpha.CustomDimension other = (com.google.analytics.admin.v1alpha.CustomDimension) obj; - if (!getName().equals(other.getName())) return false; - if (!getParameterName().equals(other.getParameterName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParameterName() + .equals(other.getParameterName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (scope_ != other.scope_) return false; - if (getDisallowAdsPersonalization() != other.getDisallowAdsPersonalization()) return false; + if (getDisallowAdsPersonalization() + != other.getDisallowAdsPersonalization()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -630,142 +561,137 @@ public int hashCode() { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; hash = (37 * hash) + DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisallowAdsPersonalization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisallowAdsPersonalization()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( 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.CustomDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CustomDimension parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CustomDimension parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CustomDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A definition for a CustomDimension.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomDimension} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CustomDimension) com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomDimension.class, - com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); + com.google.analytics.admin.v1alpha.CustomDimension.class, com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CustomDimension.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -780,9 +706,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; } @java.lang.Override @@ -801,11 +727,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension buildPartial() { - com.google.analytics.admin.v1alpha.CustomDimension result = - new com.google.analytics.admin.v1alpha.CustomDimension(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.CustomDimension result = new com.google.analytics.admin.v1alpha.CustomDimension(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -836,39 +759,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CustomDimension re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CustomDimension) { - return mergeFrom((com.google.analytics.admin.v1alpha.CustomDimension) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CustomDimension)other); } else { super.mergeFrom(other); return this; @@ -876,8 +798,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CustomDimension other) { - if (other == com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -930,49 +851,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - scope_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - disallowAdsPersonalization_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + scope_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + disallowAdsPersonalization_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -982,26 +896,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1010,22 +921,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1033,37 +943,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1073,22 +976,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1098,8 +997,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parameterName_ = ""; /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1110,16 +1007,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1128,8 +1023,6 @@ public java.lang.String getParameterName() { } } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1140,17 +1033,16 @@ public java.lang.String getParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1158,8 +1050,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1170,25 +1060,19 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1199,10 +1083,7 @@ public Builder setParameterName(java.lang.String value) {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1212,8 +1093,6 @@ public Builder clearParameterName() { return this; } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1224,17 +1103,13 @@ public Builder clearParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1244,24 +1119,22 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
-     * 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]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1270,25 +1143,24 @@ 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.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1296,43 +1168,36 @@ 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.
      * 
* * string display_name = 3 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1342,25 +1207,21 @@ public Builder clearDisplayName() { return this; } /** - * - * *
-     * 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]; - * * @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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1370,20 +1231,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
-     * 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]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1392,21 +1252,21 @@ 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]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1414,35 +1274,30 @@ 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]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1452,21 +1307,18 @@ public Builder clearDescription() { return this; } /** - * - * *
-     * 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]; - * * @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(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -1476,33 +1328,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int scope_ = 0; /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -1513,42 +1354,28 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope value) { + public Builder setScope(com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope value) { if (value == null) { throw new NullPointerException(); } @@ -1558,16 +1385,11 @@ public Builder setScope( return this; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearScope() { @@ -1577,18 +1399,15 @@ public Builder clearScope() { return this; } - private boolean disallowAdsPersonalization_; + private boolean disallowAdsPersonalization_ ; /** - * - * *
-     * 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]; - * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1596,37 +1415,31 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** - * - * *
-     * 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]; - * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ public Builder setDisallowAdsPersonalization(boolean value) { - + disallowAdsPersonalization_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { @@ -1635,9 +1448,9 @@ public Builder clearDisallowAdsPersonalization() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1647,12 +1460,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CustomDimension) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CustomDimension) private static final com.google.analytics.admin.v1alpha.CustomDimension DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CustomDimension(); } @@ -1661,27 +1474,27 @@ public static com.google.analytics.admin.v1alpha.CustomDimension getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomDimension 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomDimension 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; @@ -1696,4 +1509,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java index a7041dc5b340..c95c62a6efd5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomDimensionOrBuilder - extends +public interface CustomDimensionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomDimension) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -63,16 +40,11 @@ public interface CustomDimensionOrBuilder
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ java.lang.String getParameterName(); /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -83,112 +55,89 @@ public interface CustomDimensionOrBuilder
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - com.google.protobuf.ByteString getParameterNameBytes(); + 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.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ 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.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + 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]; - * * @return The description. */ 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]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope(); /** - * - * *
-   * 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]; - * * @return The disallowAdsPersonalization. */ boolean getDisallowAdsPersonalization(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java index a43bcc5d779b..8aaa968f485b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A definition for a custom metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomMetric} */ -public final class CustomMetric extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomMetric extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomMetric) CustomMetricOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomMetric.newBuilder() to construct. private CustomMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomMetric() { name_ = ""; parameterName_ = ""; @@ -49,33 +31,30 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_CustomMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomMetric.class, - com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); + com.google.analytics.admin.v1alpha.CustomMetric.class, com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); } /** - * - * *
    * Possible types of representing the custom metric's value.
    * Currency representation may change in the future, requiring a breaking API
@@ -84,10 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit}
    */
-  public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum {
+  public enum MeasurementUnit
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * MeasurementUnit unspecified or missing.
      * 
@@ -96,8 +74,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** - * - * *
      * This metric uses default units.
      * 
@@ -106,8 +82,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ STANDARD(1), /** - * - * *
      * This metric measures a currency.
      * 
@@ -116,8 +90,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ CURRENCY(2), /** - * - * *
      * This metric measures feet.
      * 
@@ -126,8 +98,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ FEET(3), /** - * - * *
      * This metric measures meters.
      * 
@@ -136,8 +106,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ METERS(4), /** - * - * *
      * This metric measures kilometers.
      * 
@@ -146,8 +114,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ KILOMETERS(5), /** - * - * *
      * This metric measures miles.
      * 
@@ -156,8 +122,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MILES(6), /** - * - * *
      * This metric measures milliseconds.
      * 
@@ -166,8 +130,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MILLISECONDS(7), /** - * - * *
      * This metric measures seconds.
      * 
@@ -176,8 +138,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ SECONDS(8), /** - * - * *
      * This metric measures minutes.
      * 
@@ -186,8 +146,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MINUTES(9), /** - * - * *
      * This metric measures hours.
      * 
@@ -199,8 +157,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -209,8 +165,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This metric uses default units.
      * 
@@ -219,8 +173,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STANDARD_VALUE = 1; /** - * - * *
      * This metric measures a currency.
      * 
@@ -229,8 +181,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CURRENCY_VALUE = 2; /** - * - * *
      * This metric measures feet.
      * 
@@ -239,8 +189,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEET_VALUE = 3; /** - * - * *
      * This metric measures meters.
      * 
@@ -249,8 +197,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METERS_VALUE = 4; /** - * - * *
      * This metric measures kilometers.
      * 
@@ -259,8 +205,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KILOMETERS_VALUE = 5; /** - * - * *
      * This metric measures miles.
      * 
@@ -269,8 +213,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MILES_VALUE = 6; /** - * - * *
      * This metric measures milliseconds.
      * 
@@ -279,8 +221,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MILLISECONDS_VALUE = 7; /** - * - * *
      * This metric measures seconds.
      * 
@@ -289,8 +229,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SECONDS_VALUE = 8; /** - * - * *
      * This metric measures minutes.
      * 
@@ -299,8 +237,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINUTES_VALUE = 9; /** - * - * *
      * This metric measures hours.
      * 
@@ -309,6 +245,7 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HOURS_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -333,58 +270,47 @@ public static MeasurementUnit valueOf(int value) { */ public static MeasurementUnit forNumber(int value) { switch (value) { - case 0: - return MEASUREMENT_UNIT_UNSPECIFIED; - case 1: - return STANDARD; - case 2: - return CURRENCY; - case 3: - return FEET; - case 4: - return METERS; - case 5: - return KILOMETERS; - case 6: - return MILES; - case 7: - return MILLISECONDS; - case 8: - return SECONDS; - case 9: - return MINUTES; - case 10: - return HOURS; - default: - return null; + case 0: return MEASUREMENT_UNIT_UNSPECIFIED; + case 1: return STANDARD; + case 2: return CURRENCY; + case 3: return FEET; + case 4: return METERS; + case 5: return KILOMETERS; + case 6: return MILES; + case 7: return MILLISECONDS; + case 8: return SECONDS; + case 9: return MINUTES; + case 10: return HOURS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MeasurementUnit> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MeasurementUnit findValueByNumber(int number) { + return MeasurementUnit.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MeasurementUnit findValueByNumber(int number) { - return MeasurementUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(0); } @@ -393,7 +319,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MeasurementUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -411,18 +338,15 @@ private MeasurementUnit(int value) { } /** - * - * *
    * The scope of this metric.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.MetricScope} */ - public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { + public enum MetricScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -431,8 +355,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ METRIC_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Metric scoped to an event.
      * 
@@ -444,8 +366,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -454,8 +374,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Metric scoped to an event.
      * 
@@ -464,6 +382,7 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -488,47 +407,48 @@ public static MetricScope valueOf(int value) { */ public static MetricScope forNumber(int value) { switch (value) { - case 0: - return METRIC_SCOPE_UNSPECIFIED; - case 1: - return EVENT; - default: - return null; + case 0: return METRIC_SCOPE_UNSPECIFIED; + case 1: return EVENT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MetricScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetricScope findValueByNumber(int number) { + return MetricScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricScope findValueByNumber(int number) { - return MetricScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(1); } private static final MetricScope[] VALUES = values(); - public static MetricScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetricScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -546,8 +466,6 @@ private MetricScope(int value) { } /** - * - * *
    * Labels that mark the data in this custom metric as data that should be
    * restricted to specific users.
@@ -555,10 +473,9 @@ private MetricScope(int value) {
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType}
    */
-  public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RestrictedMetricType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Type unknown or unspecified.
      * 
@@ -567,8 +484,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ RESTRICTED_METRIC_TYPE_UNSPECIFIED(0), /** - * - * *
      * Metric reports cost data.
      * 
@@ -577,8 +492,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ COST_DATA(1), /** - * - * *
      * Metric reports revenue data.
      * 
@@ -590,8 +503,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
      * Type unknown or unspecified.
      * 
@@ -600,8 +511,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ public static final int RESTRICTED_METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Metric reports cost data.
      * 
@@ -610,8 +519,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ public static final int COST_DATA_VALUE = 1; /** - * - * *
      * Metric reports revenue data.
      * 
@@ -620,6 +527,7 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ public static final int REVENUE_DATA_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -644,14 +552,10 @@ public static RestrictedMetricType valueOf(int value) { */ public static RestrictedMetricType forNumber(int value) { switch (value) { - case 0: - return RESTRICTED_METRIC_TYPE_UNSPECIFIED; - case 1: - return COST_DATA; - case 2: - return REVENUE_DATA; - default: - return null; + case 0: return RESTRICTED_METRIC_TYPE_UNSPECIFIED; + case 1: return COST_DATA; + case 2: return REVENUE_DATA; + default: return null; } } @@ -659,28 +563,28 @@ public static RestrictedMetricType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RestrictedMetricType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestrictedMetricType findValueByNumber(int number) { + return RestrictedMetricType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestrictedMetricType findValueByNumber(int number) { - return RestrictedMetricType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(2); } @@ -689,7 +593,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RestrictedMetricType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -707,19 +612,15 @@ private RestrictedMetricType(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -728,30 +629,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -760,12 +661,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -774,10 +672,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ @java.lang.Override @@ -786,15 +681,14 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -803,18 +697,17 @@ public java.lang.String getParameterName() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -823,12 +716,9 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -838,7 +728,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -847,15 +736,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -865,15 +753,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -882,19 +771,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -903,30 +788,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -937,142 +822,90 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MEASUREMENT_UNIT_FIELD_NUMBER = 5; private int measurementUnit_ = 0; /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override - public int getMeasurementUnitValue() { + @java.lang.Override public int getMeasurementUnitValue() { return measurementUnit_; } /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementUnit. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); - return result == null - ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { + com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); + return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 6; private int scope_ = 0; /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { + com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED : result; } public static final int RESTRICTED_METRIC_TYPE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private java.util.List restrictedMetricType_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType> - restrictedMetricType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType> restrictedMetricType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>() { - public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType convert( - java.lang.Integer from) { - com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType result = - com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType.forNumber( - from); - return result == null - ? com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType - .UNRECOGNIZED - : result; + java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>() { + public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType convert(java.lang.Integer from) { + com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType result = com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType.forNumber(from); + return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType.UNRECOGNIZED : result; } }; /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedMetricType. */ @java.lang.Override - public java.util.List - getRestrictedMetricTypeList() { + public java.util.List getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>( - restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedMetricType. */ @java.lang.Override @@ -1080,58 +913,43 @@ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType - getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ @java.lang.Override - public java.util.List getRestrictedMetricTypeValueList() { + public java.util.List + getRestrictedMetricTypeValueList() { return restrictedMetricType_; } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -1139,11 +957,9 @@ public java.util.List getRestrictedMetricTypeValueList() { public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(index); } - private int restrictedMetricTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1155,7 +971,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1169,15 +986,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (measurementUnit_ - != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit - .MEASUREMENT_UNIT_UNSPECIFIED - .getNumber()) { + if (measurementUnit_ != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { output.writeEnum(5, measurementUnit_); } - if (scope_ - != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, scope_); } if (getRestrictedMetricTypeList().size() > 0) { @@ -1208,30 +1020,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (measurementUnit_ - != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit - .MEASUREMENT_UNIT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, measurementUnit_); + if (measurementUnit_ != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, measurementUnit_); } - if (scope_ - != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); + if (scope_ != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, scope_); } { int dataSize = 0; for (int i = 0; i < restrictedMetricType_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - restrictedMetricType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(restrictedMetricType_.get(i)); } size += dataSize; - if (!getRestrictedMetricTypeList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - restrictedMetricTypeMemoizedSerializedSize = dataSize; + if (!getRestrictedMetricTypeList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }restrictedMetricTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1241,18 +1048,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CustomMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CustomMetric other = - (com.google.analytics.admin.v1alpha.CustomMetric) obj; + com.google.analytics.admin.v1alpha.CustomMetric other = (com.google.analytics.admin.v1alpha.CustomMetric) obj; - if (!getName().equals(other.getName())) return false; - if (!getParameterName().equals(other.getParameterName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParameterName() + .equals(other.getParameterName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (measurementUnit_ != other.measurementUnit_) return false; if (scope_ != other.scope_) return false; if (!restrictedMetricType_.equals(other.restrictedMetricType_)) return false; @@ -1288,136 +1098,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( 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.CustomMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.CustomMetric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CustomMetric parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CustomMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A definition for a custom metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomMetric} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CustomMetric) com.google.analytics.admin.v1alpha.CustomMetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomMetric.class, - com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); + com.google.analytics.admin.v1alpha.CustomMetric.class, com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CustomMetric.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1434,9 +1238,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override @@ -1455,18 +1259,14 @@ public com.google.analytics.admin.v1alpha.CustomMetric build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric buildPartial() { - com.google.analytics.admin.v1alpha.CustomMetric result = - new com.google.analytics.admin.v1alpha.CustomMetric(this); + com.google.analytics.admin.v1alpha.CustomMetric result = new com.google.analytics.admin.v1alpha.CustomMetric(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.CustomMetric result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.CustomMetric result) { if (((bitField0_ & 0x00000040) != 0)) { restrictedMetricType_ = java.util.Collections.unmodifiableList(restrictedMetricType_); bitField0_ = (bitField0_ & ~0x00000040); @@ -1500,39 +1300,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CustomMetric resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.CustomMetric) { - return mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric) other); + return mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric)other); } else { super.mergeFrom(other); return this; @@ -1540,8 +1339,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CustomMetric other) { - if (other == com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1604,68 +1402,59 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - measurementUnit_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - scope_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 64: - { + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + measurementUnit_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + scope_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 64: { + int tmpRaw = input.readEnum(); + ensureRestrictedMetricTypeIsMutable(); + restrictedMetricType_.add(tmpRaw); + break; + } // case 64 + case 66: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.add(tmpRaw); - break; - } // case 64 - case 66: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureRestrictedMetricTypeIsMutable(); - restrictedMetricType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + 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) { @@ -1675,26 +1464,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1703,22 +1489,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1726,37 +1511,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1766,22 +1544,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1791,8 +1565,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parameterName_ = ""; /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1801,16 +1573,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1819,8 +1589,6 @@ public java.lang.String getParameterName() { } } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1829,17 +1597,16 @@ public java.lang.String getParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1847,8 +1614,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1857,25 +1622,19 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1884,10 +1643,7 @@ public Builder setParameterName(java.lang.String value) {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1897,8 +1653,6 @@ public Builder clearParameterName() { return this; } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1907,17 +1661,13 @@ public Builder clearParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1927,8 +1677,6 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1938,13 +1686,13 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 3 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1953,8 +1701,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1964,14 +1710,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1979,8 +1726,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1990,22 +1735,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -2015,7 +1756,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2025,8 +1765,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -2036,14 +1774,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3 [(.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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2053,21 +1789,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2076,22 +1810,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2099,37 +1832,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2139,22 +1865,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -2164,33 +1886,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int measurementUnit_ = 0; /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override - public int getMeasurementUnitValue() { + @java.lang.Override public int getMeasurementUnitValue() { return measurementUnit_; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for measurementUnit to set. * @return This builder for chaining. */ @@ -2201,43 +1912,28 @@ public Builder setMeasurementUnitValue(int value) { return this; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementUnit. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber( - measurementUnit_); - return result == null - ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); + return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The measurementUnit to set. * @return This builder for chaining. */ - public Builder setMeasurementUnit( - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit value) { + public Builder setMeasurementUnit(com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit value) { if (value == null) { throw new NullPointerException(); } @@ -2247,16 +1943,11 @@ public Builder setMeasurementUnit( return this; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearMeasurementUnit() { @@ -2268,33 +1959,22 @@ public Builder clearMeasurementUnit() { private int scope_ = 0; /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -2305,37 +1985,24 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The scope to set. * @return This builder for chaining. */ @@ -2349,16 +2016,11 @@ public Builder setScope(com.google.analytics.admin.v1alpha.CustomMetric.MetricSc return this; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearScope() { @@ -2369,8 +2031,7 @@ public Builder clearScope() { } private java.util.List restrictedMetricType_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRestrictedMetricTypeIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { restrictedMetricType_ = new java.util.ArrayList(restrictedMetricType_); @@ -2378,77 +2039,54 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedMetricType. */ - public java.util.List - getRestrictedMetricTypeList() { + public java.util.List getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>( - restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedMetricType. */ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType - getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The restrictedMetricType to set. * @return This builder for chaining. @@ -2464,23 +2102,17 @@ public Builder setRestrictedMetricType( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param value The restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addRestrictedMetricType( - com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType value) { + public Builder addRestrictedMetricType(com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType value) { if (value == null) { throw new NullPointerException(); } @@ -2490,25 +2122,18 @@ public Builder addRestrictedMetricType( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param values The restrictedMetricType to add. * @return This builder for chaining. */ public Builder addAllRestrictedMetricType( - java.lang.Iterable< - ? extends com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType> - values) { + java.lang.Iterable values) { ensureRestrictedMetricTypeIsMutable(); for (com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType value : values) { restrictedMetricType_.add(value.getNumber()); @@ -2517,18 +2142,13 @@ public Builder addAllRestrictedMetricType( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRestrictedMetricType() { @@ -2538,36 +2158,27 @@ public Builder clearRestrictedMetricType() { return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - public java.util.List getRestrictedMetricTypeValueList() { + public java.util.List + getRestrictedMetricTypeValueList() { return java.util.Collections.unmodifiableList(restrictedMetricType_); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -2575,41 +2186,32 @@ public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for restrictedMetricType to set. * @return This builder for chaining. */ - public Builder setRestrictedMetricTypeValue(int index, int value) { + public Builder setRestrictedMetricTypeValue( + int index, int value) { ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.set(index, value); onChanged(); return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for restrictedMetricType to add. * @return This builder for chaining. */ @@ -2620,22 +2222,18 @@ public Builder addRestrictedMetricTypeValue(int value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addAllRestrictedMetricTypeValue(java.lang.Iterable values) { + public Builder addAllRestrictedMetricTypeValue( + java.lang.Iterable values) { ensureRestrictedMetricTypeIsMutable(); for (int value : values) { restrictedMetricType_.add(value); @@ -2643,9 +2241,9 @@ public Builder addAllRestrictedMetricTypeValue(java.lang.Iterable PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomMetric 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomMetric 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; @@ -2704,4 +2302,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java similarity index 57% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java index f124a4763d22..29fb79805b53 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomMetricOrBuilder - extends +public interface CustomMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomMetric) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -61,16 +38,11 @@ public interface CustomMetricOrBuilder
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ java.lang.String getParameterName(); /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -79,17 +51,13 @@ public interface CustomMetricOrBuilder
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - com.google.protobuf.ByteString getParameterNameBytes(); + com.google.protobuf.ByteString + getParameterNameBytes(); /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -99,13 +67,10 @@ public interface CustomMetricOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -115,176 +80,125 @@ public interface CustomMetricOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ int getMeasurementUnitValue(); /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementUnit. */ com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit(); /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope(); /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedMetricType. */ - java.util.List - getRestrictedMetricTypeList(); + java.util.List getRestrictedMetricTypeList(); /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedMetricType. */ 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType( - int index); + com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - java.util.List getRestrictedMetricTypeValueList(); + 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java index 418a4597ce3a..663f6dbeaca9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Settings values for data retention. This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataRetentionSettings} */ -public final class DataRetentionSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataRetentionSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataRetentionSettings) DataRetentionSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataRetentionSettings.newBuilder() to construct. private DataRetentionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataRetentionSettings() { name_ = ""; eventDataRetention_ = 0; @@ -44,43 +26,39 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataRetentionSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DataRetentionSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1alpha.DataRetentionSettings.class, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); } /** - * - * *
    * Valid values for the data retention duration.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration} */ - public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum { + public enum RetentionDuration + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Data retention time duration is not specified.
      * 
@@ -89,8 +67,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ RETENTION_DURATION_UNSPECIFIED(0), /** - * - * *
      * The data retention time duration is 2 months.
      * 
@@ -99,8 +75,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ TWO_MONTHS(1), /** - * - * *
      * The data retention time duration is 14 months.
      * 
@@ -109,8 +83,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ FOURTEEN_MONTHS(3), /** - * - * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -120,8 +92,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     TWENTY_SIX_MONTHS(4),
     /**
-     *
-     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -131,8 +101,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
-     *
-     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -145,8 +113,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -155,8 +121,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data retention time duration is 2 months.
      * 
@@ -165,8 +129,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int TWO_MONTHS_VALUE = 1; /** - * - * *
      * The data retention time duration is 14 months.
      * 
@@ -175,8 +137,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int FOURTEEN_MONTHS_VALUE = 3; /** - * - * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -186,8 +146,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int TWENTY_SIX_MONTHS_VALUE = 4;
     /**
-     *
-     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -197,8 +155,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int THIRTY_EIGHT_MONTHS_VALUE = 5;
     /**
-     *
-     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -208,6 +164,7 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -232,20 +189,13 @@ public static RetentionDuration valueOf(int value) {
      */
     public static RetentionDuration forNumber(int value) {
       switch (value) {
-        case 0:
-          return RETENTION_DURATION_UNSPECIFIED;
-        case 1:
-          return TWO_MONTHS;
-        case 3:
-          return FOURTEEN_MONTHS;
-        case 4:
-          return TWENTY_SIX_MONTHS;
-        case 5:
-          return THIRTY_EIGHT_MONTHS;
-        case 6:
-          return FIFTY_MONTHS;
-        default:
-          return null;
+        case 0: return RETENTION_DURATION_UNSPECIFIED;
+        case 1: return TWO_MONTHS;
+        case 3: return FOURTEEN_MONTHS;
+        case 4: return TWENTY_SIX_MONTHS;
+        case 5: return THIRTY_EIGHT_MONTHS;
+        case 6: return FIFTY_MONTHS;
+        default: return null;
       }
     }
 
@@ -253,31 +203,29 @@ public static RetentionDuration forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        RetentionDuration> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RetentionDuration findValueByNumber(int number) {
+              return RetentionDuration.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public RetentionDuration findValueByNumber(int number) {
-                return RetentionDuration.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RetentionDuration[] VALUES = values();
@@ -285,7 +233,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static RetentionDuration valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -303,19 +252,15 @@ private RetentionDuration(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -324,30 +269,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -358,58 +303,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EVENT_DATA_RETENTION_FIELD_NUMBER = 2; private int eventDataRetention_ = 0; /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override - public int getEventDataRetentionValue() { + @java.lang.Override public int getEventDataRetentionValue() { return eventDataRetention_; } /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The eventDataRetention. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - getEventDataRetention() { - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber( - eventDataRetention_); - return result == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention() { + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); + return result == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; } public static final int RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER = 3; private boolean resetUserDataOnNewActivity_ = false; /** - * - * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; - * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -418,7 +343,6 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -430,14 +354,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (eventDataRetention_ - != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - .RETENTION_DURATION_UNSPECIFIED - .getNumber()) { + if (eventDataRetention_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { output.writeEnum(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { @@ -455,14 +377,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (eventDataRetention_ - != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - .RETENTION_DURATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventDataRetention_); + if (eventDataRetention_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, resetUserDataOnNewActivity_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, resetUserDataOnNewActivity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -472,17 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataRetentionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataRetentionSettings other = - (com.google.analytics.admin.v1alpha.DataRetentionSettings) obj; + com.google.analytics.admin.v1alpha.DataRetentionSettings other = (com.google.analytics.admin.v1alpha.DataRetentionSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (eventDataRetention_ != other.eventDataRetention_) return false; - if (getResetUserDataOnNewActivity() != other.getResetUserDataOnNewActivity()) return false; + if (getResetUserDataOnNewActivity() + != other.getResetUserDataOnNewActivity()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -499,143 +421,137 @@ public int hashCode() { hash = (37 * hash) + EVENT_DATA_RETENTION_FIELD_NUMBER; hash = (53 * hash) + eventDataRetention_; hash = (37 * hash) + RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResetUserDataOnNewActivity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResetUserDataOnNewActivity()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( 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.DataRetentionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DataRetentionSettings prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataRetentionSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Settings values for data retention. This is a singleton resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataRetentionSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataRetentionSettings) com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1alpha.DataRetentionSettings.class, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; } @java.lang.Override @@ -668,11 +584,8 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings buildPartial() { - com.google.analytics.admin.v1alpha.DataRetentionSettings result = - new com.google.analytics.admin.v1alpha.DataRetentionSettings(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DataRetentionSettings result = new com.google.analytics.admin.v1alpha.DataRetentionSettings(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -694,39 +607,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataRetentionSetti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DataRetentionSettings) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataRetentionSettings) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataRetentionSettings)other); } else { super.mergeFrom(other); return this; @@ -734,8 +646,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataRetentionSettings other) { - if (other == com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -773,31 +684,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - eventDataRetention_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - resetUserDataOnNewActivity_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + eventDataRetention_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + resetUserDataOnNewActivity_ = 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) { @@ -807,26 +714,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -835,22 +739,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -858,37 +761,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -898,22 +794,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -923,33 +815,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int eventDataRetention_ = 0; /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override - public int getEventDataRetentionValue() { + @java.lang.Override public int getEventDataRetentionValue() { return eventDataRetention_; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @param value The enum numeric value on the wire for eventDataRetention to set. * @return This builder for chaining. */ @@ -960,44 +841,28 @@ public Builder setEventDataRetentionValue(int value) { return this; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The eventDataRetention. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - getEventDataRetention() { - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber( - eventDataRetention_); - return result == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention() { + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); + return result == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @param value The eventDataRetention to set. * @return This builder for chaining. */ - public Builder setEventDataRetention( - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration value) { + public Builder setEventDataRetention(com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration value) { if (value == null) { throw new NullPointerException(); } @@ -1007,16 +872,11 @@ public Builder setEventDataRetention( return this; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return This builder for chaining. */ public Builder clearEventDataRetention() { @@ -1026,17 +886,14 @@ public Builder clearEventDataRetention() { return this; } - private boolean resetUserDataOnNewActivity_; + private boolean resetUserDataOnNewActivity_ ; /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -1044,35 +901,29 @@ public boolean getResetUserDataOnNewActivity() { return resetUserDataOnNewActivity_; } /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @param value The resetUserDataOnNewActivity to set. * @return This builder for chaining. */ public Builder setResetUserDataOnNewActivity(boolean value) { - + resetUserDataOnNewActivity_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @return This builder for chaining. */ public Builder clearResetUserDataOnNewActivity() { @@ -1081,9 +932,9 @@ public Builder clearResetUserDataOnNewActivity() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1093,12 +944,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataRetentionSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataRetentionSettings) private static final com.google.analytics.admin.v1alpha.DataRetentionSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataRetentionSettings(); } @@ -1107,27 +958,27 @@ public static com.google.analytics.admin.v1alpha.DataRetentionSettings getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataRetentionSettings 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataRetentionSettings 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; @@ -1142,4 +993,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataRetentionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java index b7b925116fb4..a11cb1f6330d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java @@ -1,95 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataRetentionSettingsOrBuilder - extends +public interface DataRetentionSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataRetentionSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ int getEventDataRetentionValue(); /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The eventDataRetention. */ - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - getEventDataRetention(); + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention(); /** - * - * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; - * * @return The resetUserDataOnNewActivity. */ boolean getResetUserDataOnNewActivity(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java index 83b94a3280ee..0d62bf374ac9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing data sharing settings of a Google Analytics
  * account.
@@ -28,53 +11,48 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DataSharingSettings}
  */
-public final class DataSharingSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataSharingSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataSharingSettings)
     DataSharingSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataSharingSettings.newBuilder() to construct.
   private DataSharingSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataSharingSettings() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataSharingSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_DataSharingSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.DataSharingSettings.class,
-            com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
+            com.google.analytics.admin.v1alpha.DataSharingSettings.class, com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -82,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -91,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -107,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,15 +103,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER = 2; private boolean sharingWithGoogleSupportEnabled_ = false; /** - * - * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; - * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -145,8 +119,6 @@ public boolean getSharingWithGoogleSupportEnabled() { public static final int SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER = 3; private boolean sharingWithGoogleAssignedSalesEnabled_ = false; /** - * - * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -154,7 +126,6 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -165,15 +136,12 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { public static final int SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER = 4; private boolean sharingWithGoogleAnySalesEnabled_ = false; /** - * - * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -184,14 +152,11 @@ public boolean getSharingWithGoogleAnySalesEnabled() { public static final int SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER = 5; private boolean sharingWithGoogleProductsEnabled_ = false; /** - * - * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; - * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -202,14 +167,11 @@ public boolean getSharingWithGoogleProductsEnabled() { public static final int SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER = 6; private boolean sharingWithOthersEnabled_ = false; /** - * - * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; - * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -218,7 +180,6 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -262,27 +224,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sharingWithGoogleSupportEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 2, sharingWithGoogleSupportEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, sharingWithGoogleSupportEnabled_); } if (sharingWithGoogleAssignedSalesEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, sharingWithGoogleAssignedSalesEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, sharingWithGoogleAssignedSalesEnabled_); } if (sharingWithGoogleAnySalesEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, sharingWithGoogleAnySalesEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, sharingWithGoogleAnySalesEnabled_); } if (sharingWithGoogleProductsEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 5, sharingWithGoogleProductsEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, sharingWithGoogleProductsEnabled_); } if (sharingWithOthersEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, sharingWithOthersEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, sharingWithOthersEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -292,24 +251,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataSharingSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataSharingSettings other = - (com.google.analytics.admin.v1alpha.DataSharingSettings) obj; + com.google.analytics.admin.v1alpha.DataSharingSettings other = (com.google.analytics.admin.v1alpha.DataSharingSettings) obj; - if (!getName().equals(other.getName())) return false; - if (getSharingWithGoogleSupportEnabled() != other.getSharingWithGoogleSupportEnabled()) - return false; + if (!getName() + .equals(other.getName())) return false; + if (getSharingWithGoogleSupportEnabled() + != other.getSharingWithGoogleSupportEnabled()) return false; if (getSharingWithGoogleAssignedSalesEnabled() != other.getSharingWithGoogleAssignedSalesEnabled()) return false; - if (getSharingWithGoogleAnySalesEnabled() != other.getSharingWithGoogleAnySalesEnabled()) - return false; - if (getSharingWithGoogleProductsEnabled() != other.getSharingWithGoogleProductsEnabled()) - return false; - if (getSharingWithOthersEnabled() != other.getSharingWithOthersEnabled()) return false; + if (getSharingWithGoogleAnySalesEnabled() + != other.getSharingWithGoogleAnySalesEnabled()) return false; + if (getSharingWithGoogleProductsEnabled() + != other.getSharingWithGoogleProductsEnabled()) return false; + if (getSharingWithOthersEnabled() + != other.getSharingWithOthersEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,127 +284,116 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleSupportEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleSupportEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAssignedSalesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleAssignedSalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAnySalesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleAnySalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleProductsEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleProductsEnabled()); hash = (37 * hash) + SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSharingWithOthersEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithOthersEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( 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.DataSharingSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DataSharingSettings prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataSharingSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing data sharing settings of a Google Analytics
    * account.
@@ -452,32 +401,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.DataSharingSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataSharingSettings)
       com.google.analytics.admin.v1alpha.DataSharingSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.DataSharingSettings.class,
-              com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
+              com.google.analytics.admin.v1alpha.DataSharingSettings.class, com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.DataSharingSettings.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -492,9 +442,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
@@ -513,11 +463,8 @@ public com.google.analytics.admin.v1alpha.DataSharingSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DataSharingSettings buildPartial() {
-      com.google.analytics.admin.v1alpha.DataSharingSettings result =
-          new com.google.analytics.admin.v1alpha.DataSharingSettings(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.DataSharingSettings result = new com.google.analytics.admin.v1alpha.DataSharingSettings(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -548,39 +495,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataSharingSetting
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.DataSharingSettings) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.DataSharingSettings) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.DataSharingSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -588,8 +534,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataSharingSettings other) {
-      if (other == com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -636,49 +581,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                sharingWithGoogleSupportEnabled_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                sharingWithGoogleAnySalesEnabled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                sharingWithGoogleProductsEnabled_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 48:
-              {
-                sharingWithOthersEnabled_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              sharingWithGoogleSupportEnabled_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              sharingWithGoogleAnySalesEnabled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              sharingWithGoogleProductsEnabled_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 48: {
+              sharingWithOthersEnabled_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            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) {
@@ -688,13 +626,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -702,13 +637,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -717,8 +652,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -726,14 +659,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -741,8 +675,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -750,22 +682,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -773,7 +701,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -783,8 +710,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -792,14 +717,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -807,17 +730,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean sharingWithGoogleSupportEnabled_; + private boolean sharingWithGoogleSupportEnabled_ ; /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -825,35 +745,29 @@ public boolean getSharingWithGoogleSupportEnabled() { return sharingWithGoogleSupportEnabled_; } /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @param value The sharingWithGoogleSupportEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleSupportEnabled(boolean value) { - + sharingWithGoogleSupportEnabled_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleSupportEnabled() { @@ -863,10 +777,8 @@ public Builder clearSharingWithGoogleSupportEnabled() { return this; } - private boolean sharingWithGoogleAssignedSalesEnabled_; + private boolean sharingWithGoogleAssignedSalesEnabled_ ; /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -874,7 +786,6 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -882,8 +793,6 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { return sharingWithGoogleAssignedSalesEnabled_; } /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -891,20 +800,17 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { - + sharingWithGoogleAssignedSalesEnabled_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -912,7 +818,6 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { @@ -922,17 +827,14 @@ public Builder clearSharingWithGoogleAssignedSalesEnabled() { return this; } - private boolean sharingWithGoogleAnySalesEnabled_; + private boolean sharingWithGoogleAnySalesEnabled_ ; /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -940,35 +842,29 @@ public boolean getSharingWithGoogleAnySalesEnabled() { return sharingWithGoogleAnySalesEnabled_; } /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @param value The sharingWithGoogleAnySalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { - + sharingWithGoogleAnySalesEnabled_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAnySalesEnabled() { @@ -978,16 +874,13 @@ public Builder clearSharingWithGoogleAnySalesEnabled() { return this; } - private boolean sharingWithGoogleProductsEnabled_; + private boolean sharingWithGoogleProductsEnabled_ ; /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -995,33 +888,27 @@ public boolean getSharingWithGoogleProductsEnabled() { return sharingWithGoogleProductsEnabled_; } /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @param value The sharingWithGoogleProductsEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleProductsEnabled(boolean value) { - + sharingWithGoogleProductsEnabled_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleProductsEnabled() { @@ -1031,16 +918,13 @@ public Builder clearSharingWithGoogleProductsEnabled() { return this; } - private boolean sharingWithOthersEnabled_; + private boolean sharingWithOthersEnabled_ ; /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -1048,33 +932,27 @@ public boolean getSharingWithOthersEnabled() { return sharingWithOthersEnabled_; } /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @param value The sharingWithOthersEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithOthersEnabled(boolean value) { - + sharingWithOthersEnabled_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @return This builder for chaining. */ public Builder clearSharingWithOthersEnabled() { @@ -1083,9 +961,9 @@ public Builder clearSharingWithOthersEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataSharingSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataSharingSettings) private static final com.google.analytics.admin.v1alpha.DataSharingSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataSharingSettings(); } @@ -1109,27 +987,27 @@ public static com.google.analytics.admin.v1alpha.DataSharingSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSharingSettings 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSharingSettings 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; @@ -1144,4 +1022,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataSharingSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java similarity index 75% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java index d7a115e88add..689f305c5a5e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataSharingSettingsOrBuilder - extends +public interface DataSharingSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataSharingSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -33,13 +15,10 @@ public interface DataSharingSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -47,28 +26,23 @@ public interface DataSharingSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; - * * @return The sharingWithGoogleSupportEnabled. */ boolean getSharingWithGoogleSupportEnabled(); /** - * - * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -76,47 +50,37 @@ public interface DataSharingSettingsOrBuilder
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ boolean getSharingWithGoogleAssignedSalesEnabled(); /** - * - * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return The sharingWithGoogleAnySalesEnabled. */ boolean getSharingWithGoogleAnySalesEnabled(); /** - * - * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; - * * @return The sharingWithGoogleProductsEnabled. */ boolean getSharingWithGoogleProductsEnabled(); /** - * - * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; - * * @return The sharingWithOthersEnabled. */ boolean getSharingWithOthersEnabled(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java index 2eb9d3b0265f..4b488a17ea12 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a data stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream} */ -public final class DataStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream) DataStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataStream.newBuilder() to construct. private DataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataStream() { name_ = ""; type_ = 0; @@ -45,43 +27,39 @@ private DataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.class, - com.google.analytics.admin.v1alpha.DataStream.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.class, com.google.analytics.admin.v1alpha.DataStream.Builder.class); } /** - * - * *
    * The type of the data stream.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.DataStream.DataStreamType} */ - public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { + public enum DataStreamType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type unknown or not specified.
      * 
@@ -90,8 +68,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_STREAM_TYPE_UNSPECIFIED(0), /** - * - * *
      * Web data stream.
      * 
@@ -100,8 +76,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ WEB_DATA_STREAM(1), /** - * - * *
      * Android app data stream.
      * 
@@ -110,8 +84,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ ANDROID_APP_DATA_STREAM(2), /** - * - * *
      * iOS app data stream.
      * 
@@ -123,8 +95,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Type unknown or not specified.
      * 
@@ -133,8 +103,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Web data stream.
      * 
@@ -143,8 +111,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WEB_DATA_STREAM_VALUE = 1; /** - * - * *
      * Android app data stream.
      * 
@@ -153,8 +119,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; /** - * - * *
      * iOS app data stream.
      * 
@@ -163,6 +127,7 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IOS_APP_DATA_STREAM_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -187,51 +152,50 @@ public static DataStreamType valueOf(int value) { */ public static DataStreamType forNumber(int value) { switch (value) { - case 0: - return DATA_STREAM_TYPE_UNSPECIFIED; - case 1: - return WEB_DATA_STREAM; - case 2: - return ANDROID_APP_DATA_STREAM; - case 3: - return IOS_APP_DATA_STREAM; - default: - return null; + case 0: return DATA_STREAM_TYPE_UNSPECIFIED; + case 1: return WEB_DATA_STREAM; + case 2: return ANDROID_APP_DATA_STREAM; + case 3: return IOS_APP_DATA_STREAM; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DataStreamType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataStreamType findValueByNumber(int number) { + return DataStreamType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataStreamType findValueByNumber(int number) { - return DataStreamType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.DataStream.getDescriptor().getEnumTypes().get(0); } private static final DataStreamType[] VALUES = values(); - public static DataStreamType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataStreamType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -248,111 +212,92 @@ private DataStreamType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.DataStream.DataStreamType) } - public interface WebStreamDataOrBuilder - extends + public interface WebStreamDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.WebStreamData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ java.lang.String getMeasurementId(); /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for measurementId. */ - com.google.protobuf.ByteString getMeasurementIdBytes(); + com.google.protobuf.ByteString + getMeasurementIdBytes(); /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ - com.google.protobuf.ByteString getDefaultUriBytes(); + com.google.protobuf.ByteString + getDefaultUriBytes(); } /** - * - * *
    * Data specific to web streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.WebStreamData} */ - public static final class WebStreamData extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WebStreamData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.WebStreamData) WebStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebStreamData.newBuilder() to construct. private WebStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebStreamData() { measurementId_ = ""; firebaseAppId_ = ""; @@ -361,44 +306,39 @@ private WebStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DataStream_WebStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); } public static final int MEASUREMENT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object measurementId_ = ""; /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ @java.lang.Override @@ -407,30 +347,30 @@ public java.lang.String getMeasurementId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; } } /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for measurementId. */ @java.lang.Override - public com.google.protobuf.ByteString getMeasurementIdBytes() { + public com.google.protobuf.ByteString + getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); measurementId_ = b; return b; } else { @@ -439,19 +379,15 @@ public com.google.protobuf.ByteString getMeasurementIdBytes() { } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -460,30 +396,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -492,19 +428,15 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } public static final int DEFAULT_URI_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object defaultUri_ = ""; /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ @java.lang.Override @@ -513,30 +445,30 @@ public java.lang.String getDefaultUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; } } /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultUriBytes() { + public com.google.protobuf.ByteString + getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -545,7 +477,6 @@ public com.google.protobuf.ByteString getDefaultUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -557,7 +488,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(measurementId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, measurementId_); } @@ -593,17 +525,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.WebStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream.WebStreamData other = - (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) obj; + com.google.analytics.admin.v1alpha.DataStream.WebStreamData other = (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) obj; - if (!getMeasurementId().equals(other.getMeasurementId())) return false; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; - if (!getDefaultUri().equals(other.getDefaultUri())) return false; + if (!getMeasurementId() + .equals(other.getMeasurementId())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) return false; + if (!getDefaultUri() + .equals(other.getDefaultUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -627,94 +561,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( 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.DataStream.WebStreamData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DataStream.WebStreamData prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream.WebStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -724,41 +651,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Data specific to web streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.WebStreamData} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream.WebStreamData) com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataStream.WebStreamData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -770,14 +695,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.WebStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance(); } @@ -792,17 +716,13 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.WebStreamData buildPartial() { - com.google.analytics.admin.v1alpha.DataStream.WebStreamData result = - new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DataStream.WebStreamData result = new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DataStream.WebStreamData result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.WebStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.measurementId_ = measurementId_; @@ -819,41 +739,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DataStream.WebStreamData) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.WebStreamData)other); } else { super.mergeFrom(other); return this; @@ -861,9 +778,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream.WebStreamData other) { - if (other - == com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance()) return this; if (!other.getMeasurementId().isEmpty()) { measurementId_ = other.measurementId_; bitField0_ |= 0x00000001; @@ -905,31 +820,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - measurementId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - defaultUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + measurementId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + defaultUri_ = 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) { @@ -939,26 +850,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object measurementId_ = ""; /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ public java.lang.String getMeasurementId() { java.lang.Object ref = measurementId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; @@ -967,22 +875,21 @@ public java.lang.String getMeasurementId() { } } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for measurementId. */ - public com.google.protobuf.ByteString getMeasurementIdBytes() { + public com.google.protobuf.ByteString + getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); measurementId_ = b; return b; } else { @@ -990,37 +897,30 @@ public com.google.protobuf.ByteString getMeasurementIdBytes() { } } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMeasurementId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } measurementId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMeasurementId() { @@ -1030,22 +930,18 @@ public Builder clearMeasurementId() { return this; } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMeasurementIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); measurementId_ = value; bitField0_ |= 0x00000001; @@ -1055,21 +951,19 @@ public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object firebaseAppId_ = ""; /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -1078,22 +972,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1101,37 +994,30 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } firebaseAppId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -1141,22 +1027,18 @@ public Builder clearFirebaseAppId() { return this; } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000002; @@ -1166,21 +1048,19 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultUri_ = ""; /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ public java.lang.String getDefaultUri() { java.lang.Object ref = defaultUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; @@ -1189,22 +1069,21 @@ public java.lang.String getDefaultUri() { } } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ - public com.google.protobuf.ByteString getDefaultUriBytes() { + public com.google.protobuf.ByteString + getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -1212,37 +1091,30 @@ public com.google.protobuf.ByteString getDefaultUriBytes() { } } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearDefaultUri() { @@ -1252,29 +1124,24 @@ public Builder clearDefaultUri() { return this; } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1287,13 +1154,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream.WebStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream.WebStreamData) - private static final com.google.analytics.admin.v1alpha.DataStream.WebStreamData - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DataStream.WebStreamData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(); } @@ -1302,28 +1168,27 @@ public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebStreamData 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebStreamData 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; @@ -1338,86 +1203,73 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AndroidAppStreamDataOrBuilder - extends + public interface AndroidAppStreamDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); } /** - * - * *
    * Data specific to Android app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData} */ - public static final class AndroidAppStreamData extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AndroidAppStreamData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) AndroidAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AndroidAppStreamData.newBuilder() to construct. private AndroidAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AndroidAppStreamData() { firebaseAppId_ = ""; packageName_ = ""; @@ -1425,44 +1277,39 @@ private AndroidAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AndroidAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DataStream_AndroidAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -1471,30 +1318,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1503,19 +1350,15 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } public static final int PACKAGE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object packageName_ = ""; /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The packageName. */ @java.lang.Override @@ -1524,30 +1367,30 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1556,7 +1399,6 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1568,7 +1410,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -1598,16 +1441,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other = - (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) obj; + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other = (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) obj; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1629,95 +1473,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( 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.DataStream.AndroidAppStreamData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - 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.DataStream.AndroidAppStreamData 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.DataStream.AndroidAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1727,42 +1563,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Data specific to Android app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1773,16 +1606,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } @java.lang.Override @@ -1796,17 +1627,13 @@ public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData build( @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData buildPartial() { - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result = - new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result = new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -1820,53 +1647,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other) { - if (other - == com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other) { + if (other == com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance()) return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -1903,25 +1723,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - packageName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + packageName_ = 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) { @@ -1931,26 +1748,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -1959,22 +1773,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1982,37 +1795,30 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -2022,22 +1828,18 @@ public Builder clearFirebaseAppId() { return this; } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -2047,21 +1849,19 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -2070,22 +1870,21 @@ public java.lang.String getPackageName() { } } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -2093,37 +1892,30 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPackageName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearPackageName() { @@ -2133,29 +1925,24 @@ public Builder clearPackageName() { return this; } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2168,44 +1955,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) - private static final com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AndroidAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AndroidAppStreamData 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; @@ -2217,94 +2001,76 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IosAppStreamDataOrBuilder - extends + public interface IosAppStreamDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bundleId. */ java.lang.String getBundleId(); /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for bundleId. */ - com.google.protobuf.ByteString getBundleIdBytes(); + com.google.protobuf.ByteString + getBundleIdBytes(); } /** - * - * *
    * Data specific to iOS app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.IosAppStreamData} */ - public static final class IosAppStreamData extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IosAppStreamData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) IosAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IosAppStreamData.newBuilder() to construct. private IosAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IosAppStreamData() { firebaseAppId_ = ""; bundleId_ = ""; @@ -2312,44 +2078,39 @@ private IosAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IosAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DataStream_IosAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -2358,30 +2119,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2390,21 +2151,15 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } public static final int BUNDLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object bundleId_ = ""; /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bundleId. */ @java.lang.Override @@ -2413,32 +2168,30 @@ public java.lang.String getBundleId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; } } /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for bundleId. */ @java.lang.Override - public com.google.protobuf.ByteString getBundleIdBytes() { + public com.google.protobuf.ByteString + getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2447,7 +2200,6 @@ public com.google.protobuf.ByteString getBundleIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2459,7 +2211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -2489,16 +2242,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other = - (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) obj; + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other = (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) obj; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; - if (!getBundleId().equals(other.getBundleId())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) return false; + if (!getBundleId() + .equals(other.getBundleId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2520,94 +2274,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( 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.DataStream.IosAppStreamData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2617,41 +2364,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Data specific to iOS app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.IosAppStreamData} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2662,14 +2407,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } @@ -2684,17 +2428,13 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData buildPartial() { - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result = - new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result = new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -2708,52 +2448,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other) { - if (other - == com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other) { + if (other == com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance()) return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -2790,25 +2524,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - bundleId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + bundleId_ = 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) { @@ -2818,26 +2549,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -2846,22 +2574,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2869,37 +2596,30 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -2909,22 +2629,18 @@ public Builder clearFirebaseAppId() { return this; } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -2934,23 +2650,19 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object bundleId_ = ""; /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bundleId. */ public java.lang.String getBundleId() { java.lang.Object ref = bundleId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; @@ -2959,24 +2671,21 @@ public java.lang.String getBundleId() { } } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for bundleId. */ - public com.google.protobuf.ByteString getBundleIdBytes() { + public com.google.protobuf.ByteString + getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2984,41 +2693,30 @@ public com.google.protobuf.ByteString getBundleIdBytes() { } } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The bundleId to set. * @return This builder for chaining. */ - public Builder setBundleId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBundleId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearBundleId() { @@ -3028,31 +2726,24 @@ public Builder clearBundleId() { return this; } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The bytes for bundleId to set. * @return This builder for chaining. */ - public Builder setBundleIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBundleIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3065,44 +2756,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) - private static final com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IosAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IosAppStreamData 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; @@ -3114,25 +2802,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int streamDataCase_ = 0; private java.lang.Object streamData_; - public enum StreamDataCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEB_STREAM_DATA(6), ANDROID_APP_STREAM_DATA(7), IOS_APP_STREAM_DATA(8), STREAMDATA_NOT_SET(0); private final int value; - private StreamDataCase(int value) { this.value = value; } @@ -3148,39 +2833,32 @@ public static StreamDataCase valueOf(int value) { public static StreamDataCase forNumber(int value) { switch (value) { - case 6: - return WEB_STREAM_DATA; - case 7: - return ANDROID_APP_STREAM_DATA; - case 8: - return IOS_APP_STREAM_DATA; - case 0: - return STREAMDATA_NOT_SET; - default: - return null; + case 6: return WEB_STREAM_DATA; + case 7: return ANDROID_APP_STREAM_DATA; + case 8: return IOS_APP_STREAM_DATA; + case 0: return STREAMDATA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StreamDataCase getStreamDataCase() { - return StreamDataCase.forNumber(streamDataCase_); + public StreamDataCase + getStreamDataCase() { + return StreamDataCase.forNumber( + streamDataCase_); } public static final int WEB_STREAM_DATA_FIELD_NUMBER = 6; /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -3188,27 +2866,22 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * * @return The webStreamData. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamData() { if (streamDataCase_ == 6) { - return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance(); } /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -3217,27 +2890,21 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD
    * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder
-      getWebStreamDataOrBuilder() {
+  public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
     if (streamDataCase_ == 6) {
-      return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_;
+       return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_;
     }
     return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance();
   }
 
   public static final int ANDROID_APP_STREAM_DATA_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -3245,60 +2912,45 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - getAndroidAppStreamData() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getAndroidAppStreamData() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder - getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } public static final int IOS_APP_STREAM_DATA_FIELD_NUMBER = 8; /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -3306,52 +2958,41 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return The iosAppStreamData. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppStreamData() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder - getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3359,7 +3000,6 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppS
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -3368,15 +3008,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3384,15 +3023,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3403,51 +3043,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = - com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); - return result == null - ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { + com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); + return result == null ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3455,7 +3077,6 @@ public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() {
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -3464,15 +3085,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3480,15 +3100,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -3499,15 +3120,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -3515,15 +3132,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -3531,14 +3144,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -3548,15 +3158,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3564,15 +3170,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -3580,14 +3182,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3595,7 +3194,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3607,13 +3205,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ - != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { @@ -3626,16 +3223,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(5, getUpdateTime()); } if (streamDataCase_ == 6) { - output.writeMessage( - 6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); + output.writeMessage(6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - output.writeMessage( - 7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); + output.writeMessage(7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - output.writeMessage( - 8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); + output.writeMessage(8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); } getUnknownFields().writeTo(output); } @@ -3649,34 +3243,32 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ - != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (streamDataCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3686,35 +3278,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream other = - (com.google.analytics.admin.v1alpha.DataStream) obj; + com.google.analytics.admin.v1alpha.DataStream other = (com.google.analytics.admin.v1alpha.DataStream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getStreamDataCase().equals(other.getStreamDataCase())) return false; switch (streamDataCase_) { case 6: - if (!getWebStreamData().equals(other.getWebStreamData())) return false; + if (!getWebStreamData() + .equals(other.getWebStreamData())) return false; break; case 7: - if (!getAndroidAppStreamData().equals(other.getAndroidAppStreamData())) return false; + if (!getAndroidAppStreamData() + .equals(other.getAndroidAppStreamData())) return false; break; case 8: - if (!getIosAppStreamData().equals(other.getIosAppStreamData())) return false; + if (!getIosAppStreamData() + .equals(other.getIosAppStreamData())) return false; break; case 0: default: @@ -3765,136 +3363,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( 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.DataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DataStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a data stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream) com.google.analytics.admin.v1alpha.DataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.class, - com.google.analytics.admin.v1alpha.DataStream.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.class, com.google.analytics.admin.v1alpha.DataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataStream.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3927,9 +3519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; } @java.lang.Override @@ -3948,11 +3540,8 @@ public com.google.analytics.admin.v1alpha.DataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream buildPartial() { - com.google.analytics.admin.v1alpha.DataStream result = - new com.google.analytics.admin.v1alpha.DataStream(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DataStream result = new com.google.analytics.admin.v1alpha.DataStream(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3970,23 +3559,30 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream result) result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } private void buildPartialOneofs(com.google.analytics.admin.v1alpha.DataStream result) { result.streamDataCase_ = streamDataCase_; result.streamData_ = this.streamData_; - if (streamDataCase_ == 6 && webStreamDataBuilder_ != null) { + if (streamDataCase_ == 6 && + webStreamDataBuilder_ != null) { result.streamData_ = webStreamDataBuilder_.build(); } - if (streamDataCase_ == 7 && androidAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 7 && + androidAppStreamDataBuilder_ != null) { result.streamData_ = androidAppStreamDataBuilder_.build(); } - if (streamDataCase_ == 8 && iosAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 8 && + iosAppStreamDataBuilder_ != null) { result.streamData_ = iosAppStreamDataBuilder_.build(); } } @@ -3995,39 +3591,38 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.DataStream re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataStream) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream)other); } else { super.mergeFrom(other); return this; @@ -4056,25 +3651,21 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream other) { mergeUpdateTime(other.getUpdateTime()); } switch (other.getStreamDataCase()) { - case WEB_STREAM_DATA: - { - mergeWebStreamData(other.getWebStreamData()); - break; - } - case ANDROID_APP_STREAM_DATA: - { - mergeAndroidAppStreamData(other.getAndroidAppStreamData()); - break; - } - case IOS_APP_STREAM_DATA: - { - mergeIosAppStreamData(other.getIosAppStreamData()); - break; - } - case STREAMDATA_NOT_SET: - { - break; - } + case WEB_STREAM_DATA: { + mergeWebStreamData(other.getWebStreamData()); + break; + } + case ANDROID_APP_STREAM_DATA: { + mergeAndroidAppStreamData(other.getAndroidAppStreamData()); + break; + } + case IOS_APP_STREAM_DATA: { + mergeIosAppStreamData(other.getIosAppStreamData()); + break; + } + case STREAMDATA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4102,63 +3693,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 16 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 50: - { - input.readMessage(getWebStreamDataFieldBuilder().getBuilder(), extensionRegistry); - streamDataCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage( - getAndroidAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); - streamDataCase_ = 7; - break; - } // case 58 - case 66: - { - input.readMessage( - getIosAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); - streamDataCase_ = 8; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 16 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 50: { + input.readMessage( + getWebStreamDataFieldBuilder().getBuilder(), + extensionRegistry); + streamDataCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getAndroidAppStreamDataFieldBuilder().getBuilder(), + extensionRegistry); + streamDataCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getIosAppStreamDataFieldBuilder().getBuilder(), + extensionRegistry); + streamDataCase_ = 8; + 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) { @@ -4168,12 +3758,12 @@ public Builder mergeFrom( } // finally return this; } - private int streamDataCase_ = 0; private java.lang.Object streamData_; - - public StreamDataCase getStreamDataCase() { - return StreamDataCase.forNumber(streamDataCase_); + public StreamDataCase + getStreamDataCase() { + return StreamDataCase.forNumber( + streamDataCase_); } public Builder clearStreamData() { @@ -4186,20 +3776,14 @@ public Builder clearStreamData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.WebStreamData, - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, - com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder> - webStreamDataBuilder_; + com.google.analytics.admin.v1alpha.DataStream.WebStreamData, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder> webStreamDataBuilder_; /** - * - * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -4207,15 +3791,12 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** - * - * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * * @return The webStreamData. */ @java.lang.Override @@ -4233,8 +3814,6 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD } } /** - * - * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4242,8 +3821,7 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD
      *
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder setWebStreamData(
-        com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
+    public Builder setWebStreamData(com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4257,8 +3835,6 @@ public Builder setWebStreamData(
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4278,8 +3854,6 @@ public Builder setWebStreamData(
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4287,18 +3861,12 @@ public Builder setWebStreamData(
      *
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder mergeWebStreamData(
-        com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
+    public Builder mergeWebStreamData(com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
-        if (streamDataCase_ == 6
-            && streamData_
-                != com.google.analytics.admin.v1alpha.DataStream.WebStreamData
-                    .getDefaultInstance()) {
-          streamData_ =
-              com.google.analytics.admin.v1alpha.DataStream.WebStreamData.newBuilder(
-                      (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (streamDataCase_ == 6 &&
+            streamData_ != com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance()) {
+          streamData_ = com.google.analytics.admin.v1alpha.DataStream.WebStreamData.newBuilder((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_)
+              .mergeFrom(value).buildPartial();
         } else {
           streamData_ = value;
         }
@@ -4314,8 +3882,6 @@ public Builder mergeWebStreamData(
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4340,8 +3906,6 @@ public Builder clearWebStreamData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4349,13 +3913,10 @@ public Builder clearWebStreamData() {
      *
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
-    public com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder
-        getWebStreamDataBuilder() {
+    public com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder getWebStreamDataBuilder() {
       return getWebStreamDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4364,8 +3925,7 @@ public Builder clearWebStreamData() {
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder
-        getWebStreamDataOrBuilder() {
+    public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
       if ((streamDataCase_ == 6) && (webStreamDataBuilder_ != null)) {
         return webStreamDataBuilder_.getMessageOrBuilder();
       } else {
@@ -4376,8 +3936,6 @@ public Builder clearWebStreamData() {
       }
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4386,20 +3944,14 @@ public Builder clearWebStreamData() {
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.DataStream.WebStreamData,
-            com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder,
-            com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder>
+        com.google.analytics.admin.v1alpha.DataStream.WebStreamData, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder> 
         getWebStreamDataFieldBuilder() {
       if (webStreamDataBuilder_ == null) {
         if (!(streamDataCase_ == 6)) {
-          streamData_ =
-              com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance();
+          streamData_ = com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance();
         }
-        webStreamDataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.DataStream.WebStreamData,
-                com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder,
-                com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder>(
+        webStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.DataStream.WebStreamData, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder>(
                 (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_,
                 getParentForChildren(),
                 isClean());
@@ -4411,22 +3963,14 @@ public Builder clearWebStreamData() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData,
-            com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder,
-            com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder>
-        androidAppStreamDataBuilder_;
+        com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder> androidAppStreamDataBuilder_;
     /**
-     *
-     *
      * 
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -4434,50 +3978,37 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - getAndroidAppStreamData() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } else { if (streamDataCase_ == 7) { return androidAppStreamDataBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - public Builder setAndroidAppStreamData( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { + public Builder setAndroidAppStreamData(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4491,20 +4022,15 @@ public Builder setAndroidAppStreamData( return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ public Builder setAndroidAppStreamData( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder builderForValue) { if (androidAppStreamDataBuilder_ == null) { streamData_ = builderForValue.build(); onChanged(); @@ -4515,30 +4041,19 @@ public Builder setAndroidAppStreamData( return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - public Builder mergeAndroidAppStreamData( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { + public Builder mergeAndroidAppStreamData(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 7 - && streamData_ - != com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - .getDefaultInstance()) { - streamData_ = - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder( - (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) - streamData_) - .mergeFrom(value) - .buildPartial(); + if (streamDataCase_ == 7 && + streamData_ != com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance()) { + streamData_ = com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_) + .mergeFrom(value).buildPartial(); } else { streamData_ = value; } @@ -4554,16 +4069,12 @@ public Builder mergeAndroidAppStreamData( return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ public Builder clearAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { @@ -4582,74 +4093,52 @@ public Builder clearAndroidAppStreamData() { return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder - getAndroidAppStreamDataBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder getAndroidAppStreamDataBuilder() { return getAndroidAppStreamDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder - getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { if ((streamDataCase_ == 7) && (androidAppStreamDataBuilder_ != null)) { return androidAppStreamDataBuilder_.getMessageOrBuilder(); } else { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - .getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder> + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder> getAndroidAppStreamDataFieldBuilder() { if (androidAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 7)) { - streamData_ = - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - .getDefaultInstance(); + streamData_ = com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } - androidAppStreamDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder>( + androidAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder>( (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4661,21 +4150,14 @@ public Builder clearAndroidAppStreamData() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> - iosAppStreamDataBuilder_; + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> iosAppStreamDataBuilder_; /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -4683,16 +4165,12 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return The iosAppStreamData. */ @java.lang.Override @@ -4710,18 +4188,14 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppS } } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - public Builder setIosAppStreamData( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { + public Builder setIosAppStreamData(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4735,15 +4209,12 @@ public Builder setIosAppStreamData( return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ public Builder setIosAppStreamData( com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder builderForValue) { @@ -4757,28 +4228,19 @@ public Builder setIosAppStreamData( return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - public Builder mergeIosAppStreamData( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { + public Builder mergeIosAppStreamData(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 8 - && streamData_ - != com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData - .getDefaultInstance()) { - streamData_ = - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.newBuilder( - (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_) - .mergeFrom(value) - .buildPartial(); + if (streamDataCase_ == 8 && + streamData_ != com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance()) { + streamData_ = com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.newBuilder((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_) + .mergeFrom(value).buildPartial(); } else { streamData_ = value; } @@ -4794,15 +4256,12 @@ public Builder mergeIosAppStreamData( return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ public Builder clearIosAppStreamData() { if (iosAppStreamDataBuilder_ == null) { @@ -4821,34 +4280,26 @@ public Builder clearIosAppStreamData() { return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder - getIosAppStreamDataBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder getIosAppStreamDataBuilder() { return getIosAppStreamDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder - getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { if ((streamDataCase_ == 8) && (iosAppStreamDataBuilder_ != null)) { return iosAppStreamDataBuilder_.getMessageOrBuilder(); } else { @@ -4859,31 +4310,22 @@ public Builder clearIosAppStreamData() { } } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> getIosAppStreamDataFieldBuilder() { if (iosAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 8)) { - streamData_ = - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); + streamData_ = com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } - iosAppStreamDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder>( + iosAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder>( (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4896,8 +4338,6 @@ public Builder clearIosAppStreamData() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4905,13 +4345,13 @@ public Builder clearIosAppStreamData() {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4920,8 +4360,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4929,14 +4367,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4944,8 +4383,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4953,22 +4390,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4976,7 +4409,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -4986,8 +4418,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4995,14 +4425,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -5012,33 +4440,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -5049,37 +4466,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = - com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); - return result == null - ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); + return result == null ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -5093,16 +4497,11 @@ public Builder setType(com.google.analytics.admin.v1alpha.DataStream.DataStreamT return this; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { @@ -5114,8 +4513,6 @@ public Builder clearType() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5123,13 +4520,13 @@ public Builder clearType() {
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -5138,8 +4535,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5147,14 +4542,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -5162,8 +4558,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5171,22 +4565,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5194,7 +4584,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -5204,8 +4593,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5213,14 +4600,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -5230,58 +4615,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -5297,17 +4663,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -5318,21 +4681,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -5345,15 +4704,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -5366,15 +4721,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; @@ -5382,48 +4733,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -5431,58 +4770,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -5498,17 +4818,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -5519,21 +4836,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -5546,15 +4859,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -5567,15 +4876,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000080; @@ -5583,55 +4888,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5641,12 +4934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream) private static final com.google.analytics.admin.v1alpha.DataStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream(); } @@ -5655,27 +4948,27 @@ public static com.google.analytics.admin.v1alpha.DataStream getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataStream 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataStream 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; @@ -5690,4 +4983,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java index fdcad603f32b..c3fa020f4c1b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataStreamOrBuilder - extends +public interface DataStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * * @return Whether the webStreamData field is set. */ boolean hasWebStreamData(); /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * * @return The webStreamData. */ com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamData(); /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -62,95 +38,66 @@ public interface DataStreamOrBuilder
   com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder();
 
   /**
-   *
-   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return Whether the androidAppStreamData field is set. */ boolean hasAndroidAppStreamData(); /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return The androidAppStreamData. */ com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getAndroidAppStreamData(); /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder - getAndroidAppStreamDataOrBuilder(); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder(); /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return Whether the iosAppStreamData field is set. */ boolean hasIosAppStreamData(); /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return The iosAppStreamData. */ com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppStreamData(); /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder - getIosAppStreamDataOrBuilder(); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder(); /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -158,13 +105,10 @@ public interface DataStreamOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -172,43 +116,31 @@ public interface DataStreamOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -216,13 +148,10 @@ public interface DataStreamOrBuilder
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -230,84 +159,62 @@ public interface DataStreamOrBuilder
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java index 219f1054fa93..9dd967b9e813 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccountRequest} */ -public final class DeleteAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAccountRequest) DeleteAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAccountRequest.newBuilder() to construct. private DeleteAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, - com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteAccountRequest other = - (com.google.analytics.admin.v1alpha.DeleteAccountRequest) obj; + com.google.analytics.admin.v1alpha.DeleteAccountRequest other = (com.google.analytics.admin.v1alpha.DeleteAccountRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( 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.DeleteAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteAccountRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccountRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteAccountRequest) com.google.analytics.admin.v1alpha.DeleteAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, - com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteAccountRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.analytics.admin.v1alpha.DeleteAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteAccountRequest result = - new com.google.analytics.admin.v1alpha.DeleteAccountRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DeleteAccountRequest result = new com.google.analytics.admin.v1alpha.DeleteAccountRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteAccountReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAccountRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAccountRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -466,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteAccountRequest) private static final com.google.analytics.admin.v1alpha.DeleteAccountRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteAccountRequest(); } @@ -620,27 +554,27 @@ public static com.google.analytics.admin.v1alpha.DeleteAccountRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAccountRequest 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java new file mode 100644 index 000000000000..2ced5a1f008c --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 DeleteAccountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * 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/DeleteConversionEventRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java index 832c1856844d..9fcefc7e0c8e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConversionEventRequest} */ -public final class DeleteConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteConversionEventRequest) DeleteConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConversionEventRequest.newBuilder() to construct. private DeleteConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other = - (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other = (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( 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.DeleteConversionEventRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConversionEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteConversionEventRequest) com.google.analytics.admin.v1alpha.DeleteConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,14 +296,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance(); } @@ -352,17 +317,13 @@ public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result = - new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result = new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -373,50 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other) { + if (other == com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -448,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -470,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -501,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -573,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteConversionEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConversionEventRequest 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; @@ -658,8 +586,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..8faa9524b4f5 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 DeleteConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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/DeleteDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java index 97597eb27f19..7c9903514d1e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDataStreamRequest} */ -public final class DeleteDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDataStreamRequest) DeleteDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDataStreamRequest.newBuilder() to construct. private DeleteDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other = - (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( 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.DeleteDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest result = - new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteDataStreamRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDataStreamRequest) private static final com.google.analytics.admin.v1alpha.DeleteDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataStreamRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..ad5a87cc10ee --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 DeleteDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/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 DataStream to delete.
+   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..25864aca36b0 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,587 @@ +// 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 DeleteDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private DeleteDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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 DeleteDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + } + + // Construct using com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest build() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest other) { + if (other == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..076306d35a8a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/DeleteDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java similarity index 53% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java index 17a2deed0da8..339a4e7b152e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java @@ -1,91 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest} */ -public final class DeleteDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLink to delete.
    * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLink to delete.
    * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,16 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,145 +161,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( + 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.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - 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.DeleteDisplayVideo360AdvertiserLinkRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - 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.DeleteDisplayVideo360AdvertiserLinkRequest - 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.DeleteDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -340,22 +294,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,19 +314,14 @@ public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkReq } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - buildPartial() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = - new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -386,53 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other) { + if (other == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -464,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -486,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -516,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -541,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -585,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,46 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDisplayVideo360AdvertiserLinkRequest 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; @@ -672,8 +579,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..13d21b2dfe8b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/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 DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/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/DeleteFirebaseLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java index ab11e5928b6d..99ba2c5ec2d5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest} */ -public final class DeleteFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteFirebaseLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) DeleteFirebaseLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteFirebaseLinkRequest.newBuilder() to construct. private DeleteFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFirebaseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest other = - (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( 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.DeleteFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance(); } @@ -350,17 +315,13 @@ public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result = - new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,39 +332,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -411,9 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -445,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -467,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,13 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(); } @@ -617,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFirebaseLinkRequest 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; @@ -652,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..ea671afc61bd --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 DeleteFirebaseLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/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/DeleteGoogleAdsLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java index 1c1683ab9146..e5fcd6b4806f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteGoogleAdsLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest} */ -public final class DeleteGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) DeleteGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteGoogleAdsLinkRequest.newBuilder() to construct. private DeleteGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteGoogleAdsLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( 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.DeleteGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteGoogleAdsLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result = - new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +330,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +401,17 @@ public Builder mergeFrom( 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: + 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) { @@ -465,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,13 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(); } @@ -610,27 +540,27 @@ public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGoogleAdsLinkRequest 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; @@ -645,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..3f29cf8659bb --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,29 @@ +// 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 DeleteGoogleAdsLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: properties/1234/googleAdsLinks/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/DeleteMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java similarity index 57% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java index 445d5ac25fb3..eff270b434fe 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java @@ -1,92 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest} */ -public final class DeleteMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) DeleteMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMeasurementProtocolSecretRequest.newBuilder() to construct. - private DeleteMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -95,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -130,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -166,16 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,139 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( 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.DeleteMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - 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.DeleteMeasurementProtocolSecretRequest 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.DeleteMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,22 +296,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -360,19 +316,14 @@ public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - buildPartial() { - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest buildPartial() { + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -383,52 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -460,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -482,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -585,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,44 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMeasurementProtocolSecretRequest 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; @@ -671,8 +586,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..c28a143c0b7f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 DeleteMeasurementProtocolSecretRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * 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/DeletePropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java index 76c878107298..d4507406fd28 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeletePropertyRequest} */ -public final class DeletePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeletePropertyRequest) DeletePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePropertyRequest.newBuilder() to construct. private DeletePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeletePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, - com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeletePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeletePropertyRequest other = - (com.google.analytics.admin.v1alpha.DeletePropertyRequest) obj; + com.google.analytics.admin.v1alpha.DeletePropertyRequest other = (com.google.analytics.admin.v1alpha.DeletePropertyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( 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.DeletePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeletePropertyRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeletePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeletePropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeletePropertyRequest) com.google.analytics.admin.v1alpha.DeletePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, - com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeletePropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.analytics.admin.v1alpha.DeletePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeletePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeletePropertyRequest result = - new com.google.analytics.admin.v1alpha.DeletePropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DeletePropertyRequest result = new com.google.analytics.admin.v1alpha.DeletePropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeletePropertyRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeletePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeletePropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeletePropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeletePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -466,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeletePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeletePropertyRequest) private static final com.google.analytics.admin.v1alpha.DeletePropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeletePropertyRequest(); } @@ -620,27 +554,27 @@ public static com.google.analytics.admin.v1alpha.DeletePropertyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePropertyRequest 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeletePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..f1db0fd43240 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 DeletePropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeletePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java new file mode 100644 index 000000000000..5bb04cb2a7db --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java @@ -0,0 +1,587 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..9e4018376a04 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/DeleteUserLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java index 8edbf4539a41..b21f69c0a085 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for DeleteUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ -public final class DeleteUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) DeleteUserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUserLinkRequest.newBuilder() to construct. private DeleteUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DeleteUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = - (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( 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.DeleteUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = - new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteUserLinkRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DeleteUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( 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: + 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) { @@ -462,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) private static final com.google.analytics.admin.v1alpha.DeleteUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(); } @@ -606,27 +540,27 @@ public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserLinkRequest 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; @@ -641,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..6443a0a2fcc7 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java @@ -0,0 +1,29 @@ +// 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 DeleteUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: accounts/1234/userLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java index bddbff8ce4c4..a13b09ca945b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A link between a GA4 property and a Display & Video 360 advertiser.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink} */ -public final class DisplayVideo360AdvertiserLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DisplayVideo360AdvertiserLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) DisplayVideo360AdvertiserLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DisplayVideo360AdvertiserLink.newBuilder() to construct. private DisplayVideo360AdvertiserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DisplayVideo360AdvertiserLink() { name_ = ""; advertiserId_ = ""; @@ -45,45 +27,41 @@ private DisplayVideo360AdvertiserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DisplayVideo360AdvertiserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_DisplayVideo360AdvertiserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder.class); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.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 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]; - * * @return The name. */ @java.lang.Override @@ -92,31 +70,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,18 +104,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ADVERTISER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object advertiserId_ = ""; /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ @java.lang.Override @@ -145,29 +120,29 @@ public java.lang.String getAdvertiserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; } } /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ @java.lang.Override - public com.google.protobuf.ByteString getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -176,18 +151,14 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { } public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object advertiserDisplayName_ = ""; /** - * - * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The advertiserDisplayName. */ @java.lang.Override @@ -196,29 +167,29 @@ public java.lang.String getAdvertiserDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + 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 Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -229,15 +200,12 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 4; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** - * - * *
    * 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; - * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -245,26 +213,19 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** - * - * *
    * 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; - * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
@@ -274,27 +235,20 @@ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() {
-    return adsPersonalizationEnabled_ == null
-        ? com.google.protobuf.BoolValue.getDefaultInstance()
-        : adsPersonalizationEnabled_;
+    return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
   }
 
   public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER = 5;
   private com.google.protobuf.BoolValue campaignDataSharingEnabled_;
   /**
-   *
-   *
    * 
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the campaignDataSharingEnabled field is set. */ @java.lang.Override @@ -302,65 +256,47 @@ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabled_ != null; } /** - * - * *
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.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_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER = 6; private com.google.protobuf.BoolValue costDataSharingEnabled_; /** - * - * *
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the costDataSharingEnabled field is set. */ @java.lang.Override @@ -368,52 +304,38 @@ public boolean hasCostDataSharingEnabled() { return costDataSharingEnabled_ != null; } /** - * - * *
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.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_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -425,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -463,18 +386,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, advertiserDisplayName_); } if (adsPersonalizationEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getAdsPersonalizationEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAdsPersonalizationEnabled()); } if (campaignDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getCampaignDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCampaignDataSharingEnabled()); } if (costDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCostDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCostDataSharingEnabled()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -484,30 +405,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other = - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) obj; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getAdvertiserId().equals(other.getAdvertiserId())) return false; - if (!getAdvertiserDisplayName().equals(other.getAdvertiserDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAdvertiserId() + .equals(other.getAdvertiserId())) 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 (!getAdsPersonalizationEnabled() + .equals(other.getAdsPersonalizationEnabled())) return false; } if (hasCampaignDataSharingEnabled() != other.hasCampaignDataSharingEnabled()) return false; if (hasCampaignDataSharingEnabled()) { - if (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled())) - return false; + if (!getCampaignDataSharingEnabled() + .equals(other.getCampaignDataSharingEnabled())) return false; } if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false; if (hasCostDataSharingEnabled()) { - if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false; + if (!getCostDataSharingEnabled() + .equals(other.getCostDataSharingEnabled())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -544,136 +468,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( 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.DisplayVideo360AdvertiserLink parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A link between a GA4 property and a Display & Video 360 advertiser.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder.class); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -700,14 +617,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } @@ -722,17 +638,13 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink build() @java.lang.Override public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink buildPartial() { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result = - new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -744,22 +656,19 @@ private void buildPartial0( result.advertiserDisplayName_ = advertiserDisplayName_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.adsPersonalizationEnabled_ = - adsPersonalizationEnabledBuilder_ == null - ? adsPersonalizationEnabled_ - : adsPersonalizationEnabledBuilder_.build(); + result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.campaignDataSharingEnabled_ = - campaignDataSharingEnabledBuilder_ == null - ? campaignDataSharingEnabled_ - : campaignDataSharingEnabledBuilder_.build(); + result.campaignDataSharingEnabled_ = campaignDataSharingEnabledBuilder_ == null + ? campaignDataSharingEnabled_ + : campaignDataSharingEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.costDataSharingEnabled_ = - costDataSharingEnabledBuilder_ == null - ? costDataSharingEnabled_ - : costDataSharingEnabledBuilder_.build(); + result.costDataSharingEnabled_ = costDataSharingEnabledBuilder_ == null + ? costDataSharingEnabled_ + : costDataSharingEnabledBuilder_.build(); } } @@ -767,50 +676,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.DisplayVideo360AdvertiserLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) other); + return mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other) { - if (other - == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other) { + if (other == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -861,52 +766,48 @@ public Builder mergeFrom( 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: - { - advertiserDisplayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage( - getCampaignDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage( - getCostDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + advertiserId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + advertiserDisplayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getAdsPersonalizationEnabledFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getCampaignDataSharingEnabledFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getCostDataSharingEnabledFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + 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) { @@ -916,27 +817,25 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
-     * 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]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -945,23 +844,23 @@ 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
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -969,39 +868,34 @@ 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
      * 
* * 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(); - } + 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 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]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1011,23 +905,20 @@ public Builder clearName() { return this; } /** - * - * *
-     * 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]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1037,20 +928,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object advertiserId_ = ""; /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; @@ -1059,21 +948,20 @@ public java.lang.String getAdvertiserId() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - public com.google.protobuf.ByteString getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -1081,35 +969,28 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); - } + public Builder setAdvertiserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } advertiserId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearAdvertiserId() { @@ -1119,21 +1000,17 @@ public Builder clearAdvertiserId() { return this; } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); - } + public Builder setAdvertiserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); advertiserId_ = value; bitField0_ |= 0x00000002; @@ -1143,20 +1020,18 @@ public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object advertiserDisplayName_ = ""; /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserDisplayName_ = s; return s; @@ -1165,21 +1040,20 @@ public java.lang.String getAdvertiserDisplayName() { } } /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ - public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -1187,35 +1061,28 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { } } /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.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(); - } + public Builder setAdvertiserDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } advertiserDisplayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAdvertiserDisplayName() { @@ -1225,21 +1092,17 @@ public Builder clearAdvertiserDisplayName() { return this; } /** - * - * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.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(); - } + public Builder setAdvertiserDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); advertiserDisplayName_ = value; bitField0_ |= 0x00000004; @@ -1249,49 +1112,36 @@ public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString valu 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_; + 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/update, it will be defaulted to true.
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 4; - * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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; - * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + 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/update, it will be defaulted to true.
@@ -1313,8 +1163,6 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1334,8 +1182,6 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1345,9 +1191,9 @@ public Builder setAdsPersonalizationEnabled(
      */
     public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && adsPersonalizationEnabled_ != null
-            && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          adsPersonalizationEnabled_ != null &&
+          adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getAdsPersonalizationEnabledBuilder().mergeFrom(value);
         } else {
           adsPersonalizationEnabled_ = value;
@@ -1360,8 +1206,6 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1380,8 +1224,6 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1395,8 +1237,6 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1408,14 +1248,11 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1424,17 +1261,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         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());
+        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_;
@@ -1442,67 +1276,48 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     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_;
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> campaignDataSharingEnabledBuilder_;
     /**
-     *
-     *
      * 
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the campaignDataSharingEnabled field is set. */ public boolean hasCampaignDataSharingEnabled() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.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_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } else { return campaignDataSharingEnabledBuilder_.getMessage(); } } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { @@ -1518,18 +1333,14 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCampaignDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1543,24 +1354,20 @@ public Builder setCampaignDataSharingEnabled( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && campaignDataSharingEnabled_ != null - && campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + campaignDataSharingEnabled_ != null && + campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCampaignDataSharingEnabledBuilder().mergeFrom(value); } else { campaignDataSharingEnabled_ = value; @@ -1573,18 +1380,14 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearCampaignDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1597,18 +1400,14 @@ public Builder clearCampaignDataSharingEnabled() { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { bitField0_ |= 0x00000010; @@ -1616,54 +1415,42 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde return getCampaignDataSharingEnabledFieldBuilder().getBuilder(); } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.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_; + return campaignDataSharingEnabled_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; @@ -1671,70 +1458,51 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> costDataSharingEnabledBuilder_; /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the costDataSharingEnabled field is set. */ public boolean hasCostDataSharingEnabled() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.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_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } else { return costDataSharingEnabledBuilder_.getMessage(); } } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { @@ -1750,19 +1518,15 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCostDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1776,25 +1540,21 @@ public Builder setCostDataSharingEnabled( return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && costDataSharingEnabled_ != null - && costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + costDataSharingEnabled_ != null && + costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCostDataSharingEnabledBuilder().mergeFrom(value); } else { costDataSharingEnabled_ = value; @@ -1807,19 +1567,15 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearCostDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1832,19 +1588,15 @@ public Builder clearCostDataSharingEnabled() { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { bitField0_ |= 0x00000020; @@ -1852,63 +1604,51 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() return getCostDataSharingEnabledFieldBuilder().getBuilder(); } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.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_; + return costDataSharingEnabled_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } } /** - * - * *
-     * 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.
      * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1918,43 +1658,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) - private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DisplayVideo360AdvertiserLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DisplayVideo360AdvertiserLink 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; @@ -1966,8 +1704,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java index 5ec644860e70..4d23671469a2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java @@ -1,136 +1,99 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DisplayVideo360AdvertiserLinkOrBuilder - extends +public interface DisplayVideo360AdvertiserLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * 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]; - * * @return The name. */ 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
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ java.lang.String getAdvertiserId(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - com.google.protobuf.ByteString getAdvertiserIdBytes(); + com.google.protobuf.ByteString + getAdvertiserIdBytes(); /** - * - * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The advertiserDisplayName. */ java.lang.String getAdvertiserDisplayName(); /** - * - * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ - com.google.protobuf.ByteString getAdvertiserDisplayNameBytes(); + com.google.protobuf.ByteString + getAdvertiserDisplayNameBytes(); /** - * - * *
    * 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; - * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** - * - * *
    * 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; - * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** - * - * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
@@ -141,105 +104,77 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
-   *
-   *
    * 
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the campaignDataSharingEnabled field is set. */ 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.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The campaignDataSharingEnabled. */ 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.
    * 
* - * - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; */ com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); /** - * - * *
-   * 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.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the costDataSharingEnabled field is set. */ 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.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The costDataSharingEnabled. */ 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.
    * 
* - * - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java index d819579936ec..90a0e9c75e62 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A proposal for a link between a GA4 property and a Display & Video 360
  * advertiser.
@@ -31,18 +14,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal}
  */
-public final class DisplayVideo360AdvertiserLinkProposal
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DisplayVideo360AdvertiserLinkProposal extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
     DisplayVideo360AdvertiserLinkProposalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DisplayVideo360AdvertiserLinkProposal.newBuilder() to construct.
-  private DisplayVideo360AdvertiserLinkProposal(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DisplayVideo360AdvertiserLinkProposal(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DisplayVideo360AdvertiserLinkProposal() {
     name_ = "";
     advertiserId_ = "";
@@ -52,46 +32,41 @@ private DisplayVideo360AdvertiserLinkProposal() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DisplayVideo360AdvertiserLinkProposal();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_DisplayVideo360AdvertiserLinkProposal_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class,
-            com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder.class);
+            com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.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 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
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -100,32 +75,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
-   * 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
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,18 +109,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ADVERTISER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object advertiserId_ = ""; /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ @java.lang.Override @@ -154,29 +125,29 @@ public java.lang.String getAdvertiserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; } } /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ @java.lang.Override - public com.google.protobuf.ByteString getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -187,16 +158,11 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { public static final int LINK_PROPOSAL_STATUS_DETAILS_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.LinkProposalStatusDetails linkProposalStatusDetails_; /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the linkProposalStatusDetails field is set. */ @java.lang.Override @@ -204,58 +170,39 @@ public boolean hasLinkProposalStatusDetails() { return linkProposalStatusDetails_ != null; } /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalStatusDetails. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails - getLinkProposalStatusDetails() { - return linkProposalStatusDetails_ == null - ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() - : linkProposalStatusDetails_; + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails() { + return linkProposalStatusDetails_ == null ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; } /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder - getLinkProposalStatusDetailsOrBuilder() { - return linkProposalStatusDetails_ == null - ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() - : linkProposalStatusDetails_; + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder() { + return linkProposalStatusDetails_ == null ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; } public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object advertiserDisplayName_ = ""; /** - * - * *
    * 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]; - * * @return The advertiserDisplayName. */ @java.lang.Override @@ -264,30 +211,30 @@ public java.lang.String getAdvertiserDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + 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 Display & Video Advertiser.
    * Only populated for proposals that originated from Display & Video 360.
    * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for advertiserDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -296,23 +243,19 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { } public static final int VALIDATION_EMAIL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object validationEmail_ = ""; /** - * - * *
-   * 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]; - * * @return The validationEmail. */ @java.lang.Override @@ -321,34 +264,34 @@ public java.lang.String getValidationEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationEmail_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for validationEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getValidationEmailBytes() { + public com.google.protobuf.ByteString + getValidationEmailBytes() { java.lang.Object ref = validationEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationEmail_ = b; return b; } else { @@ -359,17 +302,12 @@ public com.google.protobuf.ByteString getValidationEmailBytes() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 6; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** - * - * *
    * 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]; * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -377,58 +315,40 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** - * - * *
    * 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]; * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER = 7; private com.google.protobuf.BoolValue campaignDataSharingEnabled_; /** - * - * *
    * 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]; * @return Whether the campaignDataSharingEnabled field is set. */ @java.lang.Override @@ -436,59 +356,41 @@ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabled_ != null; } /** - * - * *
    * 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]; * @return The campaignDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER = 8; private com.google.protobuf.BoolValue costDataSharingEnabled_; /** - * - * *
    * 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]; * @return Whether the costDataSharingEnabled field is set. */ @java.lang.Override @@ -496,48 +398,34 @@ public boolean hasCostDataSharingEnabled() { return costDataSharingEnabled_ != null; } /** - * - * *
    * 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]; * @return The costDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCostDataSharingEnabled() { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -549,7 +437,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -590,9 +479,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, advertiserId_); } if (linkProposalStatusDetails_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getLinkProposalStatusDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLinkProposalStatusDetails()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(advertiserDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, advertiserDisplayName_); @@ -601,18 +489,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, validationEmail_); } if (adsPersonalizationEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, getAdsPersonalizationEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getAdsPersonalizationEnabled()); } if (campaignDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, getCampaignDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCampaignDataSharingEnabled()); } if (costDataSharingEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCostDataSharingEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCostDataSharingEnabled()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -622,37 +508,40 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other = - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) obj; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) obj; - if (!getName().equals(other.getName())) return false; - if (!getAdvertiserId().equals(other.getAdvertiserId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAdvertiserId() + .equals(other.getAdvertiserId())) return false; if (hasLinkProposalStatusDetails() != other.hasLinkProposalStatusDetails()) return false; if (hasLinkProposalStatusDetails()) { - if (!getLinkProposalStatusDetails().equals(other.getLinkProposalStatusDetails())) - return false; + if (!getLinkProposalStatusDetails() + .equals(other.getLinkProposalStatusDetails())) return false; } - if (!getAdvertiserDisplayName().equals(other.getAdvertiserDisplayName())) return false; - if (!getValidationEmail().equals(other.getValidationEmail())) return false; + if (!getAdvertiserDisplayName() + .equals(other.getAdvertiserDisplayName())) return false; + if (!getValidationEmail() + .equals(other.getValidationEmail())) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) - return false; + if (!getAdsPersonalizationEnabled() + .equals(other.getAdsPersonalizationEnabled())) return false; } if (hasCampaignDataSharingEnabled() != other.hasCampaignDataSharingEnabled()) return false; if (hasCampaignDataSharingEnabled()) { - if (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled())) - return false; + if (!getCampaignDataSharingEnabled() + .equals(other.getCampaignDataSharingEnabled())) return false; } if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false; if (hasCostDataSharingEnabled()) { - if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false; + if (!getCostDataSharingEnabled() + .equals(other.getCostDataSharingEnabled())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -695,105 +584,96 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( 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.DisplayVideo360AdvertiserLinkProposal parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - 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.DisplayVideo360AdvertiserLinkProposal 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.DisplayVideo360AdvertiserLinkProposal parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A proposal for a link between a GA4 property and a Display & Video 360
    * advertiser.
@@ -804,34 +684,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
       com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class,
-              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder
-                  .class);
+              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder.class);
     }
 
-    // Construct using
-    // com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder()
-    private Builder() {}
+    // Construct using com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -864,22 +743,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
     }
 
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
-        getDefaultInstanceForType() {
-      return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
-          .getDefaultInstance();
+    public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstanceForType() {
+      return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal build() {
-      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result =
-          buildPartial();
+      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -888,17 +764,13 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal buildPartial() {
-      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result =
-          new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result) {
+    private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -907,10 +779,9 @@ private void buildPartial0(
         result.advertiserId_ = advertiserId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.linkProposalStatusDetails_ =
-            linkProposalStatusDetailsBuilder_ == null
-                ? linkProposalStatusDetails_
-                : linkProposalStatusDetailsBuilder_.build();
+        result.linkProposalStatusDetails_ = linkProposalStatusDetailsBuilder_ == null
+            ? linkProposalStatusDetails_
+            : linkProposalStatusDetailsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.advertiserDisplayName_ = advertiserDisplayName_;
@@ -919,22 +790,19 @@ private void buildPartial0(
         result.validationEmail_ = validationEmail_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.adsPersonalizationEnabled_ =
-            adsPersonalizationEnabledBuilder_ == null
-                ? adsPersonalizationEnabled_
-                : adsPersonalizationEnabledBuilder_.build();
+        result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null
+            ? adsPersonalizationEnabled_
+            : adsPersonalizationEnabledBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.campaignDataSharingEnabled_ =
-            campaignDataSharingEnabledBuilder_ == null
-                ? campaignDataSharingEnabled_
-                : campaignDataSharingEnabledBuilder_.build();
+        result.campaignDataSharingEnabled_ = campaignDataSharingEnabledBuilder_ == null
+            ? campaignDataSharingEnabled_
+            : campaignDataSharingEnabledBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.costDataSharingEnabled_ =
-            costDataSharingEnabledBuilder_ == null
-                ? costDataSharingEnabled_
-                : costDataSharingEnabledBuilder_.build();
+        result.costDataSharingEnabled_ = costDataSharingEnabledBuilder_ == null
+            ? costDataSharingEnabled_
+            : costDataSharingEnabledBuilder_.build();
       }
     }
 
@@ -942,52 +810,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.DisplayVideo360AdvertiserLinkProposal) {
-        return mergeFrom(
-            (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) other);
+      if (other instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) {
+        return mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other) {
-      if (other
-          == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other) {
+      if (other == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1046,65 +908,60 @@ public Builder mergeFrom(
             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(
-                    getLinkProposalStatusDetailsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                advertiserDisplayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                validationEmail_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getCampaignDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getCostDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              advertiserId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getLinkProposalStatusDetailsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              advertiserDisplayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              validationEmail_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getAdsPersonalizationEnabledFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getCampaignDataSharingEnabledFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getCostDataSharingEnabledFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              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) {
@@ -1114,28 +971,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
-     * 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
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1144,24 +998,23 @@ 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
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1169,41 +1022,34 @@ 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
      * 
* * 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(); - } + 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 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
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1213,24 +1059,20 @@ public Builder clearName() { return this; } /** - * - * *
-     * 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
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1240,20 +1082,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object advertiserId_ = ""; /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; @@ -1262,21 +1102,20 @@ public java.lang.String getAdvertiserId() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - public com.google.protobuf.ByteString getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -1284,35 +1123,28 @@ public com.google.protobuf.ByteString getAdvertiserIdBytes() { } } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); - } + public Builder setAdvertiserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } advertiserId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearAdvertiserId() { @@ -1322,21 +1154,17 @@ public Builder clearAdvertiserId() { return this; } /** - * - * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); - } + public Builder setAdvertiserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); advertiserId_ = value; bitField0_ |= 0x00000002; @@ -1346,62 +1174,41 @@ public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1alpha.LinkProposalStatusDetails linkProposalStatusDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> - linkProposalStatusDetailsBuilder_; + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> linkProposalStatusDetailsBuilder_; /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the linkProposalStatusDetails field is set. */ public boolean hasLinkProposalStatusDetails() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalStatusDetails. */ - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails - getLinkProposalStatusDetails() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails() { if (linkProposalStatusDetailsBuilder_ == null) { - return linkProposalStatusDetails_ == null - ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() - : linkProposalStatusDetails_; + return linkProposalStatusDetails_ == null ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; } else { return linkProposalStatusDetailsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLinkProposalStatusDetails( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { + public Builder setLinkProposalStatusDetails(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { if (linkProposalStatusDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1415,15 +1222,11 @@ public Builder setLinkProposalStatusDetails( return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLinkProposalStatusDetails( com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder builderForValue) { @@ -1437,24 +1240,17 @@ public Builder setLinkProposalStatusDetails( return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeLinkProposalStatusDetails( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { + public Builder mergeLinkProposalStatusDetails(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { if (linkProposalStatusDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && linkProposalStatusDetails_ != null - && linkProposalStatusDetails_ - != com.google.analytics.admin.v1alpha.LinkProposalStatusDetails - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + linkProposalStatusDetails_ != null && + linkProposalStatusDetails_ != com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) { getLinkProposalStatusDetailsBuilder().mergeFrom(value); } else { linkProposalStatusDetails_ = value; @@ -1467,15 +1263,11 @@ public Builder mergeLinkProposalStatusDetails( return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLinkProposalStatusDetails() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1488,66 +1280,48 @@ public Builder clearLinkProposalStatusDetails() { return this; } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder - getLinkProposalStatusDetailsBuilder() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder getLinkProposalStatusDetailsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLinkProposalStatusDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder - getLinkProposalStatusDetailsOrBuilder() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder() { if (linkProposalStatusDetailsBuilder_ != null) { return linkProposalStatusDetailsBuilder_.getMessageOrBuilder(); } else { - return linkProposalStatusDetails_ == null - ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() - : linkProposalStatusDetails_; + return linkProposalStatusDetails_ == null ? + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; } } /** - * - * *
      * Output only. The status information for this link proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> getLinkProposalStatusDetailsFieldBuilder() { if (linkProposalStatusDetailsBuilder_ == null) { - linkProposalStatusDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder>( - getLinkProposalStatusDetails(), getParentForChildren(), isClean()); + linkProposalStatusDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder>( + getLinkProposalStatusDetails(), + getParentForChildren(), + isClean()); linkProposalStatusDetails_ = null; } return linkProposalStatusDetailsBuilder_; @@ -1555,21 +1329,19 @@ public Builder clearLinkProposalStatusDetails() { private java.lang.Object advertiserDisplayName_ = ""; /** - * - * *
      * 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]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserDisplayName_ = s; return s; @@ -1578,22 +1350,21 @@ public java.lang.String getAdvertiserDisplayName() { } } /** - * - * *
      * 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]; - * * @return The bytes for advertiserDisplayName. */ - public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -1601,37 +1372,30 @@ public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes() { } } /** - * - * *
      * 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]; - * * @param value The advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAdvertiserDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } advertiserDisplayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * 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]; - * * @return This builder for chaining. */ public Builder clearAdvertiserDisplayName() { @@ -1641,22 +1405,18 @@ public Builder clearAdvertiserDisplayName() { return this; } /** - * - * *
      * 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]; - * * @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(); - } + public Builder setAdvertiserDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); advertiserDisplayName_ = value; bitField0_ |= 0x00000008; @@ -1666,25 +1426,23 @@ public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString valu private java.lang.Object validationEmail_ = ""; /** - * - * *
-     * 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]; - * * @return The validationEmail. */ public java.lang.String getValidationEmail() { java.lang.Object ref = validationEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationEmail_ = s; return s; @@ -1693,26 +1451,25 @@ 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]; - * * @return The bytes for validationEmail. */ - public com.google.protobuf.ByteString getValidationEmailBytes() { + public com.google.protobuf.ByteString + getValidationEmailBytes() { java.lang.Object ref = validationEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); validationEmail_ = b; return b; } else { @@ -1720,45 +1477,38 @@ 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]; - * * @param value The validationEmail to set. * @return This builder for chaining. */ - public Builder setValidationEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } validationEmail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearValidationEmail() { @@ -1768,26 +1518,22 @@ public Builder clearValidationEmail() { return this; } /** - * - * *
-     * 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]; - * * @param value The bytes for validationEmail to set. * @return This builder for chaining. */ - public Builder setValidationEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValidationEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validationEmail_ = value; bitField0_ |= 0x00000010; @@ -1797,61 +1543,42 @@ public Builder setValidationEmailBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> adsPersonalizationEnabledBuilder_; /** - * - * *
      * 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]; * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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]; * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } else { return adsPersonalizationEnabledBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) { if (adsPersonalizationEnabledBuilder_ == null) { @@ -1867,16 +1594,12 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) return this; } /** - * - * *
      * 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]; */ public Builder setAdsPersonalizationEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1890,22 +1613,18 @@ public Builder setAdsPersonalizationEnabled( return this; } /** - * - * *
      * 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]; */ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) { if (adsPersonalizationEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && adsPersonalizationEnabled_ != null - && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + adsPersonalizationEnabled_ != null && + adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getAdsPersonalizationEnabledBuilder().mergeFrom(value); } else { adsPersonalizationEnabled_ = value; @@ -1918,16 +1637,12 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu return this; } /** - * - * *
      * 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]; */ public Builder clearAdsPersonalizationEnabled() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1940,16 +1655,12 @@ public Builder clearAdsPersonalizationEnabled() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder() { bitField0_ |= 0x00000020; @@ -1957,50 +1668,38 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder return getAdsPersonalizationEnabledFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() { if (adsPersonalizationEnabledBuilder_ != null) { return adsPersonalizationEnabledBuilder_.getMessageOrBuilder(); } else { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; @@ -2008,61 +1707,42 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil 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_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> campaignDataSharingEnabledBuilder_; /** - * - * *
      * 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]; * @return Whether the campaignDataSharingEnabled field is set. */ public boolean hasCampaignDataSharingEnabled() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * 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]; * @return The campaignDataSharingEnabled. */ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { if (campaignDataSharingEnabledBuilder_ == null) { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } else { return campaignDataSharingEnabledBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { @@ -2078,16 +1758,12 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value return this; } /** - * - * *
      * 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]; */ public Builder setCampaignDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -2101,22 +1777,18 @@ public Builder setCampaignDataSharingEnabled( return this; } /** - * - * *
      * 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]; */ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && campaignDataSharingEnabled_ != null - && campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + campaignDataSharingEnabled_ != null && + campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCampaignDataSharingEnabledBuilder().mergeFrom(value); } else { campaignDataSharingEnabled_ = value; @@ -2129,16 +1801,12 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val return this; } /** - * - * *
      * 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]; */ public Builder clearCampaignDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2151,16 +1819,12 @@ public Builder clearCampaignDataSharingEnabled() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { bitField0_ |= 0x00000040; @@ -2168,50 +1832,38 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde return getCampaignDataSharingEnabledFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { if (campaignDataSharingEnabledBuilder_ != null) { return campaignDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return campaignDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; @@ -2219,64 +1871,45 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> costDataSharingEnabledBuilder_; /** - * - * *
      * 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]; * @return Whether the costDataSharingEnabled field is set. */ public boolean hasCostDataSharingEnabled() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * 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]; * @return The costDataSharingEnabled. */ public com.google.protobuf.BoolValue getCostDataSharingEnabled() { if (costDataSharingEnabledBuilder_ == null) { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } else { return costDataSharingEnabledBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { @@ -2292,17 +1925,13 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { return this; } /** - * - * *
      * 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]; */ public Builder setCostDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -2316,23 +1945,19 @@ public Builder setCostDataSharingEnabled( return this; } /** - * - * *
      * 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]; */ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && costDataSharingEnabled_ != null - && costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + costDataSharingEnabled_ != null && + costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCostDataSharingEnabledBuilder().mergeFrom(value); } else { costDataSharingEnabled_ = value; @@ -2345,17 +1970,13 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) return this; } /** - * - * *
      * 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]; */ public Builder clearCostDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2368,17 +1989,13 @@ public Builder clearCostDataSharingEnabled() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { bitField0_ |= 0x00000080; @@ -2386,59 +2003,47 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() return getCostDataSharingEnabledFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { if (costDataSharingEnabledBuilder_ != null) { return costDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return costDataSharingEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : costDataSharingEnabled_; + return costDataSharingEnabled_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2448,44 +2053,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DisplayVideo360AdvertiserLinkProposal 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DisplayVideo360AdvertiserLinkProposal 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; @@ -2497,8 +2099,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java index 316c6ed28e25..96ddc29c2b6a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java @@ -1,320 +1,227 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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 DisplayVideo360AdvertiserLinkProposalOrBuilder - extends +public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * 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
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ 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
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The advertiserId. */ java.lang.String getAdvertiserId(); /** - * - * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for advertiserId. */ - com.google.protobuf.ByteString getAdvertiserIdBytes(); + com.google.protobuf.ByteString + getAdvertiserIdBytes(); /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the linkProposalStatusDetails field is set. */ boolean hasLinkProposalStatusDetails(); /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalStatusDetails. */ com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails(); /** - * - * *
    * Output only. The status information for this link proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder - getLinkProposalStatusDetailsOrBuilder(); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder(); /** - * - * *
    * 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]; - * * @return The advertiserDisplayName. */ java.lang.String getAdvertiserDisplayName(); /** - * - * *
    * 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]; - * * @return The bytes for advertiserDisplayName. */ - com.google.protobuf.ByteString getAdvertiserDisplayNameBytes(); + 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]; - * * @return The validationEmail. */ 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]; - * * @return The bytes for validationEmail. */ - com.google.protobuf.ByteString getValidationEmailBytes(); + com.google.protobuf.ByteString + getValidationEmailBytes(); /** - * - * *
    * 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]; * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** - * - * *
    * 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]; * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** - * - * *
    * 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]; */ com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder(); /** - * - * *
    * 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]; * @return Whether the campaignDataSharingEnabled field is set. */ boolean hasCampaignDataSharingEnabled(); /** - * - * *
    * 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]; * @return The campaignDataSharingEnabled. */ com.google.protobuf.BoolValue getCampaignDataSharingEnabled(); /** - * - * *
    * 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]; */ com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); /** - * - * *
    * 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]; * @return Whether the costDataSharingEnabled field is set. */ boolean hasCostDataSharingEnabled(); /** - * - * *
    * 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]; * @return The costDataSharingEnabled. */ com.google.protobuf.BoolValue getCostDataSharingEnabled(); /** - * - * *
    * 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]; */ com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java new file mode 100644 index 000000000000..e942de1808ae --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java @@ -0,0 +1,1971 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java new file mode 100644 index 000000000000..4084f0016c6a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java @@ -0,0 +1,2984 @@ +// 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< + MatchType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java new file mode 100644 index 000000000000..38c1fb075a18 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java @@ -0,0 +1,1330 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java new file mode 100644 index 000000000000..402d5c2b8137 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java @@ -0,0 +1,862 @@ +// 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 + 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(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 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 + 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 + 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java new file mode 100644 index 000000000000..b8ba0f68718c --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java @@ -0,0 +1,53 @@ +// 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 + 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java new file mode 100644 index 000000000000..0f1b437c2129 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java @@ -0,0 +1,110 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java new file mode 100644 index 000000000000..7e67297efbf5 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java @@ -0,0 +1,88 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java new file mode 100644 index 000000000000..af2dec3fd2da --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java @@ -0,0 +1,244 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java new file mode 100644 index 000000000000..56b62d70e984 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java @@ -0,0 +1,156 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java new file mode 100644 index 000000000000..fa6ba0309ac0 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java @@ -0,0 +1,601 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java new file mode 100644 index 000000000000..5802eb07540f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java @@ -0,0 +1,35 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java new file mode 100644 index 000000000000..a7873cd4c41e --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java @@ -0,0 +1,501 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java new file mode 100644 index 000000000000..b7695941fdb4 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java @@ -0,0 +1,19 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java index 2c0c25f07111..4a25a2e077cf 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A link between a GA4 property and a Firebase project.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FirebaseLink} */ -public final class FirebaseLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FirebaseLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FirebaseLink) FirebaseLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FirebaseLink.newBuilder() to construct. private FirebaseLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FirebaseLink() { name_ = ""; project_ = ""; @@ -44,43 +26,38 @@ private FirebaseLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FirebaseLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_FirebaseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FirebaseLink.class, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); + com.google.analytics.admin.v1alpha.FirebaseLink.class, com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -89,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,23 +97,19 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PROJECT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
-   * 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'
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The project. */ @java.lang.Override @@ -145,34 +118,34 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
-   * 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'
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -183,15 +156,11 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -199,15 +168,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -215,14 +180,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -230,7 +192,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -268,7 +230,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,19 +241,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.FirebaseLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.FirebaseLink other = - (com.google.analytics.admin.v1alpha.FirebaseLink) obj; + com.google.analytics.admin.v1alpha.FirebaseLink other = (com.google.analytics.admin.v1alpha.FirebaseLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getProject().equals(other.getProject())) return false; + 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 (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -316,136 +281,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( 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.FirebaseLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.FirebaseLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.FirebaseLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.FirebaseLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A link between a GA4 property and a Firebase project.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FirebaseLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.FirebaseLink) com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FirebaseLink.class, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); + com.google.analytics.admin.v1alpha.FirebaseLink.class, com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; } @java.lang.Override @@ -482,11 +441,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink buildPartial() { - com.google.analytics.admin.v1alpha.FirebaseLink result = - new com.google.analytics.admin.v1alpha.FirebaseLink(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.FirebaseLink result = new com.google.analytics.admin.v1alpha.FirebaseLink(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -500,7 +456,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FirebaseLink resul result.project_ = project_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } } @@ -508,39 +466,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FirebaseLink resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.FirebaseLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink) other); + return mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink)other); } else { super.mergeFrom(other); return this; @@ -548,8 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.FirebaseLink other) { - if (other == com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -589,31 +545,29 @@ public Builder mergeFrom( 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 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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 + 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) { @@ -623,25 +577,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -650,21 +601,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -672,35 +622,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -710,21 +653,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -734,25 +673,23 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
-     * 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'
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -761,26 +698,25 @@ 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'
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -788,45 +724,38 @@ 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'
      * 
* * 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(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * 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'
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -836,26 +765,22 @@ public Builder clearProject() { return this; } /** - * - * *
-     * 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'
      * 
* * 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(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000002; @@ -865,58 +790,39 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -932,17 +838,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -953,21 +856,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -980,15 +879,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1001,15 +896,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1017,55 +908,43 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.FirebaseLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.FirebaseLink) private static final com.google.analytics.admin.v1alpha.FirebaseLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.FirebaseLink(); } @@ -1089,27 +968,27 @@ public static com.google.analytics.admin.v1alpha.FirebaseLink getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirebaseLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FirebaseLink 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; @@ -1124,4 +1003,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.FirebaseLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java index 95769d4a6712..03154ee9378b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java @@ -1,123 +1,86 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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 FirebaseLinkOrBuilder - extends +public interface FirebaseLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FirebaseLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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'
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The project. */ 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'
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java index 1a3ad8cf6f33..957ea8513e7b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccountRequest} */ -public final class GetAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAccountRequest) GetAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAccountRequest.newBuilder() to construct. private GetAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAccountRequest.class, - com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAccountRequest.class, com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAccountRequest other = - (com.google.analytics.admin.v1alpha.GetAccountRequest) obj; + com.google.analytics.admin.v1alpha.GetAccountRequest other = (com.google.analytics.admin.v1alpha.GetAccountRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,135 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( 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.GetAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccountRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAccountRequest) com.google.analytics.admin.v1alpha.GetAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAccountRequest.class, - com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAccountRequest.class, com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAccountRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; } @java.lang.Override @@ -350,11 +317,8 @@ public com.google.analytics.admin.v1alpha.GetAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAccountRequest result = - new com.google.analytics.admin.v1alpha.GetAccountRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetAccountRequest result = new com.google.analytics.admin.v1alpha.GetAccountRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -370,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetAccountRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAccountRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAccountRequest)other); } else { super.mergeFrom(other); return this; @@ -410,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -465,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -568,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -605,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAccountRequest) private static final com.google.analytics.admin.v1alpha.GetAccountRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAccountRequest(); } @@ -619,27 +554,27 @@ public static com.google.analytics.admin.v1alpha.GetAccountRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAccountRequest 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; @@ -654,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java new file mode 100644 index 000000000000..65eda19d57aa --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GetAccountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * 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/GetAttributionSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java index ec01566cacb7..70ce6007af66 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetAttributionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAttributionSettingsRequest} */ -public final class GetAttributionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAttributionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) GetAttributionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAttributionSettingsRequest.newBuilder() to construct. private GetAttributionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAttributionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAttributionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetAttributionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the attribution settings to retrieve.
    * Format: properties/{property}/attributionSettings
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the attribution settings to retrieve.
    * Format: properties/{property}/attributionSettings
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other = - (com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other = (com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( 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.GetAttributionSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetAttributionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAttributionSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) com.google.analytics.admin.v1alpha.GetAttributionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance(); } @@ -350,17 +315,13 @@ public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result = - new com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result = new com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetAttributionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -468,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -498,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -567,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttributionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttributionSettingsRequest 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; @@ -651,8 +579,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..f5c3da79d367 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetAttributionSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the attribution settings to retrieve.
+   * Format: properties/{property}/attributionSettings
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the attribution settings to retrieve.
+   * Format: properties/{property}/attributionSettings
+   * 
+ * + * 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/GetAudienceRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java index 6267cff16b66..77bd9e56dee1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAudienceRequest} */ -public final class GetAudienceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAudienceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAudienceRequest) GetAudienceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAudienceRequest.newBuilder() to construct. private GetAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAudienceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAudienceRequest.class, - com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAudienceRequest.class, com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the Audience to get.
    * Example format: properties/1234/audiences/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Audience to get.
    * Example format: properties/1234/audiences/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAudienceRequest other = - (com.google.analytics.admin.v1alpha.GetAudienceRequest) obj; + com.google.analytics.admin.v1alpha.GetAudienceRequest other = (com.google.analytics.admin.v1alpha.GetAudienceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( 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.GetAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetAudienceRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAudienceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAudienceRequest) com.google.analytics.admin.v1alpha.GetAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAudienceRequest.class, - com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAudienceRequest.class, com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAudienceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1alpha.GetAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAudienceRequest result = - new com.google.analytics.admin.v1alpha.GetAudienceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetAudienceRequest result = new com.google.analytics.admin.v1alpha.GetAudienceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetAudienceRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAudienceRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAudienceRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAudienceRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetAudienceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAudienceRequest) private static final com.google.analytics.admin.v1alpha.GetAudienceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAudienceRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.GetAudienceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAudienceRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java new file mode 100644 index 000000000000..6e032eba306d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetAudienceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAudienceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Audience to get.
+   * Example format: properties/1234/audiences/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 Audience to get.
+   * Example format: properties/1234/audiences/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java new file mode 100644 index 000000000000..f6001f85d21d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java @@ -0,0 +1,594 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java new file mode 100644 index 000000000000..85b5054e89aa --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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/GetConversionEventRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java index 02174382f45f..a6356bd6ee0e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetConversionEventRequest} */ -public final class GetConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetConversionEventRequest) GetConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConversionEventRequest.newBuilder() to construct. private GetConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, - com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetConversionEventRequest other = - (com.google.analytics.admin.v1alpha.GetConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.GetConversionEventRequest other = (com.google.analytics.admin.v1alpha.GetConversionEventRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( 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.GetConversionEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetConversionEventRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetConversionEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetConversionEventRequest) com.google.analytics.admin.v1alpha.GetConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, - com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetConversionEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,14 +296,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance(); } @@ -352,17 +317,13 @@ public com.google.analytics.admin.v1alpha.GetConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetConversionEventRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetConversionEventRequest result = - new com.google.analytics.admin.v1alpha.GetConversionEventRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetConversionEventRequest result = new com.google.analytics.admin.v1alpha.GetConversionEventRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetConversionEventRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -373,39 +334,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetConversionEventRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetConversionEventRequest)other); } else { super.mergeFrom(other); return this; @@ -413,9 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetConversionEventRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -447,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -469,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -500,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -526,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -572,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -609,13 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.GetConversionEventRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetConversionEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetConversionEventRequest(); } @@ -624,27 +554,27 @@ public static com.google.analytics.admin.v1alpha.GetConversionEventRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConversionEventRequest 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; @@ -659,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..1fe2ec1d85d0 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GetConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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/GetCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java index 7fd4622ee2ef..a07b734ca286 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomDimensionRequest} */ -public final class GetCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomDimensionRequest) GetCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomDimensionRequest.newBuilder() to construct. private GetCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest other = - (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( 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.GetCustomDimensionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetCustomDimensionRequest) com.google.analytics.admin.v1alpha.GetCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance(); } @@ -350,17 +315,13 @@ public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result = - new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,39 +332,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; @@ -411,9 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -445,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -467,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,13 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.GetCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(); } @@ -617,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomDimensionRequest 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; @@ -652,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..1f3349e8cac3 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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/GetCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java index 3fb7b406297a..31c682c19bdd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomMetricRequest} */ -public final class GetCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomMetricRequest) GetCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomMetricRequest.newBuilder() to construct. private GetCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetCustomMetricRequest other = - (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.GetCustomMetricRequest other = (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( 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.GetCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetCustomMetricRequest) com.google.analytics.admin.v1alpha.GetCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1alpha.GetCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetCustomMetricRequest result = - new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetCustomMetricRequest result = new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetCustomMetricReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetCustomMetricRequest) private static final com.google.analytics.admin.v1alpha.GetCustomMetricRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomMetricRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..d22f4b1f0560 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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/GetDataRetentionSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java index 0de8f7a0f8cd..827599e1a65c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java @@ -1,80 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest} */ -public final class GetDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataRetentionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) GetDataRetentionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataRetentionSettingsRequest.newBuilder() to construct. - private GetDataRetentionSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataRetentionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -82,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -110,18 +83,17 @@ public java.lang.String getName() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -130,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -166,15 +138,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other = - (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other = (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,138 +166,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( 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.GetDataRetentionSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - 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.GetDataRetentionSettingsRequest 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.GetDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -335,16 +298,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -358,17 +319,13 @@ public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest build( @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result = - new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result = new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -379,51 +336,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetDataRetentionSettingsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -455,19 +407,17 @@ public Builder mergeFrom( 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: + 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) { @@ -477,13 +427,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -491,16 +438,14 @@ public Builder mergeFrom(
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,8 +454,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -518,17 +461,16 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,8 +478,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -545,25 +485,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 settings to lookup.
      * Format:
@@ -571,10 +505,7 @@ public Builder setName(java.lang.String value) {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -584,8 +515,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -593,26 +522,22 @@ public Builder clearName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,43 +547,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataRetentionSettingsRequest 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; @@ -670,8 +593,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..420e9134905b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java @@ -0,0 +1,35 @@ +// 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 GetDataRetentionSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * 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/GetDataSharingSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java index 2d96b4a5d769..1fa6d36ee6e9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDataSharingSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataSharingSettingsRequest} */ -public final class GetDataSharingSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataSharingSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) GetDataSharingSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataSharingSettingsRequest.newBuilder() to construct. private GetDataSharingSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataSharingSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataSharingSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetDataSharingSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other = - (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other = (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( 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.GetDataSharingSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDataSharingSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataSharingSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,14 +296,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance(); } @@ -352,17 +317,13 @@ public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result = - new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result = new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -373,50 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetDataSharingSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -448,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -470,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -501,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -573,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSharingSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSharingSettingsRequest 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; @@ -658,8 +586,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..800d242e2a00 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GetDataSharingSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * 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/GetDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java index 1e7f8f7864df..b5398f5254b9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataStreamRequest} */ -public final class GetDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataStreamRequest) GetDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataStreamRequest.newBuilder() to construct. private GetDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDataStreamRequest other = - (com.google.analytics.admin.v1alpha.GetDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( 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.GetDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDataStreamRequest) com.google.analytics.admin.v1alpha.GetDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, - com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1alpha.GetDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataStreamRequest result = - new com.google.analytics.admin.v1alpha.GetDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataStreamReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDataStreamRequest) private static final com.google.analytics.admin.v1alpha.GetDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDataStreamRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1alpha.GetDataStreamRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataStreamRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..a36c24d56d24 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/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 DataStream to get.
+   * Example format: properties/1234/dataStreams/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/GetDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java similarity index 51% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java index 9d4b264fd77c..d5391970ac31 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java @@ -1,93 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
  * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} + * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} */ -public final class GetDisplayVideo360AdvertiserLinkProposalRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDisplayVideo360AdvertiserLinkProposalRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkProposalRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDisplayVideo360AdvertiserLinkProposalRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkProposalRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
    * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -96,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
    * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -130,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -166,17 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other = - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) obj; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,148 +161,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + 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.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - 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.GetDisplayVideo360AdvertiserLinkProposalRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - 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.GetDisplayVideo360AdvertiserLinkProposalRequest - 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.GetDisplayVideo360AdvertiserLinkProposalRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
    * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} + * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - .class, - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - .Builder.class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -346,23 +294,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - build() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = - buildPartial(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest build() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -370,20 +314,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - buildPartial() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = - new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -394,54 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - other); + if (other instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -473,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -495,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -525,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -550,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -594,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -630,63 +533,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha - .GetDisplayVideo360AdvertiserLinkProposalRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser< - GetDisplayVideo360AdvertiserLinkProposalRequest>() { - @java.lang.Override - public GetDisplayVideo360AdvertiserLinkProposalRequest 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(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDisplayVideo360AdvertiserLinkProposalRequest 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() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..f187967453e9 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/GetDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java similarity index 53% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java index 24b06f0fcccf..f6e89bc099c4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java @@ -1,91 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest} */ -public final class GetDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) GetDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLink to get.
    * Example format: properties/1234/displayVideo360AdvertiserLink/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DisplayVideo360AdvertiserLink to get.
    * Example format: properties/1234/displayVideo360AdvertiserLink/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,16 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,145 +161,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom( + 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.GetDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - 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.GetDisplayVideo360AdvertiserLinkRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - 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.GetDisplayVideo360AdvertiserLinkRequest - 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.GetDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -340,22 +294,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,19 +314,14 @@ public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkReques } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - buildPartial() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = - new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -386,52 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -463,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -485,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -540,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -584,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,44 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDisplayVideo360AdvertiserLinkRequest 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; @@ -669,8 +579,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..21e6060eb995 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetDisplayVideo360AdvertiserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/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 DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/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/GetGlobalSiteTagRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java index fb1d07b466f9..79f4720e3088 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetGlobalSiteTag RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGlobalSiteTagRequest} */ -public final class GetGlobalSiteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetGlobalSiteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) GetGlobalSiteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetGlobalSiteTagRequest.newBuilder() to construct. private GetGlobalSiteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGlobalSiteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGlobalSiteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetGlobalSiteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -109,18 +83,17 @@ public java.lang.String getName() {
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,15 +138,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest other = - (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) obj; + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest other = (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -193,136 +166,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( 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.GetGlobalSiteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetGlobalSiteTag RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGlobalSiteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -332,9 +298,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; } @java.lang.Override @@ -353,11 +319,8 @@ public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest result = - new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest result = new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -373,39 +336,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetGlobalSiteTagRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -413,8 +375,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +407,17 @@ public Builder mergeFrom( 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: + 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) { @@ -468,13 +427,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -482,16 +438,14 @@ public Builder mergeFrom(
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -500,8 +454,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -509,17 +461,16 @@ public java.lang.String getName() {
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,8 +478,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -536,25 +485,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -562,10 +505,7 @@ public Builder setName(java.lang.String value) {
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,8 +515,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -584,26 +522,22 @@ public Builder clearName() {
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +547,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) private static final com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(); } @@ -627,27 +561,27 @@ public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGlobalSiteTagRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGlobalSiteTagRequest 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; @@ -662,4 +596,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java similarity index 50% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java index 7cffb6b43700..b24e28e3f840 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface GetGlobalSiteTagRequestOrBuilder - extends +public interface GetGlobalSiteTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -33,16 +15,11 @@ public interface GetGlobalSiteTagRequestOrBuilder
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -50,11 +27,9 @@ public interface GetGlobalSiteTagRequestOrBuilder
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java index bd976b753772..1e1838501f39 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java @@ -1,89 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest} */ -public final class GetGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetGoogleSignalsSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) GetGoogleSignalsSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetGoogleSignalsSettingsRequest.newBuilder() to construct. - private GetGoogleSignalsSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGoogleSignalsSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetGoogleSignalsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the google signals settings to retrieve.
    * Format: properties/{property}/googleSignalsSettings
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the google signals settings to retrieve.
    * Format: properties/{property}/googleSignalsSettings
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other = - (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other = (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,138 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( 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.GetGoogleSignalsSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - 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.GetGoogleSignalsSettingsRequest 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.GetGoogleSignalsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetGoogleSignalsSettings RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -331,16 +294,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -354,17 +315,13 @@ public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest build( @java.lang.Override public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result = - new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result = new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -375,51 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetGoogleSignalsSettingsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -451,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -473,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -503,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -528,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -572,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -608,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGoogleSignalsSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGoogleSignalsSettingsRequest 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; @@ -656,8 +579,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..f39642313bc3 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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 GetGoogleSignalsSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * 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/GetMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java index b487891af3ce..8098a691b859 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java @@ -1,91 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetMeasurementProtocolSecret RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest} */ -public final class GetMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) GetMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMeasurementProtocolSecretRequest.newBuilder() to construct. - private GetMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -193,138 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( 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.GetMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - 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.GetMeasurementProtocolSecretRequest 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.GetMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetMeasurementProtocolSecret RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -334,22 +296,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -358,17 +317,13 @@ public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest bu @java.lang.Override public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -379,51 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -455,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -477,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -508,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -534,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -580,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMeasurementProtocolSecretRequest 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; @@ -665,8 +586,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..a0649645bf25 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GetMeasurementProtocolSecretRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * 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/GetPropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java index 25b36a196e63..9b7f7fc01e38 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetPropertyRequest} */ -public final class GetPropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetPropertyRequest) GetPropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPropertyRequest.newBuilder() to construct. private GetPropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetPropertyRequest.class, - com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetPropertyRequest.class, com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetPropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetPropertyRequest other = - (com.google.analytics.admin.v1alpha.GetPropertyRequest) obj; + com.google.analytics.admin.v1alpha.GetPropertyRequest other = (com.google.analytics.admin.v1alpha.GetPropertyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( 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.GetPropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetPropertyRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetPropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetPropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetPropertyRequest) com.google.analytics.admin.v1alpha.GetPropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetPropertyRequest.class, - com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetPropertyRequest.class, com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetPropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.analytics.admin.v1alpha.GetPropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetPropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetPropertyRequest result = - new com.google.analytics.admin.v1alpha.GetPropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetPropertyRequest result = new com.google.analytics.admin.v1alpha.GetPropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetPropertyRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetPropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetPropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetPropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetPropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -466,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetPropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetPropertyRequest) private static final com.google.analytics.admin.v1alpha.GetPropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetPropertyRequest(); } @@ -620,27 +554,27 @@ public static com.google.analytics.admin.v1alpha.GetPropertyRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPropertyRequest 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetPropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java new file mode 100644 index 000000000000..d15bc73fa05f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GetPropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetPropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java new file mode 100644 index 000000000000..7b887a888a6a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java @@ -0,0 +1,587 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..ed2dfff8ba49 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/GetUserLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java index edf87de1cdaa..cbdaac1c2a2e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for GetUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ -public final class GetUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetUserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) GetUserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetUserLinkRequest.newBuilder() to construct. private GetUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GetUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetUserLinkRequest other = - (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetUserLinkRequest other = (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( 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.GetUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) com.google.analytics.admin.v1alpha.GetUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetUserLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.analytics.admin.v1alpha.GetUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetUserLinkRequest result = - new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GetUserLinkRequest result = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetUserLinkRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GetUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( 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: + 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) { @@ -462,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) private static final com.google.analytics.admin.v1alpha.GetUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(); } @@ -606,27 +540,27 @@ public static com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserLinkRequest 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; @@ -641,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..8bb7da16de4b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java @@ -0,0 +1,29 @@ +// 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 GetUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: accounts/1234/userLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java index 191a05f23c0a..398f1abbd87e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Read-only resource with the tag for sending data from a website to a
  * DataStream. Only present for web DataStream resources.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.GlobalSiteTag}
  */
-public final class GlobalSiteTag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GlobalSiteTag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GlobalSiteTag)
     GlobalSiteTagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GlobalSiteTag.newBuilder() to construct.
   private GlobalSiteTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GlobalSiteTag() {
     name_ = "";
     snippet_ = "";
@@ -45,37 +27,33 @@ private GlobalSiteTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GlobalSiteTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_GlobalSiteTag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.GlobalSiteTag.class,
-            com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
+            com.google.analytics.admin.v1alpha.GlobalSiteTag.class, com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -108,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,19 +102,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SNIPPET_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object snippet_ = ""; /** - * - * *
-   * 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]; - * * @return The snippet. */ @java.lang.Override @@ -146,30 +119,30 @@ public java.lang.String getSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snippet_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for snippet. */ @java.lang.Override - public com.google.protobuf.ByteString getSnippetBytes() { + public com.google.protobuf.ByteString + getSnippetBytes() { java.lang.Object ref = snippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snippet_ = b; return b; } else { @@ -178,7 +151,6 @@ public com.google.protobuf.ByteString getSnippetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,7 +162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -220,16 +193,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GlobalSiteTag)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GlobalSiteTag other = - (com.google.analytics.admin.v1alpha.GlobalSiteTag) obj; + com.google.analytics.admin.v1alpha.GlobalSiteTag other = (com.google.analytics.admin.v1alpha.GlobalSiteTag) obj; - if (!getName().equals(other.getName())) return false; - if (!getSnippet().equals(other.getSnippet())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getSnippet() + .equals(other.getSnippet())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -250,104 +224,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( 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.GlobalSiteTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GlobalSiteTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Read-only resource with the tag for sending data from a website to a
    * DataStream. Only present for web DataStream resources.
@@ -355,32 +322,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.GlobalSiteTag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GlobalSiteTag)
       com.google.analytics.admin.v1alpha.GlobalSiteTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.GlobalSiteTag.class,
-              com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
+              com.google.analytics.admin.v1alpha.GlobalSiteTag.class, com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.GlobalSiteTag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -391,9 +359,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
     }
 
     @java.lang.Override
@@ -412,11 +380,8 @@ public com.google.analytics.admin.v1alpha.GlobalSiteTag build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.GlobalSiteTag buildPartial() {
-      com.google.analytics.admin.v1alpha.GlobalSiteTag result =
-          new com.google.analytics.admin.v1alpha.GlobalSiteTag(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1alpha.GlobalSiteTag result = new com.google.analytics.admin.v1alpha.GlobalSiteTag(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -435,39 +400,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GlobalSiteTag resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.GlobalSiteTag) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.GlobalSiteTag) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.GlobalSiteTag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -475,8 +439,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.GlobalSiteTag other) {
-      if (other == com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -513,25 +476,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                snippet_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              snippet_ = 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) {
@@ -541,13 +501,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -555,13 +512,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -570,8 +527,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -579,14 +534,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -594,8 +550,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -603,22 +557,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -626,7 +576,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -636,8 +585,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -645,14 +592,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -662,21 +607,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object snippet_ = ""; /** - * - * *
-     * 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]; - * * @return The snippet. */ public java.lang.String getSnippet() { java.lang.Object ref = snippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snippet_ = s; return s; @@ -685,22 +628,21 @@ 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]; - * * @return The bytes for snippet. */ - public com.google.protobuf.ByteString getSnippetBytes() { + public com.google.protobuf.ByteString + getSnippetBytes() { java.lang.Object ref = snippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snippet_ = b; return b; } else { @@ -708,37 +650,30 @@ 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]; - * * @param value The snippet to set. * @return This builder for chaining. */ - public Builder setSnippet(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnippet( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } snippet_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearSnippet() { @@ -748,31 +683,27 @@ public Builder clearSnippet() { return this; } /** - * - * *
-     * 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]; - * * @param value The bytes for snippet to set. * @return This builder for chaining. */ - public Builder setSnippetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnippetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); snippet_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -782,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GlobalSiteTag) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GlobalSiteTag) private static final com.google.analytics.admin.v1alpha.GlobalSiteTag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GlobalSiteTag(); } @@ -796,27 +727,27 @@ public static com.google.analytics.admin.v1alpha.GlobalSiteTag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlobalSiteTag 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlobalSiteTag 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; @@ -831,4 +762,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GlobalSiteTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java index 2bb623e0939a..add55dcfe06c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GlobalSiteTagOrBuilder - extends +public interface GlobalSiteTagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GlobalSiteTag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -33,13 +15,10 @@ public interface GlobalSiteTagOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -47,35 +26,30 @@ public interface GlobalSiteTagOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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]; - * * @return The snippet. */ 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]; - * * @return The bytes for snippet. */ - com.google.protobuf.ByteString getSnippetBytes(); + com.google.protobuf.ByteString + getSnippetBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java index 4f6226452fb6..0e0859959fe9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A link between a GA4 property and a Google Ads account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleAdsLink} */ -public final class GoogleAdsLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GoogleAdsLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleAdsLink) GoogleAdsLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GoogleAdsLink.newBuilder() to construct. private GoogleAdsLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GoogleAdsLink() { name_ = ""; customerId_ = ""; @@ -45,44 +27,40 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GoogleAdsLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GoogleAdsLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1alpha.GoogleAdsLink.class, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
-   * 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]; - * * @return The name. */ @java.lang.Override @@ -91,30 +69,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,18 +102,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CUSTOMER_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object customerId_ = ""; /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ @java.lang.Override @@ -143,29 +118,29 @@ public java.lang.String getCustomerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; } } /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerIdBytes() { + public com.google.protobuf.ByteString + getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerId_ = b; return b; } else { @@ -176,14 +151,11 @@ public com.google.protobuf.ByteString getCustomerIdBytes() { public static final int CAN_MANAGE_CLIENTS_FIELD_NUMBER = 4; private boolean canManageClients_ = false; /** - * - * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The canManageClients. */ @java.lang.Override @@ -194,8 +166,6 @@ public boolean getCanManageClients() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 5; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -204,7 +174,6 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -212,8 +181,6 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -222,18 +189,13 @@ public boolean hasAdsPersonalizationEnabled() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -245,23 +207,17 @@ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() {
-    return adsPersonalizationEnabled_ == null
-        ? com.google.protobuf.BoolValue.getDefaultInstance()
-        : adsPersonalizationEnabled_;
+    return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
   }
 
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -269,15 +225,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -285,14 +237,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -302,15 +251,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -318,15 +263,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -334,14 +275,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -349,19 +287,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int CREATOR_EMAIL_ADDRESS_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object creatorEmailAddress_ = ""; /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ @java.lang.Override @@ -370,30 +304,30 @@ public java.lang.String getCreatorEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; } } /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString + getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -402,7 +336,6 @@ public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -452,18 +386,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerId_); } if (canManageClients_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, canManageClients_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, canManageClients_); } if (adsPersonalizationEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getAdsPersonalizationEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAdsPersonalizationEnabled()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorEmailAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, creatorEmailAddress_); @@ -476,31 +412,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GoogleAdsLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GoogleAdsLink other = - (com.google.analytics.admin.v1alpha.GoogleAdsLink) obj; + com.google.analytics.admin.v1alpha.GoogleAdsLink other = (com.google.analytics.admin.v1alpha.GoogleAdsLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getCustomerId().equals(other.getCustomerId())) return false; - if (getCanManageClients() != other.getCanManageClients()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCustomerId() + .equals(other.getCustomerId())) return false; + if (getCanManageClients() + != other.getCanManageClients()) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) - return false; + if (!getAdsPersonalizationEnabled() + .equals(other.getAdsPersonalizationEnabled())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getCreatorEmailAddress().equals(other.getCreatorEmailAddress())) return false; + if (!getCreatorEmailAddress() + .equals(other.getCreatorEmailAddress())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -517,7 +458,8 @@ public int hashCode() { hash = (37 * hash) + CUSTOMER_ID_FIELD_NUMBER; hash = (53 * hash) + getCustomerId().hashCode(); hash = (37 * hash) + CAN_MANAGE_CLIENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCanManageClients()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCanManageClients()); if (hasAdsPersonalizationEnabled()) { hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getAdsPersonalizationEnabled().hashCode(); @@ -537,136 +479,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( 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.GoogleAdsLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GoogleAdsLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A link between a GA4 property and a Google Ads account.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleAdsLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GoogleAdsLink) com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1alpha.GoogleAdsLink.class, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -694,9 +630,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; } @java.lang.Override @@ -715,11 +651,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink buildPartial() { - com.google.analytics.admin.v1alpha.GoogleAdsLink result = - new com.google.analytics.admin.v1alpha.GoogleAdsLink(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GoogleAdsLink result = new com.google.analytics.admin.v1alpha.GoogleAdsLink(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -736,16 +669,19 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GoogleAdsLink resu result.canManageClients_ = canManageClients_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.adsPersonalizationEnabled_ = - adsPersonalizationEnabledBuilder_ == null - ? adsPersonalizationEnabled_ - : adsPersonalizationEnabledBuilder_.build(); + result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.creatorEmailAddress_ = creatorEmailAddress_; @@ -756,39 +692,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GoogleAdsLink resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GoogleAdsLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.GoogleAdsLink) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GoogleAdsLink)other); } else { super.mergeFrom(other); return this; @@ -796,8 +731,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GoogleAdsLink other) { - if (other == com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -851,56 +785,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - customerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: - { - canManageClients_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: - { - input.readMessage( - getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 58: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - case 74: - { - creatorEmailAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + customerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + canManageClients_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: { + input.readMessage( + getAdsPersonalizationEnabledFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 58: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + case 74: { + creatorEmailAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 74 + 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) { @@ -910,26 +841,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
-     * 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]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -938,22 +867,22 @@ 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.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -961,37 +890,32 @@ 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.
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1001,22 +925,19 @@ public Builder clearName() { return this; } /** - * - * *
-     * 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]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1026,20 +947,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object customerId_ = ""; /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ public java.lang.String getCustomerId() { java.lang.Object ref = customerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; @@ -1048,21 +967,20 @@ public java.lang.String getCustomerId() { } } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ - public com.google.protobuf.ByteString getCustomerIdBytes() { + public com.google.protobuf.ByteString + getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerId_ = b; return b; } else { @@ -1070,35 +988,28 @@ public com.google.protobuf.ByteString getCustomerIdBytes() { } } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The customerId to set. * @return This builder for chaining. */ - public Builder setCustomerId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCustomerId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } customerId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearCustomerId() { @@ -1108,21 +1019,17 @@ public Builder clearCustomerId() { return this; } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for customerId to set. * @return This builder for chaining. */ - public Builder setCustomerIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCustomerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); customerId_ = value; bitField0_ |= 0x00000002; @@ -1130,16 +1037,13 @@ public Builder setCustomerIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean canManageClients_; + private boolean canManageClients_ ; /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The canManageClients. */ @java.lang.Override @@ -1147,33 +1051,27 @@ public boolean getCanManageClients() { return canManageClients_; } /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The canManageClients to set. * @return This builder for chaining. */ public Builder setCanManageClients(boolean value) { - + canManageClients_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCanManageClients() { @@ -1185,13 +1083,8 @@ public Builder clearCanManageClients() { 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_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> adsPersonalizationEnabledBuilder_; /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1200,15 +1093,12 @@ public Builder clearCanManageClients() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1217,21 +1107,16 @@ public boolean hasAdsPersonalizationEnabled() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } else { return adsPersonalizationEnabledBuilder_.getMessage(); } } /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1255,8 +1140,6 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1278,8 +1161,6 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1291,9 +1172,9 @@ public Builder setAdsPersonalizationEnabled(
      */
     public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && adsPersonalizationEnabled_ != null
-            && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          adsPersonalizationEnabled_ != null &&
+          adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getAdsPersonalizationEnabledBuilder().mergeFrom(value);
         } else {
           adsPersonalizationEnabled_ = value;
@@ -1306,8 +1187,6 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1328,8 +1207,6 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1345,8 +1222,6 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1360,14 +1235,11 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1378,17 +1250,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         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());
+        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_;
@@ -1396,58 +1265,39 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     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_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1463,17 +1313,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1484,21 +1331,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1511,15 +1354,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1532,15 +1371,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -1548,48 +1383,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1597,58 +1420,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1664,17 +1468,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1685,21 +1486,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1712,15 +1509,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1733,15 +1526,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000020; @@ -1749,48 +1538,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1798,21 +1575,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object creatorEmailAddress_ = ""; /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ public java.lang.String getCreatorEmailAddress() { java.lang.Object ref = creatorEmailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; @@ -1821,22 +1596,21 @@ public java.lang.String getCreatorEmailAddress() { } } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ - public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString + getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -1844,37 +1618,30 @@ public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { } } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorEmailAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCreatorEmailAddress() { @@ -1884,31 +1651,27 @@ public Builder clearCreatorEmailAddress() { return this; } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorEmailAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1918,12 +1681,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GoogleAdsLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GoogleAdsLink) private static final com.google.analytics.admin.v1alpha.GoogleAdsLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GoogleAdsLink(); } @@ -1932,27 +1695,27 @@ public static com.google.analytics.admin.v1alpha.GoogleAdsLink getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleAdsLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleAdsLink 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; @@ -1967,4 +1730,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleAdsLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java similarity index 77% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java index 048315793699..335774f33613 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java @@ -1,96 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GoogleAdsLinkOrBuilder - extends +public interface GoogleAdsLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GoogleAdsLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * 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]; - * * @return The name. */ 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.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ java.lang.String getCustomerId(); /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ - com.google.protobuf.ByteString getCustomerIdBytes(); + com.google.protobuf.ByteString + getCustomerIdBytes(); /** - * - * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The canManageClients. */ boolean getCanManageClients(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -99,13 +70,10 @@ public interface GoogleAdsLinkOrBuilder
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -114,13 +82,10 @@ public interface GoogleAdsLinkOrBuilder
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -133,105 +98,78 @@ public interface GoogleAdsLinkOrBuilder
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
-   *
-   *
    * 
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ java.lang.String getCreatorEmailAddress(); /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ - com.google.protobuf.ByteString getCreatorEmailAddressBytes(); + com.google.protobuf.ByteString + getCreatorEmailAddressBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java index dcc2006d74db..9e860b15c93e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Consent field of the Google Signals settings (i.e., whether the user has
  * consented to the Google Signals terms of service.)
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsConsent}
  */
-public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsConsent
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -42,8 +24,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE
    */
   GOOGLE_SIGNALS_CONSENT_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Terms of service have been accepted
    * 
@@ -52,8 +32,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE */ GOOGLE_SIGNALS_CONSENT_CONSENTED(2), /** - * - * *
    * Terms of service have not been accepted
    * 
@@ -65,8 +43,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -77,8 +53,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE
    */
   public static final int GOOGLE_SIGNALS_CONSENT_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Terms of service have been accepted
    * 
@@ -87,8 +61,6 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE */ public static final int GOOGLE_SIGNALS_CONSENT_CONSENTED_VALUE = 2; /** - * - * *
    * Terms of service have not been accepted
    * 
@@ -97,6 +69,7 @@ public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageE */ public static final int GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,14 +94,10 @@ public static GoogleSignalsConsent valueOf(int value) { */ public static GoogleSignalsConsent forNumber(int value) { switch (value) { - case 0: - return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; - case 2: - return GOOGLE_SIGNALS_CONSENT_CONSENTED; - case 1: - return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; - default: - return null; + case 0: return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; + case 2: return GOOGLE_SIGNALS_CONSENT_CONSENTED; + case 1: return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; + default: return null; } } @@ -136,28 +105,28 @@ public static GoogleSignalsConsent forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsConsent findValueByNumber(int number) { - return GoogleSignalsConsent.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + GoogleSignalsConsent> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsConsent findValueByNumber(int number) { + return GoogleSignalsConsent.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(6); } @@ -166,7 +135,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GoogleSignalsConsent valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -182,3 +152,4 @@ private GoogleSignalsConsent(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsConsent) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java index 7cb1534b92fd..8ee0f6722d8d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Settings values for Google Signals.  This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleSignalsSettings} */ -public final class GoogleSignalsSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GoogleSignalsSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleSignalsSettings) GoogleSignalsSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GoogleSignalsSettings.newBuilder() to construct. private GoogleSignalsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GoogleSignalsSettings() { name_ = ""; state_ = 0; @@ -45,37 +27,33 @@ private GoogleSignalsSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GoogleSignalsSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_GoogleSignalsSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -108,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,83 +104,56 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** - * - * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { - com.google.analytics.admin.v1alpha.GoogleSignalsState result = - com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); - return result == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { + com.google.analytics.admin.v1alpha.GoogleSignalsState result = com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); + return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED : result; } public static final int CONSENT_FIELD_NUMBER = 4; private int consent_ = 0; /** - * - * *
    * Output only. Terms of Service acceptance.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for consent. */ - @java.lang.Override - public int getConsentValue() { + @java.lang.Override public int getConsentValue() { return consent_; } /** - * - * *
    * Output only. Terms of Service acceptance.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The consent. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = - com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); - return result == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { + com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); + return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,19 +165,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (state_ - != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } - if (consent_ - != com.google.analytics.admin.v1alpha.GoogleSignalsConsent - .GOOGLE_SIGNALS_CONSENT_UNSPECIFIED - .getNumber()) { + if (consent_ != com.google.analytics.admin.v1alpha.GoogleSignalsConsent.GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.getNumber()) { output.writeEnum(4, consent_); } getUnknownFields().writeTo(output); @@ -242,16 +188,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (state_ - != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + if (state_ != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } - if (consent_ - != com.google.analytics.admin.v1alpha.GoogleSignalsConsent - .GOOGLE_SIGNALS_CONSENT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, consent_); + if (consent_ != com.google.analytics.admin.v1alpha.GoogleSignalsConsent.GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, consent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GoogleSignalsSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GoogleSignalsSettings other = - (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) obj; + com.google.analytics.admin.v1alpha.GoogleSignalsSettings other = (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (state_ != other.state_) return false; if (consent_ != other.consent_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -295,136 +238,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( 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.GoogleSignalsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GoogleSignalsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Settings values for Google Signals.  This is a singleton resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleSignalsSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GoogleSignalsSettings) com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -436,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; } @java.lang.Override @@ -457,11 +393,8 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings buildPartial() { - com.google.analytics.admin.v1alpha.GoogleSignalsSettings result = - new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.GoogleSignalsSettings result = new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -483,39 +416,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GoogleSignalsSetti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.GoogleSignalsSettings) { - return mergeFrom((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) other); + return mergeFrom((com.google.analytics.admin.v1alpha.GoogleSignalsSettings)other); } else { super.mergeFrom(other); return this; @@ -523,8 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GoogleSignalsSettings other) { - if (other == com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -562,31 +493,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: - { - consent_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + consent_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 + 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) { @@ -596,13 +523,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -610,13 +534,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -625,8 +549,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -634,14 +556,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -649,8 +572,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -658,22 +579,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + 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 setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -681,7 +598,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -691,8 +607,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -700,14 +614,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -717,29 +629,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -750,33 +655,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The state. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { - com.google.analytics.admin.v1alpha.GoogleSignalsState result = - com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); - return result == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.GoogleSignalsState result = com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); + return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED : result; } /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -790,14 +686,11 @@ public Builder setState(com.google.analytics.admin.v1alpha.GoogleSignalsState va return this; } /** - * - * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return This builder for chaining. */ public Builder clearState() { @@ -809,33 +702,22 @@ public Builder clearState() { private int consent_ = 0; /** - * - * *
      * Output only. Terms of Service acceptance.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for consent. */ - @java.lang.Override - public int getConsentValue() { + @java.lang.Override public int getConsentValue() { return consent_; } /** - * - * *
      * Output only. Terms of Service acceptance.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for consent to set. * @return This builder for chaining. */ @@ -846,37 +728,24 @@ public Builder setConsentValue(int value) { return this; } /** - * - * *
      * Output only. Terms of Service acceptance.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The consent. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = - com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); - return result == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); + return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Terms of Service acceptance.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The consent to set. * @return This builder for chaining. */ @@ -890,16 +759,11 @@ public Builder setConsent(com.google.analytics.admin.v1alpha.GoogleSignalsConsen return this; } /** - * - * *
      * Output only. Terms of Service acceptance.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConsent() { @@ -908,9 +772,9 @@ public Builder clearConsent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,12 +784,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GoogleSignalsSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GoogleSignalsSettings) private static final com.google.analytics.admin.v1alpha.GoogleSignalsSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(); } @@ -934,27 +798,27 @@ public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleSignalsSettings 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleSignalsSettings 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; @@ -969,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java index 2f84d5759432..96246e7ee99f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GoogleSignalsSettingsOrBuilder - extends +public interface GoogleSignalsSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GoogleSignalsSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -33,13 +15,10 @@ public interface GoogleSignalsSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -47,61 +26,45 @@ public interface GoogleSignalsSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * * @return The state. */ com.google.analytics.admin.v1alpha.GoogleSignalsState getState(); /** - * - * *
    * Output only. Terms of Service acceptance.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for consent. */ int getConsentValue(); /** - * - * *
    * Output only. Terms of Service acceptance.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The consent. */ com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java index ed5357502cac..093fe042db79 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Status of the Google Signals settings (i.e., whether this feature has been
  * enabled for the property).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsState}
  */
-public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsState
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -41,8 +23,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu
    */
   GOOGLE_SIGNALS_STATE_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Google Signals is enabled.
    * 
@@ -51,8 +31,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu */ GOOGLE_SIGNALS_ENABLED(1), /** - * - * *
    * Google Signals is disabled.
    * 
@@ -64,8 +42,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -75,8 +51,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu
    */
   public static final int GOOGLE_SIGNALS_STATE_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Google Signals is enabled.
    * 
@@ -85,8 +59,6 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu */ public static final int GOOGLE_SIGNALS_ENABLED_VALUE = 1; /** - * - * *
    * Google Signals is disabled.
    * 
@@ -95,6 +67,7 @@ public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnu */ public static final int GOOGLE_SIGNALS_DISABLED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,42 +92,39 @@ public static GoogleSignalsState valueOf(int value) { */ public static GoogleSignalsState forNumber(int value) { switch (value) { - case 0: - return GOOGLE_SIGNALS_STATE_UNSPECIFIED; - case 1: - return GOOGLE_SIGNALS_ENABLED; - case 2: - return GOOGLE_SIGNALS_DISABLED; - default: - return null; + case 0: return GOOGLE_SIGNALS_STATE_UNSPECIFIED; + case 1: return GOOGLE_SIGNALS_ENABLED; + case 2: return GOOGLE_SIGNALS_DISABLED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsState findValueByNumber(int number) { - return GoogleSignalsState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + GoogleSignalsState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsState findValueByNumber(int number) { + return GoogleSignalsState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(5); } @@ -163,7 +133,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GoogleSignalsState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -179,3 +150,4 @@ private GoogleSignalsState(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsState) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java similarity index 75% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java index 461d68a42ea9..86b37f8b450f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The category selected for this property, used for industry benchmarking.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.IndustryCategory} */ -public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum { +public enum IndustryCategory + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Industry category unspecified
    * 
@@ -39,8 +21,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ INDUSTRY_CATEGORY_UNSPECIFIED(0), /** - * - * *
    * Automotive
    * 
@@ -49,8 +29,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ AUTOMOTIVE(1), /** - * - * *
    * Business and industrial markets
    * 
@@ -59,8 +37,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BUSINESS_AND_INDUSTRIAL_MARKETS(2), /** - * - * *
    * Finance
    * 
@@ -69,8 +45,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ FINANCE(3), /** - * - * *
    * Healthcare
    * 
@@ -79,8 +53,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HEALTHCARE(4), /** - * - * *
    * Technology
    * 
@@ -89,8 +61,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ TECHNOLOGY(5), /** - * - * *
    * Travel
    * 
@@ -99,8 +69,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ TRAVEL(6), /** - * - * *
    * Other
    * 
@@ -109,8 +77,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ OTHER(7), /** - * - * *
    * Arts and entertainment
    * 
@@ -119,8 +85,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ ARTS_AND_ENTERTAINMENT(8), /** - * - * *
    * Beauty and fitness
    * 
@@ -129,8 +93,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BEAUTY_AND_FITNESS(9), /** - * - * *
    * Books and literature
    * 
@@ -139,8 +101,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BOOKS_AND_LITERATURE(10), /** - * - * *
    * Food and drink
    * 
@@ -149,8 +109,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ FOOD_AND_DRINK(11), /** - * - * *
    * Games
    * 
@@ -159,8 +117,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ GAMES(12), /** - * - * *
    * Hobbies and leisure
    * 
@@ -169,8 +125,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HOBBIES_AND_LEISURE(13), /** - * - * *
    * Home and garden
    * 
@@ -179,8 +133,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HOME_AND_GARDEN(14), /** - * - * *
    * Internet and telecom
    * 
@@ -189,8 +141,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ INTERNET_AND_TELECOM(15), /** - * - * *
    * Law and government
    * 
@@ -199,8 +149,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ LAW_AND_GOVERNMENT(16), /** - * - * *
    * News
    * 
@@ -209,8 +157,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ NEWS(17), /** - * - * *
    * Online communities
    * 
@@ -219,8 +165,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ ONLINE_COMMUNITIES(18), /** - * - * *
    * People and society
    * 
@@ -229,8 +173,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ PEOPLE_AND_SOCIETY(19), /** - * - * *
    * Pets and animals
    * 
@@ -239,8 +181,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ PETS_AND_ANIMALS(20), /** - * - * *
    * Real estate
    * 
@@ -249,8 +189,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ REAL_ESTATE(21), /** - * - * *
    * Reference
    * 
@@ -259,8 +197,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ REFERENCE(22), /** - * - * *
    * Science
    * 
@@ -269,8 +205,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ SCIENCE(23), /** - * - * *
    * Sports
    * 
@@ -279,8 +213,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ SPORTS(24), /** - * - * *
    * Jobs and education
    * 
@@ -289,8 +221,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ JOBS_AND_EDUCATION(25), /** - * - * *
    * Shopping
    * 
@@ -302,8 +232,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Industry category unspecified
    * 
@@ -312,8 +240,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INDUSTRY_CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Automotive
    * 
@@ -322,8 +248,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int AUTOMOTIVE_VALUE = 1; /** - * - * *
    * Business and industrial markets
    * 
@@ -332,8 +256,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BUSINESS_AND_INDUSTRIAL_MARKETS_VALUE = 2; /** - * - * *
    * Finance
    * 
@@ -342,8 +264,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FINANCE_VALUE = 3; /** - * - * *
    * Healthcare
    * 
@@ -352,8 +272,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HEALTHCARE_VALUE = 4; /** - * - * *
    * Technology
    * 
@@ -362,8 +280,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TECHNOLOGY_VALUE = 5; /** - * - * *
    * Travel
    * 
@@ -372,8 +288,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRAVEL_VALUE = 6; /** - * - * *
    * Other
    * 
@@ -382,8 +296,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_VALUE = 7; /** - * - * *
    * Arts and entertainment
    * 
@@ -392,8 +304,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ARTS_AND_ENTERTAINMENT_VALUE = 8; /** - * - * *
    * Beauty and fitness
    * 
@@ -402,8 +312,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BEAUTY_AND_FITNESS_VALUE = 9; /** - * - * *
    * Books and literature
    * 
@@ -412,8 +320,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BOOKS_AND_LITERATURE_VALUE = 10; /** - * - * *
    * Food and drink
    * 
@@ -422,8 +328,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FOOD_AND_DRINK_VALUE = 11; /** - * - * *
    * Games
    * 
@@ -432,8 +336,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int GAMES_VALUE = 12; /** - * - * *
    * Hobbies and leisure
    * 
@@ -442,8 +344,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOBBIES_AND_LEISURE_VALUE = 13; /** - * - * *
    * Home and garden
    * 
@@ -452,8 +352,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOME_AND_GARDEN_VALUE = 14; /** - * - * *
    * Internet and telecom
    * 
@@ -462,8 +360,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTERNET_AND_TELECOM_VALUE = 15; /** - * - * *
    * Law and government
    * 
@@ -472,8 +368,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int LAW_AND_GOVERNMENT_VALUE = 16; /** - * - * *
    * News
    * 
@@ -482,8 +376,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int NEWS_VALUE = 17; /** - * - * *
    * Online communities
    * 
@@ -492,8 +384,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ONLINE_COMMUNITIES_VALUE = 18; /** - * - * *
    * People and society
    * 
@@ -502,8 +392,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PEOPLE_AND_SOCIETY_VALUE = 19; /** - * - * *
    * Pets and animals
    * 
@@ -512,8 +400,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PETS_AND_ANIMALS_VALUE = 20; /** - * - * *
    * Real estate
    * 
@@ -522,8 +408,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int REAL_ESTATE_VALUE = 21; /** - * - * *
    * Reference
    * 
@@ -532,8 +416,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int REFERENCE_VALUE = 22; /** - * - * *
    * Science
    * 
@@ -542,8 +424,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SCIENCE_VALUE = 23; /** - * - * *
    * Sports
    * 
@@ -552,8 +432,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SPORTS_VALUE = 24; /** - * - * *
    * Jobs and education
    * 
@@ -562,8 +440,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int JOBS_AND_EDUCATION_VALUE = 25; /** - * - * *
    * Shopping
    * 
@@ -572,6 +448,7 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SHOPPING_VALUE = 26; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -596,97 +473,73 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: - return INDUSTRY_CATEGORY_UNSPECIFIED; - case 1: - return AUTOMOTIVE; - case 2: - return BUSINESS_AND_INDUSTRIAL_MARKETS; - case 3: - return FINANCE; - case 4: - return HEALTHCARE; - case 5: - return TECHNOLOGY; - case 6: - return TRAVEL; - case 7: - return OTHER; - case 8: - return ARTS_AND_ENTERTAINMENT; - case 9: - return BEAUTY_AND_FITNESS; - case 10: - return BOOKS_AND_LITERATURE; - case 11: - return FOOD_AND_DRINK; - case 12: - return GAMES; - case 13: - return HOBBIES_AND_LEISURE; - case 14: - return HOME_AND_GARDEN; - case 15: - return INTERNET_AND_TELECOM; - case 16: - return LAW_AND_GOVERNMENT; - case 17: - return NEWS; - case 18: - return ONLINE_COMMUNITIES; - case 19: - return PEOPLE_AND_SOCIETY; - case 20: - return PETS_AND_ANIMALS; - case 21: - return REAL_ESTATE; - case 22: - return REFERENCE; - case 23: - return SCIENCE; - case 24: - return SPORTS; - case 25: - return JOBS_AND_EDUCATION; - case 26: - return SHOPPING; - default: - return null; + case 0: return INDUSTRY_CATEGORY_UNSPECIFIED; + case 1: return AUTOMOTIVE; + case 2: return BUSINESS_AND_INDUSTRIAL_MARKETS; + case 3: return FINANCE; + case 4: return HEALTHCARE; + case 5: return TECHNOLOGY; + case 6: return TRAVEL; + case 7: return OTHER; + case 8: return ARTS_AND_ENTERTAINMENT; + case 9: return BEAUTY_AND_FITNESS; + case 10: return BOOKS_AND_LITERATURE; + case 11: return FOOD_AND_DRINK; + case 12: return GAMES; + case 13: return HOBBIES_AND_LEISURE; + case 14: return HOME_AND_GARDEN; + case 15: return INTERNET_AND_TELECOM; + case 16: return LAW_AND_GOVERNMENT; + case 17: return NEWS; + case 18: return ONLINE_COMMUNITIES; + case 19: return PEOPLE_AND_SOCIETY; + case 20: return PETS_AND_ANIMALS; + case 21: return REAL_ESTATE; + case 22: return REFERENCE; + case 23: return SCIENCE; + case 24: return SPORTS; + case 25: return JOBS_AND_EDUCATION; + case 26: return SHOPPING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + IndustryCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndustryCategory findValueByNumber(int number) { + return IndustryCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final IndustryCategory[] VALUES = values(); - public static IndustryCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndustryCategory valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -702,3 +555,4 @@ private IndustryCategory(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.IndustryCategory) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java index 722888c2ee27..d4f6ff3d1009 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * An indication of which product the user initiated a link proposal from.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalInitiatingProduct} */ -public enum LinkProposalInitiatingProduct implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalInitiatingProduct + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified product.
    * 
@@ -39,8 +21,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED(0), /** - * - * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -49,8 +29,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ GOOGLE_ANALYTICS(1), /** - * - * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -63,8 +41,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco
   ;
 
   /**
-   *
-   *
    * 
    * Unspecified product.
    * 
@@ -73,8 +49,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ public static final int LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -83,8 +57,6 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco */ public static final int GOOGLE_ANALYTICS_VALUE = 1; /** - * - * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -94,6 +66,7 @@ public enum LinkProposalInitiatingProduct implements com.google.protobuf.Protoco
    */
   public static final int LINKED_PRODUCT_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -118,14 +91,10 @@ public static LinkProposalInitiatingProduct valueOf(int value) {
    */
   public static LinkProposalInitiatingProduct forNumber(int value) {
     switch (value) {
-      case 0:
-        return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
-      case 1:
-        return GOOGLE_ANALYTICS;
-      case 2:
-        return LINKED_PRODUCT;
-      default:
-        return null;
+      case 0: return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
+      case 1: return GOOGLE_ANALYTICS;
+      case 2: return LINKED_PRODUCT;
+      default: return null;
     }
   }
 
@@ -133,28 +102,28 @@ public static LinkProposalInitiatingProduct forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public LinkProposalInitiatingProduct findValueByNumber(int number) {
-              return LinkProposalInitiatingProduct.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      LinkProposalInitiatingProduct> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public LinkProposalInitiatingProduct findValueByNumber(int number) {
+            return LinkProposalInitiatingProduct.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(7);
   }
 
@@ -163,7 +132,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static LinkProposalInitiatingProduct valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -179,3 +149,4 @@ private LinkProposalInitiatingProduct(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalInitiatingProduct)
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
similarity index 77%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
index 30482769bcc9..966a667febc0 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * The state of a link proposal resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalState} */ -public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified state
    * 
@@ -39,8 +21,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum */ LINK_PROPOSAL_STATE_UNSPECIFIED(0), /** - * - * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -50,8 +30,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS(1),
   /**
-   *
-   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -61,8 +39,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   AWAITING_REVIEW_FROM_LINKED_PRODUCT(2),
   /**
-   *
-   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -72,8 +48,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   WITHDRAWN(3),
   /**
-   *
-   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -83,8 +57,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   DECLINED(4),
   /**
-   *
-   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -95,8 +67,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   EXPIRED(5),
   /**
-   *
-   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -110,8 +80,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Unspecified state
    * 
@@ -120,8 +88,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum */ public static final int LINK_PROPOSAL_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -131,8 +97,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS_VALUE = 1;
   /**
-   *
-   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -142,8 +106,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int AWAITING_REVIEW_FROM_LINKED_PRODUCT_VALUE = 2;
   /**
-   *
-   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -153,8 +115,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int WITHDRAWN_VALUE = 3;
   /**
-   *
-   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -164,8 +124,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int DECLINED_VALUE = 4;
   /**
-   *
-   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -176,8 +134,6 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int EXPIRED_VALUE = 5;
   /**
-   *
-   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -188,6 +144,7 @@ public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int OBSOLETE_VALUE = 6;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -212,50 +169,43 @@ public static LinkProposalState valueOf(int value) {
    */
   public static LinkProposalState forNumber(int value) {
     switch (value) {
-      case 0:
-        return LINK_PROPOSAL_STATE_UNSPECIFIED;
-      case 1:
-        return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
-      case 2:
-        return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
-      case 3:
-        return WITHDRAWN;
-      case 4:
-        return DECLINED;
-      case 5:
-        return EXPIRED;
-      case 6:
-        return OBSOLETE;
-      default:
-        return null;
+      case 0: return LINK_PROPOSAL_STATE_UNSPECIFIED;
+      case 1: return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
+      case 2: return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
+      case 3: return WITHDRAWN;
+      case 4: return DECLINED;
+      case 5: return EXPIRED;
+      case 6: return OBSOLETE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public LinkProposalState findValueByNumber(int number) {
-              return LinkProposalState.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      LinkProposalState> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public LinkProposalState findValueByNumber(int number) {
+            return LinkProposalState.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(8);
   }
 
@@ -264,7 +214,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static LinkProposalState valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -280,3 +231,4 @@ private LinkProposalState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalState)
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
similarity index 59%
rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
index 72d4ae1ea683..5203011fa510 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
+++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
- *
- *
  * 
  * Status information for a link proposal.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.LinkProposalStatusDetails} */ -public final class LinkProposalStatusDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LinkProposalStatusDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.LinkProposalStatusDetails) LinkProposalStatusDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LinkProposalStatusDetails.newBuilder() to construct. private LinkProposalStatusDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LinkProposalStatusDetails() { linkProposalInitiatingProduct_ = 0; requestorEmail_ = ""; @@ -45,86 +27,64 @@ private LinkProposalStatusDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LinkProposalStatusDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_LinkProposalStatusDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); } public static final int LINK_PROPOSAL_INITIATING_PRODUCT_FIELD_NUMBER = 1; private int linkProposalInitiatingProduct_ = 0; /** - * - * *
    * Output only. The source of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ - @java.lang.Override - public int getLinkProposalInitiatingProductValue() { + @java.lang.Override public int getLinkProposalInitiatingProductValue() { return linkProposalInitiatingProduct_; } /** - * - * *
    * Output only. The source of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalInitiatingProduct. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - getLinkProposalInitiatingProduct() { - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber( - linkProposalInitiatingProduct_); - return result == null - ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct() { + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber(linkProposalInitiatingProduct_); + return result == null ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED : result; } public static final int REQUESTOR_EMAIL_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestorEmail_ = ""; /** - * - * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestorEmail. */ @java.lang.Override @@ -133,29 +93,29 @@ public java.lang.String getRequestorEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestorEmail_ = s; return s; } } /** - * - * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for requestorEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestorEmailBytes() { + public com.google.protobuf.ByteString + getRequestorEmailBytes() { java.lang.Object ref = requestorEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestorEmail_ = b; return b; } else { @@ -166,46 +126,30 @@ public com.google.protobuf.ByteString getRequestorEmailBytes() { public static final int LINK_PROPOSAL_STATE_FIELD_NUMBER = 3; private int linkProposalState_ = 0; /** - * - * *
    * Output only. The state of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalState. */ - @java.lang.Override - public int getLinkProposalStateValue() { + @java.lang.Override public int getLinkProposalStateValue() { return linkProposalState_; } /** - * - * *
    * Output only. The state of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalState. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { - com.google.analytics.admin.v1alpha.LinkProposalState result = - com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); - return result == null - ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { + com.google.analytics.admin.v1alpha.LinkProposalState result = com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); + return result == null ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,19 +161,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (linkProposalInitiatingProduct_ - != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - .LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (linkProposalInitiatingProduct_ != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED.getNumber()) { output.writeEnum(1, linkProposalInitiatingProduct_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestorEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestorEmail_); } - if (linkProposalState_ - != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED - .getNumber()) { + if (linkProposalState_ != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, linkProposalState_); } getUnknownFields().writeTo(output); @@ -241,20 +181,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (linkProposalInitiatingProduct_ - != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - .LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(1, linkProposalInitiatingProduct_); + if (linkProposalInitiatingProduct_ != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, linkProposalInitiatingProduct_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestorEmail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestorEmail_); } - if (linkProposalState_ - != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, linkProposalState_); + if (linkProposalState_ != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, linkProposalState_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -264,16 +200,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.LinkProposalStatusDetails)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails other = - (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) obj; + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails other = (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) obj; if (linkProposalInitiatingProduct_ != other.linkProposalInitiatingProduct_) return false; - if (!getRequestorEmail().equals(other.getRequestorEmail())) return false; + if (!getRequestorEmail() + .equals(other.getRequestorEmail())) return false; if (linkProposalState_ != other.linkProposalState_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -298,136 +234,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( 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.LinkProposalStatusDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Status information for a link proposal.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.LinkProposalStatusDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.LinkProposalStatusDetails) com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +368,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance(); } @@ -461,17 +389,13 @@ public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails build() { @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails buildPartial() { - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result = - new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result = new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.linkProposalInitiatingProduct_ = linkProposalInitiatingProduct_; @@ -488,39 +412,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.LinkProposalStatusDetails) { - return mergeFrom((com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) other); + return mergeFrom((com.google.analytics.admin.v1alpha.LinkProposalStatusDetails)other); } else { super.mergeFrom(other); return this; @@ -528,9 +451,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails other) { - if (other - == com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) return this; if (other.linkProposalInitiatingProduct_ != 0) { setLinkProposalInitiatingProductValue(other.getLinkProposalInitiatingProductValue()); } @@ -568,31 +489,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - linkProposalInitiatingProduct_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - requestorEmail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - linkProposalState_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + linkProposalInitiatingProduct_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + requestorEmail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + linkProposalState_ = input.readEnum(); + 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) { @@ -602,38 +519,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int linkProposalInitiatingProduct_ = 0; /** - * - * *
      * Output only. The source of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ - @java.lang.Override - public int getLinkProposalInitiatingProductValue() { + @java.lang.Override public int getLinkProposalInitiatingProductValue() { return linkProposalInitiatingProduct_; } /** - * - * *
      * Output only. The source of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for linkProposalInitiatingProduct to set. * @return This builder for chaining. */ @@ -644,44 +549,28 @@ public Builder setLinkProposalInitiatingProductValue(int value) { return this; } /** - * - * *
      * Output only. The source of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalInitiatingProduct. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - getLinkProposalInitiatingProduct() { - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber( - linkProposalInitiatingProduct_); - return result == null - ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct() { + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber(linkProposalInitiatingProduct_); + return result == null ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The source of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The linkProposalInitiatingProduct to set. * @return This builder for chaining. */ - public Builder setLinkProposalInitiatingProduct( - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct value) { + public Builder setLinkProposalInitiatingProduct(com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct value) { if (value == null) { throw new NullPointerException(); } @@ -691,16 +580,11 @@ public Builder setLinkProposalInitiatingProduct( return this; } /** - * - * *
      * Output only. The source of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearLinkProposalInitiatingProduct() { @@ -712,20 +596,18 @@ public Builder clearLinkProposalInitiatingProduct() { private java.lang.Object requestorEmail_ = ""; /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestorEmail. */ public java.lang.String getRequestorEmail() { java.lang.Object ref = requestorEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestorEmail_ = s; return s; @@ -734,21 +616,20 @@ public java.lang.String getRequestorEmail() { } } /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for requestorEmail. */ - public com.google.protobuf.ByteString getRequestorEmailBytes() { + public com.google.protobuf.ByteString + getRequestorEmailBytes() { java.lang.Object ref = requestorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestorEmail_ = b; return b; } else { @@ -756,35 +637,28 @@ public com.google.protobuf.ByteString getRequestorEmailBytes() { } } /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestorEmail to set. * @return This builder for chaining. */ - public Builder setRequestorEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestorEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestorEmail_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestorEmail() { @@ -794,21 +668,17 @@ public Builder clearRequestorEmail() { return this; } /** - * - * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for requestorEmail to set. * @return This builder for chaining. */ - public Builder setRequestorEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestorEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestorEmail_ = value; bitField0_ |= 0x00000002; @@ -818,33 +688,22 @@ public Builder setRequestorEmailBytes(com.google.protobuf.ByteString value) { private int linkProposalState_ = 0; /** - * - * *
      * Output only. The state of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalState. */ - @java.lang.Override - public int getLinkProposalStateValue() { + @java.lang.Override public int getLinkProposalStateValue() { return linkProposalState_; } /** - * - * *
      * Output only. The state of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for linkProposalState to set. * @return This builder for chaining. */ @@ -855,42 +714,28 @@ public Builder setLinkProposalStateValue(int value) { return this; } /** - * - * *
      * Output only. The state of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalState. */ @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { - com.google.analytics.admin.v1alpha.LinkProposalState result = - com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); - return result == null - ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.LinkProposalState result = com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); + return result == null ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The linkProposalState to set. * @return This builder for chaining. */ - public Builder setLinkProposalState( - com.google.analytics.admin.v1alpha.LinkProposalState value) { + public Builder setLinkProposalState(com.google.analytics.admin.v1alpha.LinkProposalState value) { if (value == null) { throw new NullPointerException(); } @@ -900,16 +745,11 @@ public Builder setLinkProposalState( return this; } /** - * - * *
      * Output only. The state of this proposal.
      * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearLinkProposalState() { @@ -918,9 +758,9 @@ public Builder clearLinkProposalState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -930,13 +770,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.LinkProposalStatusDetails) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.LinkProposalStatusDetails) - private static final com.google.analytics.admin.v1alpha.LinkProposalStatusDetails - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.LinkProposalStatusDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(); } @@ -945,27 +784,27 @@ public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinkProposalStatusDetails 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkProposalStatusDetails 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; @@ -980,4 +819,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java similarity index 52% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java index 3fe9bf4883a0..9d2f440e5637 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java @@ -1,108 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface LinkProposalStatusDetailsOrBuilder - extends +public interface LinkProposalStatusDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.LinkProposalStatusDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The source of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ int getLinkProposalInitiatingProductValue(); /** - * - * *
    * Output only. The source of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalInitiatingProduct. */ - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - getLinkProposalInitiatingProduct(); + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct(); /** - * - * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestorEmail. */ java.lang.String getRequestorEmail(); /** - * - * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for requestorEmail. */ - com.google.protobuf.ByteString getRequestorEmailBytes(); + com.google.protobuf.ByteString + getRequestorEmailBytes(); /** - * - * *
    * Output only. The state of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for linkProposalState. */ int getLinkProposalStateValue(); /** - * - * *
    * Output only. The state of this proposal.
    * 
* - * - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The linkProposalState. */ com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java index 0bc5a0e2e1e7..5a54c1c93bae 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java @@ -1,77 +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; /** - * - * *
  * Request message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesRequest} */ -public final class ListAccountSummariesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountSummariesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesRequest) ListAccountSummariesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountSummariesRequest.newBuilder() to construct. private ListAccountSummariesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountSummariesRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountSummariesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListAccountSummariesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; private int pageSize_ = 0; /** - * - * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -89,12 +67,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -103,7 +78,6 @@ public int getPageSize() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -112,15 +86,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -129,15 +102,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -146,7 +120,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,7 +131,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -175,7 +149,8 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); @@ -188,16 +163,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountSummariesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest other = - (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) obj; + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest other = (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) obj; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,136 +195,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( 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.ListAccountSummariesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountSummariesRequest) com.google.analytics.admin.v1alpha.ListAccountSummariesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -359,14 +328,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance(); } @@ -381,17 +349,13 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result = - new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result = new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pageSize_ = pageSize_; @@ -405,39 +369,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListAccountSummariesRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest)other); } else { super.mergeFrom(other); return this; @@ -445,9 +408,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -482,25 +443,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + pageToken_ = 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) { @@ -510,13 +468,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -525,7 +480,6 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -533,8 +487,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -543,20 +495,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -565,7 +514,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -577,8 +525,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -587,13 +533,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -602,8 +548,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -612,14 +556,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -627,8 +572,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -637,22 +580,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -661,7 +600,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -671,8 +609,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -681,23 +617,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; - * * @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(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -707,43 +641,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountSummariesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountSummariesRequest) - private static final com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListAccountSummariesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesRequest 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; @@ -755,8 +687,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java index d39388bfb6cc..1e33f245c682 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesRequestOrBuilder - extends +public interface ListAccountSummariesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -34,14 +16,11 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -50,13 +29,10 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -65,8 +41,8 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java index 61abc341260d..5cdf31ccf85b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesResponse} */ -public final class ListAccountSummariesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountSummariesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesResponse) ListAccountSummariesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountSummariesResponse.newBuilder() to construct. private ListAccountSummariesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountSummariesResponse() { accountSummaries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListAccountSummariesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); } public static final int ACCOUNT_SUMMARIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List accountSummaries_; /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List - getAccountSummariesList() { + public java.util.List getAccountSummariesList() { return accountSummaries_; } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountSummariesOrBuilderList() { return accountSummaries_; } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -114,8 +87,6 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -127,8 +98,6 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -142,19 +111,15 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm } 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 @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < accountSummaries_.size(); i++) { output.writeMessage(1, accountSummaries_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accountSummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accountSummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, accountSummaries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountSummariesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other = - (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) obj; + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other = (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) obj; - if (!getAccountSummariesList().equals(other.getAccountSummariesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAccountSummariesList() + .equals(other.getAccountSummariesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( 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.ListAccountSummariesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountSummariesResponse) com.google.analytics.admin.v1alpha.ListAccountSummariesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance(); } @@ -438,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result = - new com.google.analytics.admin.v1alpha.ListAccountSummariesResponse(this); + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result = new com.google.analytics.admin.v1alpha.ListAccountSummariesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { if (accountSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accountSummaries_ = java.util.Collections.unmodifiableList(accountSummaries_); @@ -461,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -473,50 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListAccountSummariesResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance()) return this; if (accountSummariesBuilder_ == null) { if (!other.accountSummaries_.isEmpty()) { if (accountSummaries_.isEmpty()) { @@ -535,10 +485,9 @@ public Builder mergeFrom( accountSummariesBuilder_ = null; accountSummaries_ = other.accountSummaries_; bitField0_ = (bitField0_ & ~0x00000001); - accountSummariesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAccountSummariesFieldBuilder() - : null; + accountSummariesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAccountSummariesFieldBuilder() : null; } else { accountSummariesBuilder_.addAllMessages(other.accountSummaries_); } @@ -575,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.AccountSummary m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccountSummary.parser(), - extensionRegistry); - if (accountSummariesBuilder_ == null) { - ensureAccountSummariesIsMutable(); - accountSummaries_.add(m); - } else { - accountSummariesBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.AccountSummary m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccountSummary.parser(), + extensionRegistry); + if (accountSummariesBuilder_ == null) { + ensureAccountSummariesIsMutable(); + accountSummaries_.add(m); + } else { + accountSummariesBuilder_.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) { @@ -611,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List accountSummaries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAccountSummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accountSummaries_ = - new java.util.ArrayList( - accountSummaries_); + accountSummaries_ = new java.util.ArrayList(accountSummaries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, - com.google.analytics.admin.v1alpha.AccountSummary.Builder, - com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> - accountSummariesBuilder_; + com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> accountSummariesBuilder_; /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesList() { + public java.util.List getAccountSummariesList() { if (accountSummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(accountSummaries_); } else { @@ -650,8 +586,6 @@ private void ensureAccountSummariesIsMutable() { } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -666,8 +600,6 @@ public int getAccountSummariesCount() { } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -682,8 +614,6 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -705,8 +635,6 @@ public Builder setAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -725,8 +653,6 @@ public Builder setAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -747,8 +673,6 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1alpha.AccountSum return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -770,8 +694,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -790,8 +712,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -810,8 +730,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -822,7 +740,8 @@ public Builder addAllAccountSummaries( java.lang.Iterable values) { if (accountSummariesBuilder_ == null) { ensureAccountSummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accountSummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accountSummaries_); onChanged(); } else { accountSummariesBuilder_.addAllMessages(values); @@ -830,8 +749,6 @@ public Builder addAllAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -849,8 +766,6 @@ public Builder clearAccountSummaries() { return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -868,8 +783,6 @@ public Builder removeAccountSummaries(int index) { return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -881,8 +794,6 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma return getAccountSummariesFieldBuilder().getBuilder(index); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -892,22 +803,19 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSummariesOrBuilder( int index) { if (accountSummariesBuilder_ == null) { - return accountSummaries_.get(index); - } else { + return accountSummaries_.get(index); } else { return accountSummariesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesOrBuilderList() { + public java.util.List + getAccountSummariesOrBuilderList() { if (accountSummariesBuilder_ != null) { return accountSummariesBuilder_.getMessageOrBuilderList(); } else { @@ -915,8 +823,6 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -924,12 +830,10 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSummariesBuilder() { - return getAccountSummariesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -938,35 +842,26 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSumma */ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSummariesBuilder( int index) { - return getAccountSummariesFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesBuilderList() { + public java.util.List + getAccountSummariesBuilderList() { return getAccountSummariesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, - com.google.analytics.admin.v1alpha.AccountSummary.Builder, - com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> + com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> getAccountSummariesFieldBuilder() { if (accountSummariesBuilder_ == null) { - accountSummariesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, - com.google.analytics.admin.v1alpha.AccountSummary.Builder, - com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>( + accountSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>( accountSummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -978,21 +873,19 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSumma 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1001,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1024,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1064,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountSummariesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountSummariesResponse) - private static final com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListAccountSummariesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountSummariesResponse(); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesResponse 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; @@ -1146,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java index 0d916959fb45..d2da7b584626 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesResponseOrBuilder - extends +public interface ListAccountSummariesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List getAccountSummariesList(); + java.util.List + getAccountSummariesList(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -44,8 +25,6 @@ public interface ListAccountSummariesResponseOrBuilder */ com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int index); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -54,19 +33,15 @@ public interface ListAccountSummariesResponseOrBuilder */ int getAccountSummariesCount(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List + java.util.List getAccountSummariesOrBuilderList(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSummariesOr 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java index 10601694e956..7eeca49af813 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java @@ -1,77 +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; /** - * - * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsRequest} */ -public final class ListAccountsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsRequest) ListAccountsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountsRequest.newBuilder() to construct. private ListAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListAccountsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsRequest.class, - com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsRequest.class, com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; 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.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -89,12 +67,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -103,7 +78,6 @@ public int getPageSize() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -112,15 +86,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -129,15 +102,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,8 +122,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 3; private boolean showDeleted_ = false; /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -157,7 +129,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ @java.lang.Override @@ -166,7 +137,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -198,13 +169,15 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -214,17 +187,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountsRequest other = - (com.google.analytics.admin.v1alpha.ListAccountsRequest) obj; + com.google.analytics.admin.v1alpha.ListAccountsRequest other = (com.google.analytics.admin.v1alpha.ListAccountsRequest) obj; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,143 +216,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( 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.ListAccountsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAccountsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountsRequest) com.google.analytics.admin.v1alpha.ListAccountsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsRequest.class, - com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsRequest.class, com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; } @java.lang.Override @@ -410,11 +379,8 @@ public com.google.analytics.admin.v1alpha.ListAccountsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountsRequest result = - new com.google.analytics.admin.v1alpha.ListAccountsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListAccountsRequest result = new com.google.analytics.admin.v1alpha.ListAccountsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -436,39 +402,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountsReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListAccountsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsRequest)other); } else { super.mergeFrom(other); return this; @@ -476,8 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -515,31 +479,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + showDeleted_ = 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) { @@ -549,13 +509,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -564,7 +521,6 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -572,8 +528,6 @@ 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.
@@ -582,20 +536,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -604,7 +555,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -616,8 +566,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -626,13 +574,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -641,8 +589,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -651,14 +597,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -666,8 +613,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -676,22 +621,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -700,7 +641,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -710,8 +650,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -720,14 +658,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; - * * @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(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -735,10 +671,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -746,7 +680,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ @java.lang.Override @@ -754,8 +687,6 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -763,20 +694,17 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -784,7 +712,6 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -793,9 +720,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountsRequest) private static final com.google.analytics.admin.v1alpha.ListAccountsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountsRequest(); } @@ -819,27 +746,27 @@ public static com.google.analytics.admin.v1alpha.ListAccountsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsRequest 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; @@ -854,4 +781,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java index eb0adfc86232..50dd7121f00e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsRequestOrBuilder - extends +public interface ListAccountsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -34,14 +16,11 @@ public interface ListAccountsRequestOrBuilder
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -50,13 +29,10 @@ public interface ListAccountsRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -65,14 +41,12 @@ public interface ListAccountsRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -80,7 +54,6 @@ public interface ListAccountsRequestOrBuilder
    * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java index 59aec5df9da5..1f9a8da3307a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsResponse} */ -public final class ListAccountsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsResponse) ListAccountsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountsResponse.newBuilder() to construct. private ListAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountsResponse() { accounts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListAccountsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsResponse.class, - com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsResponse.class, com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); } public static final int ACCOUNTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List accounts_; /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -86,8 +64,6 @@ public java.util.List getAccountsLis return accounts_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -95,13 +71,11 @@ public java.util.List getAccountsLis * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountsOrBuilderList() { return accounts_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -113,8 +87,6 @@ public int getAccountsCount() { return accounts_.size(); } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { return accounts_.get(index); } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( + int index) { return accounts_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < accounts_.size(); i++) { output.writeMessage(1, accounts_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accounts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accounts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, accounts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountsResponse other = - (com.google.analytics.admin.v1alpha.ListAccountsResponse) obj; + com.google.analytics.admin.v1alpha.ListAccountsResponse other = (com.google.analytics.admin.v1alpha.ListAccountsResponse) obj; - if (!getAccountsList().equals(other.getAccountsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAccountsList() + .equals(other.getAccountsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( 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.ListAccountsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAccountsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountsResponse) com.google.analytics.admin.v1alpha.ListAccountsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsResponse.class, - com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsResponse.class, com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListAccountsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountsResponse result = - new com.google.analytics.admin.v1alpha.ListAccountsResponse(this); + com.google.analytics.admin.v1alpha.ListAccountsResponse result = new com.google.analytics.admin.v1alpha.ListAccountsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListAccountsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAccountsResponse result) { if (accountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accounts_ = java.util.Collections.unmodifiableList(accounts_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountsRespon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListAccountsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance()) return this; if (accountsBuilder_ == null) { if (!other.accounts_.isEmpty()) { if (accounts_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsResponse accountsBuilder_ = null; accounts_ = other.accounts_; bitField0_ = (bitField0_ & ~0x00000001); - accountsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAccountsFieldBuilder() - : null; + accountsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAccountsFieldBuilder() : null; } else { accountsBuilder_.addAllMessages(other.accounts_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.Account m = - input.readMessage( - com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); - if (accountsBuilder_ == null) { - ensureAccountsIsMutable(); - accounts_.add(m); - } else { - accountsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.Account m = + input.readMessage( + com.google.analytics.admin.v1alpha.Account.parser(), + extensionRegistry); + if (accountsBuilder_ == null) { + ensureAccountsIsMutable(); + accounts_.add(m); + } else { + accountsBuilder_.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) { @@ -604,28 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List accounts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { accounts_ = new java.util.ArrayList(accounts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> - accountsBuilder_; + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountsBuilder_; /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -640,8 +586,6 @@ public java.util.List getAccountsLis } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -656,8 +600,6 @@ public int getAccountsCount() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -672,15 +614,14 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder setAccounts(int index, com.google.analytics.admin.v1alpha.Account value) { + public Builder setAccounts( + int index, com.google.analytics.admin.v1alpha.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,8 +635,6 @@ public Builder setAccounts(int index, com.google.analytics.admin.v1alpha.Account return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -714,8 +653,6 @@ public Builder setAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -736,15 +673,14 @@ public Builder addAccounts(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder addAccounts(int index, com.google.analytics.admin.v1alpha.Account value) { + public Builder addAccounts( + int index, com.google.analytics.admin.v1alpha.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -758,15 +694,14 @@ public Builder addAccounts(int index, com.google.analytics.admin.v1alpha.Account return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder addAccounts(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder addAccounts( + com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(builderForValue.build()); @@ -777,8 +712,6 @@ public Builder addAccounts(com.google.analytics.admin.v1alpha.Account.Builder bu return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -797,8 +730,6 @@ public Builder addAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -809,7 +740,8 @@ public Builder addAllAccounts( java.lang.Iterable values) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accounts_); onChanged(); } else { accountsBuilder_.addAllMessages(values); @@ -817,8 +749,6 @@ public Builder addAllAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -836,8 +766,6 @@ public Builder clearAccounts() { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -855,44 +783,39 @@ public Builder removeAccounts(int index) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.Account.Builder getAccountsBuilder(int index) { + public com.google.analytics.admin.v1alpha.Account.Builder getAccountsBuilder( + int index) { return getAccountsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( + int index) { if (accountsBuilder_ == null) { - return accounts_.get(index); - } else { + return accounts_.get(index); } else { return accountsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public java.util.List - getAccountsOrBuilderList() { + public java.util.List + getAccountsOrBuilderList() { if (accountsBuilder_ != null) { return accountsBuilder_.getMessageOrBuilderList(); } else { @@ -900,8 +823,6 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -909,48 +830,42 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder() { - return getAccountsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); + return getAccountsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder(int index) { - return getAccountsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder( + int index) { + return getAccountsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public java.util.List - getAccountsBuilderList() { + public java.util.List + getAccountsBuilderList() { return getAccountsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountsFieldBuilder() { if (accountsBuilder_ == null) { - accountsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder>( - accounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + accountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( + accounts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); accounts_ = null; } return accountsBuilder_; @@ -958,21 +873,19 @@ public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder(int 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -981,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1004,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1044,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1078,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountsResponse) private static final com.google.analytics.admin.v1alpha.ListAccountsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountsResponse(); } @@ -1092,27 +993,27 @@ public static com.google.analytics.admin.v1alpha.ListAccountsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsResponse 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; @@ -1127,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java index 8a80e051dd24..4d9c54f4fd03 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsResponseOrBuilder - extends +public interface ListAccountsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List getAccountsList(); + java.util.List + getAccountsList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -44,8 +25,6 @@ public interface ListAccountsResponseOrBuilder */ com.google.analytics.admin.v1alpha.Account getAccounts(int index); /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -54,51 +33,43 @@ public interface ListAccountsResponseOrBuilder */ int getAccountsCount(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List + java.util.List getAccountsOrBuilderList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index); + com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java index 05eef4d79d16..651ab419a00a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListAudiences RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesRequest} */ -public final class ListAudiencesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAudiencesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAudiencesRequest) ListAudiencesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAudiencesRequest.newBuilder() to construct. private ListAudiencesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAudiencesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListAudiencesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAudiencesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListAudiencesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, - com.google.analytics.admin.v1alpha.ListAudiencesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, com.google.analytics.admin.v1alpha.ListAudiencesRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAudiencesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAudiencesRequest other = - (com.google.analytics.admin.v1alpha.ListAudiencesRequest) obj; + com.google.analytics.admin.v1alpha.ListAudiencesRequest other = (com.google.analytics.admin.v1alpha.ListAudiencesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( 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.ListAudiencesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAudiencesRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAudiencesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAudiences RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAudiencesRequest) com.google.analytics.admin.v1alpha.ListAudiencesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, - com.google.analytics.admin.v1alpha.ListAudiencesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, com.google.analytics.admin.v1alpha.ListAudiencesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAudiencesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; } @java.lang.Override @@ -445,11 +407,8 @@ public com.google.analytics.admin.v1alpha.ListAudiencesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAudiencesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAudiencesRequest result = - new com.google.analytics.admin.v1alpha.ListAudiencesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListAudiencesRequest result = new com.google.analytics.admin.v1alpha.ListAudiencesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -471,39 +430,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAudiencesReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListAudiencesRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesRequest)other); } else { super.mergeFrom(other); return this; @@ -511,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAudiencesRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAudiencesRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAudiencesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -586,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -639,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -716,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -733,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -766,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -776,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -801,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -826,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -850,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -870,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAudiencesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAudiencesRequest) private static final com.google.analytics.admin.v1alpha.ListAudiencesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAudiencesRequest(); } @@ -910,27 +815,27 @@ public static com.google.analytics.admin.v1alpha.ListAudiencesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAudiencesRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAudiencesRequest 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; @@ -945,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAudiencesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java index 7583ee55b925..bec7b6656706 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAudiencesRequestOrBuilder - extends +public interface ListAudiencesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAudiencesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListAudiencesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListAudiencesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListAudiencesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java index a11a5f0b156f..cd80428fc226 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListAudiences RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesResponse} */ -public final class ListAudiencesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAudiencesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAudiencesResponse) ListAudiencesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAudiencesResponse.newBuilder() to construct. private ListAudiencesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAudiencesResponse() { audiences_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListAudiencesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAudiencesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListAudiencesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, - com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); } public static final int AUDIENCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List audiences_; /** - * - * *
    * List of Audiences.
    * 
@@ -86,8 +64,6 @@ public java.util.List getAudiencesL return audiences_; } /** - * - * *
    * List of Audiences.
    * 
@@ -95,13 +71,11 @@ public java.util.List getAudiencesL * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAudiencesOrBuilderList() { return audiences_; } /** - * - * *
    * List of Audiences.
    * 
@@ -113,8 +87,6 @@ public int getAudiencesCount() { return audiences_.size(); } /** - * - * *
    * List of Audiences.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.Audience getAudiences(int index) { return audiences_.get(index); } /** - * - * *
    * List of Audiences.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1alpha.Audience getAudiences(int index) { * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder( + int index) { return audiences_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < audiences_.size(); i++) { output.writeMessage(1, audiences_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < audiences_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, audiences_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, audiences_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAudiencesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAudiencesResponse other = - (com.google.analytics.admin.v1alpha.ListAudiencesResponse) obj; + com.google.analytics.admin.v1alpha.ListAudiencesResponse other = (com.google.analytics.admin.v1alpha.ListAudiencesResponse) obj; - if (!getAudiencesList().equals(other.getAudiencesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAudiencesList() + .equals(other.getAudiencesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( 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.ListAudiencesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListAudiencesResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAudiencesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListAudiences RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAudiencesResponse) com.google.analytics.admin.v1alpha.ListAudiencesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, - com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAudiencesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListAudiencesResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAudiencesResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAudiencesResponse result = - new com.google.analytics.admin.v1alpha.ListAudiencesResponse(this); + com.google.analytics.admin.v1alpha.ListAudiencesResponse result = new com.google.analytics.admin.v1alpha.ListAudiencesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListAudiencesResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAudiencesResponse result) { if (audiencesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { audiences_ = java.util.Collections.unmodifiableList(audiences_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAudiencesRespo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListAudiencesResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAudiencesResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAudiencesResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListAudiencesResponse.getDefaultInstance()) return this; if (audiencesBuilder_ == null) { if (!other.audiences_.isEmpty()) { if (audiences_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAudiencesRespons audiencesBuilder_ = null; audiences_ = other.audiences_; bitField0_ = (bitField0_ & ~0x00000001); - audiencesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAudiencesFieldBuilder() - : null; + audiencesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAudiencesFieldBuilder() : null; } else { audiencesBuilder_.addAllMessages(other.audiences_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.Audience m = - input.readMessage( - com.google.analytics.admin.v1alpha.Audience.parser(), extensionRegistry); - if (audiencesBuilder_ == null) { - ensureAudiencesIsMutable(); - audiences_.add(m); - } else { - audiencesBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.Audience m = + input.readMessage( + com.google.analytics.admin.v1alpha.Audience.parser(), + extensionRegistry); + if (audiencesBuilder_ == null) { + ensureAudiencesIsMutable(); + audiences_.add(m); + } else { + audiencesBuilder_.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) { @@ -604,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List audiences_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAudiencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - audiences_ = - new java.util.ArrayList(audiences_); + audiences_ = new java.util.ArrayList(audiences_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder> - audiencesBuilder_; + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> audiencesBuilder_; /** - * - * *
      * List of Audiences.
      * 
@@ -641,8 +586,6 @@ public java.util.List getAudiencesL } } /** - * - * *
      * List of Audiences.
      * 
@@ -657,8 +600,6 @@ public int getAudiencesCount() { } } /** - * - * *
      * List of Audiences.
      * 
@@ -673,15 +614,14 @@ public com.google.analytics.admin.v1alpha.Audience getAudiences(int index) { } } /** - * - * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public Builder setAudiences(int index, com.google.analytics.admin.v1alpha.Audience value) { + public Builder setAudiences( + int index, com.google.analytics.admin.v1alpha.Audience value) { if (audiencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -695,8 +635,6 @@ public Builder setAudiences(int index, com.google.analytics.admin.v1alpha.Audien return this; } /** - * - * *
      * List of Audiences.
      * 
@@ -715,8 +653,6 @@ public Builder setAudiences( return this; } /** - * - * *
      * List of Audiences.
      * 
@@ -737,15 +673,14 @@ public Builder addAudiences(com.google.analytics.admin.v1alpha.Audience value) { return this; } /** - * - * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public Builder addAudiences(int index, com.google.analytics.admin.v1alpha.Audience value) { + public Builder addAudiences( + int index, com.google.analytics.admin.v1alpha.Audience value) { if (audiencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +694,6 @@ public Builder addAudiences(int index, com.google.analytics.admin.v1alpha.Audien return this; } /** - * - * *
      * List of Audiences.
      * 
@@ -779,8 +712,6 @@ public Builder addAudiences( return this; } /** - * - * *
      * List of Audiences.
      * 
@@ -799,8 +730,6 @@ public Builder addAudiences( return this; } /** - * - * *
      * List of Audiences.
      * 
@@ -811,7 +740,8 @@ public Builder addAllAudiences( java.lang.Iterable values) { if (audiencesBuilder_ == null) { ensureAudiencesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audiences_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, audiences_); onChanged(); } else { audiencesBuilder_.addAllMessages(values); @@ -819,8 +749,6 @@ public Builder addAllAudiences( return this; } /** - * - * *
      * List of Audiences.
      * 
@@ -838,8 +766,6 @@ public Builder clearAudiences() { return this; } /** - * - * *
      * List of Audiences.
      * 
@@ -857,44 +783,39 @@ public Builder removeAudiences(int index) { return this; } /** - * - * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public com.google.analytics.admin.v1alpha.Audience.Builder getAudiencesBuilder(int index) { + public com.google.analytics.admin.v1alpha.Audience.Builder getAudiencesBuilder( + int index) { return getAudiencesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder( + int index) { if (audiencesBuilder_ == null) { - return audiences_.get(index); - } else { + return audiences_.get(index); } else { return audiencesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public java.util.List - getAudiencesOrBuilderList() { + public java.util.List + getAudiencesOrBuilderList() { if (audiencesBuilder_ != null) { return audiencesBuilder_.getMessageOrBuilderList(); } else { @@ -902,8 +823,6 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilde } } /** - * - * *
      * List of Audiences.
      * 
@@ -911,48 +830,42 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilde * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder() { - return getAudiencesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); + return getAudiencesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); } /** - * - * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder(int index) { - return getAudiencesFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder( + int index) { + return getAudiencesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); } /** - * - * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public java.util.List - getAudiencesBuilderList() { + public java.util.List + getAudiencesBuilderList() { return getAudiencesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder> + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> getAudiencesFieldBuilder() { if (audiencesBuilder_ == null) { - audiencesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder>( - audiences_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + audiencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder>( + audiences_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); audiences_ = null; } return audiencesBuilder_; @@ -960,21 +873,19 @@ public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder(i 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -983,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1006,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1046,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAudiencesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAudiencesResponse) private static final com.google.analytics.admin.v1alpha.ListAudiencesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAudiencesResponse(); } @@ -1094,27 +993,27 @@ public static com.google.analytics.admin.v1alpha.ListAudiencesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAudiencesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAudiencesResponse 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; @@ -1129,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAudiencesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java index cde775e22811..c07853163232 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAudiencesResponseOrBuilder - extends +public interface ListAudiencesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAudiencesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of Audiences.
    * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - java.util.List getAudiencesList(); + java.util.List + getAudiencesList(); /** - * - * *
    * List of Audiences.
    * 
@@ -44,8 +25,6 @@ public interface ListAudiencesResponseOrBuilder */ com.google.analytics.admin.v1alpha.Audience getAudiences(int index); /** - * - * *
    * List of Audiences.
    * 
@@ -54,51 +33,43 @@ public interface ListAudiencesResponseOrBuilder */ int getAudiencesCount(); /** - * - * *
    * List of Audiences.
    * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - java.util.List + java.util.List getAudiencesOrBuilderList(); /** - * - * *
    * List of Audiences.
    * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder(int index); + com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java new file mode 100644 index 000000000000..4ed41e23014d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java @@ -0,0 +1,873 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java new file mode 100644 index 000000000000..b17252f57e2c --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java @@ -0,0 +1,72 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java new file mode 100644 index 000000000000..cc9037af0de1 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java @@ -0,0 +1,1033 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java new file mode 100644 index 000000000000..9aa080ea133a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java @@ -0,0 +1,75 @@ +// 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/ListConversionEventsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java index 99e318672306..701c6f5acd1a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListConversionEvents RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsRequest} */ -public final class ListConversionEventsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversionEventsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsRequest) ListConversionEventsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversionEventsRequest.newBuilder() to construct. private ListConversionEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversionEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,46 +26,39 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListConversionEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,32 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,12 +116,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -160,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -169,15 +135,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -186,15 +151,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -203,7 +169,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,7 +204,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -251,17 +218,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListConversionEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListConversionEventsRequest other = - (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) obj; + com.google.analytics.admin.v1alpha.ListConversionEventsRequest other = (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,136 +254,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( 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.ListConversionEventsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListConversionEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListConversionEvents RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListConversionEventsRequest) com.google.analytics.admin.v1alpha.ListConversionEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListConversionEventsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,14 +388,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance(); } @@ -448,17 +409,13 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListConversionEventsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListConversionEventsRequest result = - new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListConversionEventsRequest result = new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListConversionEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -475,39 +432,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListConversionEventsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsRequest)other); } else { super.mergeFrom(other); return this; @@ -515,9 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConversionEventsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -557,31 +511,27 @@ public Builder mergeFrom( 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: + 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) { @@ -591,28 +541,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,24 +566,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -646,41 +588,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -690,24 +621,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -715,10 +640,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -726,7 +649,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -734,8 +656,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -743,20 +663,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -764,7 +681,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -776,8 +692,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -786,13 +700,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -801,8 +715,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -811,14 +723,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -826,8 +739,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -836,22 +747,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -860,7 +767,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -870,8 +776,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -880,23 +784,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -906,43 +808,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListConversionEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListConversionEventsRequest) - private static final com.google.analytics.admin.v1alpha.ListConversionEventsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListConversionEventsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsRequest 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; @@ -954,8 +854,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java index be1919e58db9..9cc8ee2fd27f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsRequestOrBuilder - extends +public interface ListConversionEventsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -64,14 +37,11 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java index e7511ebb1431..71fcab350142 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListConversionEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsResponse} */ -public final class ListConversionEventsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversionEventsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsResponse) ListConversionEventsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversionEventsResponse.newBuilder() to construct. private ListConversionEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversionEventsResponse() { conversionEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListConversionEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); } public static final int CONVERSION_EVENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List conversionEvents_; /** - * - * *
    * The requested conversion events
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List - getConversionEventsList() { + public java.util.List getConversionEventsList() { return conversionEvents_; } /** - * - * *
    * The requested conversion events
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConversionEventsOrBuilderList() { return conversionEvents_; } /** - * - * *
    * The requested conversion events
    * 
@@ -114,8 +87,6 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** - * - * *
    * The requested conversion events
    * 
@@ -127,8 +98,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in return conversionEvents_.get(index); } /** - * - * *
    * The requested conversion events
    * 
@@ -142,19 +111,15 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } 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 @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < conversionEvents_.size(); i++) { output.writeMessage(1, conversionEvents_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversionEvents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversionEvents_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, conversionEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListConversionEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListConversionEventsResponse other = - (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) obj; + com.google.analytics.admin.v1alpha.ListConversionEventsResponse other = (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) obj; - if (!getConversionEventsList().equals(other.getConversionEventsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getConversionEventsList() + .equals(other.getConversionEventsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( 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.ListConversionEventsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListConversionEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListConversionEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListConversionEventsResponse) com.google.analytics.admin.v1alpha.ListConversionEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListConversionEventsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance(); } @@ -438,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListConversionEventsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListConversionEventsResponse result = - new com.google.analytics.admin.v1alpha.ListConversionEventsResponse(this); + com.google.analytics.admin.v1alpha.ListConversionEventsResponse result = new com.google.analytics.admin.v1alpha.ListConversionEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { if (conversionEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { conversionEvents_ = java.util.Collections.unmodifiableList(conversionEvents_); @@ -461,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -473,50 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListConversionEventsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConversionEventsResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance()) return this; if (conversionEventsBuilder_ == null) { if (!other.conversionEvents_.isEmpty()) { if (conversionEvents_.isEmpty()) { @@ -535,10 +485,9 @@ public Builder mergeFrom( conversionEventsBuilder_ = null; conversionEvents_ = other.conversionEvents_; bitField0_ = (bitField0_ & ~0x00000001); - conversionEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConversionEventsFieldBuilder() - : null; + conversionEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConversionEventsFieldBuilder() : null; } else { conversionEventsBuilder_.addAllMessages(other.conversionEvents_); } @@ -575,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.ConversionEvent m = - input.readMessage( - com.google.analytics.admin.v1alpha.ConversionEvent.parser(), - extensionRegistry); - if (conversionEventsBuilder_ == null) { - ensureConversionEventsIsMutable(); - conversionEvents_.add(m); - } else { - conversionEventsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.ConversionEvent m = + input.readMessage( + com.google.analytics.admin.v1alpha.ConversionEvent.parser(), + extensionRegistry); + if (conversionEventsBuilder_ == null) { + ensureConversionEventsIsMutable(); + conversionEvents_.add(m); + } else { + conversionEventsBuilder_.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) { @@ -611,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List conversionEvents_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConversionEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conversionEvents_ = - new java.util.ArrayList( - conversionEvents_); + conversionEvents_ = new java.util.ArrayList(conversionEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> - conversionEventsBuilder_; + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> conversionEventsBuilder_; /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsList() { + public java.util.List getConversionEventsList() { if (conversionEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(conversionEvents_); } else { @@ -650,8 +586,6 @@ private void ensureConversionEventsIsMutable() { } } /** - * - * *
      * The requested conversion events
      * 
@@ -666,8 +600,6 @@ public int getConversionEventsCount() { } } /** - * - * *
      * The requested conversion events
      * 
@@ -682,8 +614,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in } } /** - * - * *
      * The requested conversion events
      * 
@@ -705,8 +635,6 @@ public Builder setConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -725,8 +653,6 @@ public Builder setConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -747,8 +673,6 @@ public Builder addConversionEvents(com.google.analytics.admin.v1alpha.Conversion return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -770,8 +694,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -790,8 +712,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -810,8 +730,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -822,7 +740,8 @@ public Builder addAllConversionEvents( java.lang.Iterable values) { if (conversionEventsBuilder_ == null) { ensureConversionEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversionEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conversionEvents_); onChanged(); } else { conversionEventsBuilder_.addAllMessages(values); @@ -830,8 +749,6 @@ public Builder addAllConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -849,8 +766,6 @@ public Builder clearConversionEvents() { return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -868,8 +783,6 @@ public Builder removeConversionEvents(int index) { return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -881,8 +794,6 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventsFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested conversion events
      * 
@@ -892,22 +803,19 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventsOrBuilder( int index) { if (conversionEventsBuilder_ == null) { - return conversionEvents_.get(index); - } else { + return conversionEvents_.get(index); } else { return conversionEventsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsOrBuilderList() { + public java.util.List + getConversionEventsOrBuilderList() { if (conversionEventsBuilder_ != null) { return conversionEventsBuilder_.getMessageOrBuilderList(); } else { @@ -915,8 +823,6 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** - * - * *
      * The requested conversion events
      * 
@@ -924,12 +830,10 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionEventsBuilder() { - return getConversionEventsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); } /** - * - * *
      * The requested conversion events
      * 
@@ -938,35 +842,26 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionE */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionEventsBuilder( int index) { - return getConversionEventsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); } /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsBuilderList() { + public java.util.List + getConversionEventsBuilderList() { return getConversionEventsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventsFieldBuilder() { if (conversionEventsBuilder_ == null) { - conversionEventsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, - com.google.analytics.admin.v1alpha.ConversionEvent.Builder, - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + conversionEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( conversionEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -978,21 +873,19 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionE 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1001,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1024,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1064,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListConversionEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListConversionEventsResponse) - private static final com.google.analytics.admin.v1alpha.ListConversionEventsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListConversionEventsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListConversionEventsResponse(); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsResponse 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; @@ -1146,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java index ac12d5f613cd..9600ab697c03 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsResponseOrBuilder - extends +public interface ListConversionEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List getConversionEventsList(); + java.util.List + getConversionEventsList(); /** - * - * *
    * The requested conversion events
    * 
@@ -44,8 +25,6 @@ public interface ListConversionEventsResponseOrBuilder */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(int index); /** - * - * *
    * The requested conversion events
    * 
@@ -54,19 +33,15 @@ public interface ListConversionEventsResponseOrBuilder */ int getConversionEventsCount(); /** - * - * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List + java.util.List getConversionEventsOrBuilderList(); /** - * - * *
    * The requested conversion events
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventsO 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java index 063f403cdecb..6a4f30e765d7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsRequest} */ -public final class ListCustomDimensionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomDimensionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) ListCustomDimensionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomDimensionsRequest.newBuilder() to construct. private ListCustomDimensionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomDimensionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListCustomDimensionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other = - (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) obj; + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other = (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( 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.ListCustomDimensionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) com.google.analytics.admin.v1alpha.ListCustomDimensionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,14 +386,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance(); } @@ -446,17 +407,13 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result = - new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result = new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -473,39 +430,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListCustomDimensionsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest)other); } else { super.mergeFrom(other); return this; @@ -513,9 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -589,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -642,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -684,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -708,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -719,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -727,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -736,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -757,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -769,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -779,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -794,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -804,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -819,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -829,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -853,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -863,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -873,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -899,43 +801,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) - private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsRequest 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; @@ -947,8 +847,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java index 1ba10b171907..5902d9db766f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsRequestOrBuilder - extends +public interface ListCustomDimensionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java index 15b2b63670ec..15a7d197f86c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsResponse} */ -public final class ListCustomDimensionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomDimensionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) ListCustomDimensionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomDimensionsResponse.newBuilder() to construct. private ListCustomDimensionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomDimensionsResponse() { customDimensions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListCustomDimensionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); } public static final int CUSTOM_DIMENSIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List customDimensions_; /** - * - * *
    * List of CustomDimensions.
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List - getCustomDimensionsList() { + public java.util.List getCustomDimensionsList() { return customDimensions_; } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomDimensionsOrBuilderList() { return customDimensions_; } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -114,8 +87,6 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -127,8 +98,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in return customDimensions_.get(index); } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -142,19 +111,15 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } 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 @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customDimensions_.size(); i++) { output.writeMessage(1, customDimensions_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customDimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customDimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customDimensions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other = - (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) obj; + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other = (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) obj; - if (!getCustomDimensionsList().equals(other.getCustomDimensionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomDimensionsList() + .equals(other.getCustomDimensionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( 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.ListCustomDimensionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) com.google.analytics.admin.v1alpha.ListCustomDimensionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance(); } @@ -438,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result = - new com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse(this); + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result = new com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { if (customDimensionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customDimensions_ = java.util.Collections.unmodifiableList(customDimensions_); @@ -461,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -473,50 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListCustomDimensionsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance()) return this; if (customDimensionsBuilder_ == null) { if (!other.customDimensions_.isEmpty()) { if (customDimensions_.isEmpty()) { @@ -535,10 +485,9 @@ public Builder mergeFrom( customDimensionsBuilder_ = null; customDimensions_ = other.customDimensions_; bitField0_ = (bitField0_ & ~0x00000001); - customDimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomDimensionsFieldBuilder() - : null; + customDimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomDimensionsFieldBuilder() : null; } else { customDimensionsBuilder_.addAllMessages(other.customDimensions_); } @@ -575,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.CustomDimension m = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomDimension.parser(), - extensionRegistry); - if (customDimensionsBuilder_ == null) { - ensureCustomDimensionsIsMutable(); - customDimensions_.add(m); - } else { - customDimensionsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.CustomDimension m = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomDimension.parser(), + extensionRegistry); + if (customDimensionsBuilder_ == null) { + ensureCustomDimensionsIsMutable(); + customDimensions_.add(m); + } else { + customDimensionsBuilder_.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) { @@ -611,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List customDimensions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customDimensions_ = - new java.util.ArrayList( - customDimensions_); + customDimensions_ = new java.util.ArrayList(customDimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> - customDimensionsBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionsBuilder_; /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsList() { + public java.util.List getCustomDimensionsList() { if (customDimensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(customDimensions_); } else { @@ -650,8 +586,6 @@ private void ensureCustomDimensionsIsMutable() { } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -666,8 +600,6 @@ public int getCustomDimensionsCount() { } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -682,8 +614,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -705,8 +635,6 @@ public Builder setCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -725,8 +653,6 @@ public Builder setCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -747,8 +673,6 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1alpha.CustomDime return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -770,8 +694,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -790,8 +712,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -810,8 +730,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -822,7 +740,8 @@ public Builder addAllCustomDimensions( java.lang.Iterable values) { if (customDimensionsBuilder_ == null) { ensureCustomDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customDimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customDimensions_); onChanged(); } else { customDimensionsBuilder_.addAllMessages(values); @@ -830,8 +749,6 @@ public Builder addAllCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -849,8 +766,6 @@ public Builder clearCustomDimensions() { return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -868,8 +783,6 @@ public Builder removeCustomDimensions(int index) { return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -881,8 +794,6 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -892,22 +803,19 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionsOrBuilder( int index) { if (customDimensionsBuilder_ == null) { - return customDimensions_.get(index); - } else { + return customDimensions_.get(index); } else { return customDimensionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsOrBuilderList() { + public java.util.List + getCustomDimensionsOrBuilderList() { if (customDimensionsBuilder_ != null) { return customDimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -915,8 +823,6 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -924,12 +830,10 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimensionsBuilder() { - return getCustomDimensionsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -938,35 +842,26 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimen */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimensionsBuilder( int index) { - return getCustomDimensionsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); } /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsBuilderList() { + public java.util.List + getCustomDimensionsBuilderList() { return getCustomDimensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionsFieldBuilder() { if (customDimensionsBuilder_ == null) { - customDimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + customDimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( customDimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -978,21 +873,19 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimen 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1001,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1024,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1064,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) - private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse(); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsResponse 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; @@ -1146,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java index efb6ff0e5080..ff2551bfe71e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsResponseOrBuilder - extends +public interface ListCustomDimensionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List getCustomDimensionsList(); + java.util.List + getCustomDimensionsList(); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -44,8 +25,6 @@ public interface ListCustomDimensionsResponseOrBuilder */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(int index); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -54,19 +33,15 @@ public interface ListCustomDimensionsResponseOrBuilder */ int getCustomDimensionsCount(); /** - * - * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List + java.util.List getCustomDimensionsOrBuilderList(); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionsO 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java index 6689b39764fd..7a3e34bec787 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsRequest} */ -public final class ListCustomMetricsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomMetricsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsRequest) ListCustomMetricsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomMetricsRequest.newBuilder() to construct. private ListCustomMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomMetricsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListCustomMetricsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomMetricsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other = - (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) obj; + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other = (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( 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.ListCustomMetricsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomMetricsRequest) com.google.analytics.admin.v1alpha.ListCustomMetricsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; } @java.lang.Override @@ -445,11 +407,8 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest result = - new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest result = new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -471,39 +430,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomMetricsR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListCustomMetricsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest)other); } else { super.mergeFrom(other); return this; @@ -511,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -586,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -639,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -716,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -733,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -766,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -776,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -801,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -826,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -850,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -870,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomMetricsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomMetricsRequest) private static final com.google.analytics.admin.v1alpha.ListCustomMetricsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(); } @@ -910,27 +815,27 @@ public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsRequest 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; @@ -945,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java index 6fc7b232ac16..76de44f7bb93 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsRequestOrBuilder - extends +public interface ListCustomMetricsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java index e25464cd6b30..8cf6e20a47f0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsResponse} */ -public final class ListCustomMetricsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomMetricsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsResponse) ListCustomMetricsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomMetricsResponse.newBuilder() to construct. private ListCustomMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomMetricsResponse() { customMetrics_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListCustomMetricsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); } public static final int CUSTOM_METRICS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List customMetrics_; /** - * - * *
    * List of CustomMetrics.
    * 
@@ -86,8 +64,6 @@ public java.util.List getCustom return customMetrics_; } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -95,13 +71,11 @@ public java.util.List getCustom * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomMetricsOrBuilderList() { return customMetrics_; } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -113,8 +87,6 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde return customMetrics_.get(index); } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -141,19 +111,15 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics } 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 @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customMetrics_.size(); i++) { output.writeMessage(1, customMetrics_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customMetrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customMetrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customMetrics_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomMetricsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other = - (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) obj; + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other = (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) obj; - if (!getCustomMetricsList().equals(other.getCustomMetricsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomMetricsList() + .equals(other.getCustomMetricsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( 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.ListCustomMetricsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomMetricsResponse) com.google.analytics.admin.v1alpha.ListCustomMetricsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance(); } @@ -437,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result = - new com.google.analytics.admin.v1alpha.ListCustomMetricsResponse(this); + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result = new com.google.analytics.admin.v1alpha.ListCustomMetricsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { if (customMetricsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customMetrics_ = java.util.Collections.unmodifiableList(customMetrics_); @@ -460,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -472,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListCustomMetricsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsResponse)other); } else { super.mergeFrom(other); return this; @@ -512,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance()) return this; if (customMetricsBuilder_ == null) { if (!other.customMetrics_.isEmpty()) { if (customMetrics_.isEmpty()) { @@ -533,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsRes customMetricsBuilder_ = null; customMetrics_ = other.customMetrics_; bitField0_ = (bitField0_ & ~0x00000001); - customMetricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomMetricsFieldBuilder() - : null; + customMetricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomMetricsFieldBuilder() : null; } else { customMetricsBuilder_.addAllMessages(other.customMetrics_); } @@ -573,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.CustomMetric m = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomMetric.parser(), - extensionRegistry); - if (customMetricsBuilder_ == null) { - ensureCustomMetricsIsMutable(); - customMetrics_.add(m); - } else { - customMetricsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.CustomMetric m = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomMetric.parser(), + extensionRegistry); + if (customMetricsBuilder_ == null) { + ensureCustomMetricsIsMutable(); + customMetrics_.add(m); + } else { + customMetricsBuilder_.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) { @@ -609,30 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List customMetrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customMetrics_ = - new java.util.ArrayList( - customMetrics_); + customMetrics_ = new java.util.ArrayList(customMetrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> - customMetricsBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricsBuilder_; /** - * - * *
      * List of CustomMetrics.
      * 
@@ -647,8 +586,6 @@ public java.util.List getCustom } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -663,8 +600,6 @@ public int getCustomMetricsCount() { } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -679,8 +614,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -702,8 +635,6 @@ public Builder setCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -722,8 +653,6 @@ public Builder setCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -744,8 +673,6 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -767,8 +694,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -787,8 +712,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -807,8 +730,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -819,7 +740,8 @@ public Builder addAllCustomMetrics( java.lang.Iterable values) { if (customMetricsBuilder_ == null) { ensureCustomMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customMetrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customMetrics_); onChanged(); } else { customMetricsBuilder_.addAllMessages(values); @@ -827,8 +749,6 @@ public Builder addAllCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -846,8 +766,6 @@ public Builder clearCustomMetrics() { return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -865,8 +783,6 @@ public Builder removeCustomMetrics(int index) { return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -878,8 +794,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB return getCustomMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -889,22 +803,19 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder( int index) { if (customMetricsBuilder_ == null) { - return customMetrics_.get(index); - } else { + return customMetrics_.get(index); } else { return customMetricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsOrBuilderList() { + public java.util.List + getCustomMetricsOrBuilderList() { if (customMetricsBuilder_ != null) { return customMetricsBuilder_.getMessageOrBuilderList(); } else { @@ -912,8 +823,6 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -921,12 +830,10 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsBuilder() { - return getCustomMetricsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -935,34 +842,26 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsB */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsBuilder( int index) { - return getCustomMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); } /** - * - * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsBuilderList() { + public java.util.List + getCustomMetricsBuilderList() { return getCustomMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricsFieldBuilder() { if (customMetricsBuilder_ == null) { - customMetricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + customMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( customMetrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -974,21 +873,19 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsB 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -997,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1020,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1060,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,13 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomMetricsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomMetricsResponse) - private static final com.google.analytics.admin.v1alpha.ListCustomMetricsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListCustomMetricsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomMetricsResponse(); } @@ -1109,27 +993,27 @@ public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsResponse 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; @@ -1144,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java index e50c688fed30..e8860caed2c6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsResponseOrBuilder - extends +public interface ListCustomMetricsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List getCustomMetricsList(); + java.util.List + getCustomMetricsList(); /** - * - * *
    * List of CustomMetrics.
    * 
@@ -44,8 +25,6 @@ public interface ListCustomMetricsResponseOrBuilder */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int index); /** - * - * *
    * List of CustomMetrics.
    * 
@@ -54,51 +33,43 @@ public interface ListCustomMetricsResponseOrBuilder */ int getCustomMetricsCount(); /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List + java.util.List getCustomMetricsOrBuilderList(); /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder(int index); + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java index e4ed24f3182e..2a08ee78d2ff 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsRequest} */ -public final class ListDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsRequest) ListDataStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataStreamsRequest.newBuilder() to construct. private ListDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListDataStreamsRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDataStreamsRequest other = - (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( 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.ListDataStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDataStreamsRequest) com.google.analytics.admin.v1alpha.ListDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListDataStreamsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; } @java.lang.Override @@ -445,11 +407,8 @@ public com.google.analytics.admin.v1alpha.ListDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListDataStreamsRequest result = - new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -471,39 +430,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDataStreamsReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsRequest)other); } else { super.mergeFrom(other); return this; @@ -511,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -586,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -639,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -716,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -733,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -766,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -776,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -801,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -826,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -850,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -870,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDataStreamsRequest) private static final com.google.analytics.admin.v1alpha.ListDataStreamsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(); } @@ -910,27 +815,27 @@ public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsRequest 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; @@ -945,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java index f4b3eeadcdcc..2f629aed9467 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDataStreamsRequestOrBuilder - extends +public interface ListDataStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListDataStreamsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java index 4693af789e3b..dd637ad17c1a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsResponse} */ -public final class ListDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsResponse) ListDataStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataStreamsResponse.newBuilder() to construct. private ListDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataStreamsResponse() { dataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); } public static final int DATA_STREAMS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataStreams_; /** - * - * *
    * List of DataStreams.
    * 
@@ -86,8 +64,6 @@ public java.util.List getDataStre return dataStreams_; } /** - * - * *
    * List of DataStreams.
    * 
@@ -95,13 +71,11 @@ public java.util.List getDataStre * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataStreamsOrBuilderList() { return dataStreams_; } /** - * - * *
    * List of DataStreams.
    * 
@@ -113,8 +87,6 @@ public int getDataStreamsCount() { return dataStreams_.size(); } /** - * - * *
    * List of DataStreams.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { return dataStreams_.get(index); } /** - * - * *
    * List of DataStreams.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( + int index) { return dataStreams_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataStreams_.size(); i++) { output.writeMessage(1, dataStreams_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDataStreamsResponse other = - (com.google.analytics.admin.v1alpha.ListDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListDataStreamsResponse) obj; - if (!getDataStreamsList().equals(other.getDataStreamsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDataStreamsList() + .equals(other.getDataStreamsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( 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.ListDataStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDataStreamsResponse) com.google.analytics.admin.v1alpha.ListDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListDataStreamsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListDataStreamsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListDataStreamsResponse result = - new com.google.analytics.admin.v1alpha.ListDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListDataStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListDataStreamsResponse result) { if (dataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataStreams_ = java.util.Collections.unmodifiableList(dataStreams_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDataStreamsRes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance()) return this; if (dataStreamsBuilder_ == null) { if (!other.dataStreams_.isEmpty()) { if (dataStreams_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsRespo dataStreamsBuilder_ = null; dataStreams_ = other.dataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - dataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataStreamsFieldBuilder() - : null; + dataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataStreamsFieldBuilder() : null; } else { dataStreamsBuilder_.addAllMessages(other.dataStreams_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.DataStream m = - input.readMessage( - com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); - if (dataStreamsBuilder_ == null) { - ensureDataStreamsIsMutable(); - dataStreams_.add(m); - } else { - dataStreamsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.DataStream m = + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.parser(), + extensionRegistry); + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.add(m); + } else { + dataStreamsBuilder_.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) { @@ -604,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataStreams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataStreams_ = - new java.util.ArrayList(dataStreams_); + dataStreams_ = new java.util.ArrayList(dataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder> - dataStreamsBuilder_; + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> dataStreamsBuilder_; /** - * - * *
      * List of DataStreams.
      * 
@@ -641,8 +586,6 @@ public java.util.List getDataStre } } /** - * - * *
      * List of DataStreams.
      * 
@@ -657,8 +600,6 @@ public int getDataStreamsCount() { } } /** - * - * *
      * List of DataStreams.
      * 
@@ -673,15 +614,14 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { } } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public Builder setDataStreams(int index, com.google.analytics.admin.v1alpha.DataStream value) { + public Builder setDataStreams( + int index, com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -695,8 +635,6 @@ public Builder setDataStreams(int index, com.google.analytics.admin.v1alpha.Data return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -715,8 +653,6 @@ public Builder setDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -737,15 +673,14 @@ public Builder addDataStreams(com.google.analytics.admin.v1alpha.DataStream valu return this; } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public Builder addDataStreams(int index, com.google.analytics.admin.v1alpha.DataStream value) { + public Builder addDataStreams( + int index, com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +694,6 @@ public Builder addDataStreams(int index, com.google.analytics.admin.v1alpha.Data return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -779,8 +712,6 @@ public Builder addDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -799,8 +730,6 @@ public Builder addDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -811,7 +740,8 @@ public Builder addAllDataStreams( java.lang.Iterable values) { if (dataStreamsBuilder_ == null) { ensureDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataStreams_); onChanged(); } else { dataStreamsBuilder_.addAllMessages(values); @@ -819,8 +749,6 @@ public Builder addAllDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -838,8 +766,6 @@ public Builder clearDataStreams() { return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -857,20 +783,17 @@ public Builder removeDataStreams(int index) { return this; } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamsBuilder(int index) { + public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamsBuilder( + int index) { return getDataStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of DataStreams.
      * 
@@ -880,22 +803,19 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamsBuild public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( int index) { if (dataStreamsBuilder_ == null) { - return dataStreams_.get(index); - } else { + return dataStreams_.get(index); } else { return dataStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsOrBuilderList() { + public java.util.List + getDataStreamsOrBuilderList() { if (dataStreamsBuilder_ != null) { return dataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -903,8 +823,6 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBu } } /** - * - * *
      * List of DataStreams.
      * 
@@ -912,48 +830,42 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBu * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuilder() { - return getDataStreamsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); + return getDataStreamsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuilder(int index) { - return getDataStreamsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuilder( + int index) { + return getDataStreamsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsBuilderList() { + public java.util.List + getDataStreamsBuilderList() { return getDataStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamsFieldBuilder() { if (dataStreamsBuilder_ == null) { - dataStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( - dataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + dataStreams_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dataStreams_ = null; } return dataStreamsBuilder_; @@ -961,21 +873,19 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuild 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -984,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1007,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1047,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDataStreamsResponse) private static final com.google.analytics.admin.v1alpha.ListDataStreamsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDataStreamsResponse(); } @@ -1095,27 +993,27 @@ public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsResponse 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; @@ -1130,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java index 57bc69f362c6..d2b8f8a01b1a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDataStreamsResponseOrBuilder - extends +public interface ListDataStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - java.util.List getDataStreamsList(); + java.util.List + getDataStreamsList(); /** - * - * *
    * List of DataStreams.
    * 
@@ -44,8 +25,6 @@ public interface ListDataStreamsResponseOrBuilder */ com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index); /** - * - * *
    * List of DataStreams.
    * 
@@ -54,51 +33,43 @@ public interface ListDataStreamsResponseOrBuilder */ int getDataStreamsCount(); /** - * - * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - java.util.List + java.util.List getDataStreamsOrBuilderList(); /** - * - * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder(int index); + com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java index d20980eb8a07..080a69aada22 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java @@ -1,45 +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; /** - * - * *
  * Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} + * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinkProposalsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinkProposalsRequest() { parent_ = ""; pageToken_ = ""; @@ -47,47 +26,38 @@ private ListDisplayVideo360AdvertiserLinkProposalsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -96,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -131,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -140,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -149,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -165,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -174,15 +135,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -193,15 +153,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -210,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -245,7 +206,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -258,19 +220,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest other = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,149 +255,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( + 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.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - 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.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - 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.ListDisplayVideo360AdvertiserLinkProposalsRequest - 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.ListDisplayVideo360AdvertiserLinkProposalsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
    * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} + * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -447,23 +390,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = - buildPartial(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest build() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -471,21 +410,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -502,55 +434,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListDisplayVideo360AdvertiserLinkProposalsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - other); + if (other instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - other) { - if (other - == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest other) { + if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -590,31 +513,27 @@ public Builder mergeFrom( 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: + 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) { @@ -624,27 +543,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -653,23 +567,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -677,39 +588,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -719,23 +619,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -743,10 +637,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +646,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -762,8 +653,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -771,20 +660,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -792,7 +678,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -804,8 +689,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -816,13 +699,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -831,8 +714,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -843,14 +724,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -858,8 +740,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -870,22 +750,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -896,7 +772,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -906,8 +781,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -918,23 +791,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -944,63 +815,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - private static final com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser< - ListDisplayVideo360AdvertiserLinkProposalsRequest>() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinkProposalsRequest 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(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinkProposalsRequest 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() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java index 6710652af49d..967db0f39814 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder - extends +public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -80,13 +50,10 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -97,8 +64,8 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java similarity index 53% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java index b1a74701cde6..e575ff33f0cc 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java @@ -1,45 +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; /** - * - * *
  * Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} + * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinkProposalsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinkProposalsResponse() { displayVideo360AdvertiserLinkProposals_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -47,133 +26,100 @@ private ListDisplayVideo360AdvertiserLinkProposalsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.Builder.class); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSALS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - displayVideo360AdvertiserLinkProposals_; + private java.util.List displayVideo360AdvertiserLinkProposals_; /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public java.util.List - getDisplayVideo360AdvertiserLinkProposalsList() { + public java.util.List getDisplayVideo360AdvertiserLinkProposalsList() { return displayVideo360AdvertiserLinkProposals_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + public java.util.List getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { return displayVideo360AdvertiserLinkProposals_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override public int getDisplayVideo360AdvertiserLinkProposalsCount() { return displayVideo360AdvertiserLinkProposals_.size(); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposals(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index) { return displayVideo360AdvertiserLinkProposals_.get(index); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( + int index) { return displayVideo360AdvertiserLinkProposals_.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 @@ -182,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -214,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinkProposals_.get(i)); } @@ -243,9 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, displayVideo360AdvertiserLinkProposals_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, displayVideo360AdvertiserLinkProposals_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -258,19 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) obj; if (!getDisplayVideo360AdvertiserLinkProposalsList() .equals(other.getDisplayVideo360AdvertiserLinkProposalsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,161 +236,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( + 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 - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - 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.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - 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.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 - .ListDisplayVideo360AdvertiserLinkProposalsResponse - 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.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 - .ListDisplayVideo360AdvertiserLinkProposalsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
    * 
* - * Protobuf type {@code - * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} + * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -464,23 +376,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = - buildPartial(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse build() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -488,38 +396,27 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse( - this); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = - java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); bitField0_ = (bitField0_ & ~0x00000001); } result.displayVideo360AdvertiserLinkProposals_ = displayVideo360AdvertiserLinkProposals_; } else { - result.displayVideo360AdvertiserLinkProposals_ = - displayVideo360AdvertiserLinkProposalsBuilder_.build(); + result.displayVideo360AdvertiserLinkProposals_ = displayVideo360AdvertiserLinkProposalsBuilder_.build(); } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -530,55 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListDisplayVideo360AdvertiserLinkProposalsResponse) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - other); + if (other instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - other) { - if (other - == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance()) return this; if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { if (!other.displayVideo360AdvertiserLinkProposals_.isEmpty()) { if (displayVideo360AdvertiserLinkProposals_.isEmpty()) { @@ -586,8 +474,7 @@ public Builder mergeFrom( bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); - displayVideo360AdvertiserLinkProposals_.addAll( - other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_.addAll(other.displayVideo360AdvertiserLinkProposals_); } onChanged(); } @@ -598,13 +485,11 @@ public Builder mergeFrom( displayVideo360AdvertiserLinkProposalsBuilder_ = null; displayVideo360AdvertiserLinkProposals_ = other.displayVideo360AdvertiserLinkProposals_; bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLinkProposalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() - : null; + displayVideo360AdvertiserLinkProposalsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() : null; } else { - displayVideo360AdvertiserLinkProposalsBuilder_.addAllMessages( - other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposalsBuilder_.addAllMessages(other.displayVideo360AdvertiserLinkProposals_); } } } @@ -639,34 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal m = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .parser(), - extensionRegistry); - if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); - displayVideo360AdvertiserLinkProposals_.add(m); - } else { - displayVideo360AdvertiserLinkProposalsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal m = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), + extensionRegistry); + if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { + ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); + displayVideo360AdvertiserLinkProposals_.add(m); + } else { + displayVideo360AdvertiserLinkProposalsBuilder_.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) { @@ -676,41 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - displayVideo360AdvertiserLinkProposals_ = java.util.Collections.emptyList(); - + private java.util.List displayVideo360AdvertiserLinkProposals_ = + java.util.Collections.emptyList(); private void ensureDisplayVideo360AdvertiserLinkProposalsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_ = new java.util.ArrayList(displayVideo360AdvertiserLinkProposals_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - displayVideo360AdvertiserLinkProposalsBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> displayVideo360AdvertiserLinkProposalsBuilder_; /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public java.util.List - getDisplayVideo360AdvertiserLinkProposalsList() { + public java.util.List getDisplayVideo360AdvertiserLinkProposalsList() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { return java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); } else { @@ -718,15 +586,11 @@ private void ensureDisplayVideo360AdvertiserLinkProposalsIsMutable() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public int getDisplayVideo360AdvertiserLinkProposalsCount() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -736,18 +600,13 @@ public int getDisplayVideo360AdvertiserLinkProposalsCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - getDisplayVideo360AdvertiserLinkProposals(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { return displayVideo360AdvertiserLinkProposals_.get(index); } else { @@ -755,15 +614,11 @@ public int getDisplayVideo360AdvertiserLinkProposalsCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder setDisplayVideo360AdvertiserLinkProposals( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { @@ -780,20 +635,14 @@ public Builder setDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder setDisplayVideo360AdvertiserLinkProposals( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.set(index, builderForValue.build()); @@ -804,18 +653,13 @@ public Builder setDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public Builder addDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder addDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -829,15 +673,11 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addDisplayVideo360AdvertiserLinkProposals( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { @@ -854,19 +694,14 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.add(builderForValue.build()); @@ -877,20 +712,14 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addDisplayVideo360AdvertiserLinkProposals( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.add(index, builderForValue.build()); @@ -901,20 +730,14 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder addAllDisplayVideo360AdvertiserLinkProposals( - java.lang.Iterable< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> - values) { + java.lang.Iterable values) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -926,15 +749,11 @@ public Builder addAllDisplayVideo360AdvertiserLinkProposals( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder clearDisplayVideo360AdvertiserLinkProposals() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -947,15 +766,11 @@ public Builder clearDisplayVideo360AdvertiserLinkProposals() { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -968,54 +783,39 @@ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - getDisplayVideo360AdvertiserLinkProposalsBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder getDisplayVideo360AdvertiserLinkProposalsBuilder( + int index) { return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder - getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( + int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - return displayVideo360AdvertiserLinkProposals_.get(index); - } else { + return displayVideo360AdvertiserLinkProposals_.get(index); } else { return displayVideo360AdvertiserLinkProposalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public java.util.List< - ? extends - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { if (displayVideo360AdvertiserLinkProposalsBuilder_ != null) { return displayVideo360AdvertiserLinkProposalsBuilder_.getMessageOrBuilderList(); } else { @@ -1023,70 +823,45 @@ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - addDisplayVideo360AdvertiserLinkProposalsBuilder() { - return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder addDisplayVideo360AdvertiserLinkProposalsBuilder() { + return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder - addDisplayVideo360AdvertiserLinkProposalsBuilder(int index) { - return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder addDisplayVideo360AdvertiserLinkProposalsBuilder( + int index) { + return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; */ - public java.util.List< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder> - getDisplayVideo360AdvertiserLinkProposalsBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinkProposalsBuilderList() { return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - displayVideo360AdvertiserLinkProposalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( + displayVideo360AdvertiserLinkProposalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( displayVideo360AdvertiserLinkProposals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1098,21 +873,19 @@ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1121,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1144,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1184,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1218,65 +979,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - private static final com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(); } - public static com.google.analytics.admin.v1alpha - .ListDisplayVideo360AdvertiserLinkProposalsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser< - ListDisplayVideo360AdvertiserLinkProposalsResponse> - PARSER = - new com.google.protobuf.AbstractParser< - ListDisplayVideo360AdvertiserLinkProposalsResponse>() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinkProposalsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinkProposalsResponse 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() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java new file mode 100644 index 000000000000..49cdb9fa6319 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java @@ -0,0 +1,75 @@ +// 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 ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + java.util.List + getDisplayVideo360AdvertiserLinkProposalsList(); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + int getDisplayVideo360AdvertiserLinkProposalsCount(); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + java.util.List + getDisplayVideo360AdvertiserLinkProposalsOrBuilderList(); + /** + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( + 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/ListDisplayVideo360AdvertiserLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java index 6ebba816434f..94289500a158 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest} */ -public final class ListDisplayVideo360AdvertiserLinksRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) ListDisplayVideo360AdvertiserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -46,46 +26,38 @@ private ListDisplayVideo360AdvertiserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.Builder - .class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -138,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -147,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -162,7 +126,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -171,15 +134,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -189,15 +151,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -206,7 +169,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -241,7 +204,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -254,18 +218,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -288,145 +253,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom( + 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.ListDisplayVideo360AdvertiserLinksRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - 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.ListDisplayVideo360AdvertiserLinksRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - 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.ListDisplayVideo360AdvertiserLinksRequest - 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.ListDisplayVideo360AdvertiserLinksRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListDisplayVideo360AdvertiserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.Builder - .class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -438,22 +388,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,19 +408,14 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequ } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -490,52 +432,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListDisplayVideo360AdvertiserLinksRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other) { + if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -575,31 +511,27 @@ public Builder mergeFrom( 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: + 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) { @@ -609,27 +541,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -638,23 +565,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -662,39 +586,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -704,23 +617,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -728,10 +635,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -739,7 +644,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -747,8 +651,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -756,20 +658,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -777,7 +676,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -789,8 +687,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -800,13 +696,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -815,8 +711,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -826,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -841,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -852,22 +745,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -877,7 +766,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -887,8 +775,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -898,23 +784,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -924,46 +808,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) - private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinksRequest 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(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinksRequest 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; @@ -975,8 +854,9 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java index 6156500d0aeb..d782e5a60161 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder - extends +public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java similarity index 57% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java index f40520b1c8ad..9dbe548fa491 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse} */ -public final class ListDisplayVideo360AdvertiserLinksResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDisplayVideo360AdvertiserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) ListDisplayVideo360AdvertiserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDisplayVideo360AdvertiserLinksResponse() { displayVideo360AdvertiserLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,131 +26,100 @@ private ListDisplayVideo360AdvertiserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder - .class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder.class); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - displayVideo360AdvertiserLinks_; + private java.util.List displayVideo360AdvertiserLinks_; /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public java.util.List - getDisplayVideo360AdvertiserLinksList() { + public java.util.List getDisplayVideo360AdvertiserLinksList() { return displayVideo360AdvertiserLinks_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + public java.util.List getDisplayVideo360AdvertiserLinksOrBuilderList() { return displayVideo360AdvertiserLinks_; } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override public int getDisplayVideo360AdvertiserLinksCount() { return displayVideo360AdvertiserLinks_.size(); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLinks(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index) { return displayVideo360AdvertiserLinks_.get(index); } /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( + int index) { return displayVideo360AdvertiserLinks_.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 @@ -179,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -211,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < displayVideo360AdvertiserLinks_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinks_.get(i)); } @@ -240,9 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < displayVideo360AdvertiserLinks_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, displayVideo360AdvertiserLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, displayVideo360AdvertiserLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,18 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other = - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) obj; if (!getDisplayVideo360AdvertiserLinksList() .equals(other.getDisplayVideo360AdvertiserLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,145 +236,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( + 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.ListDisplayVideo360AdvertiserLinksResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - 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.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - 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.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse - 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.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListDisplayVideo360AdvertiserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder - .class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -444,22 +376,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -467,24 +396,18 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(this); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { if (displayVideo360AdvertiserLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = - java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinks_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); bitField0_ = (bitField0_ & ~0x00000001); } result.displayVideo360AdvertiserLinks_ = displayVideo360AdvertiserLinks_; @@ -493,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -505,53 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListDisplayVideo360AdvertiserLinksResponse) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) other); + if (other instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance()) return this; if (displayVideo360AdvertiserLinksBuilder_ == null) { if (!other.displayVideo360AdvertiserLinks_.isEmpty()) { if (displayVideo360AdvertiserLinks_.isEmpty()) { @@ -570,13 +485,11 @@ public Builder mergeFrom( displayVideo360AdvertiserLinksBuilder_ = null; displayVideo360AdvertiserLinks_ = other.displayVideo360AdvertiserLinks_; bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDisplayVideo360AdvertiserLinksFieldBuilder() - : null; + displayVideo360AdvertiserLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDisplayVideo360AdvertiserLinksFieldBuilder() : null; } else { - displayVideo360AdvertiserLinksBuilder_.addAllMessages( - other.displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinksBuilder_.addAllMessages(other.displayVideo360AdvertiserLinks_); } } } @@ -611,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), - extensionRegistry); - if (displayVideo360AdvertiserLinksBuilder_ == null) { - ensureDisplayVideo360AdvertiserLinksIsMutable(); - displayVideo360AdvertiserLinks_.add(m); - } else { - displayVideo360AdvertiserLinksBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), + extensionRegistry); + if (displayVideo360AdvertiserLinksBuilder_ == null) { + ensureDisplayVideo360AdvertiserLinksIsMutable(); + displayVideo360AdvertiserLinks_.add(m); + } else { + displayVideo360AdvertiserLinksBuilder_.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) { @@ -647,41 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - displayVideo360AdvertiserLinks_ = java.util.Collections.emptyList(); - + private java.util.List displayVideo360AdvertiserLinks_ = + java.util.Collections.emptyList(); private void ensureDisplayVideo360AdvertiserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = - new java.util.ArrayList< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinks_ = new java.util.ArrayList(displayVideo360AdvertiserLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - displayVideo360AdvertiserLinksBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinksBuilder_; /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public java.util.List - getDisplayVideo360AdvertiserLinksList() { + public java.util.List getDisplayVideo360AdvertiserLinksList() { if (displayVideo360AdvertiserLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); } else { @@ -689,15 +586,11 @@ private void ensureDisplayVideo360AdvertiserLinksIsMutable() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public int getDisplayVideo360AdvertiserLinksCount() { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -707,18 +600,13 @@ public int getDisplayVideo360AdvertiserLinksCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLinks(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { return displayVideo360AdvertiserLinks_.get(index); } else { @@ -726,15 +614,11 @@ public int getDisplayVideo360AdvertiserLinksCount() { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder setDisplayVideo360AdvertiserLinks( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { @@ -751,19 +635,14 @@ public Builder setDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder setDisplayVideo360AdvertiserLinks( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); displayVideo360AdvertiserLinks_.set(index, builderForValue.build()); @@ -774,18 +653,13 @@ public Builder setDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public Builder addDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder addDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -799,15 +673,11 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addDisplayVideo360AdvertiserLinks( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { @@ -824,15 +694,11 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addDisplayVideo360AdvertiserLinks( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -846,19 +712,14 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addDisplayVideo360AdvertiserLinks( - int index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); displayVideo360AdvertiserLinks_.add(index, builderForValue.build()); @@ -869,20 +730,14 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder addAllDisplayVideo360AdvertiserLinks( - java.lang.Iterable< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> - values) { + java.lang.Iterable values) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -894,15 +749,11 @@ public Builder addAllDisplayVideo360AdvertiserLinks( return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder clearDisplayVideo360AdvertiserLinks() { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -915,15 +766,11 @@ public Builder clearDisplayVideo360AdvertiserLinks() { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ public Builder removeDisplayVideo360AdvertiserLinks(int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -936,53 +783,39 @@ public Builder removeDisplayVideo360AdvertiserLinks(int index) { return this; } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinksBuilder( + int index) { return getDisplayVideo360AdvertiserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( + int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { - return displayVideo360AdvertiserLinks_.get(index); - } else { + return displayVideo360AdvertiserLinks_.get(index); } else { return displayVideo360AdvertiserLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - getDisplayVideo360AdvertiserLinksOrBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinksOrBuilderList() { if (displayVideo360AdvertiserLinksBuilder_ != null) { return displayVideo360AdvertiserLinksBuilder_.getMessageOrBuilderList(); } else { @@ -990,69 +823,45 @@ public Builder removeDisplayVideo360AdvertiserLinks(int index) { } } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - addDisplayVideo360AdvertiserLinksBuilder() { - return getDisplayVideo360AdvertiserLinksFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder addDisplayVideo360AdvertiserLinksBuilder() { + return getDisplayVideo360AdvertiserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - addDisplayVideo360AdvertiserLinksBuilder(int index) { - return getDisplayVideo360AdvertiserLinksFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder addDisplayVideo360AdvertiserLinksBuilder( + int index) { + return getDisplayVideo360AdvertiserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()); } /** - * - * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - public java.util.List - getDisplayVideo360AdvertiserLinksBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinksBuilderList() { return getDisplayVideo360AdvertiserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinksFieldBuilder() { if (displayVideo360AdvertiserLinksBuilder_ == null) { - displayVideo360AdvertiserLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + displayVideo360AdvertiserLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( displayVideo360AdvertiserLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1064,21 +873,19 @@ public Builder removeDisplayVideo360AdvertiserLinks(int index) { 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1087,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1110,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1150,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1184,46 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinksResponse 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(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinksResponse 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; @@ -1235,8 +1025,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java similarity index 50% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java index cafddafd4a2b..a1d80dfdc429 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java @@ -1,118 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinksResponseOrBuilder - extends +public interface ListDisplayVideo360AdvertiserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - java.util.List + java.util.List getDisplayVideo360AdvertiserLinksList(); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLinks(int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ int getDisplayVideo360AdvertiserLinksCount(); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - java.util.List< - ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + java.util.List getDisplayVideo360AdvertiserLinksOrBuilderList(); /** - * - * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( + 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(); + 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java index 05b840a31248..48b315c187ac 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksRequest} */ -public final class ListFirebaseLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFirebaseLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) ListFirebaseLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFirebaseLinksRequest.newBuilder() to construct. private ListFirebaseLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFirebaseLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,46 +26,39 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListFirebaseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,32 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -138,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -147,21 +117,17 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * 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; - * * @return The pageToken. */ @java.lang.Override @@ -170,32 +136,32 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * 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; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,7 +170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +205,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -252,17 +219,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other = - (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other = (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,136 +255,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( 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.ListFirebaseLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) com.google.analytics.admin.v1alpha.ListFirebaseLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; } @java.lang.Override @@ -448,11 +410,8 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest result = - new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest result = new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -474,39 +433,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListFirebaseLinksR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListFirebaseLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +472,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +512,27 @@ public Builder mergeFrom( 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: + 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) { @@ -589,28 +542,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -619,24 +567,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -644,41 +589,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -688,24 +622,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -713,10 +641,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -725,7 +651,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -733,8 +658,6 @@ 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.
@@ -743,20 +666,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -765,7 +685,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -777,23 +696,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * 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; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -802,24 +719,23 @@ 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.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -827,41 +743,34 @@ 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.
      * 
* * 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(); - } + 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 `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; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -871,33 +780,29 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * 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; - * * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -907,12 +812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(); } @@ -921,27 +826,27 @@ public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksRequest 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; @@ -956,4 +861,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java index a8a1e7fe4e6d..eaf893ce2307 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksRequestOrBuilder - extends +public interface ListFirebaseLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -65,39 +38,33 @@ public interface ListFirebaseLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ 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.
    * 
* * string page_token = 3; - * * @return The pageToken. */ 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.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java index 1b00a5dfb1ed..807fff487cd8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksResponse} */ -public final class ListFirebaseLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFirebaseLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) ListFirebaseLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFirebaseLinksResponse.newBuilder() to construct. private ListFirebaseLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFirebaseLinksResponse() { firebaseLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListFirebaseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); } public static final int FIREBASE_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List firebaseLinks_; /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -86,8 +64,6 @@ public java.util.List getFireba return firebaseLinks_; } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -95,13 +71,11 @@ public java.util.List getFireba * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFirebaseLinksOrBuilderList() { return firebaseLinks_; } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -113,8 +87,6 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde return firebaseLinks_.get(index); } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -141,12 +111,9 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks } 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.
@@ -155,7 +122,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -164,15 +130,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -181,15 +146,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -198,7 +164,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < firebaseLinks_.size(); i++) { output.writeMessage(1, firebaseLinks_.get(i)); } @@ -227,7 +193,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < firebaseLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, firebaseLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, firebaseLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -240,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other = - (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other = (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) obj; - if (!getFirebaseLinksList().equals(other.getFirebaseLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFirebaseLinksList() + .equals(other.getFirebaseLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,136 +241,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( 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.ListFirebaseLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) com.google.analytics.admin.v1alpha.ListFirebaseLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,14 +380,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance(); } @@ -441,18 +401,14 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result = - new com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse(this); + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result = new com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { if (firebaseLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { firebaseLinks_ = java.util.Collections.unmodifiableList(firebaseLinks_); @@ -464,8 +420,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -476,39 +431,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListFirebaseLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -516,9 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance()) return this; if (firebaseLinksBuilder_ == null) { if (!other.firebaseLinks_.isEmpty()) { if (firebaseLinks_.isEmpty()) { @@ -537,10 +489,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksRes firebaseLinksBuilder_ = null; firebaseLinks_ = other.firebaseLinks_; bitField0_ = (bitField0_ & ~0x00000001); - firebaseLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFirebaseLinksFieldBuilder() - : null; + firebaseLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFirebaseLinksFieldBuilder() : null; } else { firebaseLinksBuilder_.addAllMessages(other.firebaseLinks_); } @@ -577,33 +528,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.FirebaseLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.FirebaseLink.parser(), - extensionRegistry); - if (firebaseLinksBuilder_ == null) { - ensureFirebaseLinksIsMutable(); - firebaseLinks_.add(m); - } else { - firebaseLinksBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.FirebaseLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.FirebaseLink.parser(), + extensionRegistry); + if (firebaseLinksBuilder_ == null) { + ensureFirebaseLinksIsMutable(); + firebaseLinks_.add(m); + } else { + firebaseLinksBuilder_.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) { @@ -613,30 +561,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List firebaseLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFirebaseLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - firebaseLinks_ = - new java.util.ArrayList( - firebaseLinks_); + firebaseLinks_ = new java.util.ArrayList(firebaseLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> - firebaseLinksBuilder_; + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> firebaseLinksBuilder_; /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -651,8 +590,6 @@ public java.util.List getFireba } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -667,8 +604,6 @@ public int getFirebaseLinksCount() { } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -683,8 +618,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -706,8 +639,6 @@ public Builder setFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -726,8 +657,6 @@ public Builder setFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -748,8 +677,6 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -771,8 +698,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -791,8 +716,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -811,8 +734,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -823,7 +744,8 @@ public Builder addAllFirebaseLinks( java.lang.Iterable values) { if (firebaseLinksBuilder_ == null) { ensureFirebaseLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, firebaseLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, firebaseLinks_); onChanged(); } else { firebaseLinksBuilder_.addAllMessages(values); @@ -831,8 +753,6 @@ public Builder addAllFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -850,8 +770,6 @@ public Builder clearFirebaseLinks() { return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -869,8 +787,6 @@ public Builder removeFirebaseLinks(int index) { return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -882,8 +798,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB return getFirebaseLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -893,22 +807,19 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( int index) { if (firebaseLinksBuilder_ == null) { - return firebaseLinks_.get(index); - } else { + return firebaseLinks_.get(index); } else { return firebaseLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksOrBuilderList() { + public java.util.List + getFirebaseLinksOrBuilderList() { if (firebaseLinksBuilder_ != null) { return firebaseLinksBuilder_.getMessageOrBuilderList(); } else { @@ -916,8 +827,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -925,12 +834,10 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksBuilder() { - return getFirebaseLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -939,34 +846,26 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksBuilder( int index) { - return getFirebaseLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksBuilderList() { + public java.util.List + getFirebaseLinksBuilderList() { return getFirebaseLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> getFirebaseLinksFieldBuilder() { if (firebaseLinksBuilder_ == null) { - firebaseLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, - com.google.analytics.admin.v1alpha.FirebaseLink.Builder, - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( + firebaseLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( firebaseLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -978,8 +877,6 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB 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.
@@ -988,13 +885,13 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1003,8 +900,6 @@ public 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.
@@ -1013,14 +908,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1028,8 +924,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
@@ -1038,22 +932,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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.
@@ -1062,7 +952,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1072,8 +961,6 @@ public Builder clearNextPageToken() { 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.
@@ -1082,23 +969,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1108,13 +993,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse(); } @@ -1123,27 +1007,27 @@ public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksResponse 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; @@ -1158,4 +1042,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java index 5d4f40acb8d8..722688cc663c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksResponseOrBuilder - extends +public interface ListFirebaseLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List getFirebaseLinksList(); + java.util.List + getFirebaseLinksList(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -44,8 +25,6 @@ public interface ListFirebaseLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int index); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -54,30 +33,25 @@ public interface ListFirebaseLinksResponseOrBuilder */ int getFirebaseLinksCount(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List + java.util.List getFirebaseLinksOrBuilderList(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( + 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.
@@ -86,13 +60,10 @@ public interface ListFirebaseLinksResponseOrBuilder
    * 
* * 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.
@@ -101,8 +72,8 @@ public interface ListFirebaseLinksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java index 39e53ef2d75e..40991ab39813 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest} */ -public final class ListGoogleAdsLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGoogleAdsLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) ListGoogleAdsLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksRequest.newBuilder() to construct. private ListGoogleAdsLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGoogleAdsLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListGoogleAdsLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other = - (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( 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.ListGoogleAdsLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,14 +386,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance(); } @@ -446,17 +407,13 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result = - new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -473,39 +430,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListGoogleAdsLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -513,9 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -589,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -642,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -684,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -708,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -719,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -727,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -736,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -757,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -769,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -779,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -794,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -804,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -819,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -829,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -853,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -863,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -873,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -899,13 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) - private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(); } @@ -914,27 +815,27 @@ public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksRequest 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; @@ -949,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java index ad692149d8be..2baacd1c63dd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksRequestOrBuilder - extends +public interface ListGoogleAdsLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java index 2b4626a740b4..b749dc1da21b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse} */ -public final class ListGoogleAdsLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGoogleAdsLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) ListGoogleAdsLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksResponse.newBuilder() to construct. private ListGoogleAdsLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGoogleAdsLinksResponse() { googleAdsLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListGoogleAdsLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); } public static final int GOOGLE_ADS_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List googleAdsLinks_; /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -86,8 +64,6 @@ public java.util.List getGoogl return googleAdsLinks_; } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -95,13 +71,11 @@ public java.util.List getGoogl * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getGoogleAdsLinksOrBuilderList() { return googleAdsLinks_; } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -113,8 +87,6 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in return googleAdsLinks_.get(index); } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -141,19 +111,15 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } 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 @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < googleAdsLinks_.size(); i++) { output.writeMessage(1, googleAdsLinks_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < googleAdsLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, googleAdsLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, googleAdsLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other = - (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) obj; - if (!getGoogleAdsLinksList().equals(other.getGoogleAdsLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getGoogleAdsLinksList() + .equals(other.getGoogleAdsLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( 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.ListGoogleAdsLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance(); } @@ -437,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result = - new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse(this); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { if (googleAdsLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { googleAdsLinks_ = java.util.Collections.unmodifiableList(googleAdsLinks_); @@ -460,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -472,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListGoogleAdsLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -512,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance()) return this; if (googleAdsLinksBuilder_ == null) { if (!other.googleAdsLinks_.isEmpty()) { if (googleAdsLinks_.isEmpty()) { @@ -533,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRe googleAdsLinksBuilder_ = null; googleAdsLinks_ = other.googleAdsLinks_; bitField0_ = (bitField0_ & ~0x00000001); - googleAdsLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGoogleAdsLinksFieldBuilder() - : null; + googleAdsLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGoogleAdsLinksFieldBuilder() : null; } else { googleAdsLinksBuilder_.addAllMessages(other.googleAdsLinks_); } @@ -573,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.GoogleAdsLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), - extensionRegistry); - if (googleAdsLinksBuilder_ == null) { - ensureGoogleAdsLinksIsMutable(); - googleAdsLinks_.add(m); - } else { - googleAdsLinksBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.GoogleAdsLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), + extensionRegistry); + if (googleAdsLinksBuilder_ == null) { + ensureGoogleAdsLinksIsMutable(); + googleAdsLinks_.add(m); + } else { + googleAdsLinksBuilder_.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) { @@ -609,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List googleAdsLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGoogleAdsLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - googleAdsLinks_ = - new java.util.ArrayList( - googleAdsLinks_); + googleAdsLinks_ = new java.util.ArrayList(googleAdsLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> - googleAdsLinksBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinksBuilder_; /** - * - * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksList() { + public java.util.List getGoogleAdsLinksList() { if (googleAdsLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(googleAdsLinks_); } else { @@ -648,8 +586,6 @@ private void ensureGoogleAdsLinksIsMutable() { } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -664,8 +600,6 @@ public int getGoogleAdsLinksCount() { } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -680,8 +614,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -703,8 +635,6 @@ public Builder setGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -723,8 +653,6 @@ public Builder setGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -745,8 +673,6 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1alpha.GoogleAdsLin return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -768,8 +694,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -788,8 +712,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -808,8 +730,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -820,7 +740,8 @@ public Builder addAllGoogleAdsLinks( java.lang.Iterable values) { if (googleAdsLinksBuilder_ == null) { ensureGoogleAdsLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googleAdsLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, googleAdsLinks_); onChanged(); } else { googleAdsLinksBuilder_.addAllMessages(values); @@ -828,8 +749,6 @@ public Builder addAllGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -847,8 +766,6 @@ public Builder clearGoogleAdsLinks() { return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -866,8 +783,6 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -879,8 +794,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -890,22 +803,19 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( int index) { if (googleAdsLinksBuilder_ == null) { - return googleAdsLinks_.get(index); - } else { + return googleAdsLinks_.get(index); } else { return googleAdsLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksOrBuilderList() { + public java.util.List + getGoogleAdsLinksOrBuilderList() { if (googleAdsLinksBuilder_ != null) { return googleAdsLinksBuilder_.getMessageOrBuilderList(); } else { @@ -913,8 +823,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -922,12 +830,10 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLinksBuilder() { - return getGoogleAdsLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -936,34 +842,26 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLink */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLinksBuilder( int index) { - return getGoogleAdsLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksBuilderList() { + public java.util.List + getGoogleAdsLinksBuilderList() { return getGoogleAdsLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinksFieldBuilder() { if (googleAdsLinksBuilder_ == null) { - googleAdsLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + googleAdsLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( googleAdsLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -975,21 +873,19 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLink 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -998,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1021,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1061,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,13 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse(); } @@ -1110,27 +993,27 @@ public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksResponse 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; @@ -1145,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java index 928e5d449bde..00d5f252584f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksResponseOrBuilder - extends +public interface ListGoogleAdsLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List getGoogleAdsLinksList(); + java.util.List + getGoogleAdsLinksList(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -44,8 +25,6 @@ public interface ListGoogleAdsLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int index); /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -54,51 +33,43 @@ public interface ListGoogleAdsLinksResponseOrBuilder */ int getGoogleAdsLinksCount(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List + java.util.List getGoogleAdsLinksOrBuilderList(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java index 1c3bb489248c..6dde095f711d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest} */ -public final class ListMeasurementProtocolSecretsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMeasurementProtocolSecretsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) ListMeasurementProtocolSecretsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsRequest.newBuilder() to construct. - private ListMeasurementProtocolSecretsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMeasurementProtocolSecretsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,47 +26,40 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListMeasurementProtocolSecretsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -95,33 +68,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,8 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -141,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -150,12 +118,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -164,7 +129,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -173,15 +137,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -190,15 +153,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -207,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -242,7 +206,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -255,18 +220,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other = - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) obj; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,139 +256,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( 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.ListMeasurementProtocolSecretsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - 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.ListMeasurementProtocolSecretsRequest 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.ListMeasurementProtocolSecretsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder - .class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -434,22 +390,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest build() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -458,17 +411,13 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = - new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -485,52 +434,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListMeasurementProtocolSecretsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other) { + if (other == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -570,31 +513,27 @@ public Builder mergeFrom( 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: + 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) { @@ -604,29 +543,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -635,25 +569,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -661,43 +592,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -707,25 +627,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -733,10 +647,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -744,7 +656,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -752,8 +663,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -761,20 +670,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -782,7 +688,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -794,8 +699,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -804,13 +707,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -819,8 +722,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -829,14 +730,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -844,8 +746,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -854,22 +754,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -878,7 +774,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,8 +783,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -898,23 +791,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -924,44 +815,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) - private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsRequest 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; @@ -973,8 +861,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java index 88b39d0cbca2..434d5efc8230 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListMeasurementProtocolSecretsRequestOrBuilder - extends +public interface ListMeasurementProtocolSecretsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -66,14 +39,11 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -82,13 +52,10 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -97,8 +64,8 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java index 886809cc1ed3..a2c333f27a41 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse} */ -public final class ListMeasurementProtocolSecretsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMeasurementProtocolSecretsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) ListMeasurementProtocolSecretsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsResponse.newBuilder() to construct. - private ListMeasurementProtocolSecretsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMeasurementProtocolSecretsResponse() { measurementProtocolSecrets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,131 +26,100 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListMeasurementProtocolSecretsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder - .class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder.class); } public static final int MEASUREMENT_PROTOCOL_SECRETS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - measurementProtocolSecrets_; + private java.util.List measurementProtocolSecrets_; /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public java.util.List - getMeasurementProtocolSecretsList() { + public java.util.List getMeasurementProtocolSecretsList() { return measurementProtocolSecrets_; } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + public java.util.List getMeasurementProtocolSecretsOrBuilderList() { return measurementProtocolSecrets_; } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override public int getMeasurementProtocolSecretsCount() { return measurementProtocolSecrets_.size(); } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets( - int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { return measurementProtocolSecrets_.get(index); } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + int index) { return measurementProtocolSecrets_.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 @@ -179,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -211,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { output.writeMessage(1, measurementProtocolSecrets_.get(i)); } @@ -240,9 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, measurementProtocolSecrets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, measurementProtocolSecrets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,18 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other = - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) obj; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) obj; - if (!getMeasurementProtocolSecretsList().equals(other.getMeasurementProtocolSecretsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMeasurementProtocolSecretsList() + .equals(other.getMeasurementProtocolSecretsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,139 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( 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.ListMeasurementProtocolSecretsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - 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.ListMeasurementProtocolSecretsResponse 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.ListMeasurementProtocolSecretsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder - .class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -439,22 +376,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse build() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = - buildPartial(); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -462,24 +396,18 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - buildPartial() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = - new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(this); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse buildPartial() { + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { if (measurementProtocolSecretsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = - java.util.Collections.unmodifiableList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = java.util.Collections.unmodifiableList(measurementProtocolSecrets_); bitField0_ = (bitField0_ & ~0x00000001); } result.measurementProtocolSecrets_ = measurementProtocolSecrets_; @@ -488,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -500,52 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListMeasurementProtocolSecretsResponse) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) other); + if (other instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) { + return mergeFrom((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other) { + if (other == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance()) return this; if (measurementProtocolSecretsBuilder_ == null) { if (!other.measurementProtocolSecrets_.isEmpty()) { if (measurementProtocolSecrets_.isEmpty()) { @@ -564,10 +485,9 @@ public Builder mergeFrom( measurementProtocolSecretsBuilder_ = null; measurementProtocolSecrets_ = other.measurementProtocolSecrets_; bitField0_ = (bitField0_ & ~0x00000001); - measurementProtocolSecretsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMeasurementProtocolSecretsFieldBuilder() - : null; + measurementProtocolSecretsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMeasurementProtocolSecretsFieldBuilder() : null; } else { measurementProtocolSecretsBuilder_.addAllMessages(other.measurementProtocolSecrets_); } @@ -604,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret m = - input.readMessage( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), - extensionRegistry); - if (measurementProtocolSecretsBuilder_ == null) { - ensureMeasurementProtocolSecretsIsMutable(); - measurementProtocolSecrets_.add(m); - } else { - measurementProtocolSecretsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret m = + input.readMessage( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), + extensionRegistry); + if (measurementProtocolSecretsBuilder_ == null) { + ensureMeasurementProtocolSecretsIsMutable(); + measurementProtocolSecrets_.add(m); + } else { + measurementProtocolSecretsBuilder_.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) { @@ -640,40 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - measurementProtocolSecrets_ = java.util.Collections.emptyList(); - + private java.util.List measurementProtocolSecrets_ = + java.util.Collections.emptyList(); private void ensureMeasurementProtocolSecretsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = - new java.util.ArrayList( - measurementProtocolSecrets_); + measurementProtocolSecrets_ = new java.util.ArrayList(measurementProtocolSecrets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretsBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretsBuilder_; /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List - getMeasurementProtocolSecretsList() { + public java.util.List getMeasurementProtocolSecretsList() { if (measurementProtocolSecretsBuilder_ == null) { return java.util.Collections.unmodifiableList(measurementProtocolSecrets_); } else { @@ -681,15 +586,11 @@ private void ensureMeasurementProtocolSecretsIsMutable() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public int getMeasurementProtocolSecretsCount() { if (measurementProtocolSecretsBuilder_ == null) { @@ -699,18 +600,13 @@ public int getMeasurementProtocolSecretsCount() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecrets(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { return measurementProtocolSecrets_.get(index); } else { @@ -718,15 +614,11 @@ public int getMeasurementProtocolSecretsCount() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder setMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { @@ -743,19 +635,14 @@ public Builder setMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder setMeasurementProtocolSecrets( - int index, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.set(index, builderForValue.build()); @@ -766,18 +653,13 @@ public Builder setMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public Builder addMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder addMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -791,15 +673,11 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { @@ -816,15 +694,11 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -838,19 +712,14 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( - int index, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.add(index, builderForValue.build()); @@ -861,22 +730,18 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addAllMeasurementProtocolSecrets( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, measurementProtocolSecrets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, measurementProtocolSecrets_); onChanged(); } else { measurementProtocolSecretsBuilder_.addAllMessages(values); @@ -884,15 +749,11 @@ public Builder addAllMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder clearMeasurementProtocolSecrets() { if (measurementProtocolSecretsBuilder_ == null) { @@ -905,15 +766,11 @@ public Builder clearMeasurementProtocolSecrets() { return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder removeMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { @@ -926,53 +783,39 @@ public Builder removeMeasurementProtocolSecrets(int index) { return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretsBuilder(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretsBuilder( + int index) { return getMeasurementProtocolSecretsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + int index) { if (measurementProtocolSecretsBuilder_ == null) { - return measurementProtocolSecrets_.get(index); - } else { + return measurementProtocolSecrets_.get(index); } else { return measurementProtocolSecretsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> - getMeasurementProtocolSecretsOrBuilderList() { + public java.util.List + getMeasurementProtocolSecretsOrBuilderList() { if (measurementProtocolSecretsBuilder_ != null) { return measurementProtocolSecretsBuilder_.getMessageOrBuilderList(); } else { @@ -980,67 +823,45 @@ public Builder removeMeasurementProtocolSecrets(int index) { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - addMeasurementProtocolSecretsBuilder() { - return getMeasurementProtocolSecretsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder() { + return getMeasurementProtocolSecretsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - addMeasurementProtocolSecretsBuilder(int index) { - return getMeasurementProtocolSecretsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder( + int index) { + return getMeasurementProtocolSecretsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List - getMeasurementProtocolSecretsBuilderList() { + public java.util.List + getMeasurementProtocolSecretsBuilderList() { return getMeasurementProtocolSecretsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsFieldBuilder() { if (measurementProtocolSecretsBuilder_ == null) { - measurementProtocolSecretsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + measurementProtocolSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( measurementProtocolSecrets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1052,21 +873,19 @@ public Builder removeMeasurementProtocolSecrets(int index) { 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1075,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1098,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1138,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1172,44 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) - private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsResponse 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; @@ -1221,8 +1025,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java index 32a7b109d7d4..7a76e9447da9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java @@ -1,117 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListMeasurementProtocolSecretsResponseOrBuilder - extends +public interface ListMeasurementProtocolSecretsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - java.util.List + java.util.List getMeasurementProtocolSecretsList(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets( - int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ int getMeasurementProtocolSecretsCount(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - java.util.List + java.util.List getMeasurementProtocolSecretsOrBuilderList(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java similarity index 76% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java index 4693d2e07612..4f6c7a965626 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesRequest} */ -public final class ListPropertiesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPropertiesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesRequest) ListPropertiesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPropertiesRequest.newBuilder() to construct. private ListPropertiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPropertiesRequest() { filter_ = ""; pageToken_ = ""; @@ -44,37 +26,33 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListPropertiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, - com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); } public static final int FILTER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -94,7 +72,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -103,15 +80,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -131,15 +107,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -150,8 +127,6 @@ public com.google.protobuf.ByteString getFilterBytes() { 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.
@@ -160,7 +135,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -169,12 +143,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -183,7 +154,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -192,15 +162,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -209,15 +178,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -228,8 +198,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_ = false; /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -237,7 +205,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -246,7 +213,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -284,13 +251,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,18 +269,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListPropertiesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListPropertiesRequest other = - (com.google.analytics.admin.v1alpha.ListPropertiesRequest) obj; - - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + com.google.analytics.admin.v1alpha.ListPropertiesRequest other = (com.google.analytics.admin.v1alpha.ListPropertiesRequest) obj; + + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -330,143 +302,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( 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.ListPropertiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListPropertiesRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListPropertiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListPropertiesRequest) com.google.analytics.admin.v1alpha.ListPropertiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, - com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListPropertiesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; } @java.lang.Override @@ -500,11 +466,8 @@ public com.google.analytics.admin.v1alpha.ListPropertiesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListPropertiesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListPropertiesRequest result = - new com.google.analytics.admin.v1alpha.ListPropertiesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListPropertiesRequest result = new com.google.analytics.admin.v1alpha.ListPropertiesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -529,39 +492,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListPropertiesRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListPropertiesRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesRequest)other); } else { super.mergeFrom(other); return this; @@ -569,8 +531,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance()) return this; if (!other.getFilter().isEmpty()) { filter_ = other.filter_; bitField0_ |= 0x00000001; @@ -613,37 +574,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - filter_ = 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 - case 32: - { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + filter_ = 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 + case 32: { + showDeleted_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -653,13 +609,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object filter_ = ""; /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -679,13 +632,13 @@ public Builder mergeFrom(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -694,8 +647,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -715,14 +666,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -730,8 +682,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -751,22 +701,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -786,7 +732,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -796,8 +741,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -817,14 +760,12 @@ public Builder clearFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000001; @@ -832,10 +773,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -844,7 +783,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -852,8 +790,6 @@ 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.
@@ -862,20 +798,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -884,7 +817,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -896,8 +828,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -906,13 +836,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -921,8 +851,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -931,14 +859,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -946,8 +875,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -956,22 +883,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -980,7 +903,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -990,8 +912,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -1000,14 +920,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1015,10 +933,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1026,7 +942,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -1034,8 +949,6 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1043,20 +956,17 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1064,7 +974,6 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -1073,9 +982,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListPropertiesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListPropertiesRequest) private static final com.google.analytics.admin.v1alpha.ListPropertiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListPropertiesRequest(); } @@ -1099,27 +1008,27 @@ public static com.google.analytics.admin.v1alpha.ListPropertiesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesRequest 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; @@ -1134,4 +1043,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java similarity index 82% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java index 24357307d528..89bbfcb21361 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesRequestOrBuilder - extends +public interface ListPropertiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -45,13 +27,10 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -71,14 +50,12 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -87,14 +64,11 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -103,13 +77,10 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -118,14 +89,12 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -133,7 +102,6 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java index 376fb6e3b21c..cd264a98a729 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesResponse} */ -public final class ListPropertiesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPropertiesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesResponse) ListPropertiesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPropertiesResponse.newBuilder() to construct. private ListPropertiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPropertiesResponse() { properties_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListPropertiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, - com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); } public static final int PROPERTIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List properties_; /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -86,8 +64,6 @@ public java.util.List getProperties return properties_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -95,13 +71,11 @@ public java.util.List getProperties * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -113,8 +87,6 @@ public int getPropertiesCount() { return properties_.size(); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { return properties_.get(index); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( + int index) { return properties_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < properties_.size(); i++) { output.writeMessage(1, properties_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, properties_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListPropertiesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListPropertiesResponse other = - (com.google.analytics.admin.v1alpha.ListPropertiesResponse) obj; + com.google.analytics.admin.v1alpha.ListPropertiesResponse other = (com.google.analytics.admin.v1alpha.ListPropertiesResponse) obj; - if (!getPropertiesList().equals(other.getPropertiesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPropertiesList() + .equals(other.getPropertiesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( 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.ListPropertiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListPropertiesResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListPropertiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListPropertiesResponse) com.google.analytics.admin.v1alpha.ListPropertiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, - com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListPropertiesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListPropertiesResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListPropertiesResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListPropertiesResponse result = - new com.google.analytics.admin.v1alpha.ListPropertiesResponse(this); + com.google.analytics.admin.v1alpha.ListPropertiesResponse result = new com.google.analytics.admin.v1alpha.ListPropertiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListPropertiesResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListPropertiesResponse result) { if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListPropertiesResp public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListPropertiesResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance()) return this; if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesRespon propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); - propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPropertiesFieldBuilder() - : null; + propertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPropertiesFieldBuilder() : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.Property m = - input.readMessage( - com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); - if (propertiesBuilder_ == null) { - ensurePropertiesIsMutable(); - properties_.add(m); - } else { - propertiesBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.Property m = + input.readMessage( + com.google.analytics.admin.v1alpha.Property.parser(), + extensionRegistry); + if (propertiesBuilder_ == null) { + ensurePropertiesIsMutable(); + properties_.add(m); + } else { + propertiesBuilder_.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) { @@ -604,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List properties_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - properties_ = - new java.util.ArrayList(properties_); + properties_ = new java.util.ArrayList(properties_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> - propertiesBuilder_; + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertiesBuilder_; /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -641,8 +586,6 @@ public java.util.List getProperties } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -657,8 +600,6 @@ public int getPropertiesCount() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -673,15 +614,14 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public Builder setProperties(int index, com.google.analytics.admin.v1alpha.Property value) { + public Builder setProperties( + int index, com.google.analytics.admin.v1alpha.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -695,8 +635,6 @@ public Builder setProperties(int index, com.google.analytics.admin.v1alpha.Prope return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -715,8 +653,6 @@ public Builder setProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -737,15 +673,14 @@ public Builder addProperties(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public Builder addProperties(int index, com.google.analytics.admin.v1alpha.Property value) { + public Builder addProperties( + int index, com.google.analytics.admin.v1alpha.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +694,6 @@ public Builder addProperties(int index, com.google.analytics.admin.v1alpha.Prope return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -779,8 +712,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -799,8 +730,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -811,7 +740,8 @@ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -819,8 +749,6 @@ public Builder addAllProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -838,8 +766,6 @@ public Builder clearProperties() { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -857,44 +783,39 @@ public Builder removeProperties(int index) { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.Property.Builder getPropertiesBuilder(int index) { + public com.google.analytics.admin.v1alpha.Property.Builder getPropertiesBuilder( + int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( + int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); - } else { + return properties_.get(index); } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List + getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -902,8 +823,6 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -911,48 +830,42 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); + return getPropertiesFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder(int index) { - return getPropertiesFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder( + int index) { + return getPropertiesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List + getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - properties_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + properties_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); properties_ = null; } return propertiesBuilder_; @@ -960,21 +873,19 @@ public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder( 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -983,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1006,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1046,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListPropertiesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListPropertiesResponse) private static final com.google.analytics.admin.v1alpha.ListPropertiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListPropertiesResponse(); } @@ -1094,27 +993,27 @@ public static com.google.analytics.admin.v1alpha.ListPropertiesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesResponse 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; @@ -1129,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java index 6547dac4ebbf..960eb17554dc 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesResponseOrBuilder - extends +public interface ListPropertiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List getPropertiesList(); + java.util.List + getPropertiesList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -44,8 +25,6 @@ public interface ListPropertiesResponseOrBuilder */ com.google.analytics.admin.v1alpha.Property getProperties(int index); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -54,51 +33,43 @@ public interface ListPropertiesResponseOrBuilder */ int getPropertiesCount(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index); + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java new file mode 100644 index 000000000000..cf22d409279e --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java @@ -0,0 +1,862 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java new file mode 100644 index 000000000000..77db056daf7f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java @@ -0,0 +1,69 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java new file mode 100644 index 000000000000..3a8ed0dd45e1 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java @@ -0,0 +1,1033 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java new file mode 100644 index 000000000000..1fde477d309d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java @@ -0,0 +1,75 @@ +// 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/ListUserLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java index 76ddfe124951..c0656e7f6219 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ -public final class ListUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUserLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) ListUserLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUserLinksRequest.newBuilder() to construct. private ListUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -136,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -145,12 +115,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -159,7 +126,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -168,15 +134,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -185,15 +150,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,7 +168,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,7 +203,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -250,17 +217,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksRequest other = - (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListUserLinksRequest other = (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,136 +253,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( 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.ListUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.analytics.admin.v1alpha.ListUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override @@ -446,11 +408,8 @@ public com.google.analytics.admin.v1alpha.ListUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksRequest result = - new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ListUserLinksRequest result = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -472,39 +431,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListUserLinksReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -512,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -553,31 +510,27 @@ public Builder mergeFrom( 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: + 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) { @@ -587,27 +540,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -616,23 +564,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -640,39 +585,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -682,23 +616,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: accounts/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -706,10 +634,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -718,7 +644,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -726,8 +651,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -736,20 +659,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -758,7 +678,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -770,8 +689,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -780,13 +697,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -795,8 +712,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -805,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -820,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -830,22 +744,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -854,7 +764,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -864,8 +773,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -874,23 +781,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -900,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) private static final com.google.analytics.admin.v1alpha.ListUserLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(); } @@ -914,27 +819,27 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksRequest 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; @@ -949,4 +854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java index ab4ba325b8a9..b055d9149e29 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksRequestOrBuilder - extends +public interface ListUserLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: accounts/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -63,14 +36,11 @@ public interface ListUserLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -94,8 +61,8 @@ public interface ListUserLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java index 66b49c29a915..9666256fa475 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ -public final class ListUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUserLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) ListUserLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUserLinksResponse.newBuilder() to construct. private ListUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ListUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List userLinks_; /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -86,8 +64,6 @@ public java.util.List getUserLinksL return userLinks_; } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -95,13 +71,11 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -113,8 +87,6 @@ public int getUserLinksCount() { return userLinks_.size(); } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { return userLinks_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksResponse other = - (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListUserLinksResponse other = (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; - if (!getUserLinksList().equals(other.getUserLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUserLinksList() + .equals(other.getUserLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( 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.ListUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.analytics.admin.v1alpha.ListUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1alpha.ListUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksResponse result = - new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); + com.google.analytics.admin.v1alpha.ListUserLinksResponse result = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.ListUserLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListUserLinksRespo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ListUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRespons userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUserLinksFieldBuilder() - : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUserLinksFieldBuilder() : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), + extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -604,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = - new java.util.ArrayList(userLinks_); + userLinks_ = new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -641,8 +586,6 @@ public java.util.List getUserLinksL } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -657,8 +600,6 @@ public int getUserLinksCount() { } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -673,15 +614,14 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -695,8 +635,6 @@ public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -715,8 +653,6 @@ public Builder setUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -737,15 +673,14 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks( + int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +694,6 @@ public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLi return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -779,8 +712,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -799,8 +730,6 @@ public Builder addUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -811,7 +740,8 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -819,8 +749,6 @@ public Builder addAllUserLinks( return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -838,8 +766,6 @@ public Builder clearUserLinks() { return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -857,44 +783,39 @@ public Builder removeUserLinks(int index) { return this; } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( + int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); - } else { + return userLinks_.get(index); } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -902,8 +823,6 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -911,48 +830,42 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { - return getUserLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( + int index) { + return getUserLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** - * - * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); userLinks_ = null; } return userLinksBuilder_; @@ -960,21 +873,19 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(i 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -983,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1006,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1046,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) private static final com.google.analytics.admin.v1alpha.ListUserLinksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(); } @@ -1094,27 +993,27 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksResponse 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; @@ -1129,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java index b7967bc7a9c2..c05f6f2d166f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksResponseOrBuilder - extends +public interface ListUserLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List getUserLinksList(); + java.util.List + getUserLinksList(); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -44,8 +25,6 @@ public interface ListUserLinksResponseOrBuilder */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -54,51 +33,43 @@ public interface ListUserLinksResponseOrBuilder */ int getUserLinksCount(); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** - * - * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( + 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(); + 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java index 1f59f6496d74..4274948cf299 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A secret value used for sending hits to Measurement Protocol.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.MeasurementProtocolSecret} */ -public final class MeasurementProtocolSecret extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MeasurementProtocolSecret extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.MeasurementProtocolSecret) MeasurementProtocolSecretOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MeasurementProtocolSecret.newBuilder() to construct. private MeasurementProtocolSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MeasurementProtocolSecret() { name_ = ""; displayName_ = ""; @@ -45,46 +27,40 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_MeasurementProtocolSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
-   * 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]; - * * @return The name. */ @java.lang.Override @@ -93,32 +69,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,18 +102,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -147,29 +118,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -178,20 +149,16 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int SECRET_VALUE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object secretValue_ = ""; /** - * - * *
-   * 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]; - * * @return The secretValue. */ @java.lang.Override @@ -200,31 +167,31 @@ public java.lang.String getSecretValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for secretValue. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretValueBytes() { + public com.google.protobuf.ByteString + getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretValue_ = b; return b; } else { @@ -233,7 +200,6 @@ public com.google.protobuf.ByteString getSecretValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -281,17 +248,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.MeasurementProtocolSecret)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other = - (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) obj; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other = (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getSecretValue().equals(other.getSecretValue())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getSecretValue() + .equals(other.getSecretValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -315,136 +284,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( 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.MeasurementProtocolSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A secret value used for sending hits to Measurement Protocol.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.MeasurementProtocolSecret} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.MeasurementProtocolSecret) com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -456,14 +418,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } @@ -478,17 +439,13 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret build() { @java.lang.Override public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret buildPartial() { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result = - new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result = new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -505,39 +462,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.MeasurementProtocolSecret) { - return mergeFrom((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) other); + return mergeFrom((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret)other); } else { super.mergeFrom(other); return this; @@ -545,9 +501,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other) { - if (other - == com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -589,31 +543,27 @@ public Builder mergeFrom( 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: - { - secretValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + secretValue_ = 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) { @@ -623,28 +573,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
-     * 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]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -653,24 +599,22 @@ 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}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -678,41 +622,32 @@ 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}
      * 
* * 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(); - } + 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 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]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -722,24 +657,19 @@ public Builder clearName() { return this; } /** - * - * *
-     * 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]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -749,20 +679,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -771,21 +699,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -793,35 +720,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -831,21 +751,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -855,22 +771,20 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object secretValue_ = ""; /** - * - * *
-     * 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]; - * * @return The secretValue. */ public java.lang.String getSecretValue() { java.lang.Object ref = secretValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; @@ -879,23 +793,22 @@ 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.
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ - public com.google.protobuf.ByteString getSecretValueBytes() { + public com.google.protobuf.ByteString + getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretValue_ = b; return b; } else { @@ -903,39 +816,32 @@ 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.
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return 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
+     * 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]; - * * @return This builder for chaining. */ public Builder clearSecretValue() { @@ -945,32 +851,28 @@ public Builder clearSecretValue() { return 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
+     * 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]; - * * @param value The bytes for secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -980,13 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.MeasurementProtocolSecret) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.MeasurementProtocolSecret) - private static final com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.MeasurementProtocolSecret DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(); } @@ -995,27 +896,27 @@ public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MeasurementProtocolSecret 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MeasurementProtocolSecret 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; @@ -1030,4 +931,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java index e76ac51f4076..ce20bc2e4000 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java @@ -1,110 +1,77 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface MeasurementProtocolSecretOrBuilder - extends +public interface MeasurementProtocolSecretOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.MeasurementProtocolSecret) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * 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]; - * * @return The name. */ 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}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + 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.
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The secretValue. */ 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.
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ - com.google.protobuf.ByteString getSecretValueBytes(); + com.google.protobuf.ByteString + getSecretValueBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java index c3e4eb011908..612b2b169faa 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java @@ -1,82 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * To represent a number.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.NumericValue} */ -public final class NumericValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NumericValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.NumericValue) NumericValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NumericValue.newBuilder() to construct. private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NumericValue() {} + private NumericValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NumericValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.NumericValue.class, - com.google.analytics.admin.v1alpha.NumericValue.Builder.class); + com.google.analytics.admin.v1alpha.NumericValue.class, com.google.analytics.admin.v1alpha.NumericValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), DOUBLE_VALUE(2), ONEVALUE_NOT_SET(0); private final int value; - private OneValueCase(int value) { this.value = value; } @@ -92,36 +71,30 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: - return INT64_VALUE; - case 2: - return DOUBLE_VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; + case 1: return INT64_VALUE; + case 2: return DOUBLE_VALUE; + case 0: return ONEVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -129,14 +102,11 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return The int64Value. */ @java.lang.Override @@ -149,14 +119,11 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -164,14 +131,11 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return The doubleValue. */ @java.lang.Override @@ -183,7 +147,6 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,12 +158,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (oneValueCase_ == 1) { - output.writeInt64(1, (long) ((java.lang.Long) oneValue_)); + output.writeInt64( + 1, (long)((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) oneValue_)); + output.writeDouble( + 2, (double)((java.lang.Double) oneValue_)); } getUnknownFields().writeTo(output); } @@ -212,14 +178,14 @@ public int getSerializedSize() { size = 0; if (oneValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, (long) ((java.lang.Long) oneValue_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 1, (long)((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) oneValue_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 2, (double)((java.lang.Double) oneValue_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,22 +195,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.NumericValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.NumericValue other = - (com.google.analytics.admin.v1alpha.NumericValue) obj; + com.google.analytics.admin.v1alpha.NumericValue other = (com.google.analytics.admin.v1alpha.NumericValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 0: default: @@ -263,14 +230,13 @@ public int hashCode() { switch (oneValueCase_) { case 1: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInt64Value()); break; case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 0: default: @@ -280,136 +246,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.NumericValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * To represent a number.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.NumericValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.NumericValue) com.google.analytics.admin.v1alpha.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.NumericValue.class, - com.google.analytics.admin.v1alpha.NumericValue.Builder.class); + com.google.analytics.admin.v1alpha.NumericValue.class, com.google.analytics.admin.v1alpha.NumericValue.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.NumericValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto - .internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; } @java.lang.Override @@ -441,11 +401,8 @@ public com.google.analytics.admin.v1alpha.NumericValue build() { @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue buildPartial() { - com.google.analytics.admin.v1alpha.NumericValue result = - new com.google.analytics.admin.v1alpha.NumericValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.NumericValue result = new com.google.analytics.admin.v1alpha.NumericValue(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -464,39 +421,38 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.NumericValue public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NumericValue) { - return mergeFrom((com.google.analytics.admin.v1alpha.NumericValue) other); + return mergeFrom((com.google.analytics.admin.v1alpha.NumericValue)other); } else { super.mergeFrom(other); return this; @@ -504,23 +460,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.NumericValue other) { - if (other == com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case ONEVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -548,25 +500,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - oneValue_ = input.readInt64(); - oneValueCase_ = 1; - break; - } // case 8 - case 17: - { - oneValue_ = input.readDouble(); - oneValueCase_ = 2; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + oneValue_ = input.readInt64(); + oneValueCase_ = 1; + break; + } // case 8 + case 17: { + oneValue_ = input.readDouble(); + oneValueCase_ = 2; + break; + } // case 17 + 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) { @@ -576,12 +525,12 @@ public Builder mergeFrom( } // finally return this; } - private int oneValueCase_ = 0; private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public Builder clearOneValue() { @@ -594,28 +543,22 @@ public Builder clearOneValue() { private int bitField0_; /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @return The int64Value. */ public long getInt64Value() { @@ -625,33 +568,27 @@ public long getInt64Value() { return 0L; } /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @param value The int64Value to set. * @return This builder for chaining. */ public Builder setInt64Value(long value) { - + oneValueCase_ = 1; oneValue_ = value; onChanged(); return this; } /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -664,28 +601,22 @@ public Builder clearInt64Value() { } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -695,33 +626,27 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @param value The doubleValue to set. * @return This builder for chaining. */ public Builder setDoubleValue(double value) { - + oneValueCase_ = 2; oneValue_ = value; onChanged(); return this; } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -732,9 +657,9 @@ public Builder clearDoubleValue() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -744,12 +669,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.NumericValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.NumericValue) private static final com.google.analytics.admin.v1alpha.NumericValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.NumericValue(); } @@ -758,27 +683,27 @@ public static com.google.analytics.admin.v1alpha.NumericValue getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -793,4 +718,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.NumericValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java index c2e942f112d5..792c9dd62274 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java @@ -1,74 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface NumericValueOrBuilder - extends +public interface NumericValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.NumericValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return The doubleValue. */ double getDoubleValue(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java index 6583803fc82b..5e99cb8825b1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a Google Analytics GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Property} */ -public final class Property extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Property extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Property) PropertyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Property.newBuilder() to construct. private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Property() { name_ = ""; propertyType_ = 0; @@ -51,37 +33,33 @@ private Property() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Property(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_Property_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Property.class, - com.google.analytics.admin.v1alpha.Property.Builder.class); + com.google.analytics.admin.v1alpha.Property.class, com.google.analytics.admin.v1alpha.Property.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -89,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -98,15 +75,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -114,15 +90,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -133,60 +110,43 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 14; private int propertyType_ = 0; /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
-   * 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.
    * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The propertyType. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = - com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { + com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -194,15 +154,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -210,14 +166,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -227,15 +180,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -243,15 +192,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -259,14 +204,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -274,12 +216,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int PARENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -288,7 +227,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ @java.lang.Override @@ -297,15 +235,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -314,15 +251,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -331,19 +269,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -352,30 +286,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -386,53 +320,39 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 6; private int industryCategory_ = 0; /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override - public int getIndustryCategoryValue() { + @java.lang.Override public int getIndustryCategoryValue() { return industryCategory_; } /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The industryCategory. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1alpha.IndustryCategory result = - com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); - return result == null - ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { + com.google.analytics.admin.v1alpha.IndustryCategory result = com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); + return result == null ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED : result; } public static final int TIME_ZONE_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object timeZone_ = ""; /** - * - * *
-   * 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
@@ -440,7 +360,6 @@ public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory()
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ @java.lang.Override @@ -449,19 +368,18 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** - * - * *
-   * 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
@@ -469,15 +387,16 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -486,12 +405,9 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { } public static final int CURRENCY_CODE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object currencyCode_ = ""; /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -499,7 +415,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ @java.lang.Override @@ -508,15 +423,14 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -524,15 +438,16 @@ public java.lang.String getCurrencyCode() {
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -543,55 +458,40 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { public static final int SERVICE_LEVEL_FIELD_NUMBER = 10; private int serviceLevel_ = 0; /** - * - * *
-   * Output only. The Google Analytics service level that applies to this property.
+   * Output only. The Google Analytics service level that applies to this
+   * property.
    * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override - public int getServiceLevelValue() { + @java.lang.Override public int getServiceLevelValue() { return serviceLevel_; } /** - * - * *
-   * Output only. The Google Analytics service level that applies to this property.
+   * Output only. The Google Analytics service level that applies to this
+   * property.
    * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The serviceLevel. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1alpha.ServiceLevel result = - com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); + @java.lang.Override public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { + com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1alpha.ServiceLevel.UNRECOGNIZED : result; } public static final int DELETE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
-   * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -599,16 +499,12 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -616,15 +512,12 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
-   * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -634,17 +527,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
-   * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -652,17 +541,13 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -670,16 +555,13 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
-   * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -687,22 +569,16 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } public static final int ACCOUNT_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The account. */ @java.lang.Override @@ -711,33 +587,31 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -746,7 +620,6 @@ public com.google.protobuf.ByteString getAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -758,7 +631,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -774,9 +648,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (industryCategory_ - != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED - .getNumber()) { + if (industryCategory_ != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { output.writeEnum(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { @@ -785,8 +657,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, currencyCode_); } - if (serviceLevel_ - != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + if (serviceLevel_ != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(10, serviceLevel_); } if (deleteTime_ != null) { @@ -798,8 +669,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, account_); } - if (propertyType_ - != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(14, propertyType_); } getUnknownFields().writeTo(output); @@ -818,18 +688,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (industryCategory_ - != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, industryCategory_); + if (industryCategory_ != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, timeZone_); @@ -837,22 +708,24 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); } - if (serviceLevel_ - != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, serviceLevel_); + if (serviceLevel_ != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, serviceLevel_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, account_); } - if (propertyType_ - != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, propertyType_); + if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, propertyType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -862,39 +735,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.Property)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.Property other = - (com.google.analytics.admin.v1alpha.Property) obj; + com.google.analytics.admin.v1alpha.Property other = (com.google.analytics.admin.v1alpha.Property) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (propertyType_ != other.propertyType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getParent().equals(other.getParent())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (industryCategory_ != other.industryCategory_) return false; - if (!getTimeZone().equals(other.getTimeZone())) return false; - if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; + if (!getTimeZone() + .equals(other.getTimeZone())) return false; + if (!getCurrencyCode() + .equals(other.getCurrencyCode())) return false; if (serviceLevel_ != other.serviceLevel_) return false; if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -945,136 +827,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.Property parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.Property parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Property parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Property parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Property parseFrom( 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.Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.Property parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Property parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Property parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Property parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.Property parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.Property prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a Google Analytics GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Property} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.Property) com.google.analytics.admin.v1alpha.PropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Property_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Property.class, - com.google.analytics.admin.v1alpha.Property.Builder.class); + com.google.analytics.admin.v1alpha.Property.class, com.google.analytics.admin.v1alpha.Property.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.Property.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1112,9 +988,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_Property_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_descriptor; } @java.lang.Override @@ -1133,11 +1009,8 @@ public com.google.analytics.admin.v1alpha.Property build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Property buildPartial() { - com.google.analytics.admin.v1alpha.Property result = - new com.google.analytics.admin.v1alpha.Property(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.Property result = new com.google.analytics.admin.v1alpha.Property(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1151,10 +1024,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Property result) { result.propertyType_ = propertyType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.parent_ = parent_; @@ -1175,10 +1052,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Property result) { result.serviceLevel_ = serviceLevel_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null + ? deleteTime_ + : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.account_ = account_; @@ -1189,39 +1070,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Property result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.Property) { - return mergeFrom((com.google.analytics.admin.v1alpha.Property) other); + return mergeFrom((com.google.analytics.admin.v1alpha.Property)other); } else { super.mergeFrom(other); return this; @@ -1307,91 +1187,85 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: - { - industryCategory_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - timeZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - currencyCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 66 - case 80: - { - serviceLevel_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: - { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: - { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 112 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: { + industryCategory_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + timeZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + currencyCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 80: { + serviceLevel_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + input.readMessage( + getDeleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 112 + 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) { @@ -1401,13 +1275,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1415,13 +1286,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1430,8 +1301,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1439,14 +1308,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1454,8 +1324,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1463,22 +1331,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + 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 property.
      * Format: properties/{property_id}
@@ -1486,7 +1350,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1496,8 +1359,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1505,14 +1366,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1522,39 +1381,28 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int propertyType_ = 0; /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -1565,41 +1413,30 @@ public Builder setPropertyTypeValue(int value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = - com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The propertyType to set. * @return This builder for chaining. */ @@ -1613,19 +1450,14 @@ public Builder setPropertyType(com.google.analytics.admin.v1alpha.PropertyType v return this; } /** - * - * *
-     * 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.
      * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -1637,58 +1469,39 @@ public Builder clearPropertyType() { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1704,17 +1517,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1725,21 +1535,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1752,15 +1558,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1773,15 +1575,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1789,48 +1587,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1838,58 +1624,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1905,17 +1672,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1926,21 +1690,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1953,15 +1713,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1974,15 +1730,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1990,48 +1742,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2039,8 +1779,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2049,13 +1787,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -2064,8 +1802,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2074,14 +1810,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -2089,8 +1826,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2099,22 +1834,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2123,7 +1854,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -2133,8 +1863,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2143,14 +1871,12 @@ public Builder clearParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @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(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -2160,21 +1886,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2183,22 +1907,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2206,37 +1929,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2246,22 +1962,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -2271,31 +1983,24 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int industryCategory_ = 0; /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override - public int getIndustryCategoryValue() { + @java.lang.Override public int getIndustryCategoryValue() { return industryCategory_; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @param value The enum numeric value on the wire for industryCategory to set. * @return This builder for chaining. */ @@ -2306,35 +2011,26 @@ public Builder setIndustryCategoryValue(int value) { return this; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The industryCategory. */ @java.lang.Override public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1alpha.IndustryCategory result = - com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); - return result == null - ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.IndustryCategory result = com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); + return result == null ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED : result; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @param value The industryCategory to set. * @return This builder for chaining. */ @@ -2348,15 +2044,12 @@ public Builder setIndustryCategory(com.google.analytics.admin.v1alpha.IndustryCa return this; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return This builder for chaining. */ public Builder clearIndustryCategory() { @@ -2368,12 +2061,10 @@ public Builder clearIndustryCategory() { private java.lang.Object timeZone_ = ""; /** - * - * *
-     * 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
@@ -2381,13 +2072,13 @@ public Builder clearIndustryCategory() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -2396,12 +2087,10 @@ 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
@@ -2409,14 +2098,15 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -2424,12 +2114,10 @@ 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
@@ -2437,26 +2125,22 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTimeZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } timeZone_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
-     * 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
@@ -2464,7 +2148,6 @@ public Builder setTimeZone(java.lang.String value) {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -2474,12 +2157,10 @@ public Builder clearTimeZone() { return this; } /** - * - * *
-     * 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
@@ -2487,14 +2168,12 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTimeZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timeZone_ = value; bitField0_ |= 0x00000080; @@ -2504,8 +2183,6 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object currencyCode_ = ""; /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2513,13 +2190,13 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string currency_code = 8; - * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -2528,8 +2205,6 @@ public java.lang.String getCurrencyCode() { } } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2537,14 +2212,15 @@ public java.lang.String getCurrencyCode() {
      * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -2552,8 +2228,6 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { } } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2561,22 +2235,18 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() {
      * 
* * string currency_code = 8; - * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCurrencyCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } currencyCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2584,7 +2254,6 @@ public Builder setCurrencyCode(java.lang.String value) {
      * 
* * string currency_code = 8; - * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -2594,8 +2263,6 @@ public Builder clearCurrencyCode() { return this; } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2603,14 +2270,12 @@ public Builder clearCurrencyCode() {
      * 
* * string currency_code = 8; - * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCurrencyCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); currencyCode_ = value; bitField0_ |= 0x00000100; @@ -2620,33 +2285,24 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { private int serviceLevel_ = 0; /** - * - * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override - public int getServiceLevelValue() { + @java.lang.Override public int getServiceLevelValue() { return serviceLevel_; } /** - * - * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for serviceLevel to set. * @return This builder for chaining. */ @@ -2657,35 +2313,26 @@ public Builder setServiceLevelValue(int value) { return this; } /** - * - * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The serviceLevel. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1alpha.ServiceLevel result = - com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); + com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1alpha.ServiceLevel.UNRECOGNIZED : result; } /** - * - * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The serviceLevel to set. * @return This builder for chaining. */ @@ -2699,16 +2346,12 @@ public Builder setServiceLevel(com.google.analytics.admin.v1alpha.ServiceLevel v return this; } /** - * - * *
-     * Output only. The Google Analytics service level that applies to this property.
+     * Output only. The Google Analytics service level that applies to this
+     * property.
      * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearServiceLevel() { @@ -2720,61 +2363,42 @@ public Builder clearServiceLevel() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
-     * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
-     * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -2790,18 +2414,15 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -2812,22 +2433,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -2840,16 +2457,12 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2862,16 +2475,12 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000400; @@ -2879,50 +2488,38 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -2930,64 +2527,45 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
-     * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
-     * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -3003,19 +2581,16 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -3026,23 +2601,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -3055,17 +2626,13 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3078,17 +2645,13 @@ public Builder clearExpireTime() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000800; @@ -3096,52 +2659,40 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
-     * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -3149,24 +2700,20 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object account_ = ""; /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -3175,25 +2722,22 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -3201,43 +2745,32 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAccount() { @@ -3247,34 +2780,28 @@ public Builder clearAccount() { return this; } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3284,12 +2811,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.Property) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.Property) private static final com.google.analytics.admin.v1alpha.Property DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.Property(); } @@ -3298,27 +2825,27 @@ public static com.google.analytics.admin.v1alpha.Property getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Property 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Property 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; @@ -3333,4 +2860,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java index 5ffc2bd1a551..087044fe6982 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertyOrBuilder - extends +public interface PropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Property) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -33,13 +15,10 @@ public interface PropertyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -47,125 +26,91 @@ public interface PropertyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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.
    * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for propertyType. */ 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.
    * 
* - * - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The propertyType. */ com.google.analytics.admin.v1alpha.PropertyType getPropertyType(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -174,13 +119,10 @@ public interface PropertyOrBuilder
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -189,72 +131,59 @@ public interface PropertyOrBuilder
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * * @return The industryCategory. */ 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
@@ -262,17 +191,14 @@ public interface PropertyOrBuilder
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ 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
@@ -280,14 +206,12 @@ public interface PropertyOrBuilder
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString getTimeZoneBytes(); + com.google.protobuf.ByteString + getTimeZoneBytes(); /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -295,13 +219,10 @@ public interface PropertyOrBuilder
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -309,155 +230,116 @@ public interface PropertyOrBuilder
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); + 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.
    * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for serviceLevel. */ 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.
    * 
* - * - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The serviceLevel. */ 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java index 1dda0fb562af..4e3615da9046 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A virtual resource representing metadata for a GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.PropertySummary} */ -public final class PropertySummary extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PropertySummary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.PropertySummary) PropertySummaryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PropertySummary.newBuilder() to construct. private PropertySummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PropertySummary() { property_ = ""; displayName_ = ""; @@ -46,37 +28,33 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PropertySummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_PropertySummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.PropertySummary.class, - com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); + com.google.analytics.admin.v1alpha.PropertySummary.class, com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ @java.lang.Override @@ -93,15 +70,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -109,15 +85,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -126,18 +103,14 @@ public com.google.protobuf.ByteString getPropertyBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -146,29 +119,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -179,45 +152,33 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 3; private int propertyType_ = 0; /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @return The propertyType. */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = - com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { + com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } public static final int PARENT_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -226,7 +187,6 @@ public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -235,15 +195,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -252,15 +211,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -269,7 +229,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,15 +240,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (propertyType_ - != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { @@ -310,9 +269,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (propertyType_ - != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, propertyType_); + if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, parent_); @@ -325,18 +284,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.PropertySummary)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.PropertySummary other = - (com.google.analytics.admin.v1alpha.PropertySummary) obj; + com.google.analytics.admin.v1alpha.PropertySummary other = (com.google.analytics.admin.v1alpha.PropertySummary) obj; - if (!getProperty().equals(other.getProperty())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (propertyType_ != other.propertyType_) return false; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,135 +323,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( 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.PropertySummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.PropertySummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.PropertySummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.PropertySummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A virtual resource representing metadata for a GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.PropertySummary} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.PropertySummary) com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.PropertySummary.class, - com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); + com.google.analytics.admin.v1alpha.PropertySummary.class, com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.PropertySummary.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +458,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto - .internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; } @java.lang.Override @@ -524,11 +479,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary build() { @java.lang.Override public com.google.analytics.admin.v1alpha.PropertySummary buildPartial() { - com.google.analytics.admin.v1alpha.PropertySummary result = - new com.google.analytics.admin.v1alpha.PropertySummary(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.PropertySummary result = new com.google.analytics.admin.v1alpha.PropertySummary(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,39 +505,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.PropertySummary re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.PropertySummary) { - return mergeFrom((com.google.analytics.admin.v1alpha.PropertySummary) other); + return mergeFrom((com.google.analytics.admin.v1alpha.PropertySummary)other); } else { super.mergeFrom(other); return this; @@ -593,8 +544,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.PropertySummary other) { - if (other == com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -639,37 +589,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -679,13 +624,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -693,13 +635,13 @@ public Builder mergeFrom(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -708,8 +650,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -717,14 +657,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -732,8 +673,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -741,22 +680,18 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProperty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -764,7 +699,6 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearProperty() { @@ -774,8 +708,6 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -783,14 +715,12 @@ public Builder clearProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @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(); - } + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -800,20 +730,18 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -822,21 +750,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -844,35 +771,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -882,21 +802,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -906,29 +822,22 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int propertyType_ = 0; /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -939,31 +848,24 @@ public Builder setPropertyTypeValue(int value) { return this; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = - com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @param value The propertyType to set. * @return This builder for chaining. */ @@ -977,14 +879,11 @@ public Builder setPropertyType(com.google.analytics.admin.v1alpha.PropertyType v return this; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -996,8 +895,6 @@ public Builder clearPropertyType() { private java.lang.Object parent_ = ""; /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1006,13 +903,13 @@ public Builder clearPropertyType() {
      * 
* * string parent = 4; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1021,8 +918,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1031,14 +926,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1046,8 +942,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1056,22 +950,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 4; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1080,7 +970,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 4; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1090,8 +979,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1100,23 +987,21 @@ public Builder clearParent() {
      * 
* * string parent = 4; - * * @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(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.PropertySummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.PropertySummary) private static final com.google.analytics.admin.v1alpha.PropertySummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.PropertySummary(); } @@ -1140,27 +1025,27 @@ public static com.google.analytics.admin.v1alpha.PropertySummary getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertySummary 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertySummary 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; @@ -1175,4 +1060,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.PropertySummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java index 720ce7f52adf..55d0f39848f9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertySummaryOrBuilder - extends +public interface PropertySummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.PropertySummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -33,13 +15,10 @@ public interface PropertySummaryOrBuilder
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -47,64 +26,51 @@ public interface PropertySummaryOrBuilder
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @return The enum numeric value on the wire for propertyType. */ int getPropertyTypeValue(); /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * * @return The propertyType. */ com.google.analytics.admin.v1alpha.PropertyType getPropertyType(); /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -113,13 +79,10 @@ public interface PropertySummaryOrBuilder
    * 
* * string parent = 4; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -128,8 +91,8 @@ public interface PropertySummaryOrBuilder
    * 
* * string parent = 4; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java index 9a554d57a6b8..45a56576c7a3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Types of Property resources.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.PropertyType} */ -public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { +public enum PropertyType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unknown or unspecified property type
    * 
@@ -39,8 +21,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ PROPERTY_TYPE_UNSPECIFIED(0), /** - * - * *
    * Ordinary GA4 property
    * 
@@ -49,8 +29,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ PROPERTY_TYPE_ORDINARY(1), /** - * - * *
    * GA4 subproperty
    * 
@@ -59,8 +37,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ PROPERTY_TYPE_SUBPROPERTY(2), /** - * - * *
    * GA4 rollup property
    * 
@@ -72,8 +48,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unknown or unspecified property type
    * 
@@ -82,8 +56,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Ordinary GA4 property
    * 
@@ -92,8 +64,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_ORDINARY_VALUE = 1; /** - * - * *
    * GA4 subproperty
    * 
@@ -102,8 +72,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_SUBPROPERTY_VALUE = 2; /** - * - * *
    * GA4 rollup property
    * 
@@ -112,6 +80,7 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_ROLLUP_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static PropertyType valueOf(int value) { */ public static PropertyType forNumber(int value) { switch (value) { - case 0: - return PROPERTY_TYPE_UNSPECIFIED; - case 1: - return PROPERTY_TYPE_ORDINARY; - case 2: - return PROPERTY_TYPE_SUBPROPERTY; - case 3: - return PROPERTY_TYPE_ROLLUP; - default: - return null; + case 0: return PROPERTY_TYPE_UNSPECIFIED; + case 1: return PROPERTY_TYPE_ORDINARY; + case 2: return PROPERTY_TYPE_SUBPROPERTY; + case 3: return PROPERTY_TYPE_ROLLUP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PropertyType findValueByNumber(int number) { - return PropertyType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PropertyType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PropertyType findValueByNumber(int number) { + return PropertyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(9); } private static final PropertyType[] VALUES = values(); - public static PropertyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PropertyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,3 +164,4 @@ private PropertyType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.PropertyType) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java index 74d06fe12f43..d15a4854bf64 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketRequest} */ -public final class ProvisionAccountTicketRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionAccountTicketRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) ProvisionAccountTicketRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketRequest.newBuilder() to construct. private ProvisionAccountTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionAccountTicketRequest() { redirectUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionAccountTicketRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ProvisionAccountTicketRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Account account_; /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return Whether the account field is set. */ @java.lang.Override @@ -85,25 +63,18 @@ public boolean hasAccount() { return account_ != null; } /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } /** - * - * *
    * The account to create.
    * 
@@ -112,25 +83,19 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } public static final int REDIRECT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object redirectUri_ = ""; /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ @java.lang.Override @@ -139,30 +104,30 @@ public java.lang.String getRedirectUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; } } /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRedirectUriBytes() { + public com.google.protobuf.ByteString + getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -171,7 +136,6 @@ public com.google.protobuf.ByteString getRedirectUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -200,7 +165,8 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redirectUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, redirectUri_); @@ -213,19 +179,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other = - (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) obj; + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; } - if (!getRedirectUri().equals(other.getRedirectUri())) return false; + if (!getRedirectUri() + .equals(other.getRedirectUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( 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.ProvisionAccountTicketRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance(); } @@ -415,20 +374,18 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest buildPartial() { - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result = - new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); + result.account_ = accountBuilder_ == null + ? account_ + : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.redirectUri_ = redirectUri_; @@ -439,50 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ProvisionAccountTicketRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other) { - if (other - == com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other) { + if (other == com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -517,25 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - redirectUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAccountFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + redirectUri_ = 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) { @@ -545,52 +497,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> - accountBuilder_; + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountBuilder_; /** - * - * *
      * The account to create.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The account to create.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ public com.google.analytics.admin.v1alpha.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** - * - * *
      * The account to create.
      * 
@@ -611,15 +549,14 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * The account to create.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; */ - public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder setAccount( + com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -630,8 +567,6 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder bui return this; } /** - * - * *
      * The account to create.
      * 
@@ -640,9 +575,9 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder bui */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && account_ != null - && account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + account_ != null && + account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -655,8 +590,6 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * The account to create.
      * 
@@ -674,8 +607,6 @@ public Builder clearAccount() { return this; } /** - * - * *
      * The account to create.
      * 
@@ -688,8 +619,6 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** - * - * *
      * The account to create.
      * 
@@ -700,14 +629,11 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? + com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } } /** - * - * *
      * The account to create.
      * 
@@ -715,17 +641,14 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1alpha.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder>( - getAccount(), getParentForChildren(), isClean()); + accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( + getAccount(), + getParentForChildren(), + isClean()); account_ = null; } return accountBuilder_; @@ -733,21 +656,19 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private java.lang.Object redirectUri_ = ""; /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ public java.lang.String getRedirectUri() { java.lang.Object ref = redirectUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; @@ -756,22 +677,21 @@ public java.lang.String getRedirectUri() { } } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ - public com.google.protobuf.ByteString getRedirectUriBytes() { + public com.google.protobuf.ByteString + getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -779,37 +699,30 @@ public com.google.protobuf.ByteString getRedirectUriBytes() { } } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @param value The redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRedirectUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return This builder for chaining. */ public Builder clearRedirectUri() { @@ -819,31 +732,27 @@ public Builder clearRedirectUri() { return this; } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @param value The bytes for redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRedirectUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -853,43 +762,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) - private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketRequest 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; @@ -901,8 +808,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java index 126707fa468c..2342e6903b57 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ProvisionAccountTicketRequestOrBuilder - extends +public interface ProvisionAccountTicketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return Whether the account field is set. */ boolean hasAccount(); /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; - * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** - * - * *
    * The account to create.
    * 
@@ -59,29 +35,24 @@ public interface ProvisionAccountTicketRequestOrBuilder com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ java.lang.String getRedirectUri(); /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ - com.google.protobuf.ByteString getRedirectUriBytes(); + com.google.protobuf.ByteString + getRedirectUriBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java index 7eaa3a8f400d..342fdfe7f384 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java @@ -1,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketResponse} */ -public final class ProvisionAccountTicketResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionAccountTicketResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) ProvisionAccountTicketResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketResponse.newBuilder() to construct. - private ProvisionAccountTicketResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvisionAccountTicketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionAccountTicketResponse() { accountTicketId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionAccountTicketResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_ProvisionAccountTicketResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); } public static final int ACCOUNT_TICKET_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object accountTicketId_ = ""; /** - * - * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; - * * @return The accountTicketId. */ @java.lang.Override @@ -89,29 +65,29 @@ public java.lang.String getAccountTicketId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; } } /** - * - * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; - * * @return The bytes for accountTicketId. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountTicketIdBytes() { + public com.google.protobuf.ByteString + getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -120,7 +96,6 @@ public com.google.protobuf.ByteString getAccountTicketIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountTicketId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountTicketId_); } @@ -156,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other = - (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) obj; + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) obj; - if (!getAccountTicketId().equals(other.getAccountTicketId())) return false; + if (!getAccountTicketId() + .equals(other.getAccountTicketId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,138 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( 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.ProvisionAccountTicketResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - 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.ProvisionAccountTicketResponse 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.ProvisionAccountTicketResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance(); } @@ -347,17 +313,13 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse build() @java.lang.Override public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse buildPartial() { - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result = - new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accountTicketId_ = accountTicketId_; @@ -368,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ProvisionAccountTicketResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other) { - if (other - == com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other) { + if (other == com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance()) return this; if (!other.getAccountTicketId().isEmpty()) { accountTicketId_ = other.accountTicketId_; bitField0_ |= 0x00000001; @@ -443,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - accountTicketId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + accountTicketId_ = 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) { @@ -465,25 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object accountTicketId_ = ""; /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @return The accountTicketId. */ public java.lang.String getAccountTicketId() { java.lang.Object ref = accountTicketId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; @@ -492,21 +445,20 @@ public java.lang.String getAccountTicketId() { } } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @return The bytes for accountTicketId. */ - public com.google.protobuf.ByteString getAccountTicketIdBytes() { + public com.google.protobuf.ByteString + getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -514,35 +466,28 @@ public com.google.protobuf.ByteString getAccountTicketIdBytes() { } } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @param value The accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountTicketId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @return This builder for chaining. */ public Builder clearAccountTicketId() { @@ -552,30 +497,26 @@ public Builder clearAccountTicketId() { return this; } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @param value The bytes for accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountTicketIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) - private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketResponse 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; @@ -633,8 +572,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java new file mode 100644 index 000000000000..1e662a84da34 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java @@ -0,0 +1,29 @@ +// 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 ProvisionAccountTicketResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * @return The accountTicketId. + */ + java.lang.String getAccountTicketId(); + /** + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * @return The bytes for accountTicketId. + */ + com.google.protobuf.ByteString + getAccountTicketIdBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java new file mode 100644 index 000000000000..5acaedcb3cd0 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java @@ -0,0 +1,733 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/resources.proto + +package com.google.analytics.admin.v1alpha; + +public final class ResourcesProto { + private ResourcesProto() {} + 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_Account_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_Property_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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 + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/analytics/admin/v1alpha/resourc" + + "es.proto\022\036google.analytics.admin.v1alpha" + + "\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(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_Account_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_Account_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", }); + internal_static_google_analytics_admin_v1alpha_Property_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_Property_descriptor, + new java.lang.String[] { "Name", "PropertyType", "CreateTime", "UpdateTime", "Parent", "DisplayName", "IndustryCategory", "TimeZone", "CurrencyCode", "ServiceLevel", "DeleteTime", "ExpireTime", "Account", }); + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor, + new java.lang.String[] { "WebStreamData", "AndroidAppStreamData", "IosAppStreamData", "Name", "Type", "DisplayName", "CreateTime", "UpdateTime", "StreamData", }); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor, + new java.lang.String[] { "MeasurementId", "FirebaseAppId", "DefaultUri", }); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor, + new java.lang.String[] { "FirebaseAppId", "PackageName", }); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor, + new java.lang.String[] { "FirebaseAppId", "BundleId", }); + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, + new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", }); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, + new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", }); + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor, + new java.lang.String[] { "Name", "Project", "CreateTime", }); + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor, + new java.lang.String[] { "Name", "Snippet", }); + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor, + new java.lang.String[] { "Name", "CustomerId", "CanManageClients", "AdsPersonalizationEnabled", "CreateTime", "UpdateTime", "CreatorEmailAddress", }); + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor, + new java.lang.String[] { "Name", "SharingWithGoogleSupportEnabled", "SharingWithGoogleAssignedSalesEnabled", "SharingWithGoogleAnySalesEnabled", "SharingWithGoogleProductsEnabled", "SharingWithOthersEnabled", }); + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor, + new java.lang.String[] { "Name", "Account", "DisplayName", "PropertySummaries", }); + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor, + new java.lang.String[] { "Property", "DisplayName", "PropertyType", "Parent", }); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, + new java.lang.String[] { "Name", "DisplayName", "SecretValue", }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor, + new java.lang.String[] { "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor, + new java.lang.String[] { "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor = + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor, + new java.lang.String[] { "Account", "Property", "FirebaseLink", "GoogleAdsLink", "GoogleSignalsSettings", "DisplayVideo360AdvertiserLink", "DisplayVideo360AdvertiserLinkProposal", "ConversionEvent", "MeasurementProtocolSecret", "CustomDimension", "CustomMetric", "DataRetentionSettings", "SearchAds360Link", "DataStream", "AttributionSettings", "ExpandedDataSet", "BigqueryLink", "Resource", }); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor, + new java.lang.String[] { "Name", "AdvertiserId", "AdvertiserDisplayName", "AdsPersonalizationEnabled", "CampaignDataSharingEnabled", "CostDataSharingEnabled", }); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, + new java.lang.String[] { "Name", "AdvertiserId", "LinkProposalStatusDetails", "AdvertiserDisplayName", "ValidationEmail", "AdsPersonalizationEnabled", "CampaignDataSharingEnabled", "CostDataSharingEnabled", }); + 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, + new java.lang.String[] { "LinkProposalInitiatingProduct", "RequestorEmail", "LinkProposalState", }); + internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor = + 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, + new java.lang.String[] { "Name", "EventName", "CreateTime", "Deletable", "Custom", }); + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor = + 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, + new java.lang.String[] { "Name", "State", "Consent", }); + internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor = + 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, + new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "Scope", "DisallowAdsPersonalization", }); + internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor = + 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, + new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "MeasurementUnit", "Scope", "RestrictedMetricType", }); + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor = + 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, + new java.lang.String[] { "Name", "EventDataRetention", "ResetUserDataOnNewActivity", }); + internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor = + 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, + new java.lang.String[] { "Name", "AcquisitionConversionEventLookbackWindow", "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); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.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/RunAccessReportRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java similarity index 80% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java index e75003411c73..9bf1539e4687 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The request for a Data Access Record Report.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportRequest} */ -public final class RunAccessReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunAccessReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.RunAccessReportRequest) RunAccessReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunAccessReportRequest.newBuilder() to construct. private RunAccessReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunAccessReportRequest() { entity_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -48,37 +30,33 @@ private RunAccessReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunAccessReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_RunAccessReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, - com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** - * - * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -86,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string entity = 1; - * * @return The entity. */ @java.lang.Override @@ -95,15 +72,14 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** - * - * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -111,15 +87,16 @@ public java.lang.String getEntity() {
    * 
* * string entity = 1; - * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -128,12 +105,9 @@ public com.google.protobuf.ByteString getEntityBytes() { } public static final int DIMENSIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List dimensions_; /** - * - * *
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -146,8 +120,6 @@ public java.util.List getDim
     return dimensions_;
   }
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -156,13 +128,11 @@ public java.util.List getDim
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDimensionsOrBuilderList() {
     return dimensions_;
   }
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -175,8 +145,6 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -189,8 +157,6 @@ public com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int inde
     return dimensions_.get(index);
   }
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -205,12 +171,9 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
   }
 
   public static final int METRICS_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private java.util.List metrics_;
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -223,8 +186,6 @@ public java.util.List getMetric
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -233,13 +194,11 @@ public java.util.List getMetric
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -252,8 +211,6 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -266,8 +223,6 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -276,17 +231,15 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index) {
+  public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
+      int index) {
     return metrics_.get(index);
   }
 
   public static final int DATE_RANGES_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List dateRanges_;
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -302,8 +255,6 @@ public java.util.List getDat
     return dateRanges_;
   }
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -315,13 +266,11 @@ public java.util.List getDat
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDateRangesOrBuilderList() {
     return dateRanges_;
   }
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -337,8 +286,6 @@ public int getDateRangesCount() {
     return dateRanges_.size();
   }
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -354,8 +301,6 @@ public com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int inde
     return dateRanges_.get(index);
   }
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -375,8 +320,6 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.admin.v1alpha.AccessFilterExpression dimensionFilter_;
   /**
-   *
-   *
    * 
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -386,7 +329,6 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -394,8 +336,6 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** - * - * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -405,18 +345,13 @@ public boolean hasDimensionFilter() {
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter() { - return dimensionFilter_ == null - ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_; } /** - * - * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -428,18 +363,13 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFil
    * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
-      getDimensionFilterOrBuilder() {
-    return dimensionFilter_ == null
-        ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
-        : dimensionFilter_;
+  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder() {
+    return dimensionFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_;
   }
 
   public static final int METRIC_FILTER_FIELD_NUMBER = 6;
   private com.google.analytics.admin.v1alpha.AccessFilterExpression metricFilter_;
   /**
-   *
-   *
    * 
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -448,7 +378,6 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFil
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -456,8 +385,6 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** - * - * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -466,18 +393,13 @@ public boolean hasMetricFilter() {
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter() { - return metricFilter_ == null - ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_; } /** - * - * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -488,18 +410,13 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter
    * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
-      getMetricFilterOrBuilder() {
-    return metricFilter_ == null
-        ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
-        : metricFilter_;
+  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder() {
+    return metricFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_;
   }
 
   public static final int OFFSET_FIELD_NUMBER = 7;
   private long offset_ = 0L;
   /**
-   *
-   *
    * 
    * The row count of the start row. The first row is counted as row 0. If
    * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -509,7 +426,6 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter
    * 
* * int64 offset = 7; - * * @return The offset. */ @java.lang.Override @@ -520,8 +436,6 @@ public long getOffset() { public static final int LIMIT_FIELD_NUMBER = 8; private long limit_ = 0L; /** - * - * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -536,7 +450,6 @@ public long getOffset() {
    * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -545,12 +458,9 @@ public long getLimit() { } public static final int TIME_ZONE_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object timeZone_ = ""; /** - * - * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -561,7 +471,6 @@ public long getLimit() {
    * 
* * string time_zone = 9; - * * @return The timeZone. */ @java.lang.Override @@ -570,15 +479,14 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** - * - * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -589,15 +497,16 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 9; - * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -606,12 +515,9 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { } public static final int ORDER_BYS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private java.util.List orderBys_; /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -623,8 +529,6 @@ public java.util.List getOrder return orderBys_; } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -632,13 +536,11 @@ public java.util.List getOrder * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ @java.lang.Override - public java.util.List + public java.util.List getOrderBysOrBuilderList() { return orderBys_; } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -650,8 +552,6 @@ public int getOrderBysCount() { return orderBys_.size(); } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -663,8 +563,6 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) { return orderBys_.get(index); } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -672,22 +570,20 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) { * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder( + int index) { return orderBys_.get(index); } public static final int RETURN_ENTITY_QUOTA_FIELD_NUMBER = 11; private boolean returnEntityQuota_ = false; /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [AccessQuota](#AccessQuota).
    * 
* * bool return_entity_quota = 11; - * * @return The returnEntityQuota. */ @java.lang.Override @@ -696,7 +592,6 @@ public boolean getReturnEntityQuota() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -708,7 +603,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } @@ -755,34 +651,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, dateRanges_.get(i)); } if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDimensionFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDimensionFilter()); } if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetricFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMetricFilter()); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, offset_); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, limit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, timeZone_); } for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, orderBys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, orderBys_.get(i)); } if (returnEntityQuota_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, returnEntityQuota_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, returnEntityQuota_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -792,31 +697,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.RunAccessReportRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.RunAccessReportRequest other = - (com.google.analytics.admin.v1alpha.RunAccessReportRequest) obj; + com.google.analytics.admin.v1alpha.RunAccessReportRequest other = (com.google.analytics.admin.v1alpha.RunAccessReportRequest) obj; - if (!getEntity().equals(other.getEntity())) return false; - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!getDateRangesList().equals(other.getDateRangesList())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; + if (!getDimensionsList() + .equals(other.getDimensionsList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; + if (!getDateRangesList() + .equals(other.getDateRangesList())) return false; if (hasDimensionFilter() != other.hasDimensionFilter()) return false; if (hasDimensionFilter()) { - if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; + if (!getDimensionFilter() + .equals(other.getDimensionFilter())) return false; } if (hasMetricFilter() != other.hasMetricFilter()) return false; if (hasMetricFilter()) { - if (!getMetricFilter().equals(other.getMetricFilter())) return false; - } - if (getOffset() != other.getOffset()) return false; - if (getLimit() != other.getLimit()) return false; - if (!getTimeZone().equals(other.getTimeZone())) return false; - if (!getOrderBysList().equals(other.getOrderBysList())) return false; - if (getReturnEntityQuota() != other.getReturnEntityQuota()) return false; + if (!getMetricFilter() + .equals(other.getMetricFilter())) return false; + } + if (getOffset() + != other.getOffset()) return false; + if (getLimit() + != other.getLimit()) return false; + if (!getTimeZone() + .equals(other.getTimeZone())) return false; + if (!getOrderBysList() + .equals(other.getOrderBysList())) return false; + if (getReturnEntityQuota() + != other.getReturnEntityQuota()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -851,9 +766,11 @@ public int hashCode() { hash = (53 * hash) + getMetricFilter().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLimit()); hash = (37 * hash) + TIME_ZONE_FIELD_NUMBER; hash = (53 * hash) + getTimeZone().hashCode(); if (getOrderBysCount() > 0) { @@ -861,143 +778,137 @@ public int hashCode() { hash = (53 * hash) + getOrderBysList().hashCode(); } hash = (37 * hash) + RETURN_ENTITY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnEntityQuota()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReturnEntityQuota()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.RunAccessReportRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.RunAccessReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for a Data Access Record Report.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.RunAccessReportRequest) com.google.analytics.admin.v1alpha.RunAccessReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, - com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.RunAccessReportRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1049,9 +960,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; } @java.lang.Override @@ -1070,18 +981,14 @@ public com.google.analytics.admin.v1alpha.RunAccessReportRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.RunAccessReportRequest buildPartial() { - com.google.analytics.admin.v1alpha.RunAccessReportRequest result = - new com.google.analytics.admin.v1alpha.RunAccessReportRequest(this); + com.google.analytics.admin.v1alpha.RunAccessReportRequest result = new com.google.analytics.admin.v1alpha.RunAccessReportRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.RunAccessReportRequest result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.RunAccessReportRequest result) { if (dimensionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -1126,12 +1033,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportReq result.entity_ = entity_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.dimensionFilter_ = - dimensionFilterBuilder_ == null ? dimensionFilter_ : dimensionFilterBuilder_.build(); + result.dimensionFilter_ = dimensionFilterBuilder_ == null + ? dimensionFilter_ + : dimensionFilterBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.metricFilter_ = - metricFilterBuilder_ == null ? metricFilter_ : metricFilterBuilder_.build(); + result.metricFilter_ = metricFilterBuilder_ == null + ? metricFilter_ + : metricFilterBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.offset_ = offset_; @@ -1151,39 +1060,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.RunAccessReportRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportRequest)other); } else { super.mergeFrom(other); return this; @@ -1191,8 +1099,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRequest other) { - if (other == com.google.analytics.admin.v1alpha.RunAccessReportRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.RunAccessReportRequest.getDefaultInstance()) return this; if (!other.getEntity().isEmpty()) { entity_ = other.entity_; bitField0_ |= 0x00000001; @@ -1216,10 +1123,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000002); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1243,10 +1149,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000004); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1270,10 +1175,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque dateRangesBuilder_ = null; dateRanges_ = other.dateRanges_; bitField0_ = (bitField0_ & ~0x00000008); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDateRangesFieldBuilder() - : null; + dateRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDateRangesFieldBuilder() : null; } else { dateRangesBuilder_.addAllMessages(other.dateRanges_); } @@ -1314,10 +1218,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000200); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderBysFieldBuilder() - : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrderBysFieldBuilder() : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -1352,111 +1255,103 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.analytics.admin.v1alpha.AccessDimension m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDimension.parser(), - extensionRegistry); - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(m); - } else { - dimensionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.analytics.admin.v1alpha.AccessMetric m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessMetric.parser(), - extensionRegistry); - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(m); - } else { - metricsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.analytics.admin.v1alpha.AccessDateRange m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDateRange.parser(), - extensionRegistry); - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.add(m); - } else { - dateRangesBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - input.readMessage(getDimensionFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getMetricFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: - { - offset_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: - { - limit_ = input.readInt64(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 74: - { - timeZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: - { - com.google.analytics.admin.v1alpha.AccessOrderBy m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessOrderBy.parser(), - extensionRegistry); - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(m); - } else { - orderBysBuilder_.addMessage(m); - } - break; - } // case 82 - case 88: - { - returnEntityQuota_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.analytics.admin.v1alpha.AccessDimension m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDimension.parser(), + extensionRegistry); + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.add(m); + } else { + dimensionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.analytics.admin.v1alpha.AccessMetric m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessMetric.parser(), + extensionRegistry); + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(m); + } else { + metricsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.analytics.admin.v1alpha.AccessDateRange m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDateRange.parser(), + extensionRegistry); + if (dateRangesBuilder_ == null) { + ensureDateRangesIsMutable(); + dateRanges_.add(m); + } else { + dateRangesBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + input.readMessage( + getDimensionFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getMetricFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + offset_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: { + limit_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: { + timeZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + com.google.analytics.admin.v1alpha.AccessOrderBy m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessOrderBy.parser(), + extensionRegistry); + if (orderBysBuilder_ == null) { + ensureOrderBysIsMutable(); + orderBys_.add(m); + } else { + orderBysBuilder_.addMessage(m); + } + break; + } // case 82 + case 88: { + returnEntityQuota_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + 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) { @@ -1466,13 +1361,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object entity_ = ""; /** - * - * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1480,13 +1372,13 @@ public Builder mergeFrom(
      * 
* * string entity = 1; - * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -1495,8 +1387,6 @@ public java.lang.String getEntity() { } } /** - * - * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1504,14 +1394,15 @@ public java.lang.String getEntity() {
      * 
* * string entity = 1; - * * @return The bytes for entity. */ - public com.google.protobuf.ByteString getEntityBytes() { + public com.google.protobuf.ByteString + getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entity_ = b; return b; } else { @@ -1519,8 +1410,6 @@ public com.google.protobuf.ByteString getEntityBytes() { } } /** - * - * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1528,22 +1417,18 @@ public com.google.protobuf.ByteString getEntityBytes() {
      * 
* * string entity = 1; - * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1551,7 +1436,6 @@ public Builder setEntity(java.lang.String value) {
      * 
* * string entity = 1; - * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1561,8 +1445,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1570,14 +1452,12 @@ public Builder clearEntity() {
      * 
* * string entity = 1; - * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000001; @@ -1586,26 +1466,18 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { } private java.util.List dimensions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dimensions_ = - new java.util.ArrayList( - dimensions_); + dimensions_ = new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimension, - com.google.analytics.admin.v1alpha.AccessDimension.Builder, - com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder> - dimensionsBuilder_; + com.google.analytics.admin.v1alpha.AccessDimension, com.google.analytics.admin.v1alpha.AccessDimension.Builder, com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder> dimensionsBuilder_; /** - * - * *
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1621,8 +1493,6 @@ public java.util.List getDim
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1638,8 +1508,6 @@ public int getDimensionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1655,8 +1523,6 @@ public com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1679,8 +1545,6 @@ public Builder setDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1700,8 +1564,6 @@ public Builder setDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1723,8 +1585,6 @@ public Builder addDimensions(com.google.analytics.admin.v1alpha.AccessDimension
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1747,8 +1607,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1768,8 +1626,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1789,8 +1645,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1802,7 +1656,8 @@ public Builder addAllDimensions(
         java.lang.Iterable values) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dimensions_);
         onChanged();
       } else {
         dimensionsBuilder_.addAllMessages(values);
@@ -1810,8 +1665,6 @@ public Builder addAllDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1830,8 +1683,6 @@ public Builder clearDimensions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1850,8 +1701,6 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1864,8 +1713,6 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder getDimensionsB
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1876,14 +1723,11 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder getDimensionsB
     public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(
         int index) {
       if (dimensionsBuilder_ == null) {
-        return dimensions_.get(index);
-      } else {
+        return dimensions_.get(index);  } else {
         return dimensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1891,8 +1735,8 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
      *
      * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
      */
-    public java.util.List
-        getDimensionsOrBuilderList() {
+    public java.util.List 
+         getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1900,8 +1744,6 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1910,12 +1752,10 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
      * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
      */
     public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
+      return getDimensionsFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1925,13 +1765,10 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsB
      */
     public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsBuilder(
         int index) {
-      return getDimensionsFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
+      return getDimensionsFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1939,48 +1776,38 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsB
      *
      * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
      */
-    public java.util.List
-        getDimensionsBuilderList() {
+    public java.util.List 
+         getDimensionsBuilderList() {
       return getDimensionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessDimension,
-            com.google.analytics.admin.v1alpha.AccessDimension.Builder,
-            com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessDimension, com.google.analytics.admin.v1alpha.AccessDimension.Builder, com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder> 
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessDimension,
-                com.google.analytics.admin.v1alpha.AccessDimension.Builder,
-                com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>(
-                dimensions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessDimension, com.google.analytics.admin.v1alpha.AccessDimension.Builder, com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>(
+                dimensions_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         dimensions_ = null;
       }
       return dimensionsBuilder_;
     }
 
     private java.util.List metrics_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMetricsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        metrics_ =
-            new java.util.ArrayList(metrics_);
+        metrics_ = new java.util.ArrayList(metrics_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessMetric,
-            com.google.analytics.admin.v1alpha.AccessMetric.Builder,
-            com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>
-        metricsBuilder_;
+        com.google.analytics.admin.v1alpha.AccessMetric, com.google.analytics.admin.v1alpha.AccessMetric.Builder, com.google.analytics.admin.v1alpha.AccessMetricOrBuilder> metricsBuilder_;
 
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1996,8 +1823,6 @@ public java.util.List getMetric
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2013,8 +1838,6 @@ public int getMetricsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2030,8 +1853,6 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2039,7 +1860,8 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public Builder setMetrics(int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
+    public Builder setMetrics(
+        int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2053,8 +1875,6 @@ public Builder setMetrics(int index, com.google.analytics.admin.v1alpha.AccessMe
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2074,8 +1894,6 @@ public Builder setMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2097,8 +1915,6 @@ public Builder addMetrics(com.google.analytics.admin.v1alpha.AccessMetric value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2106,7 +1922,8 @@ public Builder addMetrics(com.google.analytics.admin.v1alpha.AccessMetric value)
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public Builder addMetrics(int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
+    public Builder addMetrics(
+        int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2120,8 +1937,6 @@ public Builder addMetrics(int index, com.google.analytics.admin.v1alpha.AccessMe
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2141,8 +1956,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2162,8 +1975,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2175,7 +1986,8 @@ public Builder addAllMetrics(
         java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -2183,8 +1995,6 @@ public Builder addAllMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2203,8 +2013,6 @@ public Builder clearMetrics() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2223,8 +2031,6 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2232,12 +2038,11 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1alpha.AccessMetric.Builder getMetricsBuilder(int index) {
+    public com.google.analytics.admin.v1alpha.AccessMetric.Builder getMetricsBuilder(
+        int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2245,16 +2050,14 @@ public com.google.analytics.admin.v1alpha.AccessMetric.Builder getMetricsBuilder
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index) {
+    public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
+        int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);
-      } else {
+        return metrics_.get(index);  } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2262,8 +2065,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuil
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public java.util.List
-        getMetricsOrBuilderList() {
+    public java.util.List 
+         getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2271,8 +2074,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2281,12 +2082,10 @@ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuil
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
     public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
+      return getMetricsFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2294,13 +2093,12 @@ public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder(int index) {
-      return getMetricsFieldBuilder()
-          .addBuilder(index, com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
+    public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder(
+        int index) {
+      return getMetricsFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2308,49 +2106,38 @@ public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public java.util.List
-        getMetricsBuilderList() {
+    public java.util.List 
+         getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessMetric,
-            com.google.analytics.admin.v1alpha.AccessMetric.Builder,
-            com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessMetric, com.google.analytics.admin.v1alpha.AccessMetric.Builder, com.google.analytics.admin.v1alpha.AccessMetricOrBuilder> 
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessMetric,
-                com.google.analytics.admin.v1alpha.AccessMetric.Builder,
-                com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>(
-                metrics_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessMetric, com.google.analytics.admin.v1alpha.AccessMetric.Builder, com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>(
+                metrics_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List dateRanges_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDateRangesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        dateRanges_ =
-            new java.util.ArrayList(
-                dateRanges_);
+        dateRanges_ = new java.util.ArrayList(dateRanges_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessDateRange,
-            com.google.analytics.admin.v1alpha.AccessDateRange.Builder,
-            com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>
-        dateRangesBuilder_;
+        com.google.analytics.admin.v1alpha.AccessDateRange, com.google.analytics.admin.v1alpha.AccessDateRange.Builder, com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder> dateRangesBuilder_;
 
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2369,8 +2156,6 @@ public java.util.List getDat
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2389,8 +2174,6 @@ public int getDateRangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2409,8 +2192,6 @@ public com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int inde
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2436,8 +2217,6 @@ public Builder setDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2460,8 +2239,6 @@ public Builder setDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2486,8 +2263,6 @@ public Builder addDateRanges(com.google.analytics.admin.v1alpha.AccessDateRange
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2513,8 +2288,6 @@ public Builder addDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2537,8 +2310,6 @@ public Builder addDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2561,8 +2332,6 @@ public Builder addDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2577,7 +2346,8 @@ public Builder addAllDateRanges(
         java.lang.Iterable values) {
       if (dateRangesBuilder_ == null) {
         ensureDateRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dateRanges_);
         onChanged();
       } else {
         dateRangesBuilder_.addAllMessages(values);
@@ -2585,8 +2355,6 @@ public Builder addAllDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2608,8 +2376,6 @@ public Builder clearDateRanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2631,8 +2397,6 @@ public Builder removeDateRanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2648,8 +2412,6 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder getDateRangesB
       return getDateRangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2663,14 +2425,11 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder getDateRangesB
     public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(
         int index) {
       if (dateRangesBuilder_ == null) {
-        return dateRanges_.get(index);
-      } else {
+        return dateRanges_.get(index);  } else {
         return dateRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2681,8 +2440,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
      *
      * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
      */
-    public java.util.List
-        getDateRangesOrBuilderList() {
+    public java.util.List 
+         getDateRangesOrBuilderList() {
       if (dateRangesBuilder_ != null) {
         return dateRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2690,8 +2449,6 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2703,12 +2460,10 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
      * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
      */
     public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesBuilder() {
-      return getDateRangesFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2721,13 +2476,10 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
      */
     public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesBuilder(
         int index) {
-      return getDateRangesFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2738,23 +2490,20 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
      *
      * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
      */
-    public java.util.List
-        getDateRangesBuilderList() {
+    public java.util.List 
+         getDateRangesBuilderList() {
       return getDateRangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessDateRange,
-            com.google.analytics.admin.v1alpha.AccessDateRange.Builder,
-            com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessDateRange, com.google.analytics.admin.v1alpha.AccessDateRange.Builder, com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder> 
         getDateRangesFieldBuilder() {
       if (dateRangesBuilder_ == null) {
-        dateRangesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessDateRange,
-                com.google.analytics.admin.v1alpha.AccessDateRange.Builder,
-                com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>(
-                dateRanges_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        dateRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessDateRange, com.google.analytics.admin.v1alpha.AccessDateRange.Builder, com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>(
+                dateRanges_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         dateRanges_ = null;
       }
       return dateRangesBuilder_;
@@ -2762,13 +2511,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
 
     private com.google.analytics.admin.v1alpha.AccessFilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilterExpression,
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
-            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
-        dimensionFilterBuilder_;
+        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> dimensionFilterBuilder_;
     /**
-     *
-     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2778,15 +2522,12 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2796,21 +2537,16 @@ public boolean hasDimensionFilter() {
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * * @return The dimensionFilter. */ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null - ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** - * - * *
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2821,8 +2557,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFil
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public Builder setDimensionFilter(
-        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder setDimensionFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (dimensionFilterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2836,8 +2571,6 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2860,8 +2593,6 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2872,13 +2603,11 @@ public Builder setDimensionFilter(
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public Builder mergeDimensionFilter(
-        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder mergeDimensionFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (dimensionFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && dimensionFilter_ != null
-            && dimensionFilter_
-                != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          dimensionFilter_ != null &&
+          dimensionFilter_ != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
           getDimensionFilterBuilder().mergeFrom(value);
         } else {
           dimensionFilter_ = value;
@@ -2891,8 +2620,6 @@ public Builder mergeDimensionFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2914,8 +2641,6 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2926,15 +2651,12 @@ public Builder clearDimensionFilter() {
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
-        getDimensionFilterBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getDimensionFilterBuilder() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2945,19 +2667,15 @@ public Builder clearDimensionFilter() {
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
-        getDimensionFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null
-            ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
-            : dimensionFilter_;
+        return dimensionFilter_ == null ?
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2969,17 +2687,14 @@ public Builder clearDimensionFilter() {
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilterExpression,
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
-            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> 
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessFilterExpression,
-                com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
-                com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
-                getDimensionFilter(), getParentForChildren(), isClean());
+        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
+                getDimensionFilter(),
+                getParentForChildren(),
+                isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -2987,13 +2702,8 @@ public Builder clearDimensionFilter() {
 
     private com.google.analytics.admin.v1alpha.AccessFilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilterExpression,
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
-            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
-        metricFilterBuilder_;
+        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> metricFilterBuilder_;
     /**
-     *
-     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3002,15 +2712,12 @@ public Builder clearDimensionFilter() {
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3019,21 +2726,16 @@ public boolean hasMetricFilter() {
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * * @return The metricFilter. */ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null - ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** - * - * *
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3043,8 +2745,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public Builder setMetricFilter(
-        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder setMetricFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (metricFilterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3058,8 +2759,6 @@ public Builder setMetricFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3081,8 +2780,6 @@ public Builder setMetricFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3092,13 +2789,11 @@ public Builder setMetricFilter(
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public Builder mergeMetricFilter(
-        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder mergeMetricFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (metricFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && metricFilter_ != null
-            && metricFilter_
-                != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          metricFilter_ != null &&
+          metricFilter_ != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
           getMetricFilterBuilder().mergeFrom(value);
         } else {
           metricFilter_ = value;
@@ -3111,8 +2806,6 @@ public Builder mergeMetricFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3133,8 +2826,6 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3144,15 +2835,12 @@ public Builder clearMetricFilter() {
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
-        getMetricFilterBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getMetricFilterBuilder() {
       bitField0_ |= 0x00000020;
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3162,19 +2850,15 @@ public Builder clearMetricFilter() {
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
-        getMetricFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder() {
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null
-            ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
-            : metricFilter_;
+        return metricFilter_ == null ?
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -3185,26 +2869,21 @@ public Builder clearMetricFilter() {
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilterExpression,
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
-            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> 
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessFilterExpression,
-                com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
-                com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
-                getMetricFilter(), getParentForChildren(), isClean());
+        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
+                getMetricFilter(),
+                getParentForChildren(),
+                isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
     }
 
-    private long offset_;
+    private long offset_ ;
     /**
-     *
-     *
      * 
      * The row count of the start row. The first row is counted as row 0. If
      * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -3214,7 +2893,6 @@ public Builder clearMetricFilter() {
      * 
* * int64 offset = 7; - * * @return The offset. */ @java.lang.Override @@ -3222,8 +2900,6 @@ public long getOffset() { return offset_; } /** - * - * *
      * The row count of the start row. The first row is counted as row 0. If
      * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -3233,20 +2909,17 @@ public long getOffset() {
      * 
* * int64 offset = 7; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The row count of the start row. The first row is counted as row 0. If
      * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -3256,7 +2929,6 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 7; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -3266,10 +2938,8 @@ public Builder clearOffset() { return this; } - private long limit_; + private long limit_ ; /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3284,7 +2954,6 @@ public Builder clearOffset() {
      * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -3292,8 +2961,6 @@ public long getLimit() { return limit_; } /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3308,20 +2975,17 @@ public long getLimit() {
      * 
* * int64 limit = 8; - * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3336,7 +3000,6 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; - * * @return This builder for chaining. */ public Builder clearLimit() { @@ -3348,8 +3011,6 @@ public Builder clearLimit() { private java.lang.Object timeZone_ = ""; /** - * - * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3360,13 +3021,13 @@ public Builder clearLimit() {
      * 
* * string time_zone = 9; - * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -3375,8 +3036,6 @@ public java.lang.String getTimeZone() { } } /** - * - * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3387,14 +3046,15 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 9; - * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -3402,8 +3062,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { } } /** - * - * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3414,22 +3072,18 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
      * 
* * string time_zone = 9; - * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTimeZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } timeZone_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3440,7 +3094,6 @@ public Builder setTimeZone(java.lang.String value) {
      * 
* * string time_zone = 9; - * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -3450,8 +3103,6 @@ public Builder clearTimeZone() { return this; } /** - * - * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3462,14 +3113,12 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 9; - * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTimeZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timeZone_ = value; bitField0_ |= 0x00000100; @@ -3478,25 +3127,18 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { } private java.util.List orderBys_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { - orderBys_ = - new java.util.ArrayList(orderBys_); + orderBys_ = new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> - orderBysBuilder_; + com.google.analytics.admin.v1alpha.AccessOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> orderBysBuilder_; /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3511,8 +3153,6 @@ public java.util.List getOrder } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3527,8 +3167,6 @@ public int getOrderBysCount() { } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3543,15 +3181,14 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) { } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public Builder setOrderBys(int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { + public Builder setOrderBys( + int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3565,8 +3202,6 @@ public Builder setOrderBys(int index, com.google.analytics.admin.v1alpha.AccessO return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3585,8 +3220,6 @@ public Builder setOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3607,15 +3240,14 @@ public Builder addOrderBys(com.google.analytics.admin.v1alpha.AccessOrderBy valu return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public Builder addOrderBys(int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { + public Builder addOrderBys( + int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3629,8 +3261,6 @@ public Builder addOrderBys(int index, com.google.analytics.admin.v1alpha.AccessO return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3649,8 +3279,6 @@ public Builder addOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3669,8 +3297,6 @@ public Builder addOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3681,7 +3307,8 @@ public Builder addAllOrderBys( java.lang.Iterable values) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, orderBys_); onChanged(); } else { orderBysBuilder_.addAllMessages(values); @@ -3689,8 +3316,6 @@ public Builder addAllOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3708,8 +3333,6 @@ public Builder clearOrderBys() { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3727,20 +3350,17 @@ public Builder removeOrderBys(int index) { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder getOrderBysBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder getOrderBysBuilder( + int index) { return getOrderBysFieldBuilder().getBuilder(index); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3750,22 +3370,19 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder getOrderBysBuild public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder( int index) { if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { + return orderBys_.get(index); } else { return orderBysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public java.util.List - getOrderBysOrBuilderList() { + public java.util.List + getOrderBysOrBuilderList() { if (orderBysBuilder_ != null) { return orderBysBuilder_.getMessageOrBuilderList(); } else { @@ -3773,8 +3390,6 @@ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBu } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3782,64 +3397,55 @@ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBu * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); + return getOrderBysFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder(int index) { - return getOrderBysFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder( + int index) { + return getOrderBysFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public java.util.List - getOrderBysBuilderList() { + public java.util.List + getOrderBysBuilderList() { return getOrderBysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> + com.google.analytics.admin.v1alpha.AccessOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> getOrderBysFieldBuilder() { if (orderBysBuilder_ == null) { - orderBysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy, - com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, - com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder>( - orderBys_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); + orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder>( + orderBys_, + ((bitField0_ & 0x00000200) != 0), + getParentForChildren(), + isClean()); orderBys_ = null; } return orderBysBuilder_; } - private boolean returnEntityQuota_; + private boolean returnEntityQuota_ ; /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota).
      * 
* * bool return_entity_quota = 11; - * * @return The returnEntityQuota. */ @java.lang.Override @@ -3847,35 +3453,29 @@ public boolean getReturnEntityQuota() { return returnEntityQuota_; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota).
      * 
* * bool return_entity_quota = 11; - * * @param value The returnEntityQuota to set. * @return This builder for chaining. */ public Builder setReturnEntityQuota(boolean value) { - + returnEntityQuota_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota).
      * 
* * bool return_entity_quota = 11; - * * @return This builder for chaining. */ public Builder clearReturnEntityQuota() { @@ -3884,9 +3484,9 @@ public Builder clearReturnEntityQuota() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3896,12 +3496,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.RunAccessReportRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.RunAccessReportRequest) private static final com.google.analytics.admin.v1alpha.RunAccessReportRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.RunAccessReportRequest(); } @@ -3910,27 +3510,27 @@ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunAccessReportRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunAccessReportRequest 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; @@ -3945,4 +3545,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.RunAccessReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java similarity index 90% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java index a5181e0abd9b..02a54f470f96 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface RunAccessReportRequestOrBuilder - extends +public interface RunAccessReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.RunAccessReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -33,13 +15,10 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * string entity = 1; - * * @return The entity. */ java.lang.String getEntity(); /** - * - * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -47,14 +26,12 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * string entity = 1; - * * @return The bytes for entity. */ - com.google.protobuf.ByteString getEntityBytes(); + com.google.protobuf.ByteString + getEntityBytes(); /** - * - * *
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -62,10 +39,9 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
-  java.util.List getDimensionsList();
+  java.util.List 
+      getDimensionsList();
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -75,8 +51,6 @@ public interface RunAccessReportRequestOrBuilder
    */
   com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int index);
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -86,8 +60,6 @@ public interface RunAccessReportRequestOrBuilder
    */
   int getDimensionsCount();
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -95,11 +67,9 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
-  java.util.List
+  java.util.List 
       getDimensionsOrBuilderList();
   /**
-   *
-   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -107,11 +77,10 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
-  com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -119,10 +88,9 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
-  java.util.List getMetricsList();
+  java.util.List 
+      getMetricsList();
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -132,8 +100,6 @@ public interface RunAccessReportRequestOrBuilder
    */
   com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index);
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -143,8 +109,6 @@ public interface RunAccessReportRequestOrBuilder
    */
   int getMetricsCount();
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -152,11 +116,9 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
-  java.util.List
+  java.util.List 
       getMetricsOrBuilderList();
   /**
-   *
-   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -164,11 +126,10 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
-  com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -179,10 +140,9 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
-  java.util.List getDateRangesList();
+  java.util.List 
+      getDateRangesList();
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -195,8 +155,6 @@ public interface RunAccessReportRequestOrBuilder
    */
   com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int index);
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -209,8 +167,6 @@ public interface RunAccessReportRequestOrBuilder
    */
   int getDateRangesCount();
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -221,11 +177,9 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
-  java.util.List
+  java.util.List 
       getDateRangesOrBuilderList();
   /**
-   *
-   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -236,11 +190,10 @@ public interface RunAccessReportRequestOrBuilder
    *
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
-  com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(int index);
+  com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -250,13 +203,10 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** - * - * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -266,13 +216,10 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * * @return The dimensionFilter. */ com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter(); /** - * - * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -286,8 +233,6 @@ public interface RunAccessReportRequestOrBuilder
   com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -296,13 +241,10 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** - * - * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -311,13 +253,10 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * * @return The metricFilter. */ com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter(); /** - * - * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -330,8 +269,6 @@ public interface RunAccessReportRequestOrBuilder
   com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The row count of the start row. The first row is counted as row 0. If
    * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -341,14 +278,11 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * int64 offset = 7; - * * @return The offset. */ long getOffset(); /** - * - * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -363,14 +297,11 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * int64 limit = 8; - * * @return The limit. */ long getLimit(); /** - * - * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -381,13 +312,10 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * string time_zone = 9; - * * @return The timeZone. */ java.lang.String getTimeZone(); /** - * - * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -398,24 +326,21 @@ public interface RunAccessReportRequestOrBuilder
    * 
* * string time_zone = 9; - * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString getTimeZoneBytes(); + com.google.protobuf.ByteString + getTimeZoneBytes(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - java.util.List getOrderBysList(); + java.util.List + getOrderBysList(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -424,8 +349,6 @@ public interface RunAccessReportRequestOrBuilder */ com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -434,37 +357,31 @@ public interface RunAccessReportRequestOrBuilder */ int getOrderBysCount(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - java.util.List + java.util.List getOrderBysOrBuilderList(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(int index); + com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder( + int index); /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [AccessQuota](#AccessQuota).
    * 
* * bool return_entity_quota = 11; - * * @return The returnEntityQuota. */ boolean getReturnEntityQuota(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java similarity index 76% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java index eff9875f3ca6..f3dc642fdda2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * The customized Data Access Record Report response.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportResponse} */ -public final class RunAccessReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunAccessReportResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.RunAccessReportResponse) RunAccessReportResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunAccessReportResponse.newBuilder() to construct. private RunAccessReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunAccessReportResponse() { dimensionHeaders_ = java.util.Collections.emptyList(); metricHeaders_ = java.util.Collections.emptyList(); @@ -45,126 +27,104 @@ private RunAccessReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunAccessReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_RunAccessReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, - com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); } public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - dimensionHeaders_; + private java.util.List dimensionHeaders_; /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ @java.lang.Override - public java.util.List - getDimensionHeadersList() { + public java.util.List getDimensionHeadersList() { return dimensionHeaders_; } /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionHeadersOrBuilderList() { return dimensionHeaders_; } /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ @java.lang.Override public int getDimensionHeadersCount() { return dimensionHeaders_.size(); } /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHeaders(int index) { return dimensionHeaders_.get(index); } /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder - getDimensionHeadersOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( + int index) { return dimensionHeaders_.get(index); } public static final int METRIC_HEADERS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List metricHeaders_; /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -174,13 +134,10 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHead
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getMetricHeadersList() {
+  public java.util.List getMetricHeadersList() {
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -190,13 +147,11 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHead
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -210,8 +165,6 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -225,8 +178,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader getMetricHeaders(in
     return metricHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -242,12 +193,9 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
   }
 
   public static final int ROWS_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private java.util.List rows_;
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -259,8 +207,6 @@ public java.util.List getRowsList( return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -268,13 +214,11 @@ public java.util.List getRowsList( * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -286,8 +230,6 @@ public int getRowsCount() { return rows_.size(); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -299,8 +241,6 @@ public com.google.analytics.admin.v1alpha.AccessRow getRows(int index) { return rows_.get(index); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -308,15 +248,14 @@ public com.google.analytics.admin.v1alpha.AccessRow getRows(int index) { * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( + int index) { return rows_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 4; private int rowCount_ = 0; /** - * - * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -328,7 +267,6 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(in
    * 
* * int32 row_count = 4; - * * @return The rowCount. */ @java.lang.Override @@ -339,14 +277,11 @@ public int getRowCount() { public static final int QUOTA_FIELD_NUMBER = 5; private com.google.analytics.admin.v1alpha.AccessQuota quota_; /** - * - * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * * @return Whether the quota field is set. */ @java.lang.Override @@ -354,25 +289,18 @@ public boolean hasQuota() { return quota_ != null; } /** - * - * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * * @return The quota. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuota getQuota() { - return quota_ == null - ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() - : quota_; + return quota_ == null ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; } /** - * - * *
    * The quota state for this Analytics property including this request.
    * 
@@ -381,13 +309,10 @@ public com.google.analytics.admin.v1alpha.AccessQuota getQuota() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder getQuotaOrBuilder() { - return quota_ == null - ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() - : quota_; + return quota_ == null ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +324,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dimensionHeaders_.size(); i++) { output.writeMessage(1, dimensionHeaders_.get(i)); } @@ -425,19 +351,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rows_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, rowCount_); } if (quota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getQuota()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getQuota()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -447,21 +378,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.RunAccessReportResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.RunAccessReportResponse other = - (com.google.analytics.admin.v1alpha.RunAccessReportResponse) obj; + com.google.analytics.admin.v1alpha.RunAccessReportResponse other = (com.google.analytics.admin.v1alpha.RunAccessReportResponse) obj; - if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; - if (getRowCount() != other.getRowCount()) return false; + if (!getDimensionHeadersList() + .equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList() + .equals(other.getMetricHeadersList())) return false; + if (!getRowsList() + .equals(other.getRowsList())) return false; + if (getRowCount() + != other.getRowCount()) return false; if (hasQuota() != other.hasQuota()) return false; if (hasQuota()) { - if (!getQuota().equals(other.getQuota())) return false; + if (!getQuota() + .equals(other.getQuota())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -498,136 +433,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( 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.RunAccessReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.RunAccessReportResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.RunAccessReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The customized Data Access Record Report response.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.RunAccessReportResponse) com.google.analytics.admin.v1alpha.RunAccessReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, - com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.RunAccessReportResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +591,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; } @java.lang.Override @@ -684,18 +612,14 @@ public com.google.analytics.admin.v1alpha.RunAccessReportResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.RunAccessReportResponse buildPartial() { - com.google.analytics.admin.v1alpha.RunAccessReportResponse result = - new com.google.analytics.admin.v1alpha.RunAccessReportResponse(this); + com.google.analytics.admin.v1alpha.RunAccessReportResponse result = new com.google.analytics.admin.v1alpha.RunAccessReportResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.RunAccessReportResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.RunAccessReportResponse result) { if (dimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); @@ -731,7 +655,9 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportRes result.rowCount_ = rowCount_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.quota_ = quotaBuilder_ == null ? quota_ : quotaBuilder_.build(); + result.quota_ = quotaBuilder_ == null + ? quota_ + : quotaBuilder_.build(); } } @@ -739,39 +665,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportRes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.RunAccessReportResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportResponse)other); } else { super.mergeFrom(other); return this; @@ -779,8 +704,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportResponse other) { - if (other == com.google.analytics.admin.v1alpha.RunAccessReportResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.RunAccessReportResponse.getDefaultInstance()) return this; if (dimensionHeadersBuilder_ == null) { if (!other.dimensionHeaders_.isEmpty()) { if (dimensionHeaders_.isEmpty()) { @@ -799,10 +723,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRespo dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionHeadersFieldBuilder() - : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionHeadersFieldBuilder() : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -826,10 +749,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRespo metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricHeadersFieldBuilder() - : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricHeadersFieldBuilder() : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -853,10 +775,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRespo rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowsFieldBuilder() : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -894,66 +815,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.AccessDimensionHeader m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDimensionHeader.parser(), - extensionRegistry); - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(m); - } else { - dimensionHeadersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.analytics.admin.v1alpha.AccessMetricHeader m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessMetricHeader.parser(), - extensionRegistry); - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(m); - } else { - metricHeadersBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.analytics.admin.v1alpha.AccessRow m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessRow.parser(), extensionRegistry); - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(m); - } else { - rowsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - rowCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - input.readMessage(getQuotaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.analytics.admin.v1alpha.AccessDimensionHeader m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDimensionHeader.parser(), + extensionRegistry); + if (dimensionHeadersBuilder_ == null) { + ensureDimensionHeadersIsMutable(); + dimensionHeaders_.add(m); + } else { + dimensionHeadersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.analytics.admin.v1alpha.AccessMetricHeader m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessMetricHeader.parser(), + extensionRegistry); + if (metricHeadersBuilder_ == null) { + ensureMetricHeadersIsMutable(); + metricHeaders_.add(m); + } else { + metricHeadersBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.analytics.admin.v1alpha.AccessRow m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessRow.parser(), + extensionRegistry); + if (rowsBuilder_ == null) { + ensureRowsIsMutable(); + rows_.add(m); + } else { + rowsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + rowCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getQuotaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + 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) { @@ -963,41 +881,30 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - dimensionHeaders_ = java.util.Collections.emptyList(); - + private java.util.List dimensionHeaders_ = + java.util.Collections.emptyList(); private void ensureDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList( - dimensionHeaders_); + dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionHeader, - com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, - com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> - dimensionHeadersBuilder_; + com.google.analytics.admin.v1alpha.AccessDimensionHeader, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> dimensionHeadersBuilder_; /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public java.util.List - getDimensionHeadersList() { + public java.util.List getDimensionHeadersList() { if (dimensionHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionHeaders_); } else { @@ -1005,16 +912,13 @@ private void ensureDimensionHeadersIsMutable() { } } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public int getDimensionHeadersCount() { if (dimensionHeadersBuilder_ == null) { @@ -1024,16 +928,13 @@ public int getDimensionHeadersCount() { } } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHeaders(int index) { if (dimensionHeadersBuilder_ == null) { @@ -1043,16 +944,13 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHead } } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder setDimensionHeaders( int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { @@ -1069,20 +967,16 @@ public Builder setDimensionHeaders( return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder setDimensionHeaders( - int index, - com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); dimensionHeaders_.set(index, builderForValue.build()); @@ -1093,19 +987,15 @@ public Builder setDimensionHeaders( return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public Builder addDimensionHeaders( - com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { + public Builder addDimensionHeaders(com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { if (dimensionHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1119,16 +1009,13 @@ public Builder addDimensionHeaders( return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder addDimensionHeaders( int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { @@ -1145,16 +1032,13 @@ public Builder addDimensionHeaders( return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder addDimensionHeaders( com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { @@ -1168,20 +1052,16 @@ public Builder addDimensionHeaders( return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder addDimensionHeaders( - int index, - com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { + int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); dimensionHeaders_.add(index, builderForValue.build()); @@ -1192,23 +1072,20 @@ public Builder addDimensionHeaders( return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder addAllDimensionHeaders( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensionHeaders_); onChanged(); } else { dimensionHeadersBuilder_.addAllMessages(values); @@ -1216,16 +1093,13 @@ public Builder addAllDimensionHeaders( return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder clearDimensionHeaders() { if (dimensionHeadersBuilder_ == null) { @@ -1238,16 +1112,13 @@ public Builder clearDimensionHeaders() { return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ public Builder removeDimensionHeaders(int index) { if (dimensionHeadersBuilder_ == null) { @@ -1260,56 +1131,45 @@ public Builder removeDimensionHeaders(int index) { return this; } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder - getDimensionHeadersBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder getDimensionHeadersBuilder( + int index) { return getDimensionHeadersFieldBuilder().getBuilder(index); } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder - getDimensionHeadersOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( + int index) { if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); - } else { + return dimensionHeaders_.get(index); } else { return dimensionHeadersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> - getDimensionHeadersOrBuilderList() { + public java.util.List + getDimensionHeadersOrBuilderList() { if (dimensionHeadersBuilder_ != null) { return dimensionHeadersBuilder_.getMessageOrBuilderList(); } else { @@ -1317,69 +1177,51 @@ public Builder removeDimensionHeaders(int index) { } } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder - addDimensionHeadersBuilder() { - return getDimensionHeadersFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder addDimensionHeadersBuilder() { + return getDimensionHeadersFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder - addDimensionHeadersBuilder(int index) { - return getDimensionHeadersFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder addDimensionHeadersBuilder( + int index) { + return getDimensionHeadersFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); } /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - public java.util.List - getDimensionHeadersBuilderList() { + public java.util.List + getDimensionHeadersBuilderList() { return getDimensionHeadersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionHeader, - com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, - com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> + com.google.analytics.admin.v1alpha.AccessDimensionHeader, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> getDimensionHeadersFieldBuilder() { if (dimensionHeadersBuilder_ == null) { - dimensionHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionHeader, - com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, - com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder>( + dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessDimensionHeader, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder>( dimensionHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1390,26 +1232,18 @@ public Builder removeDimensionHeaders(int index) { } private java.util.List metricHeaders_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricHeadersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = - new java.util.ArrayList( - metricHeaders_); + metricHeaders_ = new java.util.ArrayList(metricHeaders_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessMetricHeader, - com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, - com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder> - metricHeadersBuilder_; + com.google.analytics.admin.v1alpha.AccessMetricHeader, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder> metricHeadersBuilder_; /** - * - * *
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1418,8 +1252,7 @@ private void ensureMetricHeadersIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List
-        getMetricHeadersList() {
+    public java.util.List getMetricHeadersList() {
       if (metricHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(metricHeaders_);
       } else {
@@ -1427,8 +1260,6 @@ private void ensureMetricHeadersIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1445,8 +1276,6 @@ public int getMetricHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1463,8 +1292,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader getMetricHeaders(in
       }
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1488,8 +1315,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1510,8 +1335,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1534,8 +1357,6 @@ public Builder addMetricHeaders(com.google.analytics.admin.v1alpha.AccessMetricH
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1559,8 +1380,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1581,8 +1400,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1603,8 +1420,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1614,11 +1429,11 @@ public Builder addMetricHeaders(
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
     public Builder addAllMetricHeaders(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -1626,8 +1441,6 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1647,8 +1460,6 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1668,8 +1479,6 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1683,8 +1492,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder getMetricHe
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1696,14 +1503,11 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder getMetricHe
     public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);
-      } else {
+        return metricHeaders_.get(index);  } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1712,8 +1516,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List
-        getMetricHeadersOrBuilderList() {
+    public java.util.List 
+         getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1721,8 +1525,6 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
       }
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1732,12 +1534,10 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
     public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1748,13 +1548,10 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHe
      */
     public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1763,22 +1560,16 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHe
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List
-        getMetricHeadersBuilderList() {
+    public java.util.List 
+         getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessMetricHeader,
-            com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder,
-            com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder>
+        com.google.analytics.admin.v1alpha.AccessMetricHeader, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder> 
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1alpha.AccessMetricHeader,
-                com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder,
-                com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder>(
+        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1alpha.AccessMetricHeader, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1789,24 +1580,18 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHe
     }
 
     private java.util.List rows_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessRow,
-            com.google.analytics.admin.v1alpha.AccessRow.Builder,
-            com.google.analytics.admin.v1alpha.AccessRowOrBuilder>
-        rowsBuilder_;
+        com.google.analytics.admin.v1alpha.AccessRow, com.google.analytics.admin.v1alpha.AccessRow.Builder, com.google.analytics.admin.v1alpha.AccessRowOrBuilder> rowsBuilder_;
 
     /**
-     *
-     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1821,8 +1606,6 @@ public java.util.List getRowsList( } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1837,8 +1620,6 @@ public int getRowsCount() { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1853,15 +1634,14 @@ public com.google.analytics.admin.v1alpha.AccessRow getRows(int index) { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public Builder setRows(int index, com.google.analytics.admin.v1alpha.AccessRow value) { + public Builder setRows( + int index, com.google.analytics.admin.v1alpha.AccessRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1875,8 +1655,6 @@ public Builder setRows(int index, com.google.analytics.admin.v1alpha.AccessRow v return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1895,8 +1673,6 @@ public Builder setRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1917,15 +1693,14 @@ public Builder addRows(com.google.analytics.admin.v1alpha.AccessRow value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public Builder addRows(int index, com.google.analytics.admin.v1alpha.AccessRow value) { + public Builder addRows( + int index, com.google.analytics.admin.v1alpha.AccessRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1939,15 +1714,14 @@ public Builder addRows(int index, com.google.analytics.admin.v1alpha.AccessRow v return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public Builder addRows(com.google.analytics.admin.v1alpha.AccessRow.Builder builderForValue) { + public Builder addRows( + com.google.analytics.admin.v1alpha.AccessRow.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -1958,8 +1732,6 @@ public Builder addRows(com.google.analytics.admin.v1alpha.AccessRow.Builder buil return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1978,8 +1750,6 @@ public Builder addRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1990,7 +1760,8 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -1998,8 +1769,6 @@ public Builder addAllRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2017,8 +1786,6 @@ public Builder clearRows() { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2036,44 +1803,39 @@ public Builder removeRows(int index) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public com.google.analytics.admin.v1alpha.AccessRow.Builder getRowsBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessRow.Builder getRowsBuilder( + int index) { return getRowsFieldBuilder().getBuilder(index); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( + int index) { if (rowsBuilder_ == null) { - return rows_.get(index); - } else { + return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -2081,8 +1843,6 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(in } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2090,57 +1850,49 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(in * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); + return getRowsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder( + int index) { + return getRowsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public java.util.List - getRowsBuilderList() { + public java.util.List + getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessRow, - com.google.analytics.admin.v1alpha.AccessRow.Builder, - com.google.analytics.admin.v1alpha.AccessRowOrBuilder> + com.google.analytics.admin.v1alpha.AccessRow, com.google.analytics.admin.v1alpha.AccessRow.Builder, com.google.analytics.admin.v1alpha.AccessRowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessRow, - com.google.analytics.admin.v1alpha.AccessRow.Builder, - com.google.analytics.admin.v1alpha.AccessRowOrBuilder>( - rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessRow, com.google.analytics.admin.v1alpha.AccessRow.Builder, com.google.analytics.admin.v1alpha.AccessRowOrBuilder>( + rows_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); rows_ = null; } return rowsBuilder_; } - private int rowCount_; + private int rowCount_ ; /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -2152,7 +1904,6 @@ public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder(int i
      * 
* * int32 row_count = 4; - * * @return The rowCount. */ @java.lang.Override @@ -2160,8 +1911,6 @@ public int getRowCount() { return rowCount_; } /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -2173,20 +1922,17 @@ public int getRowCount() {
      * 
* * int32 row_count = 4; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -2198,7 +1944,6 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 4; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -2210,47 +1955,34 @@ public Builder clearRowCount() { private com.google.analytics.admin.v1alpha.AccessQuota quota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuota, - com.google.analytics.admin.v1alpha.AccessQuota.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> - quotaBuilder_; + com.google.analytics.admin.v1alpha.AccessQuota, com.google.analytics.admin.v1alpha.AccessQuota.Builder, com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> quotaBuilder_; /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * * @return Whether the quota field is set. */ public boolean hasQuota() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * * @return The quota. */ public com.google.analytics.admin.v1alpha.AccessQuota getQuota() { if (quotaBuilder_ == null) { - return quota_ == null - ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() - : quota_; + return quota_ == null ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; } else { return quotaBuilder_.getMessage(); } } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2271,8 +2003,6 @@ public Builder setQuota(com.google.analytics.admin.v1alpha.AccessQuota value) { return this; } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2291,8 +2021,6 @@ public Builder setQuota( return this; } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2301,9 +2029,9 @@ public Builder setQuota( */ public Builder mergeQuota(com.google.analytics.admin.v1alpha.AccessQuota value) { if (quotaBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && quota_ != null - && quota_ != com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + quota_ != null && + quota_ != com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance()) { getQuotaBuilder().mergeFrom(value); } else { quota_ = value; @@ -2316,8 +2044,6 @@ public Builder mergeQuota(com.google.analytics.admin.v1alpha.AccessQuota value) return this; } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2335,8 +2061,6 @@ public Builder clearQuota() { return this; } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2349,8 +2073,6 @@ public com.google.analytics.admin.v1alpha.AccessQuota.Builder getQuotaBuilder() return getQuotaFieldBuilder().getBuilder(); } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2361,14 +2083,11 @@ public com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder getQuotaOrBuilder if (quotaBuilder_ != null) { return quotaBuilder_.getMessageOrBuilder(); } else { - return quota_ == null - ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() - : quota_; + return quota_ == null ? + com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; } } /** - * - * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2376,24 +2095,21 @@ public com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder getQuotaOrBuilder * .google.analytics.admin.v1alpha.AccessQuota quota = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuota, - com.google.analytics.admin.v1alpha.AccessQuota.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> + com.google.analytics.admin.v1alpha.AccessQuota, com.google.analytics.admin.v1alpha.AccessQuota.Builder, com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> getQuotaFieldBuilder() { if (quotaBuilder_ == null) { - quotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuota, - com.google.analytics.admin.v1alpha.AccessQuota.Builder, - com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder>( - getQuota(), getParentForChildren(), isClean()); + quotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuota, com.google.analytics.admin.v1alpha.AccessQuota.Builder, com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder>( + getQuota(), + getParentForChildren(), + isClean()); quota_ = null; } return quotaBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2403,12 +2119,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.RunAccessReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.RunAccessReportResponse) private static final com.google.analytics.admin.v1alpha.RunAccessReportResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.RunAccessReportResponse(); } @@ -2417,27 +2133,27 @@ public static com.google.analytics.admin.v1alpha.RunAccessReportResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunAccessReportResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunAccessReportResponse 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; @@ -2452,4 +2168,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.RunAccessReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java similarity index 84% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java index e066a602861a..18749d2b1863 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java @@ -1,100 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface RunAccessReportResponseOrBuilder - extends +public interface RunAccessReportResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.RunAccessReportResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - java.util.List + java.util.List getDimensionHeadersList(); /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHeaders(int index); /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ int getDimensionHeadersCount(); /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ - java.util.List + java.util.List getDimensionHeadersOrBuilderList(); /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; */ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( int index); /** - * - * *
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -103,10 +70,9 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
-  java.util.List getMetricHeadersList();
+  java.util.List 
+      getMetricHeadersList();
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -117,8 +83,6 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    */
   com.google.analytics.admin.v1alpha.AccessMetricHeader getMetricHeaders(int index);
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -129,8 +93,6 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    */
   int getMetricHeadersCount();
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -139,11 +101,9 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
-  java.util.List
+  java.util.List 
       getMetricHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -156,18 +116,15 @@ com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersO
       int index);
 
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - java.util.List getRowsList(); + java.util.List + getRowsList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -176,8 +133,6 @@ com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersO */ com.google.analytics.admin.v1alpha.AccessRow getRows(int index); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -186,30 +141,25 @@ com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersO */ int getRowsCount(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - java.util.List + java.util.List getRowsOrBuilderList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(int index); + com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( + int index); /** - * - * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -221,38 +171,29 @@ com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersO
    * 
* * int32 row_count = 4; - * * @return The rowCount. */ int getRowCount(); /** - * - * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * * @return Whether the quota field is set. */ boolean hasQuota(); /** - * - * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * * @return The quota. */ com.google.analytics.admin.v1alpha.AccessQuota getQuota(); /** - * - * *
    * The quota state for this Analytics property including this request.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java new file mode 100644 index 000000000000..985b74008f87 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java @@ -0,0 +1,1960 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java new file mode 100644 index 000000000000..564071059581 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java @@ -0,0 +1,212 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java index fc27f2b3eadd..2a807163e187 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for SearchChangeHistoryEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest} */ -public final class SearchChangeHistoryEventsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchChangeHistoryEventsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) SearchChangeHistoryEventsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsRequest.newBuilder() to construct. - private SearchChangeHistoryEventsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchChangeHistoryEventsRequest() { account_ = ""; property_ = ""; @@ -49,45 +30,39 @@ private SearchChangeHistoryEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_SearchChangeHistoryEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** - * - * *
-   * 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) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The account. */ @java.lang.Override @@ -96,31 +71,30 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
-   * 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) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -129,21 +103,15 @@ public com.google.protobuf.ByteString getAccountBytes() { } public static final int PROPERTY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The property. */ @java.lang.Override @@ -152,32 +120,30 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -186,57 +152,38 @@ public com.google.protobuf.ByteString getPropertyBytes() { } public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List resourceType_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType> - resourceType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType> resourceType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>() { - public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert( - java.lang.Integer from) { - com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = - com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.forNumber(from); - return result == null - ? com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert(java.lang.Integer from) { + com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.forNumber(from); + return result == null ? com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.UNRECOGNIZED : result; } }; /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the resourceType. */ @java.lang.Override - public java.util.List - getResourceTypeList() { + public java.util.List getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>( - resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of resourceType. */ @java.lang.Override @@ -244,17 +191,12 @@ public int getResourceTypeCount() { return resourceType_.size(); } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -263,35 +205,26 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT return resourceType_converter_.convert(resourceType_.get(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for resourceType. */ @java.lang.Override - public java.util.List getResourceTypeValueList() { + public java.util.List + getResourceTypeValueList() { return resourceType_; } /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -299,59 +232,41 @@ public java.util.List getResourceTypeValueList() { public int getResourceTypeValue(int index) { return resourceType_.get(index); } - private int resourceTypeMemoizedSerializedSize; public static final int ACTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List action_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType> - action_converter_ = + java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType> action_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>() { public com.google.analytics.admin.v1alpha.ActionType convert(java.lang.Integer from) { - com.google.analytics.admin.v1alpha.ActionType result = - com.google.analytics.admin.v1alpha.ActionType.forNumber(from); - return result == null - ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED - : result; + com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.forNumber(from); + return result == null ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED : result; } }; /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the action. */ @java.lang.Override public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>( - action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>(action_, action_converter_); } /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of action. */ @java.lang.Override @@ -359,17 +274,12 @@ public int getActionCount() { return action_.size(); } /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The action at the given index. */ @@ -378,35 +288,26 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { return action_converter_.convert(action_.get(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for action. */ @java.lang.Override - public java.util.List getActionValueList() { + public java.util.List + getActionValueList() { return action_; } /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -414,50 +315,43 @@ public java.util.List getActionValueList() { public int getActionValue(int index) { return action_.get(index); } - private int actionMemoizedSerializedSize; public static final int ACTOR_EMAIL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList actorEmail_; /** - * - * *
-   * 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]; - * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList getActorEmailList() { + public com.google.protobuf.ProtocolStringList + getActorEmailList() { return actorEmail_; } /** - * - * *
-   * 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]; - * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** - * - * *
-   * 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]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -465,34 +359,28 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(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]; - * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString getActorEmailBytes(int index) { + public com.google.protobuf.ByteString + getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp earliestChangeTime_; /** - * - * *
    * 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]; * @return Whether the earliestChangeTime field is set. */ @java.lang.Override @@ -500,55 +388,37 @@ public boolean hasEarliestChangeTime() { return earliestChangeTime_ != null; } /** - * - * *
    * 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]; * @return The earliestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestChangeTime() { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } public static final int LATEST_CHANGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp latestChangeTime_; /** - * - * *
    * 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]; * @return Whether the latestChangeTime field is set. */ @java.lang.Override @@ -556,47 +426,32 @@ public boolean hasLatestChangeTime() { return latestChangeTime_ != null; } /** - * - * *
    * 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]; * @return The latestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestChangeTime() { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_ = 0; /** - * - * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -605,7 +460,6 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -614,21 +468,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
-   * 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]; - * * @return The pageToken. */ @java.lang.Override @@ -637,32 +488,33 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
-   * 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]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -671,7 +523,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -683,7 +534,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); @@ -738,27 +590,26 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < resourceType_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(resourceType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(resourceType_.get(i)); } size += dataSize; - if (!getResourceTypeList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - resourceTypeMemoizedSerializedSize = dataSize; + if (!getResourceTypeList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }resourceTypeMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < action_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(action_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(action_.get(i)); } size += dataSize; - if (!getActionList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - actionMemoizedSerializedSize = dataSize; + if (!getActionList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }actionMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -769,13 +620,16 @@ public int getSerializedSize() { size += 1 * getActorEmailList().size(); } if (earliestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEarliestChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getEarliestChangeTime()); } if (latestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLatestChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getLatestChangeTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pageToken_); @@ -788,29 +642,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other = - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) obj; + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) obj; - if (!getAccount().equals(other.getAccount())) return false; - if (!getProperty().equals(other.getProperty())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; if (!resourceType_.equals(other.resourceType_)) return false; if (!action_.equals(other.action_)) return false; - if (!getActorEmailList().equals(other.getActorEmailList())) return false; + if (!getActorEmailList() + .equals(other.getActorEmailList())) return false; if (hasEarliestChangeTime() != other.hasEarliestChangeTime()) return false; if (hasEarliestChangeTime()) { - if (!getEarliestChangeTime().equals(other.getEarliestChangeTime())) return false; + if (!getEarliestChangeTime() + .equals(other.getEarliestChangeTime())) return false; } if (hasLatestChangeTime() != other.hasLatestChangeTime()) return false; if (hasLatestChangeTime()) { - if (!getLatestChangeTime().equals(other.getLatestChangeTime())) return false; + if (!getLatestChangeTime() + .equals(other.getLatestChangeTime())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -856,138 +716,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( 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.SearchChangeHistoryEventsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - 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.SearchChangeHistoryEventsRequest 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.SearchChangeHistoryEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for SearchChangeHistoryEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1016,16 +867,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance(); } @java.lang.Override @@ -1039,18 +888,14 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest buildPartial() { - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result = - new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest(this); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { resourceType_ = java.util.Collections.unmodifiableList(resourceType_); bitField0_ = (bitField0_ & ~0x00000004); @@ -1068,8 +913,7 @@ private void buildPartialRepeatedFields( result.actorEmail_ = actorEmail_; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.account_ = account_; @@ -1078,14 +922,14 @@ private void buildPartial0( result.property_ = property_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.earliestChangeTime_ = - earliestChangeTimeBuilder_ == null - ? earliestChangeTime_ - : earliestChangeTimeBuilder_.build(); + result.earliestChangeTime_ = earliestChangeTimeBuilder_ == null + ? earliestChangeTime_ + : earliestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.latestChangeTime_ = - latestChangeTimeBuilder_ == null ? latestChangeTime_ : latestChangeTimeBuilder_.build(); + result.latestChangeTime_ = latestChangeTimeBuilder_ == null + ? latestChangeTime_ + : latestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.pageSize_ = pageSize_; @@ -1099,51 +943,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.SearchChangeHistoryEventsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other) { + if (other == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; bitField0_ |= 0x00000001; @@ -1224,96 +1063,86 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { + case 10: { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + int tmpRaw = input.readEnum(); + ensureResourceTypeIsMutable(); + resourceType_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureResourceTypeIsMutable(); resourceType_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureResourceTypeIsMutable(); - resourceType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - case 32: - { + } + input.popLimit(oldLimit); + break; + } // case 26 + case 32: { + int tmpRaw = input.readEnum(); + ensureActionIsMutable(); + action_.add(tmpRaw); + break; + } // case 32 + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureActionIsMutable(); action_.add(tmpRaw); - break; - } // case 32 - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureActionIsMutable(); - action_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureActorEmailIsMutable(); - actorEmail_.add(s); - break; - } // case 42 - case 50: - { - input.readMessage( - getEarliestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage( - getLatestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 64: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 74: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureActorEmailIsMutable(); + actorEmail_.add(s); + break; + } // case 42 + case 50: { + input.readMessage( + getEarliestChangeTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getLatestChangeTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + 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) { @@ -1323,27 +1152,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object account_ = ""; /** - * - * *
-     * 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) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -1352,23 +1177,21 @@ 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.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -1376,39 +1199,30 @@ 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.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } account_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * 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) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAccount() { @@ -1418,23 +1232,18 @@ public Builder clearAccount() { return this; } /** - * - * *
-     * 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) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000001; @@ -1444,23 +1253,19 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object property_ = ""; /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1469,24 +1274,21 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -1494,41 +1296,30 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProperty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } property_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearProperty() { @@ -1538,24 +1329,18 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000002; @@ -1563,8 +1348,8 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List resourceType_ = java.util.Collections.emptyList(); - + private java.util.List resourceType_ = + java.util.Collections.emptyList(); private void ensureResourceTypeIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { resourceType_ = new java.util.ArrayList(resourceType_); @@ -1572,54 +1357,37 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the resourceType. */ - public java.util.List - getResourceTypeList() { + public java.util.List getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>( - resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of resourceType. */ public int getResourceTypeCount() { return resourceType_.size(); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -1627,17 +1395,12 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT return resourceType_converter_.convert(resourceType_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The resourceType to set. * @return This builder for chaining. @@ -1653,22 +1416,16 @@ public Builder setResourceType( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The resourceType to add. * @return This builder for chaining. */ - public Builder addResourceType( - com.google.analytics.admin.v1alpha.ChangeHistoryResourceType value) { + public Builder addResourceType(com.google.analytics.admin.v1alpha.ChangeHistoryResourceType value) { if (value == null) { throw new NullPointerException(); } @@ -1678,23 +1435,17 @@ public Builder addResourceType( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The resourceType to add. * @return This builder for chaining. */ public Builder addAllResourceType( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureResourceTypeIsMutable(); for (com.google.analytics.admin.v1alpha.ChangeHistoryResourceType value : values) { resourceType_.add(value.getNumber()); @@ -1703,17 +1454,12 @@ public Builder addAllResourceType( return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearResourceType() { @@ -1723,34 +1469,25 @@ public Builder clearResourceType() { return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for resourceType. */ - public java.util.List getResourceTypeValueList() { + public java.util.List + getResourceTypeValueList() { return java.util.Collections.unmodifiableList(resourceType_); } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -1758,39 +1495,30 @@ public int getResourceTypeValue(int index) { return resourceType_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeValue(int index, int value) { + public Builder setResourceTypeValue( + int index, int value) { ensureResourceTypeIsMutable(); resourceType_.set(index, value); onChanged(); return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for resourceType to add. * @return This builder for chaining. */ @@ -1801,21 +1529,17 @@ public Builder addResourceTypeValue(int value) { return this; } /** - * - * *
-     * 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for resourceType to add. * @return This builder for chaining. */ - public Builder addAllResourceTypeValue(java.lang.Iterable values) { + public Builder addAllResourceTypeValue( + java.lang.Iterable values) { ensureResourceTypeIsMutable(); for (int value : values) { resourceType_.add(value); @@ -1824,8 +1548,8 @@ public Builder addAllResourceTypeValue(java.lang.Iterable val return this; } - private java.util.List action_ = java.util.Collections.emptyList(); - + private java.util.List action_ = + java.util.Collections.emptyList(); private void ensureActionIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { action_ = new java.util.ArrayList(action_); @@ -1833,53 +1557,37 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the action. */ public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>( - action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>(action_, action_converter_); } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of action. */ public int getActionCount() { return action_.size(); } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The action at the given index. */ @@ -1887,22 +1595,18 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { return action_converter_.convert(action_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction(int index, com.google.analytics.admin.v1alpha.ActionType value) { + public Builder setAction( + int index, com.google.analytics.admin.v1alpha.ActionType value) { if (value == null) { throw new NullPointerException(); } @@ -1912,17 +1616,12 @@ public Builder setAction(int index, com.google.analytics.admin.v1alpha.ActionTyp return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The action to add. * @return This builder for chaining. */ @@ -1936,17 +1635,12 @@ public Builder addAction(com.google.analytics.admin.v1alpha.ActionType value) { return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param values The action to add. * @return This builder for chaining. */ @@ -1960,17 +1654,12 @@ public Builder addAllAction( return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearAction() { @@ -1980,34 +1669,25 @@ public Builder clearAction() { return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for action. */ - public java.util.List getActionValueList() { + public java.util.List + getActionValueList() { return java.util.Collections.unmodifiableList(action_); } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -2015,39 +1695,30 @@ public int getActionValue(int index) { return action_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ - public Builder setActionValue(int index, int value) { + public Builder setActionValue( + int index, int value) { ensureActionIsMutable(); action_.set(index, value); onChanged(); return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for action to add. * @return This builder for chaining. */ @@ -2058,21 +1729,17 @@ public Builder addActionValue(int value) { return this; } /** - * - * *
-     * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for action to add. * @return This builder for chaining. */ - public Builder addAllActionValue(java.lang.Iterable values) { + public Builder addAllActionValue( + java.lang.Iterable values) { ensureActionIsMutable(); for (int value : values) { action_.add(value); @@ -2081,52 +1748,45 @@ public Builder addAllActionValue(java.lang.Iterable values) { return this; } - private com.google.protobuf.LazyStringList actorEmail_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList actorEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureActorEmailIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
-     * 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]; - * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList getActorEmailList() { + public com.google.protobuf.ProtocolStringList + getActorEmailList() { return actorEmail_.getUnmodifiableView(); } /** - * - * *
-     * 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]; - * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** - * - * *
-     * 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]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -2134,90 +1794,81 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(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]; - * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString getActorEmailBytes(int index) { + public com.google.protobuf.ByteString + getActorEmailBytes(int index) { return actorEmail_.getByteString(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]; - * * @param index The index to set the value at. * @param value The actorEmail to set. * @return This builder for chaining. */ - public Builder setActorEmail(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setActorEmail( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureActorEmailIsMutable(); actorEmail_.set(index, value); onChanged(); return this; } /** - * - * *
-     * 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]; - * * @param value The actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addActorEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); return this; } /** - * - * *
-     * 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]; - * * @param values The actorEmail to add. * @return This builder for chaining. */ - public Builder addAllActorEmail(java.lang.Iterable values) { + public Builder addAllActorEmail( + java.lang.Iterable values) { ensureActorEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actorEmail_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, actorEmail_); onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearActorEmail() { @@ -2227,21 +1878,18 @@ public Builder clearActorEmail() { return this; } /** - * - * *
-     * 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]; - * * @param value The bytes of the actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addActorEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureActorEmailIsMutable(); actorEmail_.add(value); @@ -2251,58 +1899,39 @@ public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp earliestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestChangeTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the earliestChangeTime field is set. */ public boolean hasEarliestChangeTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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]; * @return The earliestChangeTime. */ public com.google.protobuf.Timestamp getEarliestChangeTime() { if (earliestChangeTimeBuilder_ == null) { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } else { return earliestChangeTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { @@ -2318,17 +1947,14 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestChangeTimeBuilder_ == null) { earliestChangeTime_ = builderForValue.build(); } else { @@ -2339,21 +1965,17 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * 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]; */ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && earliestChangeTime_ != null - && earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + earliestChangeTime_ != null && + earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestChangeTimeBuilder().mergeFrom(value); } else { earliestChangeTime_ = value; @@ -2366,15 +1988,11 @@ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearEarliestChangeTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2387,15 +2005,11 @@ public Builder clearEarliestChangeTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { bitField0_ |= 0x00000020; @@ -2403,48 +2017,36 @@ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { return getEarliestChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { if (earliestChangeTimeBuilder_ != null) { return earliestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEarliestChangeTimeFieldBuilder() { if (earliestChangeTimeBuilder_ == null) { - earliestChangeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEarliestChangeTime(), getParentForChildren(), isClean()); + earliestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEarliestChangeTime(), + getParentForChildren(), + isClean()); earliestChangeTime_ = null; } return earliestChangeTimeBuilder_; @@ -2452,58 +2054,39 @@ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { private com.google.protobuf.Timestamp latestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - latestChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestChangeTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the latestChangeTime field is set. */ public boolean hasLatestChangeTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * 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]; * @return The latestChangeTime. */ public com.google.protobuf.Timestamp getLatestChangeTime() { if (latestChangeTimeBuilder_ == null) { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } else { return latestChangeTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { @@ -2519,17 +2102,14 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (latestChangeTimeBuilder_ == null) { latestChangeTime_ = builderForValue.build(); } else { @@ -2540,21 +2120,17 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builder return this; } /** - * - * *
      * 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]; */ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && latestChangeTime_ != null - && latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + latestChangeTime_ != null && + latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestChangeTimeBuilder().mergeFrom(value); } else { latestChangeTime_ = value; @@ -2567,15 +2143,11 @@ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearLatestChangeTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2588,15 +2160,11 @@ public Builder clearLatestChangeTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { bitField0_ |= 0x00000040; @@ -2604,57 +2172,43 @@ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { return getLatestChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { if (latestChangeTimeBuilder_ != null) { return latestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLatestChangeTimeFieldBuilder() { if (latestChangeTimeBuilder_ == null) { - latestChangeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLatestChangeTime(), getParentForChildren(), isClean()); + latestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLatestChangeTime(), + getParentForChildren(), + isClean()); latestChangeTime_ = null; } return latestChangeTimeBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2663,7 +2217,6 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -2671,8 +2224,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2681,20 +2232,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2703,7 +2251,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -2715,23 +2262,22 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
-     * 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]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -2740,24 +2286,24 @@ 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]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2765,41 +2311,36 @@ 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]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
-     * 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]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2809,33 +2350,30 @@ public Builder clearPageToken() { return this; } /** - * - * *
-     * 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]; - * * @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(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2845,43 +2383,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) - private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest(); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsRequest 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; @@ -2893,8 +2429,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java similarity index 54% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java index 61d883dc85f9..f65896529a82 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java @@ -1,381 +1,264 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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 SearchChangeHistoryEventsRequestOrBuilder - extends +public interface SearchChangeHistoryEventsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * 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) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The account. */ 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.
    * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the resourceType. */ - java.util.List - getResourceTypeList(); + java.util.List getResourceTypeList(); /** - * - * *
-   * 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of resourceType. */ 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The resourceType at the given index. */ com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceType(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for resourceType. */ - java.util.List getResourceTypeValueList(); + 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ int getResourceTypeValue(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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the action. */ java.util.List getActionList(); /** - * - * *
-   * 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 .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of action. */ 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The action at the given index. */ 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for action. */ - java.util.List getActionValueList(); + 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.
    * 
* - * - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ 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]; - * * @return A list containing the actorEmail. */ - java.util.List getActorEmailList(); + java.util.List + 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]; - * * @return The count of actorEmail. */ 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]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ 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]; - * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - com.google.protobuf.ByteString getActorEmailBytes(int index); + com.google.protobuf.ByteString + getActorEmailBytes(int index); /** - * - * *
    * 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]; * @return Whether the earliestChangeTime field is set. */ boolean hasEarliestChangeTime(); /** - * - * *
    * 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]; * @return The earliestChangeTime. */ com.google.protobuf.Timestamp getEarliestChangeTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the latestChangeTime field is set. */ boolean hasLatestChangeTime(); /** - * - * *
    * 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]; * @return The latestChangeTime. */ com.google.protobuf.Timestamp getLatestChangeTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder(); /** - * - * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -384,39 +267,35 @@ public interface SearchChangeHistoryEventsRequestOrBuilder
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ 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]; - * * @return The pageToken. */ 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]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java index 3f0d48483446..6f1f1f1a173a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Response message for SearchAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse} */ -public final class SearchChangeHistoryEventsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchChangeHistoryEventsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) SearchChangeHistoryEventsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsResponse.newBuilder() to construct. - private SearchChangeHistoryEventsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchChangeHistoryEventsResponse() { changeHistoryEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,123 +26,100 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_SearchChangeHistoryEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); } public static final int CHANGE_HISTORY_EVENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - changeHistoryEvents_; + private java.util.List changeHistoryEvents_; /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override - public java.util.List - getChangeHistoryEventsList() { + public java.util.List getChangeHistoryEventsList() { return changeHistoryEvents_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChangeHistoryEventsOrBuilderList() { return changeHistoryEvents_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override public int getChangeHistoryEventsCount() { return changeHistoryEvents_.size(); } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index) { return changeHistoryEvents_.get(index); } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder - getChangeHistoryEventsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( + int index) { return changeHistoryEvents_.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 @@ -170,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -202,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < changeHistoryEvents_.size(); i++) { output.writeMessage(1, changeHistoryEvents_.get(i)); } @@ -231,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < changeHistoryEvents_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, changeHistoryEvents_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, changeHistoryEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -245,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other = - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) obj; + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) obj; - if (!getChangeHistoryEventsList().equals(other.getChangeHistoryEventsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getChangeHistoryEventsList() + .equals(other.getChangeHistoryEventsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -278,138 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( 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.SearchChangeHistoryEventsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - 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.SearchChangeHistoryEventsResponse 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.SearchChangeHistoryEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for SearchAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,16 +376,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance(); } @java.lang.Override @@ -449,18 +397,14 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse buil @java.lang.Override public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse buildPartial() { - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result = - new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse(this); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { if (changeHistoryEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { changeHistoryEvents_ = java.util.Collections.unmodifiableList(changeHistoryEvents_); @@ -472,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -484,51 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.SearchChangeHistoryEventsResponse) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) other); + return mergeFrom((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other) { - if (other - == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other) { + if (other == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance()) return this; if (changeHistoryEventsBuilder_ == null) { if (!other.changeHistoryEvents_.isEmpty()) { if (changeHistoryEvents_.isEmpty()) { @@ -547,10 +485,9 @@ public Builder mergeFrom( changeHistoryEventsBuilder_ = null; changeHistoryEvents_ = other.changeHistoryEvents_; bitField0_ = (bitField0_ & ~0x00000001); - changeHistoryEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChangeHistoryEventsFieldBuilder() - : null; + changeHistoryEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChangeHistoryEventsFieldBuilder() : null; } else { changeHistoryEventsBuilder_.addAllMessages(other.changeHistoryEvents_); } @@ -587,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1alpha.ChangeHistoryEvent m = - input.readMessage( - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), - extensionRegistry); - if (changeHistoryEventsBuilder_ == null) { - ensureChangeHistoryEventsIsMutable(); - changeHistoryEvents_.add(m); - } else { - changeHistoryEventsBuilder_.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: + case 10: { + com.google.analytics.admin.v1alpha.ChangeHistoryEvent m = + input.readMessage( + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), + extensionRegistry); + if (changeHistoryEventsBuilder_ == null) { + ensureChangeHistoryEventsIsMutable(); + changeHistoryEvents_.add(m); + } else { + changeHistoryEventsBuilder_.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) { @@ -623,39 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - changeHistoryEvents_ = java.util.Collections.emptyList(); - + private java.util.List changeHistoryEvents_ = + java.util.Collections.emptyList(); private void ensureChangeHistoryEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - changeHistoryEvents_ = - new java.util.ArrayList( - changeHistoryEvents_); + changeHistoryEvents_ = new java.util.ArrayList(changeHistoryEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> - changeHistoryEventsBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> changeHistoryEventsBuilder_; /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsList() { + public java.util.List getChangeHistoryEventsList() { if (changeHistoryEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(changeHistoryEvents_); } else { @@ -663,14 +586,11 @@ private void ensureChangeHistoryEventsIsMutable() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public int getChangeHistoryEventsCount() { if (changeHistoryEventsBuilder_ == null) { @@ -680,14 +600,11 @@ public int getChangeHistoryEventsCount() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -697,14 +614,11 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEve } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { @@ -721,14 +635,11 @@ public Builder setChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -742,17 +653,13 @@ public Builder setChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public Builder addChangeHistoryEvents( - com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { + public Builder addChangeHistoryEvents(com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { if (changeHistoryEventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -766,14 +673,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { @@ -790,14 +694,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -811,14 +712,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -832,21 +730,18 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder addAllChangeHistoryEvents( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (changeHistoryEventsBuilder_ == null) { ensureChangeHistoryEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changeHistoryEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changeHistoryEvents_); onChanged(); } else { changeHistoryEventsBuilder_.addAllMessages(values); @@ -854,14 +749,11 @@ public Builder addAllChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder clearChangeHistoryEvents() { if (changeHistoryEventsBuilder_ == null) { @@ -874,14 +766,11 @@ public Builder clearChangeHistoryEvents() { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ public Builder removeChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -894,49 +783,39 @@ public Builder removeChangeHistoryEvents(int index) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder - getChangeHistoryEventsBuilder(int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder getChangeHistoryEventsBuilder( + int index) { return getChangeHistoryEventsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder - getChangeHistoryEventsOrBuilder(int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( + int index) { if (changeHistoryEventsBuilder_ == null) { - return changeHistoryEvents_.get(index); - } else { + return changeHistoryEvents_.get(index); } else { return changeHistoryEventsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsOrBuilderList() { + public java.util.List + getChangeHistoryEventsOrBuilderList() { if (changeHistoryEventsBuilder_ != null) { return changeHistoryEventsBuilder_.getMessageOrBuilderList(); } else { @@ -944,62 +823,45 @@ public Builder removeChangeHistoryEvents(int index) { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder - addChangeHistoryEventsBuilder() { - return getChangeHistoryEventsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder() { + return getChangeHistoryEventsFieldBuilder().addBuilder( + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder - addChangeHistoryEventsBuilder(int index) { - return getChangeHistoryEventsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder( + int index) { + return getChangeHistoryEventsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsBuilderList() { + public java.util.List + getChangeHistoryEventsBuilderList() { return getChangeHistoryEventsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> getChangeHistoryEventsFieldBuilder() { if (changeHistoryEventsBuilder_ == null) { - changeHistoryEventsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder>( + changeHistoryEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder>( changeHistoryEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1011,21 +873,19 @@ public Builder removeChangeHistoryEvents(int index) { 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1034,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1057,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1097,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1131,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) - private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse(); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsResponse 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; @@ -1179,8 +1025,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java index 2eb7cc150f5a..bcf0e3b0ad08 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java @@ -1,111 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface SearchChangeHistoryEventsResponseOrBuilder - extends +public interface SearchChangeHistoryEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - java.util.List + java.util.List getChangeHistoryEventsList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ int getChangeHistoryEventsCount(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ - java.util.List + java.util.List getChangeHistoryEventsOrBuilderList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; */ com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java index 5b0da43a1782..6af0b872d616 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Various levels of service for Google Analytics.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ServiceLevel} */ -public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { +public enum ServiceLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Service level not specified or invalid.
    * 
@@ -39,8 +21,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_LEVEL_UNSPECIFIED(0), /** - * - * *
    * The standard version of Google Analytics.
    * 
@@ -49,8 +29,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_ANALYTICS_STANDARD(1), /** - * - * *
    * The paid, premium version of Google Analytics.
    * 
@@ -62,8 +40,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Service level not specified or invalid.
    * 
@@ -72,8 +48,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The standard version of Google Analytics.
    * 
@@ -82,8 +56,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_ANALYTICS_STANDARD_VALUE = 1; /** - * - * *
    * The paid, premium version of Google Analytics.
    * 
@@ -92,6 +64,7 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_ANALYTICS_360_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static ServiceLevel valueOf(int value) { */ public static ServiceLevel forNumber(int value) { switch (value) { - case 0: - return SERVICE_LEVEL_UNSPECIFIED; - case 1: - return GOOGLE_ANALYTICS_STANDARD; - case 2: - return GOOGLE_ANALYTICS_360; - default: - return null; + case 0: return SERVICE_LEVEL_UNSPECIFIED; + case 1: return GOOGLE_ANALYTICS_STANDARD; + case 2: return GOOGLE_ANALYTICS_360; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ServiceLevel findValueByNumber(int number) { - return ServiceLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ServiceLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServiceLevel findValueByNumber(int number) { + return ServiceLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(1); } private static final ServiceLevel[] VALUES = values(); - public static ServiceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ServiceLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private ServiceLevel(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ServiceLevel) } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java new file mode 100644 index 000000000000..f0b516c20505 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java @@ -0,0 +1,684 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java new file mode 100644 index 000000000000..7b29653f0ddb --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java @@ -0,0 +1,45 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java new file mode 100644 index 000000000000..598c96402ece --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java @@ -0,0 +1,411 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java new file mode 100644 index 000000000000..7071a6e05cca --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java @@ -0,0 +1,9 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java index cedeb1d75945..77dd5e3ebaff 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java @@ -1,84 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccountRequest} */ -public final class UpdateAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAccountRequest) UpdateAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAccountRequest.newBuilder() to construct. private UpdateAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAccountRequest() {} + private UpdateAccountRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, - com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Account account_; /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the account field is set. */ @java.lang.Override @@ -86,58 +63,42 @@ public boolean hasAccount() { return account_ != null; } /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -145,17 +106,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -163,16 +121,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -180,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -209,10 +165,12 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAccount()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,21 +180,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAccountRequest other = - (com.google.analytics.admin.v1alpha.UpdateAccountRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAccountRequest other = (com.google.analytics.admin.v1alpha.UpdateAccountRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -263,136 +222,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( 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.UpdateAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateAccountRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccountRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAccountRequest) com.google.analytics.admin.v1alpha.UpdateAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, - com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateAccountRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; } @java.lang.Override @@ -432,11 +384,8 @@ public com.google.analytics.admin.v1alpha.UpdateAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAccountRequest result = - new com.google.analytics.admin.v1alpha.UpdateAccountRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateAccountRequest result = new com.google.analytics.admin.v1alpha.UpdateAccountRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -444,10 +393,14 @@ public com.google.analytics.admin.v1alpha.UpdateAccountRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAccountRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); + result.account_ = accountBuilder_ == null + ? account_ + : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -455,39 +408,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAccountReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAccountRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAccountRequest)other); } else { super.mergeFrom(other); return this; @@ -495,8 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -529,25 +480,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAccountFieldBuilder().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: + case 10: { + input.readMessage( + getAccountFieldBuilder().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) { @@ -557,66 +509,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> - accountBuilder_; + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountBuilder_; /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The account. */ public com.google.analytics.admin.v1alpha.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { @@ -632,18 +564,15 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder setAccount( + com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -654,22 +583,18 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder bui return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && account_ != null - && account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + account_ != null && + account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -682,16 +607,12 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAccount() { bitField0_ = (bitField0_ & ~0x00000001); @@ -704,16 +625,12 @@ public Builder clearAccount() { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { bitField0_ |= 0x00000001; @@ -721,50 +638,38 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null - ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() - : account_; + return account_ == null ? + com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; } } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, - com.google.analytics.admin.v1alpha.Account.Builder, - com.google.analytics.admin.v1alpha.AccountOrBuilder>( - getAccount(), getParentForChildren(), isClean()); + accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( + getAccount(), + getParentForChildren(), + isClean()); account_ = null; } return accountBuilder_; @@ -772,61 +677,48 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -842,18 +734,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -864,22 +755,20 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -892,16 +781,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -914,16 +801,14 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -931,57 +816,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAccountRequest) private static final com.google.analytics.admin.v1alpha.UpdateAccountRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAccountRequest(); } @@ -1005,27 +882,27 @@ public static com.google.analytics.admin.v1alpha.UpdateAccountRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAccountRequest 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; @@ -1040,4 +917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java new file mode 100644 index 000000000000..5abb92c3115b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java @@ -0,0 +1,75 @@ +// 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 UpdateAccountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The account to update.
+   * The account's `name` field is used to identify the account.
+   * 
+ * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the account field is set. + */ + boolean hasAccount(); + /** + *
+   * Required. The account to update.
+   * The account's `name` field is used to identify the account.
+   * 
+ * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The account. + */ + com.google.analytics.admin.v1alpha.Account getAccount(); + /** + *
+   * Required. The account to update.
+   * The account's `name` field is used to identify the account.
+   * 
+ * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + 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.
+   * 
+ * + * .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. 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]; + * @return The updateMask. + */ + 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.
+   * 
+ * + * .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/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java index 377403b9e33e..ad13c7be9dcd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java @@ -1,85 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateAttributionSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest} */ -public final class UpdateAttributionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAttributionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) UpdateAttributionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAttributionSettingsRequest.newBuilder() to construct. - private UpdateAttributionSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateAttributionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAttributionSettingsRequest() {} + private UpdateAttributionSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAttributionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateAttributionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); } public static final int ATTRIBUTION_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.AttributionSettings attributionSettings_; /** - * - * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attributionSettings field is set. */ @java.lang.Override @@ -87,59 +63,42 @@ public boolean hasAttributionSettings() { return attributionSettings_ != null; } /** - * - * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attributionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings() { - return attributionSettings_ == null - ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() - : attributionSettings_; + return attributionSettings_ == null ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; } /** - * - * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder - getAttributionSettingsOrBuilder() { - return attributionSettings_ == null - ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() - : attributionSettings_; + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { + return attributionSettings_ == null ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -147,17 +106,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -165,16 +121,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -182,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (attributionSettings_ != null) { output.writeMessage(1, getAttributionSettings()); } @@ -211,10 +165,12 @@ public int getSerializedSize() { size = 0; if (attributionSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttributionSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAttributionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,21 +180,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other = - (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) obj; if (hasAttributionSettings() != other.hasAttributionSettings()) return false; if (hasAttributionSettings()) { - if (!getAttributionSettings().equals(other.getAttributionSettings())) return false; + if (!getAttributionSettings() + .equals(other.getAttributionSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -265,138 +222,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( 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.UpdateAttributionSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - 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.UpdateAttributionSettingsRequest 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.UpdateAttributionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateAttributionSettings RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,16 +363,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -438,26 +384,23 @@ public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result = - new com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attributionSettings_ = - attributionSettingsBuilder_ == null - ? attributionSettings_ - : attributionSettingsBuilder_.build(); + result.attributionSettings_ = attributionSettingsBuilder_ == null + ? attributionSettings_ + : attributionSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -465,51 +408,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateAttributionSettingsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.getDefaultInstance()) return this; if (other.hasAttributionSettings()) { mergeAttributionSettings(other.getAttributionSettings()); } @@ -542,26 +480,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getAttributionSettingsFieldBuilder().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: + case 10: { + input.readMessage( + getAttributionSettingsFieldBuilder().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) { @@ -571,69 +509,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.AttributionSettings attributionSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, - com.google.analytics.admin.v1alpha.AttributionSettings.Builder, - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> - attributionSettingsBuilder_; + com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> attributionSettingsBuilder_; /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attributionSettings field is set. */ public boolean hasAttributionSettings() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attributionSettings. */ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings() { if (attributionSettingsBuilder_ == null) { - return attributionSettings_ == null - ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() - : attributionSettings_; + return attributionSettings_ == null ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; } else { return attributionSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAttributionSettings( - com.google.analytics.admin.v1alpha.AttributionSettings value) { + public Builder setAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { if (attributionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -647,16 +564,12 @@ public Builder setAttributionSettings( return this; } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttributionSettings( com.google.analytics.admin.v1alpha.AttributionSettings.Builder builderForValue) { @@ -670,24 +583,18 @@ public Builder setAttributionSettings( return this; } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAttributionSettings( - com.google.analytics.admin.v1alpha.AttributionSettings value) { + public Builder mergeAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { if (attributionSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && attributionSettings_ != null - && attributionSettings_ - != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + attributionSettings_ != null && + attributionSettings_ != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { getAttributionSettingsBuilder().mergeFrom(value); } else { attributionSettings_ = value; @@ -700,16 +607,12 @@ public Builder mergeAttributionSettings( return this; } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttributionSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -722,69 +625,51 @@ public Builder clearAttributionSettings() { return this; } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AttributionSettings.Builder - getAttributionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettings.Builder getAttributionSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAttributionSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder - getAttributionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { if (attributionSettingsBuilder_ != null) { return attributionSettingsBuilder_.getMessageOrBuilder(); } else { - return attributionSettings_ == null - ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() - : attributionSettings_; + return attributionSettings_ == null ? + com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; } } /** - * - * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, - com.google.analytics.admin.v1alpha.AttributionSettings.Builder, - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> getAttributionSettingsFieldBuilder() { if (attributionSettingsBuilder_ == null) { - attributionSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, - com.google.analytics.admin.v1alpha.AttributionSettings.Builder, - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( - getAttributionSettings(), getParentForChildren(), isClean()); + attributionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( + getAttributionSettings(), + getParentForChildren(), + isClean()); attributionSettings_ = null; } return attributionSettingsBuilder_; @@ -792,61 +677,48 @@ public Builder clearAttributionSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -862,18 +734,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -884,22 +755,20 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -912,16 +781,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -934,16 +801,14 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -951,57 +816,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,43 +868,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttributionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttributionSettingsRequest 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; @@ -1059,8 +914,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..0752845cf767 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java @@ -0,0 +1,75 @@ +// 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 UpdateAttributionSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The attribution settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the attributionSettings field is set. + */ + boolean hasAttributionSettings(); + /** + *
+   * Required. The attribution settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The attributionSettings. + */ + com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings(); + /** + *
+   * Required. The attribution settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder(); + + /** + *
+   * 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]; + * @return Whether the updateMask field is set. + */ + 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.
+   * 
+ * + * .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. 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]; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java index 5d7eefc92f3d..e0f224441a1d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java @@ -1,84 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAudienceRequest} */ -public final class UpdateAudienceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAudienceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAudienceRequest) UpdateAudienceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAudienceRequest.newBuilder() to construct. private UpdateAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAudienceRequest() {} + private UpdateAudienceRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, - com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); } public static final int AUDIENCE_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Audience audience_; /** - * - * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the audience field is set. */ @java.lang.Override @@ -86,58 +63,42 @@ public boolean hasAudience() { return audience_ != null; } /** - * - * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The audience. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Audience getAudience() { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } /** - * - * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -145,17 +106,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -163,16 +121,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -180,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (audience_ != null) { output.writeMessage(1, getAudience()); } @@ -209,10 +165,12 @@ public int getSerializedSize() { size = 0; if (audience_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAudience()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAudience()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,21 +180,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAudienceRequest other = - (com.google.analytics.admin.v1alpha.UpdateAudienceRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAudienceRequest other = (com.google.analytics.admin.v1alpha.UpdateAudienceRequest) obj; if (hasAudience() != other.hasAudience()) return false; if (hasAudience()) { - if (!getAudience().equals(other.getAudience())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -263,136 +222,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( 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.UpdateAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAudienceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAudienceRequest) com.google.analytics.admin.v1alpha.UpdateAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, - com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateAudienceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; } @java.lang.Override @@ -432,11 +384,8 @@ public com.google.analytics.admin.v1alpha.UpdateAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAudienceRequest result = - new com.google.analytics.admin.v1alpha.UpdateAudienceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateAudienceRequest result = new com.google.analytics.admin.v1alpha.UpdateAudienceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -444,10 +393,14 @@ public com.google.analytics.admin.v1alpha.UpdateAudienceRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAudienceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.audience_ = audienceBuilder_ == null ? audience_ : audienceBuilder_.build(); + result.audience_ = audienceBuilder_ == null + ? audience_ + : audienceBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -455,39 +408,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAudienceRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAudienceRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAudienceRequest)other); } else { super.mergeFrom(other); return this; @@ -495,8 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAudienceRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateAudienceRequest.getDefaultInstance()) return this; if (other.hasAudience()) { mergeAudience(other.getAudience()); } @@ -529,25 +480,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAudienceFieldBuilder().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: + case 10: { + input.readMessage( + getAudienceFieldBuilder().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) { @@ -557,66 +509,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.Audience audience_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder> - audienceBuilder_; + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> audienceBuilder_; /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the audience field is set. */ public boolean hasAudience() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The audience. */ public com.google.analytics.admin.v1alpha.Audience getAudience() { if (audienceBuilder_ == null) { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } else { return audienceBuilder_.getMessage(); } } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { @@ -632,16 +564,12 @@ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { return this; } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAudience( com.google.analytics.admin.v1alpha.Audience.Builder builderForValue) { @@ -655,22 +583,18 @@ public Builder setAudience( return this; } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && audience_ != null - && audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + audience_ != null && + audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { getAudienceBuilder().mergeFrom(value); } else { audience_ = value; @@ -683,16 +607,12 @@ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) return this; } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAudience() { bitField0_ = (bitField0_ & ~0x00000001); @@ -705,16 +625,12 @@ public Builder clearAudience() { return this; } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() { bitField0_ |= 0x00000001; @@ -722,50 +638,38 @@ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() return getAudienceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { if (audienceBuilder_ != null) { return audienceBuilder_.getMessageOrBuilder(); } else { - return audience_ == null - ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() - : audience_; + return audience_ == null ? + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; } } /** - * - * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder> + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> getAudienceFieldBuilder() { if (audienceBuilder_ == null) { - audienceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, - com.google.analytics.admin.v1alpha.Audience.Builder, - com.google.analytics.admin.v1alpha.AudienceOrBuilder>( - getAudience(), getParentForChildren(), isClean()); + audienceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder>( + getAudience(), + getParentForChildren(), + isClean()); audience_ = null; } return audienceBuilder_; @@ -773,61 +677,48 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -843,18 +734,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -865,22 +755,20 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -893,16 +781,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -915,16 +801,14 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -932,57 +816,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -992,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAudienceRequest) private static final com.google.analytics.admin.v1alpha.UpdateAudienceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAudienceRequest(); } @@ -1006,27 +882,27 @@ public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAudienceRequest 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; @@ -1041,4 +917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java new file mode 100644 index 000000000000..731c2b05dd0d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java @@ -0,0 +1,75 @@ +// 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 UpdateAudienceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAudienceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The audience to update.
+   * The audience's `name` field is used to identify the audience to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the audience field is set. + */ + boolean hasAudience(); + /** + *
+   * Required. The audience to update.
+   * The audience's `name` field is used to identify the audience to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The audience. + */ + com.google.analytics.admin.v1alpha.Audience getAudience(); + /** + *
+   * Required. The audience to update.
+   * The audience's `name` field is used to identify the audience to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + 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.
+   * 
+ * + * .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. 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]; + * @return The updateMask. + */ + 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.
+   * 
+ * + * .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/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java index 3dcb8533f570..1bfe70f0f63d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomDimensionRequest} */ -public final class UpdateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) UpdateCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomDimensionRequest.newBuilder() to construct. private UpdateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomDimensionRequest() {} + private UpdateCustomDimensionRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); } public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } /** - * - * *
    * The CustomDimension to update
    * 
@@ -110,25 +82,19 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +102,13 @@ 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +116,13 @@ 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -200,10 +159,12 @@ public int getSerializedSize() { size = 0; if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomDimension()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other = - (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) obj; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension().equals(other.getCustomDimension())) return false; + if (!getCustomDimension() + .equals(other.getCustomDimension())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( 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.UpdateCustomDimensionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,14 +357,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance(); } @@ -424,24 +378,23 @@ public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result = - new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customDimension_ = - customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); + result.customDimension_ = customDimensionBuilder_ == null + ? customDimension_ + : customDimensionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -449,50 +402,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance()) return this; if (other.hasCustomDimension()) { mergeCustomDimension(other.getCustomDimension()); } @@ -525,25 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCustomDimensionFieldBuilder().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: + case 10: { + input.readMessage( + getCustomDimensionFieldBuilder().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) { @@ -553,52 +503,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> - customDimensionBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionBuilder_; /** - * - * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** - * - * *
      * The CustomDimension to update
      * 
@@ -619,8 +555,6 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -639,8 +573,6 @@ public Builder setCustomDimension( return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -649,10 +581,9 @@ public Builder setCustomDimension( */ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && customDimension_ != null - && customDimension_ - != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + customDimension_ != null && + customDimension_ != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -665,8 +596,6 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -684,8 +613,6 @@ public Builder clearCustomDimension() { return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -698,27 +625,21 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionFieldBuilder().getBuilder(); } /** - * - * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; */ - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null - ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? + com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; } } /** - * - * *
      * The CustomDimension to update
      * 
@@ -726,17 +647,14 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, - com.google.analytics.admin.v1alpha.CustomDimension.Builder, - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( - getCustomDimension(), getParentForChildren(), isClean()); + customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + getCustomDimension(), + getParentForChildren(), + isClean()); customDimension_ = null; } return customDimensionBuilder_; @@ -744,61 +662,45 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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.
+     * 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]; - * - * + * .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_; + 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -814,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -836,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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.
+     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -864,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -886,16 +780,13 @@ public Builder clearUpdateMask() { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -903,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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.
+     * 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]; - * + * .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_; + 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -963,43 +844,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomDimensionRequest 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; @@ -1011,8 +890,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java index a379c03dd8e0..c4e90f4160af 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomDimensionRequestOrBuilder - extends +public interface UpdateCustomDimensionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); /** - * - * *
    * The CustomDimension to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateCustomDimensionRequestOrBuilder com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** - * - * *
-   * 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]; - * - * + * .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.
+   * 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]; - * - * + * .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.
+   * 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]; - * + * .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/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java index bd977e78322e..11da3853490f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomMetricRequest} */ -public final class UpdateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) UpdateCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomMetricRequest.newBuilder() to construct. private UpdateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomMetricRequest() {} + private UpdateCustomMetricRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); } public static final int CUSTOM_METRIC_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } /** - * - * *
    * The CustomMetric to update
    * 
@@ -110,25 +82,19 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +102,13 @@ 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +116,13 @@ 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customMetric_ != null) { output.writeMessage(1, getCustomMetric()); } @@ -200,10 +159,12 @@ public int getSerializedSize() { size = 0; if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomMetric()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other = - (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other = (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) obj; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric().equals(other.getCustomMetric())) return false; + if (!getCustomMetric() + .equals(other.getCustomMetric())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( 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.UpdateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) com.google.analytics.admin.v1alpha.UpdateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,14 +357,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance(); } @@ -424,24 +378,23 @@ public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result = - new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result = new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customMetric_ = - customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); + result.customMetric_ = customMetricBuilder_ == null + ? customMetric_ + : customMetricBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -449,39 +402,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -489,9 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance()) return this; if (other.hasCustomMetric()) { mergeCustomMetric(other.getCustomMetric()); } @@ -524,25 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCustomMetricFieldBuilder().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: + case 10: { + input.readMessage( + getCustomMetricFieldBuilder().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) { @@ -552,52 +503,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> - customMetricBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricBuilder_; /** - * - * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return The customMetric. */ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** - * - * *
      * The CustomMetric to update
      * 
@@ -618,8 +555,6 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -638,8 +573,6 @@ public Builder setCustomMetric( return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -648,10 +581,9 @@ public Builder setCustomMetric( */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && customMetric_ != null - && customMetric_ - != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + customMetric_ != null && + customMetric_ != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -664,8 +596,6 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -683,8 +613,6 @@ public Builder clearCustomMetric() { return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -697,8 +625,6 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** - * - * *
      * The CustomMetric to update
      * 
@@ -709,14 +635,11 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null - ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; } } /** - * - * *
      * The CustomMetric to update
      * 
@@ -724,17 +647,14 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, - com.google.analytics.admin.v1alpha.CustomMetric.Builder, - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( - getCustomMetric(), getParentForChildren(), isClean()); + customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + getCustomMetric(), + getParentForChildren(), + isClean()); customMetric_ = null; } return customMetricBuilder_; @@ -742,61 +662,45 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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.
+     * 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]; - * - * + * .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_; + 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -812,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -834,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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.
+     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -862,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -884,16 +780,13 @@ public Builder clearUpdateMask() { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -901,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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.
+     * 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]; - * + * .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_; + 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -961,13 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(); } @@ -976,27 +858,27 @@ public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomMetricRequest 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; @@ -1011,4 +893,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java index 76737db83da3..b82467f135cf 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomMetricRequestOrBuilder - extends +public interface UpdateCustomMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * * @return The customMetric. */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); /** - * - * *
    * The CustomMetric to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateCustomMetricRequestOrBuilder com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** - * - * *
-   * 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]; - * - * + * .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.
+   * 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]; - * - * + * .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.
+   * 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]; - * + * .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/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java index fe98a14b0970..9a2416222d25 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java @@ -1,85 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest} */ -public final class UpdateDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataRetentionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) UpdateDataRetentionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataRetentionSettingsRequest.newBuilder() to construct. - private UpdateDataRetentionSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataRetentionSettingsRequest() {} + private UpdateDataRetentionSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.DataRetentionSettings dataRetentionSettings_; /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -87,59 +63,42 @@ public boolean hasDataRetentionSettings() { return dataRetentionSettings_ != null; } /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings() { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + return dataRetentionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + return dataRetentionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -147,17 +106,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -165,16 +121,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -182,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataRetentionSettings_ != null) { output.writeMessage(1, getDataRetentionSettings()); } @@ -211,11 +165,12 @@ public int getSerializedSize() { size = 0; if (dataRetentionSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataRetentionSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataRetentionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -225,21 +180,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other = - (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) obj; if (hasDataRetentionSettings() != other.hasDataRetentionSettings()) return false; if (hasDataRetentionSettings()) { - if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings() + .equals(other.getDataRetentionSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,138 +222,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( 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.UpdateDataRetentionSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - 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.UpdateDataRetentionSettingsRequest 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.UpdateDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,16 +363,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -439,26 +384,23 @@ public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest bui @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result = - new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataRetentionSettings_ = - dataRetentionSettingsBuilder_ == null - ? dataRetentionSettings_ - : dataRetentionSettingsBuilder_.build(); + result.dataRetentionSettings_ = dataRetentionSettingsBuilder_ == null + ? dataRetentionSettings_ + : dataRetentionSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -466,51 +408,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateDataRetentionSettingsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance()) return this; if (other.hasDataRetentionSettings()) { mergeDataRetentionSettings(other.getDataRetentionSettings()); } @@ -543,26 +480,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getDataRetentionSettingsFieldBuilder().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: + case 10: { + input.readMessage( + getDataRetentionSettingsFieldBuilder().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) { @@ -572,69 +509,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.DataRetentionSettings dataRetentionSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> - dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataRetentionSettings field is set. */ public boolean hasDataRetentionSettings() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataRetentionSettings. */ public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + return dataRetentionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } else { return dataRetentionSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDataRetentionSettings( - com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder setDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -648,16 +564,12 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder builderForValue) { @@ -671,24 +583,18 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDataRetentionSettings( - com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && dataRetentionSettings_ != null - && dataRetentionSettings_ - != com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + dataRetentionSettings_ != null && + dataRetentionSettings_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) { getDataRetentionSettingsBuilder().mergeFrom(value); } else { dataRetentionSettings_ = value; @@ -701,16 +607,12 @@ public Builder mergeDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataRetentionSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -723,69 +625,51 @@ public Builder clearDataRetentionSettings() { return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder - getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { if (dataRetentionSettingsBuilder_ != null) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + return dataRetentionSettings_ == null ? + com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { - dataRetentionSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, - com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( - getDataRetentionSettings(), getParentForChildren(), isClean()); + dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( + getDataRetentionSettings(), + getParentForChildren(), + isClean()); dataRetentionSettings_ = null; } return dataRetentionSettingsBuilder_; @@ -793,61 +677,48 @@ public Builder clearDataRetentionSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -863,18 +734,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -885,22 +755,20 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -913,16 +781,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -935,16 +801,14 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -952,57 +816,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1012,43 +868,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataRetentionSettingsRequest 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; @@ -1060,8 +914,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..62f3e92351af --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java @@ -0,0 +1,75 @@ +// 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 UpdateDataRetentionSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the dataRetentionSettings field is set. + */ + boolean hasDataRetentionSettings(); + /** + *
+   * Required. The settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The dataRetentionSettings. + */ + com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(); + /** + *
+   * Required. The settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); + + /** + *
+   * 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]; + * @return Whether the updateMask field is set. + */ + 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.
+   * 
+ * + * .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. 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]; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java index b7fda1699de2..887cde846bf6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataStreamRequest} */ -public final class UpdateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataStreamRequest) UpdateDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataStreamRequest.newBuilder() to construct. private UpdateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataStreamRequest() {} + private UpdateDataStreamRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); } public static final int DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.DataStream dataStream_; /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasDataStream() { return dataStream_ != null; } /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream getDataStream() { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } /** - * - * *
    * The DataStream to update
    * 
@@ -110,25 +82,19 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +102,13 @@ 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +116,13 @@ 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataStream_ != null) { output.writeMessage(1, getDataStream()); } @@ -200,10 +159,12 @@ public int getSerializedSize() { size = 0; if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest other = - (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) obj; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream().equals(other.getDataStream())) return false; + if (!getDataStream() + .equals(other.getDataStream())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( 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.UpdateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; } @java.lang.Override @@ -423,11 +378,8 @@ public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result = - new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,10 +387,14 @@ public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest buildPartial() private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null + ? dataStream_ + : dataStreamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -446,39 +402,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataStreamRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -486,8 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance()) return this; if (other.hasDataStream()) { mergeDataStream(other.getDataStream()); } @@ -520,25 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getDataStreamFieldBuilder().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: + case 10: { + input.readMessage( + getDataStreamFieldBuilder().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) { @@ -548,52 +503,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.DataStream dataStream_; 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.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> dataStreamBuilder_; /** - * - * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * * @return The dataStream. */ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** - * - * *
      * The DataStream to update
      * 
@@ -614,8 +555,6 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -634,8 +573,6 @@ public Builder setDataStream( return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -644,9 +581,9 @@ public Builder setDataStream( */ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && dataStream_ != null - && dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + dataStream_ != null && + dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -659,8 +596,6 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -678,8 +613,6 @@ public Builder clearDataStream() { return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -692,8 +625,6 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * The DataStream to update
      * 
@@ -704,14 +635,11 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null - ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; } } /** - * - * *
      * The DataStream to update
      * 
@@ -719,17 +647,14 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui * .google.analytics.admin.v1alpha.DataStream data_stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, - com.google.analytics.admin.v1alpha.DataStream.Builder, - com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( - getDataStream(), getParentForChildren(), isClean()); + dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + getDataStream(), + getParentForChildren(), + isClean()); dataStream_ = null; } return dataStreamBuilder_; @@ -737,61 +662,45 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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.
+     * 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]; - * - * + * .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_; + 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -807,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -829,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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.
+     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -857,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -879,16 +780,13 @@ public Builder clearUpdateMask() { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -896,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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.
+     * 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]; - * + * .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_; + 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateDataStreamRequest) private static final com.google.analytics.admin.v1alpha.UpdateDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(); } @@ -970,27 +858,27 @@ public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataStreamRequest 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; @@ -1005,4 +893,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java index fa38bcf1dd7b..cd38517641d5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateDataStreamRequestOrBuilder - extends +public interface UpdateDataStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * * @return The dataStream. */ com.google.analytics.admin.v1alpha.DataStream getDataStream(); /** - * - * *
    * The DataStream to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateDataStreamRequestOrBuilder com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); /** - * - * *
-   * 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]; - * - * + * .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.
+   * 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]; - * - * + * .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.
+   * 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]; - * + * .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/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java similarity index 52% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java index 956cb6ba1b48..5f0ba2e6235d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java @@ -1,87 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest} */ -public final class UpdateDisplayVideo360AdvertiserLinkRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDisplayVideo360AdvertiserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private UpdateDisplayVideo360AdvertiserLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDisplayVideo360AdvertiserLinkRequest() {} + private UpdateDisplayVideo360AdvertiserLinkRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder.class); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -89,58 +62,39 @@ public boolean hasDisplayVideo360AdvertiserLink() { return displayVideo360AdvertiserLink_ != null; } /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -148,17 +102,13 @@ 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -166,16 +116,13 @@ 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -183,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (displayVideo360AdvertiserLink_ != null) { output.writeMessage(1, getDisplayVideo360AdvertiserLink()); } @@ -212,12 +159,12 @@ public int getSerializedSize() { size = 0; if (displayVideo360AdvertiserLink_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getDisplayVideo360AdvertiserLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDisplayVideo360AdvertiserLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -227,24 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other = - (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) obj; - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) - return false; + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) - return false; + if (!getDisplayVideo360AdvertiserLink() + .equals(other.getDisplayVideo360AdvertiserLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -270,145 +215,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( + 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.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - 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.UpdateDisplayVideo360AdvertiserLinkRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - 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.UpdateDisplayVideo360AdvertiserLinkRequest - 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.UpdateDisplayVideo360AdvertiserLinkRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder - .class); + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,22 +357,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -450,28 +377,24 @@ public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkReq } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = - new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest buildPartial() { + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.displayVideo360AdvertiserLink_ = - displayVideo360AdvertiserLinkBuilder_ == null - ? displayVideo360AdvertiserLink_ - : displayVideo360AdvertiserLinkBuilder_.build(); + result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_ == null + ? displayVideo360AdvertiserLink_ + : displayVideo360AdvertiserLinkBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -479,53 +402,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; if (other.hasDisplayVideo360AdvertiserLink()) { mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); } @@ -558,26 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getDisplayVideo360AdvertiserLinkFieldBuilder().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: + case 10: { + input.readMessage( + getDisplayVideo360AdvertiserLinkFieldBuilder().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) { @@ -587,68 +503,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - displayVideo360AdvertiserLinkBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return Whether the displayVideo360AdvertiserLink field is set. */ public boolean hasDisplayVideo360AdvertiserLink() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return The displayVideo360AdvertiserLink. */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } else { return displayVideo360AdvertiserLinkBuilder_.getMessage(); } } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,15 +555,11 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ public Builder setDisplayVideo360AdvertiserLink( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -684,24 +573,17 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - public Builder mergeDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && displayVideo360AdvertiserLink_ != null - && displayVideo360AdvertiserLink_ - != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + displayVideo360AdvertiserLink_ != null && + displayVideo360AdvertiserLink_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); } else { displayVideo360AdvertiserLink_ = value; @@ -714,15 +596,11 @@ public Builder mergeDisplayVideo360AdvertiserLink( return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ public Builder clearDisplayVideo360AdvertiserLink() { bitField0_ = (bitField0_ & ~0x00000001); @@ -735,66 +613,48 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder - getDisplayVideo360AdvertiserLinkBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { if (displayVideo360AdvertiserLinkBuilder_ != null) { return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); } else { - return displayVideo360AdvertiserLink_ == null - ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() - : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null ? + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; } } /** - * - * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinkFieldBuilder() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( - getDisplayVideo360AdvertiserLink(), getParentForChildren(), isClean()); + displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + getDisplayVideo360AdvertiserLink(), + getParentForChildren(), + isClean()); displayVideo360AdvertiserLink_ = null; } return displayVideo360AdvertiserLinkBuilder_; @@ -802,61 +662,45 @@ public Builder clearDisplayVideo360AdvertiserLink() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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.
+     * 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]; - * - * + * .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_; + 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -872,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -894,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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.
+     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -922,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -944,16 +780,13 @@ public Builder clearUpdateMask() { 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.
+     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -961,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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.
+     * 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]; - * + * .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_; + 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1021,46 +844,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDisplayVideo360AdvertiserLinkRequest 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; @@ -1072,8 +890,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java similarity index 50% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java index 7424c583e663..66ea7e522c4a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -1,112 +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 UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder - extends +public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return Whether the displayVideo360AdvertiserLink field is set. */ boolean hasDisplayVideo360AdvertiserLink(); /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; * @return The displayVideo360AdvertiserLink. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - getDisplayVideo360AdvertiserLink(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); /** - * - * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder - getDisplayVideo360AdvertiserLinkOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); /** - * - * *
-   * 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]; - * - * + * .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.
+   * 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]; - * - * + * .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.
+   * 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]; - * + * .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/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java index 68d0dc9d7e46..87635dfd0f29 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest} */ -public final class UpdateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) UpdateGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateGoogleAdsLinkRequest.newBuilder() to construct. private UpdateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateGoogleAdsLinkRequest() {} + private UpdateGoogleAdsLinkRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } /** - * - * *
    * The GoogleAdsLink to update
    * 
@@ -110,25 +82,20 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +103,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +118,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +133,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +144,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (googleAdsLink_ != null) { output.writeMessage(1, getGoogleAdsLink()); } @@ -200,10 +162,12 @@ public int getSerializedSize() { size = 0; if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGoogleAdsLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +177,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) obj; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +219,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( 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.UpdateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,14 +360,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -424,24 +381,23 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result = - new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.googleAdsLink_ = - googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = googleAdsLinkBuilder_ == null + ? googleAdsLink_ + : googleAdsLinkBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -449,39 +405,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -489,9 +444,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance()) return this; if (other.hasGoogleAdsLink()) { mergeGoogleAdsLink(other.getGoogleAdsLink()); } @@ -524,25 +477,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGoogleAdsLinkFieldBuilder().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: + case 10: { + input.readMessage( + getGoogleAdsLinkFieldBuilder().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) { @@ -552,52 +506,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> - googleAdsLinkBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; /** - * - * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -618,8 +558,6 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -638,8 +576,6 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -648,10 +584,9 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && googleAdsLink_ != null - && googleAdsLink_ - != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + googleAdsLink_ != null && + googleAdsLink_ != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -664,8 +599,6 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -683,8 +616,6 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -697,8 +628,6 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -709,14 +638,11 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? + com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -724,17 +650,14 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, - com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), getParentForChildren(), isClean()); + googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), + getParentForChildren(), + isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; @@ -742,61 +665,48 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -812,18 +722,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -834,22 +743,20 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -862,16 +769,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -884,16 +789,14 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -901,57 +804,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -961,13 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(); } @@ -976,27 +870,27 @@ public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGoogleAdsLinkRequest 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; @@ -1011,4 +905,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java index 9a302809160a..87e490bf5052 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateGoogleAdsLinkRequestOrBuilder - extends +public interface UpdateGoogleAdsLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); /** - * - * *
    * The GoogleAdsLink to update
    * 
@@ -59,46 +35,38 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** - * - * *
-   * 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]; - * - * + * .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. 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]; - * - * + * .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. 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]; - * + * .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/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java index 645e66cd2f56..dcef43b0ef16 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java @@ -1,85 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest} */ -public final class UpdateGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateGoogleSignalsSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) UpdateGoogleSignalsSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateGoogleSignalsSettingsRequest.newBuilder() to construct. - private UpdateGoogleSignalsSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateGoogleSignalsSettingsRequest() {} + private UpdateGoogleSignalsSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateGoogleSignalsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); } public static final int GOOGLE_SIGNALS_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.GoogleSignalsSettings googleSignalsSettings_; /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleSignalsSettings field is set. */ @java.lang.Override @@ -87,59 +63,42 @@ public boolean hasGoogleSignalsSettings() { return googleSignalsSettings_ != null; } /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The googleSignalsSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings() { - return googleSignalsSettings_ == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() - : googleSignalsSettings_; + return googleSignalsSettings_ == null ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; } /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder() { - return googleSignalsSettings_ == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() - : googleSignalsSettings_; + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { + return googleSignalsSettings_ == null ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -147,17 +106,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -165,16 +121,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -182,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (googleSignalsSettings_ != null) { output.writeMessage(1, getGoogleSignalsSettings()); } @@ -211,11 +165,12 @@ public int getSerializedSize() { size = 0; if (googleSignalsSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleSignalsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGoogleSignalsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -225,21 +180,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other = - (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) obj; if (hasGoogleSignalsSettings() != other.hasGoogleSignalsSettings()) return false; if (hasGoogleSignalsSettings()) { - if (!getGoogleSignalsSettings().equals(other.getGoogleSignalsSettings())) return false; + if (!getGoogleSignalsSettings() + .equals(other.getGoogleSignalsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,138 +222,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( 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.UpdateGoogleSignalsSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - 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.UpdateGoogleSignalsSettingsRequest 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.UpdateGoogleSignalsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateGoogleSignalsSettings RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,16 +363,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -439,26 +384,23 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest bui @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result = - new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.googleSignalsSettings_ = - googleSignalsSettingsBuilder_ == null - ? googleSignalsSettings_ - : googleSignalsSettingsBuilder_.build(); + result.googleSignalsSettings_ = googleSignalsSettingsBuilder_ == null + ? googleSignalsSettings_ + : googleSignalsSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -466,51 +408,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateGoogleSignalsSettingsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance()) return this; if (other.hasGoogleSignalsSettings()) { mergeGoogleSignalsSettings(other.getGoogleSignalsSettings()); } @@ -543,26 +480,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getGoogleSignalsSettingsFieldBuilder().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: + case 10: { + input.readMessage( + getGoogleSignalsSettingsFieldBuilder().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) { @@ -572,69 +509,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.GoogleSignalsSettings googleSignalsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> - googleSignalsSettingsBuilder_; + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> googleSignalsSettingsBuilder_; /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleSignalsSettings field is set. */ public boolean hasGoogleSignalsSettings() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The googleSignalsSettings. */ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings() { if (googleSignalsSettingsBuilder_ == null) { - return googleSignalsSettings_ == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() - : googleSignalsSettings_; + return googleSignalsSettings_ == null ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; } else { return googleSignalsSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder setGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -648,16 +564,12 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGoogleSignalsSettings( com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder builderForValue) { @@ -671,24 +583,18 @@ public Builder setGoogleSignalsSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && googleSignalsSettings_ != null - && googleSignalsSettings_ - != com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + googleSignalsSettings_ != null && + googleSignalsSettings_ != com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) { getGoogleSignalsSettingsBuilder().mergeFrom(value); } else { googleSignalsSettings_ = value; @@ -701,16 +607,12 @@ public Builder mergeGoogleSignalsSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGoogleSignalsSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -723,69 +625,51 @@ public Builder clearGoogleSignalsSettings() { return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder - getGoogleSignalsSettingsBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder getGoogleSignalsSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getGoogleSignalsSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder - getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { if (googleSignalsSettingsBuilder_ != null) { return googleSignalsSettingsBuilder_.getMessageOrBuilder(); } else { - return googleSignalsSettings_ == null - ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() - : googleSignalsSettings_; + return googleSignalsSettings_ == null ? + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; } } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> getGoogleSignalsSettingsFieldBuilder() { if (googleSignalsSettingsBuilder_ == null) { - googleSignalsSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( - getGoogleSignalsSettings(), getParentForChildren(), isClean()); + googleSignalsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( + getGoogleSignalsSettings(), + getParentForChildren(), + isClean()); googleSignalsSettings_ = null; } return googleSignalsSettingsBuilder_; @@ -793,61 +677,48 @@ public Builder clearGoogleSignalsSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -863,18 +734,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -885,22 +755,20 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -913,16 +781,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -935,16 +801,14 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -952,57 +816,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1012,43 +868,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGoogleSignalsSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGoogleSignalsSettingsRequest 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; @@ -1060,8 +914,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..d4a392e1f893 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java @@ -0,0 +1,75 @@ +// 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 UpdateGoogleSignalsSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the googleSignalsSettings field is set. + */ + boolean hasGoogleSignalsSettings(); + /** + *
+   * Required. The settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The googleSignalsSettings. + */ + com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(); + /** + *
+   * Required. The settings to update.
+   * The `name` field is used to identify the settings to be updated.
+   * 
+ * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder(); + + /** + *
+   * 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]; + * @return Whether the updateMask field is set. + */ + 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.
+   * 
+ * + * .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. 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]; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java index d82fac77e230..d9e3d1f9ddc8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java @@ -1,86 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest} */ -public final class UpdateMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) UpdateMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateMeasurementProtocolSecretRequest.newBuilder() to construct. - private UpdateMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateMeasurementProtocolSecretRequest() {} + private UpdateMeasurementProtocolSecretRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder.class); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -88,55 +62,37 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -144,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -159,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
@@ -173,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (measurementProtocolSecret_ != null) { output.writeMessage(1, getMeasurementProtocolSecret()); } @@ -202,12 +153,12 @@ public int getSerializedSize() { size = 0; if (measurementProtocolSecret_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getMeasurementProtocolSecret()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMeasurementProtocolSecret()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -217,23 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) obj; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -260,139 +210,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( 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.UpdateMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - 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.UpdateMeasurementProtocolSecretRequest 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.UpdateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,22 +351,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -434,28 +371,24 @@ public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - buildPartial() { - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest buildPartial() { + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.measurementProtocolSecret_ = - measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -463,52 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) other); + if (other instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) { + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (other.hasMeasurementProtocolSecret()) { mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); } @@ -541,26 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().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: + case 10: { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -570,67 +497,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -644,15 +549,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -666,24 +567,17 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && measurementProtocolSecret_ != null - && measurementProtocolSecret_ - != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + measurementProtocolSecret_ != null && + measurementProtocolSecret_ != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -696,15 +590,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000001); @@ -717,66 +607,48 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), getParentForChildren(), isClean()); + measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), + getParentForChildren(), + isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; @@ -784,47 +656,34 @@ public Builder clearMeasurementProtocolSecret() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -845,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -864,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -874,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -889,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -908,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -922,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -934,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -949,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -976,44 +820,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMeasurementProtocolSecretRequest 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; @@ -1025,8 +866,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java index 6ead312f95dd..55cd8c79ea1a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,97 +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 UpdateMeasurementProtocolSecretRequestOrBuilder - extends +public interface UpdateMeasurementProtocolSecretRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java index f3daddb37d89..ef9b25880dcd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java @@ -1,85 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdatePropertyRequest} */ -public final class UpdatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdatePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdatePropertyRequest) UpdatePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdatePropertyRequest.newBuilder() to construct. private UpdatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePropertyRequest() {} + private UpdatePropertyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Property property_; /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ @java.lang.Override @@ -87,60 +64,44 @@ public boolean hasProperty() { return property_ != null; } /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getProperty() { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
+   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -148,17 +109,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
-   * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -166,16 +124,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+   * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -183,7 +139,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -212,10 +168,12 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -225,21 +183,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdatePropertyRequest other = - (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) obj; + com.google.analytics.admin.v1alpha.UpdatePropertyRequest other = (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,136 +225,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( 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.UpdatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdatePropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdatePropertyRequest) com.google.analytics.admin.v1alpha.UpdatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdatePropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +366,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; } @java.lang.Override @@ -435,11 +387,8 @@ public com.google.analytics.admin.v1alpha.UpdatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdatePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdatePropertyRequest result = - new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdatePropertyRequest result = new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -447,10 +396,14 @@ public com.google.analytics.admin.v1alpha.UpdatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null + ? property_ + : propertyBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -458,39 +411,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdatePropertyRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdatePropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdatePropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -498,8 +450,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdatePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -532,25 +483,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPropertyFieldBuilder().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: + case 10: { + input.readMessage( + getPropertyFieldBuilder().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) { @@ -560,69 +512,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> - propertyBuilder_; + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertyBuilder_; /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ public com.google.analytics.admin.v1alpha.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { @@ -638,17 +570,13 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -662,23 +590,19 @@ public Builder setProperty( return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -691,17 +615,13 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -714,17 +634,13 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -732,52 +648,40 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() - : property_; + return property_ == null ? + com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; } } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, - com.google.analytics.admin.v1alpha.Property.Builder, - com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; @@ -785,61 +689,48 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
-     * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -855,18 +746,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -877,22 +767,20 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
-     * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -905,16 +793,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -927,16 +813,14 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
-     * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -944,57 +828,49 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
-     * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
+     * 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,12 +880,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdatePropertyRequest) private static final com.google.analytics.admin.v1alpha.UpdatePropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(); } @@ -1018,27 +894,27 @@ public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePropertyRequest 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; @@ -1053,4 +929,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java similarity index 50% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java index bad68db8b9dd..f4d196b98e7a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java @@ -1,116 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdatePropertyRequestOrBuilder - extends +public interface UpdatePropertyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdatePropertyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ com.google.analytics.admin.v1alpha.Property getProperty(); /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ 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]; - * - * + * .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. 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]; - * - * + * .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. 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java new file mode 100644 index 000000000000..894c6f6d0957 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java @@ -0,0 +1,898 @@ +// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java new file mode 100644 index 000000000000..7646b1ae113a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java @@ -0,0 +1,69 @@ +// 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/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java index cdb786e57ef8..3d3c369fa0b9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java @@ -1,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * Request message for UpdateUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ -public final class UpdateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateUserLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) UpdateUserLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateUserLinkRequest.newBuilder() to construct. private UpdateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateUserLinkRequest() {} + private UpdateUserLinkRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + 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_UpdateUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } public static final int USER_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** - * - * *
    * Required. The user link to update.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ @java.lang.Override @@ -85,44 +62,30 @@ public boolean hasUserLink() { return userLink_ != null; } /** - * - * *
    * Required. The user link to update.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } /** - * - * *
    * Required. The user link to update.
    * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (userLink_ != null) { output.writeMessage(1, getUserLink()); } @@ -148,7 +112,8 @@ public int getSerializedSize() { size = 0; if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUserLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUserLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -158,17 +123,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = - (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink().equals(other.getUserLink())) return false; + if (!getUserLink() + .equals(other.getUserLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -191,136 +156,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( 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.UpdateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -334,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override @@ -355,11 +313,8 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = - new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,7 +322,9 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.userLink_ = userLinkBuilder_ == null ? userLink_ : userLinkBuilder_.build(); + result.userLink_ = userLinkBuilder_ == null + ? userLink_ + : userLinkBuilder_.build(); } } @@ -375,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateUserLinkRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.UpdateUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -415,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) return this; if (other.hasUserLink()) { mergeUserLink(other.getUserLink()); } @@ -446,19 +401,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUserLinkFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUserLinkFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -468,63 +423,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> - userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the userLink field is set. */ public boolean hasUserLink() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -540,15 +475,11 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -562,21 +493,17 @@ public Builder setUserLink( return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && userLink_ != null - && userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + userLink_ != null && + userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { getUserLinkBuilder().mergeFrom(value); } else { userLink_ = value; @@ -589,15 +516,11 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUserLink() { bitField0_ = (bitField0_ & ~0x00000001); @@ -610,15 +533,11 @@ public Builder clearUserLink() { return this; } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { bitField0_ |= 0x00000001; @@ -626,55 +545,43 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() return getUserLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null - ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() - : userLink_; + return userLink_ == null ? + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; } } /** - * - * *
      * Required. The user link to update.
      * 
* - * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, - com.google.analytics.admin.v1alpha.UserLink.Builder, - com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), getParentForChildren(), isClean()); + userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), + getParentForChildren(), + isClean()); userLink_ = null; } return userLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.UpdateUserLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(); } @@ -698,27 +605,27 @@ public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserLinkRequest 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; @@ -733,4 +640,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..5f523e40ed5f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java @@ -0,0 +1,36 @@ +// 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 UpdateUserLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The user link to update.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + *
+   * Required. The user link to update.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + *
+   * Required. The user link to update.
+   * 
+ * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java similarity index 74% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java index b3ebc20569f5..28b5ab0cfbde 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** - * - * *
  * A resource message representing a user's permissions on an Account or
  * Property resource.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
  */
-public final class UserLink extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UserLink extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UserLink)
     UserLinkOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UserLink.newBuilder() to construct.
   private UserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UserLink() {
     name_ = "";
     emailAddress_ = "";
@@ -46,43 +28,38 @@ private UserLink() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UserLink();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  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_UserLink_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto
-        .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.UserLink.class,
-            com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+            com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -91,29 +68,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,18 +99,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object emailAddress_ = ""; /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The emailAddress. */ @java.lang.Override @@ -142,29 +115,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -173,12 +146,9 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } public static final int DIRECT_ROLES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList directRoles_; /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -195,15 +165,13 @@ public com.google.protobuf.ByteString getEmailAddressBytes() {
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_; } /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -220,15 +188,12 @@ public com.google.protobuf.ProtocolStringList getDirectRolesList() {
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -245,7 +210,6 @@ public int getDirectRolesCount() {
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -253,8 +217,6 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -271,16 +233,15 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,7 +253,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -333,17 +295,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UserLink other = - (com.google.analytics.admin.v1alpha.UserLink) obj; - - if (!getName().equals(other.getName())) return false; - if (!getEmailAddress().equals(other.getEmailAddress())) return false; - if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; + com.google.analytics.admin.v1alpha.UserLink other = (com.google.analytics.admin.v1alpha.UserLink) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getEmailAddress() + .equals(other.getEmailAddress())) return false; + if (!getDirectRolesList() + .equals(other.getDirectRolesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -368,104 +332,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( 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.UserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a user's permissions on an Account or
    * Property resource.
@@ -473,32 +430,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UserLink)
       com.google.analytics.admin.v1alpha.UserLinkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.UserLink.class,
-              com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+              com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.UserLink.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -511,9 +469,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto
-          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
@@ -532,12 +490,9 @@ public com.google.analytics.admin.v1alpha.UserLink build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.UserLink buildPartial() {
-      com.google.analytics.admin.v1alpha.UserLink result =
-          new com.google.analytics.admin.v1alpha.UserLink(this);
+      com.google.analytics.admin.v1alpha.UserLink result = new com.google.analytics.admin.v1alpha.UserLink(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -564,39 +519,38 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UserLink result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.UserLink) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink) other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -651,32 +605,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                emailAddress_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDirectRolesIsMutable();
-                directRoles_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              emailAddress_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDirectRolesIsMutable();
+              directRoles_.add(s);
+              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) {
@@ -686,25 +636,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -713,21 +660,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -735,35 +681,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -773,21 +712,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -797,20 +732,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object emailAddress_ = ""; /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -819,21 +752,20 @@ public java.lang.String getEmailAddress() { } } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -841,35 +773,28 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmailAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } emailAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearEmailAddress() { @@ -879,21 +804,17 @@ public Builder clearEmailAddress() { return this; } /** - * - * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEmailAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); emailAddress_ = value; bitField0_ |= 0x00000002; @@ -901,18 +822,14 @@ public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList directRoles_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -929,15 +846,13 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList getDirectRolesList() { + public com.google.protobuf.ProtocolStringList + getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -954,15 +869,12 @@ public com.google.protobuf.ProtocolStringList getDirectRolesList() {
      * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -979,7 +891,6 @@ public int getDirectRolesCount() {
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -987,8 +898,6 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1005,16 +914,14 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString + getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1031,23 +938,19 @@ public com.google.protobuf.ByteString getDirectRolesBytes(int index) {
      * 
* * repeated string direct_roles = 3; - * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDirectRoles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1064,22 +967,18 @@ public Builder setDirectRoles(int index, java.lang.String value) {
      * 
* * repeated string direct_roles = 3; - * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDirectRoles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1096,19 +995,18 @@ public Builder addDirectRoles(java.lang.String value) {
      * 
* * repeated string direct_roles = 3; - * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles(java.lang.Iterable values) { + public Builder addAllDirectRoles( + java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, directRoles_); onChanged(); return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1125,7 +1023,6 @@ public Builder addAllDirectRoles(java.lang.Iterable values) {
      * 
* * repeated string direct_roles = 3; - * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1135,8 +1032,6 @@ public Builder clearDirectRoles() { return this; } /** - * - * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1153,23 +1048,21 @@ public Builder clearDirectRoles() {
      * 
* * repeated string direct_roles = 3; - * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDirectRolesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1179,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UserLink) private static final com.google.analytics.admin.v1alpha.UserLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UserLink(); } @@ -1193,27 +1086,27 @@ public static com.google.analytics.admin.v1alpha.UserLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserLink 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; @@ -1228,4 +1121,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java similarity index 79% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java index 4a5aa7fe52fd..74182bc313a3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java @@ -1,81 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface UserLinkOrBuilder - extends +public interface UserLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UserLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** - * - * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString getEmailAddressBytes(); + com.google.protobuf.ByteString + getEmailAddressBytes(); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -92,13 +64,11 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @return A list containing the directRoles. */ - java.util.List getDirectRolesList(); + java.util.List + getDirectRolesList(); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -115,13 +85,10 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @return The count of directRoles. */ int getDirectRolesCount(); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -138,14 +105,11 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** - * - * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -162,9 +126,9 @@ public interface UserLinkOrBuilder
    * 
* * repeated string direct_roles = 3; - * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString getDirectRolesBytes(int index); + com.google.protobuf.ByteString + getDirectRolesBytes(int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto similarity index 95% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto similarity index 80% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto similarity index 86% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto similarity index 80% rename from java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto rename to owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/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/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java new file mode 100644 index 000000000000..3d6f8bb647db --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java new file mode 100644 index 000000000000..de2d89792857 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java new file mode 100644 index 000000000000..28fc382f541a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java new file mode 100644 index 000000000000..fda9a4e2398d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/createuserlink/AsyncCreateUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java new file mode 100644 index 000000000000..19a472b711ae --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java new file mode 100644 index 000000000000..35b4b214ab16 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java new file mode 100644 index 000000000000..16c786f97235 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java new file mode 100644 index 000000000000..3905c10db73f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/deleteuserlink/AsyncDeleteUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..16f814f22927 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..a9200f127155 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/getaccount/AsyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java new file mode 100644 index 000000000000..afbad04ac4e3 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java new file mode 100644 index 000000000000..bfffa7e32cf7 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java new file mode 100644 index 000000000000..5262e597c752 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java new file mode 100644 index 000000000000..4a94d9defd3b --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/getconversionevent/AsyncGetConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java new file mode 100644 index 000000000000..e03b5e5092ce --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java new file mode 100644 index 000000000000..7af0d34971b4 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java new file mode 100644 index 000000000000..96ceff5963bb --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java new file mode 100644 index 000000000000..e9b65aa97f43 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/getuserlink/AsyncGetUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java new file mode 100644 index 000000000000..a6e7730056ff --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java new file mode 100644 index 000000000000..2e0f588b14b3 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java new file mode 100644 index 000000000000..638a25a57455 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java new file mode 100644 index 000000000000..9d4283f2c76a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java new file mode 100644 index 000000000000..84250fbf85c5 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/listconversionevents/AsyncListConversionEvents.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java new file mode 100644 index 000000000000..d489bc13adaa --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java new file mode 100644 index 000000000000..c919271c1641 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java new file mode 100644 index 000000000000..e7e6188d20c7 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java new file mode 100644 index 000000000000..1e4ed9ec5994 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java new file mode 100644 index 000000000000..6136504ec83d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/listuserlinks/AsyncListUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..6641b9d096b9 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java new file mode 100644 index 000000000000..e101d284333e --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/updateaccount/AsyncUpdateAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java new file mode 100644 index 000000000000..a4d2459de825 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java new file mode 100644 index 000000000000..384dcd2d31d0 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java new file mode 100644 index 000000000000..3cca3263798d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1alpha/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] diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java similarity index 99% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java index f485357d743f..140c14423eeb 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java @@ -39,6 +39,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java similarity index 99% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java index 47f5763135cb..b88a2200f655 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java @@ -112,6 +112,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java diff --git a/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java b/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java similarity index 100% rename from java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java rename to owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java b/owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java new file mode 100644 index 000000000000..9f6d1fc29d04 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,4375 @@ +package com.google.analytics.admin.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service Interface for the Analytics Admin API (GA4).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/admin/v1beta/analytics_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AnalyticsAdminServiceGrpc { + + private AnalyticsAdminServiceGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.admin.v1beta.AnalyticsAdminService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAccount", + requestType = com.google.analytics.admin.v1beta.GetAccountRequest.class, + responseType = com.google.analytics.admin.v1beta.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAccountMethod() { + io.grpc.MethodDescriptor getGetAccountMethod; + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAccountMethod = getGetAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Account.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) + .build(); + } + } + } + return getGetAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAccountsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccounts", + requestType = com.google.analytics.admin.v1beta.ListAccountsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListAccountsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAccountsMethod() { + io.grpc.MethodDescriptor getListAccountsMethod; + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountsMethod = getListAccountsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) + .build(); + } + } + } + return getListAccountsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", + requestType = com.google.analytics.admin.v1beta.DeleteAccountRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAccountMethod() { + io.grpc.MethodDescriptor getDeleteAccountMethod; + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteAccountMethod = getDeleteAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) + .build(); + } + } + } + return getDeleteAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", + requestType = com.google.analytics.admin.v1beta.UpdateAccountRequest.class, + responseType = com.google.analytics.admin.v1beta.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAccountMethod() { + io.grpc.MethodDescriptor getUpdateAccountMethod; + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAccountMethod = getUpdateAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Account.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) + .build(); + } + } + } + return getUpdateAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getProvisionAccountTicketMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", + requestType = com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, + responseType = com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getProvisionAccountTicketMethod() { + io.grpc.MethodDescriptor getProvisionAccountTicketMethod; + if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = getProvisionAccountTicketMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ProvisionAccountTicket")) + .build(); + } + } + } + return getProvisionAccountTicketMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAccountSummariesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", + requestType = com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, + responseType = com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAccountSummariesMethod() { + io.grpc.MethodDescriptor getListAccountSummariesMethod; + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = getListAccountSummariesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) + .build(); + } + } + } + return getListAccountSummariesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProperty", + requestType = com.google.analytics.admin.v1beta.GetPropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPropertyMethod() { + io.grpc.MethodDescriptor getGetPropertyMethod; + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getGetPropertyMethod = getGetPropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetPropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) + .build(); + } + } + } + return getGetPropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPropertiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProperties", + requestType = com.google.analytics.admin.v1beta.ListPropertiesRequest.class, + responseType = com.google.analytics.admin.v1beta.ListPropertiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPropertiesMethod() { + io.grpc.MethodDescriptor getListPropertiesMethod; + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + AnalyticsAdminServiceGrpc.getListPropertiesMethod = getListPropertiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListPropertiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListPropertiesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) + .build(); + } + } + } + return getListPropertiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateProperty", + requestType = com.google.analytics.admin.v1beta.CreatePropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreatePropertyMethod() { + io.grpc.MethodDescriptor getCreatePropertyMethod; + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getCreatePropertyMethod = getCreatePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreatePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) + .build(); + } + } + } + return getCreatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", + requestType = com.google.analytics.admin.v1beta.DeletePropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePropertyMethod() { + io.grpc.MethodDescriptor getDeletePropertyMethod; + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getDeletePropertyMethod = getDeletePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeletePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) + .build(); + } + } + } + return getDeletePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", + requestType = com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePropertyMethod() { + io.grpc.MethodDescriptor getUpdatePropertyMethod; + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = getUpdatePropertyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdatePropertyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) + .build(); + } + } + } + return getUpdatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", + requestType = com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, + responseType = com.google.analytics.admin.v1beta.FirebaseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateFirebaseLinkMethod() { + io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = getCreateFirebaseLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) + .build(); + } + } + } + return getCreateFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", + requestType = com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod() { + io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = getDeleteFirebaseLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) + .build(); + } + } + } + return getDeleteFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFirebaseLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", + requestType = com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, + responseType = com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFirebaseLinksMethod() { + io.grpc.MethodDescriptor getListFirebaseLinksMethod; + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = getListFirebaseLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) + .build(); + } + } + } + return getListFirebaseLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", + requestType = com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = getCreateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) + .build(); + } + } + } + return getCreateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", + requestType = com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = getUpdateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) + .build(); + } + } + } + return getUpdateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", + requestType = com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = getDeleteGoogleAdsLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) + .build(); + } + } + } + return getDeleteGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", + requestType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, + responseType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListGoogleAdsLinksMethod() { + io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = getListGoogleAdsLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) + .build(); + } + } + } + return getListGoogleAdsLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", + requestType = com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, + responseType = com.google.analytics.admin.v1beta.DataSharingSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataSharingSettingsMethod() { + io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; + if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = getGetDataSharingSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataSharingSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataSharingSettings")) + .build(); + } + } + } + return getGetDataSharingSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; + if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = getGetMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetMeasurementProtocolSecret")) + .build(); + } + } + } + return getGetMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", + requestType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod() { + io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; + if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = getListMeasurementProtocolSecretsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListMeasurementProtocolSecrets")) + .build(); + } + } + } + return getListMeasurementProtocolSecretsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; + if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = getCreateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateMeasurementProtocolSecret")) + .build(); + } + } + } + return getCreateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; + if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = getDeleteMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteMeasurementProtocolSecret")) + .build(); + } + } + } + return getDeleteMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; + if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = getUpdateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateMeasurementProtocolSecret")) + .build(); + } + } + } + return getUpdateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", + requestType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, + responseType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod() { + io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; + if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = getAcknowledgeUserDataCollectionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AcknowledgeUserDataCollection")) + .build(); + } + } + } + return getAcknowledgeUserDataCollectionMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", + requestType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, + responseType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod() { + io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; + if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = getSearchChangeHistoryEventsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("SearchChangeHistoryEvents")) + .build(); + } + } + } + return getSearchChangeHistoryEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", + requestType = com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, + responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateConversionEventMethod() { + io.grpc.MethodDescriptor getCreateConversionEventMethod; + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = getCreateConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateConversionEvent")) + .build(); + } + } + } + return getCreateConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", + requestType = com.google.analytics.admin.v1beta.GetConversionEventRequest.class, + responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConversionEventMethod() { + io.grpc.MethodDescriptor getGetConversionEventMethod; + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getGetConversionEventMethod = getGetConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) + .build(); + } + } + } + return getGetConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", + requestType = com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteConversionEventMethod() { + io.grpc.MethodDescriptor getDeleteConversionEventMethod; + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = getDeleteConversionEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteConversionEvent")) + .build(); + } + } + } + return getDeleteConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor getListConversionEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", + requestType = com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListConversionEventsMethod() { + io.grpc.MethodDescriptor getListConversionEventsMethod; + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { + AnalyticsAdminServiceGrpc.getListConversionEventsMethod = getListConversionEventsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) + .build(); + } + } + } + return getListConversionEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", + requestType = com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCustomDimensionMethod() { + io.grpc.MethodDescriptor getCreateCustomDimensionMethod; + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = getCreateCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomDimension")) + .build(); + } + } + } + return getCreateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", + requestType = com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCustomDimensionMethod() { + io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = getUpdateCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomDimension")) + .build(); + } + } + } + return getUpdateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCustomDimensionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", + requestType = com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCustomDimensionsMethod() { + io.grpc.MethodDescriptor getListCustomDimensionsMethod; + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = getListCustomDimensionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) + .build(); + } + } + } + return getListCustomDimensionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", + requestType = com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getArchiveCustomDimensionMethod() { + io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; + if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = getArchiveCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomDimension")) + .build(); + } + } + } + return getArchiveCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", + requestType = com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCustomDimensionMethod() { + io.grpc.MethodDescriptor getGetCustomDimensionMethod; + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { + AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = getGetCustomDimensionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) + .build(); + } + } + } + return getGetCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", + requestType = com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCustomMetricMethod() { + io.grpc.MethodDescriptor getCreateCustomMetricMethod; + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = getCreateCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) + .build(); + } + } + } + return getCreateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", + requestType = com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCustomMetricMethod() { + io.grpc.MethodDescriptor getUpdateCustomMetricMethod; + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = getUpdateCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) + .build(); + } + } + } + return getUpdateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCustomMetricsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", + requestType = com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCustomMetricsMethod() { + io.grpc.MethodDescriptor getListCustomMetricsMethod; + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { + AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = getListCustomMetricsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomMetricsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomMetricsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) + .build(); + } + } + } + return getListCustomMetricsMethod; + } + + private static volatile io.grpc.MethodDescriptor getArchiveCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", + requestType = com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getArchiveCustomMetricMethod() { + io.grpc.MethodDescriptor getArchiveCustomMetricMethod; + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = getArchiveCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) + .build(); + } + } + } + return getArchiveCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", + requestType = com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCustomMetricMethod() { + io.grpc.MethodDescriptor getGetCustomMetricMethod; + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = getGetCustomMetricMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetCustomMetricRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) + .build(); + } + } + } + return getGetCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", + requestType = com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; + if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = getGetDataRetentionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataRetentionSettings")) + .build(); + } + } + } + return getGetDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", + requestType = com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; + if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = getUpdateDataRetentionSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataRetentionSettings")) + .build(); + } + } + } + return getUpdateDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", + requestType = com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1beta.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDataStreamMethod() { + io.grpc.MethodDescriptor getCreateDataStreamMethod; + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = getCreateDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) + .build(); + } + } + } + return getCreateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", + requestType = com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDataStreamMethod() { + io.grpc.MethodDescriptor getDeleteDataStreamMethod; + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = getDeleteDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) + .build(); + } + } + } + return getDeleteDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", + requestType = com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1beta.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDataStreamMethod() { + io.grpc.MethodDescriptor getUpdateDataStreamMethod; + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = getUpdateDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) + .build(); + } + } + } + return getUpdateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", + requestType = com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDataStreamsMethod() { + io.grpc.MethodDescriptor getListDataStreamsMethod; + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + AnalyticsAdminServiceGrpc.getListDataStreamsMethod = getListDataStreamsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListDataStreamsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListDataStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) + .build(); + } + } + } + return getListDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataStream", + requestType = com.google.analytics.admin.v1beta.GetDataStreamRequest.class, + responseType = com.google.analytics.admin.v1beta.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDataStreamMethod() { + io.grpc.MethodDescriptor getGetDataStreamMethod; + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataStreamMethod = getGetDataStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetDataStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) + .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) + .build(); + } + } + } + return getGetDataStreamMethod; + } + + /** + * 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 = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AnalyticsAdminServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AnalyticsAdminServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static abstract class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountsMethod(), responseObserver); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionAccountTicketMethod(), responseObserver); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries(com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountSummariesMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPropertyMethod(), responseObserver); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPropertiesMethod(), responseObserver); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePropertyMethod(), responseObserver); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public void deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePropertyMethod(), responseObserver); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFirebaseLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFirebaseLinkMethod(), responseObserver); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFirebaseLinksMethod(), responseObserver); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGoogleAdsLinkMethod(), responseObserver); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGoogleAdsLinksMethod(), responseObserver); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSharingSettingsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMeasurementProtocolSecretsMethod(), responseObserver); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeUserDataCollectionMethod(), responseObserver); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchChangeHistoryEventsMethod(), responseObserver); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent(com.google.analytics.admin.v1beta.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversionEventMethod(), responseObserver); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent(com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversionEventMethod(), responseObserver); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents(com.google.analytics.admin.v1beta.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConversionEventsMethod(), responseObserver); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomDimensionsMethod(), responseObserver); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomMetricsMethod(), responseObserver); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomMetricMethod(), responseObserver); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataRetentionSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataStreamMethod(), responseObserver); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataStreamMethod(), responseObserver); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataStreamMethod(), responseObserver); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataStreamsMethod(), responseObserver); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataStreamMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetAccountRequest, + com.google.analytics.admin.v1beta.Account>( + this, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListAccountsRequest, + com.google.analytics.admin.v1beta.ListAccountsResponse>( + this, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteAccountRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateAccountRequest, + com.google.analytics.admin.v1beta.Account>( + this, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>( + this, METHODID_PROVISION_ACCOUNT_TICKET))) + .addMethod( + getListAccountSummariesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListAccountSummariesRequest, + com.google.analytics.admin.v1beta.ListAccountSummariesResponse>( + this, METHODID_LIST_ACCOUNT_SUMMARIES))) + .addMethod( + getGetPropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetPropertyRequest, + com.google.analytics.admin.v1beta.Property>( + this, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListPropertiesRequest, + com.google.analytics.admin.v1beta.ListPropertiesResponse>( + this, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreatePropertyRequest, + com.google.analytics.admin.v1beta.Property>( + this, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeletePropertyRequest, + com.google.analytics.admin.v1beta.Property>( + this, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdatePropertyRequest, + com.google.analytics.admin.v1beta.Property>( + this, METHODID_UPDATE_PROPERTY))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1beta.FirebaseLink>( + this, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_FIREBASE_LINK))) + .addMethod( + getListFirebaseLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse>( + this, METHODID_LIST_FIREBASE_LINKS))) + .addMethod( + getCreateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink>( + this, METHODID_CREATE_GOOGLE_ADS_LINK))) + .addMethod( + getUpdateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink>( + this, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_GOOGLE_ADS_LINK))) + .addMethod( + getListGoogleAdsLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse>( + this, METHODID_LIST_GOOGLE_ADS_LINKS))) + .addMethod( + getGetDataSharingSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1beta.DataSharingSettings>( + this, METHODID_GET_DATA_SHARING_SETTINGS))) + .addMethod( + getGetMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( + this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getListMeasurementProtocolSecretsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse>( + this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) + .addMethod( + getCreateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( + this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getUpdateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( + this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getAcknowledgeUserDataCollectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>( + this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) + .addMethod( + getSearchChangeHistoryEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse>( + this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) + .addMethod( + getCreateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent>( + this, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent>( + this, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteConversionEventRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CONVERSION_EVENT))) + .addMethod( + getListConversionEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListConversionEventsRequest, + com.google.analytics.admin.v1beta.ListConversionEventsResponse>( + this, METHODID_LIST_CONVERSION_EVENTS))) + .addMethod( + getCreateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension>( + this, METHODID_CREATE_CUSTOM_DIMENSION))) + .addMethod( + getUpdateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension>( + this, METHODID_UPDATE_CUSTOM_DIMENSION))) + .addMethod( + getListCustomDimensionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse>( + this, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>( + this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) + .addMethod( + getGetCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension>( + this, METHODID_GET_CUSTOM_DIMENSION))) + .addMethod( + getCreateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric>( + this, METHODID_CREATE_CUSTOM_METRIC))) + .addMethod( + getUpdateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric>( + this, METHODID_UPDATE_CUSTOM_METRIC))) + .addMethod( + getListCustomMetricsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListCustomMetricsRequest, + com.google.analytics.admin.v1beta.ListCustomMetricsResponse>( + this, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>( + this, METHODID_ARCHIVE_CUSTOM_METRIC))) + .addMethod( + getGetCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric>( + this, METHODID_GET_CUSTOM_METRIC))) + .addMethod( + getGetDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings>( + this, METHODID_GET_DATA_RETENTION_SETTINGS))) + .addMethod( + getUpdateDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings>( + this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) + .addMethod( + getCreateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream>( + this, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteDataStreamRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DATA_STREAM))) + .addMethod( + getUpdateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream>( + this, METHODID_UPDATE_DATA_STREAM))) + .addMethod( + getListDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListDataStreamsRequest, + com.google.analytics.admin.v1beta.ListDataStreamsResponse>( + this, METHODID_LIST_DATA_STREAMS))) + .addMethod( + getGetDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream>( + this, METHODID_GET_DATA_STREAM))) + .build(); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AnalyticsAdminServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries(com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public void deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent(com.google.analytics.admin.v1beta.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent(com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents(com.google.analytics.admin.v1beta.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AnalyticsAdminServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Account getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListAccountsResponse listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountsMethod(), getCallOptions(), request); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.protobuf.Empty deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Account updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse provisionAccountTicket(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListAccountSummariesResponse listAccountSummaries(com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListPropertiesResponse listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPropertiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1beta.FirebaseLink createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.analytics.admin.v1beta.GoogleAdsLink createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.analytics.admin.v1beta.GoogleAdsLink updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataSharingSettings getDataSharingSettings(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret createMeasurementProtocolSecret(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.protobuf.Empty deleteMeasurementProtocolSecret(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret updateMeasurementProtocolSecret(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + *
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse searchChangeHistoryEvents(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ConversionEvent createConversionEvent(com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteConversionEvent(com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListConversionEventsResponse listConversionEvents(com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConversionEventsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomDimension createCustomDimension(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomDimension updateCustomDimension(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse listCustomDimensions(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomDimension(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomMetric createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomMetric updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListCustomMetricsResponse listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataRetentionSettings updateDataRetentionSettings(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataStream createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataStream updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListDataStreamsResponse listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataStream getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataStreamMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AnalyticsAdminServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAccount( + com.google.analytics.admin.v1beta.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAccounts( + com.google.analytics.admin.v1beta.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); + } + + /** + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAccount( + com.google.analytics.admin.v1beta.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAccount( + com.google.analytics.admin.v1beta.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture provisionAccountTicket( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAccountSummaries( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProperty( + com.google.analytics.admin.v1beta.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listProperties( + com.google.analytics.admin.v1beta.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createProperty( + com.google.analytics.admin.v1beta.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteProperty( + com.google.analytics.admin.v1beta.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProperty( + com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createFirebaseLink( + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFirebaseLink( + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFirebaseLinks( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createGoogleAdsLink( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateGoogleAdsLink( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteGoogleAdsLink( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listGoogleAdsLinks( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); + } + + /** + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataSharingSettings( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMeasurementProtocolSecrets( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + *
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture acknowledgeUserDataCollection( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchChangeHistoryEvents( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createConversionEvent( + com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConversionEvent( + com.google.analytics.admin.v1beta.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteConversionEvent( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listConversionEvents( + com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCustomDimension( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCustomDimension( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCustomDimensions( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture archiveCustomDimension( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCustomDimension( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCustomMetric( + com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCustomMetric( + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCustomMetrics( + com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); + } + + /** + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture archiveCustomMetric( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCustomMetric( + com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataRetentionSettings( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataRetentionSettings( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDataStream( + com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDataStream( + com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDataStream( + com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDataStreams( + com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDataStream( + com.google.analytics.admin.v1beta.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_ACCOUNT = 0; + private static final int METHODID_LIST_ACCOUNTS = 1; + private static final int METHODID_DELETE_ACCOUNT = 2; + private static final int METHODID_UPDATE_ACCOUNT = 3; + private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; + private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; + private static final int METHODID_GET_PROPERTY = 6; + private static final int METHODID_LIST_PROPERTIES = 7; + private static final int METHODID_CREATE_PROPERTY = 8; + private static final int METHODID_DELETE_PROPERTY = 9; + private static final int METHODID_UPDATE_PROPERTY = 10; + private static final int METHODID_CREATE_FIREBASE_LINK = 11; + private static final int METHODID_DELETE_FIREBASE_LINK = 12; + private static final int METHODID_LIST_FIREBASE_LINKS = 13; + private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 14; + private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 15; + private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 16; + private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 17; + private static final int METHODID_GET_DATA_SHARING_SETTINGS = 18; + private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 19; + private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 20; + private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 21; + private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 22; + private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 23; + private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 24; + private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 25; + private static final int METHODID_CREATE_CONVERSION_EVENT = 26; + private static final int METHODID_GET_CONVERSION_EVENT = 27; + private static final int METHODID_DELETE_CONVERSION_EVENT = 28; + private static final int METHODID_LIST_CONVERSION_EVENTS = 29; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 30; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 31; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 32; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 33; + private static final int METHODID_GET_CUSTOM_DIMENSION = 34; + private static final int METHODID_CREATE_CUSTOM_METRIC = 35; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 36; + private static final int METHODID_LIST_CUSTOM_METRICS = 37; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 38; + private static final int METHODID_GET_CUSTOM_METRIC = 39; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 40; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 41; + private static final int METHODID_CREATE_DATA_STREAM = 42; + private static final int METHODID_DELETE_DATA_STREAM = 43; + private static final int METHODID_UPDATE_DATA_STREAM = 44; + private static final int METHODID_LIST_DATA_STREAMS = 45; + private static final int METHODID_GET_DATA_STREAM = 46; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AnalyticsAdminServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_ACCOUNT: + serviceImpl.getAccount((com.google.analytics.admin.v1beta.GetAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ACCOUNTS: + serviceImpl.listAccounts((com.google.analytics.admin.v1beta.ListAccountsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ACCOUNT: + serviceImpl.deleteAccount((com.google.analytics.admin.v1beta.DeleteAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ACCOUNT: + serviceImpl.updateAccount((com.google.analytics.admin.v1beta.UpdateAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROVISION_ACCOUNT_TICKET: + serviceImpl.provisionAccountTicket((com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ACCOUNT_SUMMARIES: + serviceImpl.listAccountSummaries((com.google.analytics.admin.v1beta.ListAccountSummariesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROPERTY: + serviceImpl.getProperty((com.google.analytics.admin.v1beta.GetPropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PROPERTIES: + serviceImpl.listProperties((com.google.analytics.admin.v1beta.ListPropertiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PROPERTY: + serviceImpl.createProperty((com.google.analytics.admin.v1beta.CreatePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PROPERTY: + serviceImpl.deleteProperty((com.google.analytics.admin.v1beta.DeletePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROPERTY: + serviceImpl.updateProperty((com.google.analytics.admin.v1beta.UpdatePropertyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_FIREBASE_LINK: + serviceImpl.createFirebaseLink((com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_FIREBASE_LINK: + serviceImpl.deleteFirebaseLink((com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FIREBASE_LINKS: + serviceImpl.listFirebaseLinks((com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_GOOGLE_ADS_LINK: + serviceImpl.createGoogleAdsLink((com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GOOGLE_ADS_LINK: + serviceImpl.updateGoogleAdsLink((com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_GOOGLE_ADS_LINK: + serviceImpl.deleteGoogleAdsLink((com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GOOGLE_ADS_LINKS: + serviceImpl.listGoogleAdsLinks((com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_SHARING_SETTINGS: + serviceImpl.getDataSharingSettings((com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.getMeasurementProtocolSecret((com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: + serviceImpl.listMeasurementProtocolSecrets((com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.createMeasurementProtocolSecret((com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.deleteMeasurementProtocolSecret((com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.updateMeasurementProtocolSecret((com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: + serviceImpl.acknowledgeUserDataCollection((com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: + serviceImpl.searchChangeHistoryEvents((com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CONVERSION_EVENT: + serviceImpl.createConversionEvent((com.google.analytics.admin.v1beta.CreateConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONVERSION_EVENT: + serviceImpl.getConversionEvent((com.google.analytics.admin.v1beta.GetConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CONVERSION_EVENT: + serviceImpl.deleteConversionEvent((com.google.analytics.admin.v1beta.DeleteConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONVERSION_EVENTS: + serviceImpl.listConversionEvents((com.google.analytics.admin.v1beta.ListConversionEventsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CUSTOM_DIMENSION: + serviceImpl.createCustomDimension((com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CUSTOM_DIMENSION: + serviceImpl.updateCustomDimension((com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUSTOM_DIMENSIONS: + serviceImpl.listCustomDimensions((com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_DIMENSION: + serviceImpl.archiveCustomDimension((com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_DIMENSION: + serviceImpl.getCustomDimension((com.google.analytics.admin.v1beta.GetCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CUSTOM_METRIC: + serviceImpl.createCustomMetric((com.google.analytics.admin.v1beta.CreateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CUSTOM_METRIC: + serviceImpl.updateCustomMetric((com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUSTOM_METRICS: + serviceImpl.listCustomMetrics((com.google.analytics.admin.v1beta.ListCustomMetricsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_METRIC: + serviceImpl.archiveCustomMetric((com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_METRIC: + serviceImpl.getCustomMetric((com.google.analytics.admin.v1beta.GetCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_RETENTION_SETTINGS: + serviceImpl.getDataRetentionSettings((com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_RETENTION_SETTINGS: + serviceImpl.updateDataRetentionSettings((com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DATA_STREAM: + serviceImpl.createDataStream((com.google.analytics.admin.v1beta.CreateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATA_STREAM: + serviceImpl.deleteDataStream((com.google.analytics.admin.v1beta.DeleteDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_STREAM: + serviceImpl.updateDataStream((com.google.analytics.admin.v1beta.UpdateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATA_STREAMS: + serviceImpl.listDataStreams((com.google.analytics.admin.v1beta.ListDataStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATA_STREAM: + serviceImpl.getDataStream((com.google.analytics.admin.v1beta.GetDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AnalyticsAdminServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AnalyticsAdminService"); + } + } + + private static final class AnalyticsAdminServiceFileDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier { + AnalyticsAdminServiceFileDescriptorSupplier() {} + } + + private static final class AnalyticsAdminServiceMethodDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) + .addMethod(getGetAccountMethod()) + .addMethod(getListAccountsMethod()) + .addMethod(getDeleteAccountMethod()) + .addMethod(getUpdateAccountMethod()) + .addMethod(getProvisionAccountTicketMethod()) + .addMethod(getListAccountSummariesMethod()) + .addMethod(getGetPropertyMethod()) + .addMethod(getListPropertiesMethod()) + .addMethod(getCreatePropertyMethod()) + .addMethod(getDeletePropertyMethod()) + .addMethod(getUpdatePropertyMethod()) + .addMethod(getCreateFirebaseLinkMethod()) + .addMethod(getDeleteFirebaseLinkMethod()) + .addMethod(getListFirebaseLinksMethod()) + .addMethod(getCreateGoogleAdsLinkMethod()) + .addMethod(getUpdateGoogleAdsLinkMethod()) + .addMethod(getDeleteGoogleAdsLinkMethod()) + .addMethod(getListGoogleAdsLinksMethod()) + .addMethod(getGetDataSharingSettingsMethod()) + .addMethod(getGetMeasurementProtocolSecretMethod()) + .addMethod(getListMeasurementProtocolSecretsMethod()) + .addMethod(getCreateMeasurementProtocolSecretMethod()) + .addMethod(getDeleteMeasurementProtocolSecretMethod()) + .addMethod(getUpdateMeasurementProtocolSecretMethod()) + .addMethod(getAcknowledgeUserDataCollectionMethod()) + .addMethod(getSearchChangeHistoryEventsMethod()) + .addMethod(getCreateConversionEventMethod()) + .addMethod(getGetConversionEventMethod()) + .addMethod(getDeleteConversionEventMethod()) + .addMethod(getListConversionEventsMethod()) + .addMethod(getCreateCustomDimensionMethod()) + .addMethod(getUpdateCustomDimensionMethod()) + .addMethod(getListCustomDimensionsMethod()) + .addMethod(getArchiveCustomDimensionMethod()) + .addMethod(getGetCustomDimensionMethod()) + .addMethod(getCreateCustomMetricMethod()) + .addMethod(getUpdateCustomMetricMethod()) + .addMethod(getListCustomMetricsMethod()) + .addMethod(getArchiveCustomMetricMethod()) + .addMethod(getGetCustomMetricMethod()) + .addMethod(getGetDataRetentionSettingsMethod()) + .addMethod(getUpdateDataRetentionSettingsMethod()) + .addMethod(getCreateDataStreamMethod()) + .addMethod(getDeleteDataStreamMethod()) + .addMethod(getUpdateDataStreamMethod()) + .addMethod(getListDataStreamsMethod()) + .addMethod(getGetDataStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java index f63c5fe15cda..7a0285fc8675 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A resource message representing a Google Analytics account.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.Account} */ -public final class Account extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Account extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.Account) AccountOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Account.newBuilder() to construct. private Account(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Account() { name_ = ""; displayName_ = ""; @@ -45,37 +27,33 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Account(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Account_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Account.class, - com.google.analytics.admin.v1beta.Account.Builder.class); + com.google.analytics.admin.v1beta.Account.class, com.google.analytics.admin.v1beta.Account.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -108,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,15 +104,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -143,15 +116,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -159,14 +128,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -176,15 +142,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -192,15 +154,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -208,14 +166,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -223,18 +178,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -243,29 +194,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -274,18 +225,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int REGION_CODE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object regionCode_ = ""; /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The regionCode. */ @java.lang.Override @@ -294,29 +241,29 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -327,15 +274,12 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int DELETED_FIELD_NUMBER = 6; private boolean deleted_ = false; /** - * - * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -344,7 +288,6 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -388,10 +332,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); @@ -400,7 +346,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, regionCode_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, deleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, deleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -410,26 +357,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.Account)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.Account other = - (com.google.analytics.admin.v1beta.Account) obj; + com.google.analytics.admin.v1beta.Account other = (com.google.analytics.admin.v1beta.Account) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; - if (getDeleted() != other.getDeleted()) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; + if (getDeleted() + != other.getDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -456,142 +408,137 @@ public int hashCode() { hash = (37 * hash) + REGION_CODE_FIELD_NUMBER; hash = (53 * hash) + getRegionCode().hashCode(); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1beta.Account parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.Account parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.Account parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Account parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.Account parseFrom( 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.v1beta.Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.Account parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Account parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.Account parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.Account parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.Account parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.Account parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Account parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.Account parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.Account prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a Google Analytics account.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.Account} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.Account) com.google.analytics.admin.v1beta.AccountOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Account_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Account.class, - com.google.analytics.admin.v1beta.Account.Builder.class); + com.google.analytics.admin.v1beta.Account.class, com.google.analytics.admin.v1beta.Account.Builder.class); } // Construct using com.google.analytics.admin.v1beta.Account.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +561,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Account_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_descriptor; } @java.lang.Override @@ -635,11 +582,8 @@ public com.google.analytics.admin.v1beta.Account build() { @java.lang.Override public com.google.analytics.admin.v1beta.Account buildPartial() { - com.google.analytics.admin.v1beta.Account result = - new com.google.analytics.admin.v1beta.Account(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.Account result = new com.google.analytics.admin.v1beta.Account(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -650,10 +594,14 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Account result) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.displayName_ = displayName_; @@ -670,39 +618,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Account result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.Account) { - return mergeFrom((com.google.analytics.admin.v1beta.Account) other); + return mergeFrom((com.google.analytics.admin.v1beta.Account)other); } else { super.mergeFrom(other); return this; @@ -761,49 +708,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - regionCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - deleted_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + regionCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + deleted_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -813,13 +757,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -827,13 +768,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -842,8 +783,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -851,14 +790,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -866,8 +806,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -875,22 +813,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + 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 account.
      * Format: accounts/{account}
@@ -898,7 +832,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -908,8 +841,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -917,14 +848,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -934,58 +863,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1001,17 +911,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1022,21 +929,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1049,15 +952,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1070,15 +969,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1086,48 +981,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1135,58 +1018,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1202,17 +1066,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1223,21 +1084,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1250,15 +1107,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1271,15 +1124,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1287,48 +1136,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1336,20 +1173,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1358,21 +1193,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1380,35 +1214,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1418,21 +1245,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -1442,20 +1265,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object regionCode_ = ""; /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1464,21 +1285,20 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1486,35 +1306,28 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } regionCode_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @return This builder for chaining. */ public Builder clearRegionCode() { @@ -1524,21 +1337,17 @@ public Builder clearRegionCode() { return this; } /** - * - * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); regionCode_ = value; bitField0_ |= 0x00000010; @@ -1546,17 +1355,14 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { return this; } - private boolean deleted_; + private boolean deleted_ ; /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ @java.lang.Override @@ -1564,35 +1370,29 @@ public boolean getDeleted() { return deleted_; } /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -1601,9 +1401,9 @@ public Builder clearDeleted() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1613,12 +1413,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.Account) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.Account) private static final com.google.analytics.admin.v1beta.Account DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.Account(); } @@ -1627,27 +1427,27 @@ public static com.google.analytics.admin.v1beta.Account getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Account 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Account 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; @@ -1662,4 +1462,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java index a1501352d6c8..d29ffee1eb04 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface AccountOrBuilder - extends +public interface AccountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.Account) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -33,13 +15,10 @@ public interface AccountOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -47,147 +26,112 @@ public interface AccountOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deleted. */ boolean getDeleted(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java similarity index 74% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java index 44014ccfba27..5484250f672d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A virtual resource representing an overview of an account and
  * all its child GA4 properties.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.AccountSummary}
  */
-public final class AccountSummary extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AccountSummary extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.AccountSummary)
     AccountSummaryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AccountSummary.newBuilder() to construct.
   private AccountSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AccountSummary() {
     name_ = "";
     account_ = "";
@@ -47,37 +29,33 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1beta.ResourcesProto
-        .internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.ResourcesProto
-        .internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccountSummary.class,
-            com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
+            com.google.analytics.admin.v1beta.AccountSummary.class, com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -85,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -94,15 +71,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -110,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,12 +104,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ACCOUNT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -140,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ @java.lang.Override @@ -149,15 +122,14 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -165,15 +137,16 @@ public java.lang.String getAccount() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -182,18 +155,14 @@ public com.google.protobuf.ByteString getAccountBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -202,29 +171,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -233,12 +202,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int PROPERTY_SUMMARIES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List propertySummaries_; /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -246,13 +212,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List - getPropertySummariesList() { + public java.util.List getPropertySummariesList() { return propertySummaries_; } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -260,13 +223,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List + public java.util.List getPropertySummariesOrBuilderList() { return propertySummaries_; } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -278,8 +239,6 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -291,8 +250,6 @@ public com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(in return propertySummaries_.get(index); } /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -306,7 +263,6 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -350,8 +307,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } for (int i = 0; i < propertySummaries_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, propertySummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, propertySummaries_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -361,18 +318,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.AccountSummary)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccountSummary other = - (com.google.analytics.admin.v1beta.AccountSummary) obj; + com.google.analytics.admin.v1beta.AccountSummary other = (com.google.analytics.admin.v1beta.AccountSummary) obj; - if (!getName().equals(other.getName())) return false; - if (!getAccount().equals(other.getAccount())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getPropertySummariesList().equals(other.getPropertySummariesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getPropertySummariesList() + .equals(other.getPropertySummariesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,104 +359,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( 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.v1beta.AccountSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.AccountSummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccountSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AccountSummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.AccountSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A virtual resource representing an overview of an account and
    * all its child GA4 properties.
@@ -504,32 +457,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1beta.AccountSummary}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.AccountSummary)
       com.google.analytics.admin.v1beta.AccountSummaryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccountSummary.class,
-              com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
+              com.google.analytics.admin.v1beta.AccountSummary.class, com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.AccountSummary.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -548,9 +502,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
     }
 
     @java.lang.Override
@@ -569,18 +523,14 @@ public com.google.analytics.admin.v1beta.AccountSummary build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccountSummary buildPartial() {
-      com.google.analytics.admin.v1beta.AccountSummary result =
-          new com.google.analytics.admin.v1beta.AccountSummary(this);
+      com.google.analytics.admin.v1beta.AccountSummary result = new com.google.analytics.admin.v1beta.AccountSummary(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.analytics.admin.v1beta.AccountSummary result) {
+    private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.AccountSummary result) {
       if (propertySummariesBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           propertySummaries_ = java.util.Collections.unmodifiableList(propertySummaries_);
@@ -609,39 +559,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccountSummary resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.v1beta.AccountSummary) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccountSummary) other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccountSummary)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -649,8 +598,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.AccountSummary other) {
-      if (other == com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -684,10 +632,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.AccountSummary other)
             propertySummariesBuilder_ = null;
             propertySummaries_ = other.propertySummaries_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            propertySummariesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPropertySummariesFieldBuilder()
-                    : null;
+            propertySummariesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPropertySummariesFieldBuilder() : null;
           } else {
             propertySummariesBuilder_.addAllMessages(other.propertySummaries_);
           }
@@ -719,45 +666,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                account_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.analytics.admin.v1beta.PropertySummary m =
-                    input.readMessage(
-                        com.google.analytics.admin.v1beta.PropertySummary.parser(),
-                        extensionRegistry);
-                if (propertySummariesBuilder_ == null) {
-                  ensurePropertySummariesIsMutable();
-                  propertySummaries_.add(m);
-                } else {
-                  propertySummariesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              account_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              com.google.analytics.admin.v1beta.PropertySummary m =
+                  input.readMessage(
+                      com.google.analytics.admin.v1beta.PropertySummary.parser(),
+                      extensionRegistry);
+              if (propertySummariesBuilder_ == null) {
+                ensurePropertySummariesIsMutable();
+                propertySummaries_.add(m);
+              } else {
+                propertySummariesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            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) {
@@ -767,13 +709,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -781,13 +720,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -796,8 +735,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -805,14 +742,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -820,8 +758,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -829,22 +765,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -852,7 +784,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -862,8 +793,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -871,14 +800,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -888,8 +815,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object account_ = ""; /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -897,13 +822,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -912,8 +837,6 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -921,14 +844,15 @@ public java.lang.String getAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -936,8 +860,6 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -945,22 +867,18 @@ public com.google.protobuf.ByteString getAccountBytes() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } account_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -968,7 +886,6 @@ public Builder setAccount(java.lang.String value) {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAccount() { @@ -978,8 +895,6 @@ public Builder clearAccount() { return this; } /** - * - * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -987,14 +902,12 @@ public Builder clearAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000002; @@ -1004,20 +917,18 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1026,21 +937,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1048,35 +958,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1086,21 +989,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1109,34 +1008,25 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } private java.util.List propertySummaries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePropertySummariesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - propertySummaries_ = - new java.util.ArrayList( - propertySummaries_); + propertySummaries_ = new java.util.ArrayList(propertySummaries_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.PropertySummary, - com.google.analytics.admin.v1beta.PropertySummary.Builder, - com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> - propertySummariesBuilder_; + com.google.analytics.admin.v1beta.PropertySummary, com.google.analytics.admin.v1beta.PropertySummary.Builder, com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> propertySummariesBuilder_; /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesList() { + public java.util.List getPropertySummariesList() { if (propertySummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(propertySummaries_); } else { @@ -1144,8 +1034,6 @@ private void ensurePropertySummariesIsMutable() { } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1160,8 +1048,6 @@ public int getPropertySummariesCount() { } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1176,8 +1062,6 @@ public com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(in } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1199,8 +1083,6 @@ public Builder setPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1219,8 +1101,6 @@ public Builder setPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1241,8 +1121,6 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1beta.PropertySu return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1264,8 +1142,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1284,8 +1160,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1304,8 +1178,6 @@ public Builder addPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1316,7 +1188,8 @@ public Builder addAllPropertySummaries( java.lang.Iterable values) { if (propertySummariesBuilder_ == null) { ensurePropertySummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, propertySummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, propertySummaries_); onChanged(); } else { propertySummariesBuilder_.addAllMessages(values); @@ -1324,8 +1197,6 @@ public Builder addAllPropertySummaries( return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1343,8 +1214,6 @@ public Builder clearPropertySummaries() { return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1362,8 +1231,6 @@ public Builder removePropertySummaries(int index) { return this; } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1375,8 +1242,6 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder getPropertySumm return getPropertySummariesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1386,22 +1251,19 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder getPropertySumm public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySummariesOrBuilder( int index) { if (propertySummariesBuilder_ == null) { - return propertySummaries_.get(index); - } else { + return propertySummaries_.get(index); } else { return propertySummariesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesOrBuilderList() { + public java.util.List + getPropertySummariesOrBuilderList() { if (propertySummariesBuilder_ != null) { return propertySummariesBuilder_.getMessageOrBuilderList(); } else { @@ -1409,8 +1271,6 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum } } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1418,12 +1278,10 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySummariesBuilder() { - return getPropertySummariesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); + return getPropertySummariesFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
@@ -1432,35 +1290,26 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySumm */ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySummariesBuilder( int index) { - return getPropertySummariesFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); + return getPropertySummariesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); } /** - * - * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesBuilderList() { + public java.util.List + getPropertySummariesBuilderList() { return getPropertySummariesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.PropertySummary, - com.google.analytics.admin.v1beta.PropertySummary.Builder, - com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> + com.google.analytics.admin.v1beta.PropertySummary, com.google.analytics.admin.v1beta.PropertySummary.Builder, com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> getPropertySummariesFieldBuilder() { if (propertySummariesBuilder_ == null) { - propertySummariesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.PropertySummary, - com.google.analytics.admin.v1beta.PropertySummary.Builder, - com.google.analytics.admin.v1beta.PropertySummaryOrBuilder>( + propertySummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.PropertySummary, com.google.analytics.admin.v1beta.PropertySummary.Builder, com.google.analytics.admin.v1beta.PropertySummaryOrBuilder>( propertySummaries_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1469,9 +1318,9 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySumm } return propertySummariesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1481,12 +1330,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccountSummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccountSummary) private static final com.google.analytics.admin.v1beta.AccountSummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccountSummary(); } @@ -1495,27 +1344,27 @@ public static com.google.analytics.admin.v1beta.AccountSummary getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccountSummary 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccountSummary 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; @@ -1530,4 +1379,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccountSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java similarity index 76% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java index 49033a6059a0..5aece5d820bf 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface AccountSummaryOrBuilder - extends +public interface AccountSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccountSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -33,13 +15,10 @@ public interface AccountSummaryOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -47,14 +26,12 @@ public interface AccountSummaryOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -62,13 +39,10 @@ public interface AccountSummaryOrBuilder
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -76,49 +50,41 @@ public interface AccountSummaryOrBuilder
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - java.util.List getPropertySummariesList(); + java.util.List + getPropertySummariesList(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -127,8 +93,6 @@ public interface AccountSummaryOrBuilder */ com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(int index); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
@@ -137,19 +101,15 @@ public interface AccountSummaryOrBuilder */ int getPropertySummariesCount(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - java.util.List + java.util.List getPropertySummariesOrBuilderList(); /** - * - * *
    * List of summaries for child accounts of this account.
    * 
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java index 3e0dcec7fafa..bc6d0bf9f30b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest} */ -public final class AcknowledgeUserDataCollectionRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AcknowledgeUserDataCollectionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) AcknowledgeUserDataCollectionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionRequest.newBuilder() to construct. - private AcknowledgeUserDataCollectionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AcknowledgeUserDataCollectionRequest() { property_ = ""; acknowledgement_ = ""; @@ -46,45 +26,38 @@ private AcknowledgeUserDataCollectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The property. */ @java.lang.Override @@ -93,31 +66,29 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -126,12 +97,9 @@ public com.google.protobuf.ByteString getPropertyBytes() { } public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object acknowledgement_ = ""; /** - * - * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -143,7 +111,6 @@ public com.google.protobuf.ByteString getPropertyBytes() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The acknowledgement. */ @java.lang.Override @@ -152,15 +119,14 @@ public java.lang.String getAcknowledgement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; } } /** - * - * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -172,15 +138,16 @@ public java.lang.String getAcknowledgement() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for acknowledgement. */ @java.lang.Override - public com.google.protobuf.ByteString getAcknowledgementBytes() { + public com.google.protobuf.ByteString + getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -189,7 +156,6 @@ public com.google.protobuf.ByteString getAcknowledgementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -231,16 +198,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other = - (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) obj; + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other = (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) obj; - if (!getProperty().equals(other.getProperty())) return false; - if (!getAcknowledgement().equals(other.getAcknowledgement())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; + if (!getAcknowledgement() + .equals(other.getAcknowledgement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,138 +230,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( 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.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - 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.v1beta.AcknowledgeUserDataCollectionRequest 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.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,22 +363,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest build() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = - buildPartial(); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -428,17 +384,13 @@ public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest bu @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest buildPartial() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = - new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -452,51 +404,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.AcknowledgeUserDataCollectionRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other) { - if (other - == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other) { + if (other == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -533,25 +480,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - acknowledgement_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + acknowledgement_ = 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) { @@ -561,27 +505,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -590,23 +529,20 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -614,39 +550,28 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProperty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearProperty() { @@ -656,23 +581,17 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -682,8 +601,6 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) { private java.lang.Object acknowledgement_ = ""; /** - * - * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -695,13 +612,13 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The acknowledgement. */ public java.lang.String getAcknowledgement() { java.lang.Object ref = acknowledgement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; @@ -710,8 +627,6 @@ public java.lang.String getAcknowledgement() { } } /** - * - * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -723,14 +638,15 @@ public java.lang.String getAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for acknowledgement. */ - public com.google.protobuf.ByteString getAcknowledgementBytes() { + public com.google.protobuf.ByteString + getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -738,8 +654,6 @@ public com.google.protobuf.ByteString getAcknowledgementBytes() { } } /** - * - * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -751,22 +665,18 @@ public com.google.protobuf.ByteString getAcknowledgementBytes() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgement(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAcknowledgement( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -778,7 +688,6 @@ public Builder setAcknowledgement(java.lang.String value) {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAcknowledgement() { @@ -788,8 +697,6 @@ public Builder clearAcknowledgement() { return this; } /** - * - * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -801,23 +708,21 @@ public Builder clearAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgementBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAcknowledgementBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,43 +732,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) - private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest(); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionRequest 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; @@ -875,8 +778,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java index 528bdff1e8e5..67e6161a53c7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface AcknowledgeUserDataCollectionRequestOrBuilder - extends +public interface AcknowledgeUserDataCollectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -66,13 +39,10 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The acknowledgement. */ java.lang.String getAcknowledgement(); /** - * - * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -84,8 +54,8 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for acknowledgement. */ - com.google.protobuf.ByteString getAcknowledgementBytes(); + com.google.protobuf.ByteString + getAcknowledgementBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java index 12985a8cbb7b..5455b20c3baf 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java @@ -1,74 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse} */ -public final class AcknowledgeUserDataCollectionResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AcknowledgeUserDataCollectionResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) AcknowledgeUserDataCollectionResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionResponse.newBuilder() to construct. - private AcknowledgeUserDataCollectionResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AcknowledgeUserDataCollectionResponse() {} + private AcknowledgeUserDataCollectionResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder.class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -80,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -98,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other = - (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) obj; + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other = (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -123,139 +102,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( 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.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - 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.v1beta.AcknowledgeUserDataCollectionResponse 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.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder - .class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -263,22 +232,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse build() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = - buildPartial(); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -287,8 +253,7 @@ public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse b @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse buildPartial() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = - new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(this); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(this); onBuilt(); return result; } @@ -297,52 +262,46 @@ public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) { - return mergeFrom( - (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) other); + if (other instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) { + return mergeFrom((com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other) { - if (other - == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other) { + if (other == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -369,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -385,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -397,44 +355,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) - private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionResponse 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; @@ -446,8 +401,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java new file mode 100644 index 000000000000..becd2ed551ea --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface AcknowledgeUserDataCollectionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java index 88a782e29801..c8d2a2e43ffe 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Types of actions that may change a resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.ActionType} */ -public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { +public enum ActionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Action type unknown or not specified.
    * 
@@ -39,8 +21,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ ACTION_TYPE_UNSPECIFIED(0), /** - * - * *
    * Resource was created in this change.
    * 
@@ -49,8 +29,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ CREATED(1), /** - * - * *
    * Resource was updated in this change.
    * 
@@ -59,8 +37,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ UPDATED(2), /** - * - * *
    * Resource was deleted in this change.
    * 
@@ -72,8 +48,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Action type unknown or not specified.
    * 
@@ -82,8 +56,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource was created in this change.
    * 
@@ -92,8 +64,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 1; /** - * - * *
    * Resource was updated in this change.
    * 
@@ -102,8 +72,6 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATED_VALUE = 2; /** - * - * *
    * Resource was deleted in this change.
    * 
@@ -112,6 +80,7 @@ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: - return ACTION_TYPE_UNSPECIFIED; - case 1: - return CREATED; - case 2: - return UPDATED; - case 3: - return DELETED; - default: - return null; + case 0: return ACTION_TYPE_UNSPECIFIED; + case 1: return CREATED; + case 2: return UPDATED; + case 3: return DELETED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ActionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActionType findValueByNumber(int number) { + return ActionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(3); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,3 +164,4 @@ private ActionType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ActionType) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java index b3d1ccfb59fa..ecdc1b7da4f4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Different kinds of actors that can make changes to Google Analytics
  * resources.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1beta.ActorType}
  */
-public enum ActorType implements com.google.protobuf.ProtocolMessageEnum {
+public enum ActorType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Unknown or unspecified actor type.
    * 
@@ -40,8 +22,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ ACTOR_TYPE_UNSPECIFIED(0), /** - * - * *
    * Changes made by the user specified in actor_email.
    * 
@@ -50,8 +30,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
    * Changes made by the Google Analytics system.
    * 
@@ -60,8 +38,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM(2), /** - * - * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -73,8 +49,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unknown or unspecified actor type.
    * 
@@ -83,8 +57,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTOR_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Changes made by the user specified in actor_email.
    * 
@@ -93,8 +65,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 1; /** - * - * *
    * Changes made by the Google Analytics system.
    * 
@@ -103,8 +73,6 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_VALUE = 2; /** - * - * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -113,6 +81,7 @@ public enum ActorType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUPPORT_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,51 +106,50 @@ public static ActorType valueOf(int value) { */ public static ActorType forNumber(int value) { switch (value) { - case 0: - return ACTOR_TYPE_UNSPECIFIED; - case 1: - return USER; - case 2: - return SYSTEM; - case 3: - return SUPPORT; - default: - return null; + case 0: return ACTOR_TYPE_UNSPECIFIED; + case 1: return USER; + case 2: return SYSTEM; + case 3: return SUPPORT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActorType findValueByNumber(int number) { - return ActorType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ActorType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActorType findValueByNumber(int number) { + return ActorType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final ActorType[] VALUES = values(); - public static ActorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActorType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -197,3 +165,4 @@ private ActorType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ActorType) } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java new file mode 100644 index 000000000000..d181f79cf6a7 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java @@ -0,0 +1,1176 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public final class AnalyticsAdminProto { + private AnalyticsAdminProto() {} + 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_v1beta_GetAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/analytics/admin/v1beta/analytic" + + "s_admin.proto\022\035google.analytics.admin.v1" + + "beta\032-google/analytics/admin/v1beta/reso" + + "urces.proto\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032\033google/protobuf/empty.proto\032 goo" + + "gle/protobuf/field_mask.proto\032\037google/pr" + + "otobuf/timestamp.proto\"P\n\021GetAccountRequ" + + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" + + "n.googleapis.com/Account\"R\n\023ListAccounts" + + "Request\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token" + + "\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"i\n\024ListAcco" + + "untsResponse\0228\n\010accounts\030\001 \003(\0132&.google." + + "analytics.admin.v1beta.Account\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"S\n\024DeleteAccountRequest\022" + + ";\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmin.go" + + "ogleapis.com/Account\"\212\001\n\024UpdateAccountRe" + + "quest\022<\n\007account\030\001 \001(\0132&.google.analytic" + + "s.admin.v1beta.AccountB\003\340A\002\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"n\n\035ProvisionAccountTicketRequest\0227\n\007ac" + + "count\030\001 \001(\0132&.google.analytics.admin.v1b" + + "eta.Account\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Pro" + + "visionAccountTicketResponse\022\031\n\021account_t" + + "icket_id\030\001 \001(\t\"R\n\022GetPropertyRequest\022<\n\004" + + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" + + "eapis.com/Property\"i\n\025ListPropertiesRequ" + + "est\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 " + + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_deleted\030" + + "\004 \001(\010\"n\n\026ListPropertiesResponse\022;\n\nprope" + + "rties\030\001 \003(\0132\'.google.analytics.admin.v1b" + + "eta.Property\022\027\n\017next_page_token\030\002 \001(\t\"\215\001" + + "\n\025UpdatePropertyRequest\022>\n\010property\030\001 \001(" + + "\0132\'.google.analytics.admin.v1beta.Proper" + + "tyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\003\340A\002\"W\n\025CreatePropertyR" + + "equest\022>\n\010property\030\001 \001(\0132\'.google.analyt" + + "ics.admin.v1beta.PropertyB\003\340A\002\"U\n\025Delete" + + "PropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&a" + + "nalyticsadmin.googleapis.com/Property\"\250\001" + + "\n\031CreateFirebaseLinkRequest\022B\n\006parent\030\001 " + + "\001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis.c" + + "om/FirebaseLink\022G\n\rfirebase_link\030\002 \001(\0132+" + + ".google.analytics.admin.v1beta.FirebaseL" + + "inkB\003\340A\002\"]\n\031DeleteFirebaseLinkRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" + + "leapis.com/FirebaseLink\"\205\001\n\030ListFirebase" + + "LinksRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + + "alyticsadmin.googleapis.com/FirebaseLink" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "y\n\031ListFirebaseLinksResponse\022C\n\016firebase" + + "_links\030\001 \003(\0132+.google.analytics.admin.v1" + + "beta.FirebaseLink\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\255\001\n\032CreateGoogleAdsLinkRequest\022C\n\006par" + + "ent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.google" + + "apis.com/GoogleAdsLink\022J\n\017google_ads_lin" + + "k\030\002 \001(\0132,.google.analytics.admin.v1beta." + + "GoogleAdsLinkB\003\340A\002\"\231\001\n\032UpdateGoogleAdsLi" + + "nkRequest\022E\n\017google_ads_link\030\001 \001(\0132,.goo" + + "gle.analytics.admin.v1beta.GoogleAdsLink" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" + + "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" + + "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" + + "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" + + "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"}\n\032ListGoogleAdsLinksResponse\022" + + "F\n\020google_ads_links\030\001 \003(\0132,.google.analy" + + "tics.admin.v1beta.GoogleAdsLink\022\027\n\017next_" + + "page_token\030\002 \001(\t\"h\n\035GetDataSharingSettin" + + "gsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyti" + + "csadmin.googleapis.com/DataSharingSettin" + + "gs\"D\n\033ListAccountSummariesRequest\022\021\n\tpag" + + "e_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\034Lis" + + "tAccountSummariesResponse\022H\n\021account_sum" + + "maries\030\001 \003(\0132-.google.analytics.admin.v1" + + "beta.AccountSummary\022\027\n\017next_page_token\030\002" + + " \001(\t\"\206\001\n$AcknowledgeUserDataCollectionRe" + + "quest\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analyti" + + "csadmin.googleapis.com/Property\022\034\n\017ackno" + + "wledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUser" + + "DataCollectionResponse\"\201\004\n SearchChangeH" + + "istoryEventsRequest\022>\n\007account\030\001 \001(\tB-\340A" + + "\002\372A\'\n%analyticsadmin.googleapis.com/Acco" + + "unt\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analytics" + + "admin.googleapis.com/Property\022T\n\rresourc" + + "e_type\030\003 \003(\01628.google.analytics.admin.v1" + + "beta.ChangeHistoryResourceTypeB\003\340A\001\022>\n\006a" + + "ction\030\004 \003(\0162).google.analytics.admin.v1b" + + "eta.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\t" + + "B\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\001\022;\n\022latest_c" + + "hange_time\030\007 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npag" + + "e_token\030\t \001(\tB\003\340A\001\"\216\001\n!SearchChangeHisto" + + "ryEventsResponse\022P\n\025change_history_event" + + "s\030\001 \003(\01321.google.analytics.admin.v1beta." + + "ChangeHistoryEvent\022\027\n\017next_page_token\030\002 " + + "\001(\t\"t\n#GetMeasurementProtocolSecretReque" + + "st\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin" + + ".googleapis.com/MeasurementProtocolSecre" + + "t\"\335\001\n&CreateMeasurementProtocolSecretReq" + + "uest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsa" + + "dmin.googleapis.com/MeasurementProtocolS" + + "ecret\022b\n\033measurement_protocol_secret\030\002 \001" + + "(\01328.google.analytics.admin.v1beta.Measu" + + "rementProtocolSecretB\003\340A\002\"w\n&DeleteMeasu" + + "rementProtocolSecretRequest\022M\n\004name\030\001 \001(" + + "\tB?\340A\002\372A9\n7analyticsadmin.googleapis.com" + + "/MeasurementProtocolSecret\"\275\001\n&UpdateMea" + + "surementProtocolSecretRequest\022b\n\033measure" + + "ment_protocol_secret\030\001 \001(\01328.google.anal" + + "ytics.admin.v1beta.MeasurementProtocolSe" + + "cretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\"\237\001\n%ListMeasurementPr" + + "otocolSecretsRequest\022O\n\006parent\030\001 \001(\tB?\340A" + + "\002\372A9\0227analyticsadmin.googleapis.com/Meas" + + "urementProtocolSecret\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\"\241\001\n&ListMeasurement" + + "ProtocolSecretsResponse\022^\n\034measurement_p" + + "rotocol_secrets\030\001 \003(\01328.google.analytics" + + ".admin.v1beta.MeasurementProtocolSecret\022" + + "\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\034CreateConve" + + "rsionEventRequest\022M\n\020conversion_event\030\001 " + + "\001(\0132..google.analytics.admin.v1beta.Conv" + + "ersionEventB\003\340A\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/" + + "\022-analyticsadmin.googleapis.com/Conversi" + + "onEvent\"`\n\031GetConversionEventRequest\022C\n\004" + + "name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googl" + + "eapis.com/ConversionEvent\"c\n\034DeleteConve" + + "rsionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n" + + "-analyticsadmin.googleapis.com/Conversio" + + "nEvent\"\213\001\n\033ListConversionEventsRequest\022E" + + "\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.g" + + "oogleapis.com/ConversionEvent\022\021\n\tpage_si" + + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\034ListCon" + + "versionEventsResponse\022I\n\021conversion_even" + + "ts\030\001 \003(\0132..google.analytics.admin.v1beta" + + ".ConversionEvent\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\264\001\n\034CreateCustomDimensionRequest\022E\n\006pa" + + "rent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.googl" + + "eapis.com/CustomDimension\022M\n\020custom_dime" + + "nsion\030\002 \001(\0132..google.analytics.admin.v1b" + + "eta.CustomDimensionB\003\340A\002\"\236\001\n\034UpdateCusto" + + "mDimensionRequest\022H\n\020custom_dimension\030\001 " + + "\001(\0132..google.analytics.admin.v1beta.Cust" + + "omDimension\0224\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033ListCustom" + + "DimensionsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A" + + "/\022-analyticsadmin.googleapis.com/CustomD" + + "imension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\"\202\001\n\034ListCustomDimensionsResponse" + + "\022I\n\021custom_dimensions\030\001 \003(\0132..google.ana" + + "lytics.admin.v1beta.CustomDimension\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"d\n\035ArchiveCustomDim" + + "ensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-ana" + + "lyticsadmin.googleapis.com/CustomDimensi" + + "on\"`\n\031GetCustomDimensionRequest\022C\n\004name\030" + + "\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis" + + ".com/CustomDimension\"\250\001\n\031CreateCustomMet" + + "ricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*anal" + + "yticsadmin.googleapis.com/CustomMetric\022G" + + "\n\rcustom_metric\030\002 \001(\0132+.google.analytics" + + ".admin.v1beta.CustomMetricB\003\340A\002\"\225\001\n\031Upda" + + "teCustomMetricRequest\022B\n\rcustom_metric\030\001" + + " \001(\0132+.google.analytics.admin.v1beta.Cus" + + "tomMetric\0224\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\002\"\205\001\n\030ListCustomMe" + + "tricsRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + + "alyticsadmin.googleapis.com/CustomMetric" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "y\n\031ListCustomMetricsResponse\022C\n\016custom_m" + + "etrics\030\001 \003(\0132+.google.analytics.admin.v1" + + "beta.CustomMetric\022\027\n\017next_page_token\030\002 \001" + + "(\t\"^\n\032ArchiveCustomMetricRequest\022@\n\004name" + + "\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.googleapi" + + "s.com/CustomMetric\"Z\n\026GetCustomMetricReq" + + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadm" + + "in.googleapis.com/CustomMetric\"l\n\037GetDat" + + "aRetentionSettingsRequest\022I\n\004name\030\001 \001(\tB" + + ";\340A\002\372A5\n3analyticsadmin.googleapis.com/D" + + "ataRetentionSettings\"\266\001\n\"UpdateDataReten" + + "tionSettingsRequest\022Z\n\027data_retention_se" + + "ttings\030\001 \001(\01324.google.analytics.admin.v1" + + "beta.DataRetentionSettingsB\003\340A\002\0224\n\013updat" + + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\002\"\240\001\n\027CreateDataStreamRequest\022@\n\006par" + + "ent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.google" + + "apis.com/DataStream\022C\n\013data_stream\030\002 \001(\013" + + "2).google.analytics.admin.v1beta.DataStr" + + "eamB\003\340A\002\"Y\n\027DeleteDataStreamRequest\022>\n\004n" + + "ame\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.google" + + "apis.com/DataStream\"\217\001\n\027UpdateDataStream" + + "Request\022>\n\013data_stream\030\001 \001(\0132).google.an" + + "alytics.admin.v1beta.DataStream\0224\n\013updat" + + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\002\"\201\001\n\026ListDataStreamsRequest\022@\n\006pare" + + "nt\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.googlea" + + "pis.com/DataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n" + + "\npage_token\030\003 \001(\t\"s\n\027ListDataStreamsResp" + + "onse\022?\n\014data_streams\030\001 \003(\0132).google.anal" + + "ytics.admin.v1beta.DataStream\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"V\n\024GetDataStreamRequest\022>" + + "\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.goo" + + "gleapis.com/DataStream2\353L\n\025AnalyticsAdmi" + + "nService\022\220\001\n\nGetAccount\0220.google.analyti" + + "cs.admin.v1beta.GetAccountRequest\032&.goog" + + "le.analytics.admin.v1beta.Account\"(\202\323\344\223\002" + + "\033\022\031/v1beta/{name=accounts/*}\332A\004name\022\221\001\n\014" + + "ListAccounts\0222.google.analytics.admin.v1" + + "beta.ListAccountsRequest\0323.google.analyt" + + "ics.admin.v1beta.ListAccountsResponse\"\030\202" + + "\323\344\223\002\022\022\020/v1beta/accounts\022\206\001\n\rDeleteAccoun" + + "t\0223.google.analytics.admin.v1beta.Delete" + + "AccountRequest\032\026.google.protobuf.Empty\"(" + + "\202\323\344\223\002\033*\031/v1beta/{name=accounts/*}\332A\004name" + + "\022\266\001\n\rUpdateAccount\0223.google.analytics.ad" + + "min.v1beta.UpdateAccountRequest\032&.google" + + ".analytics.admin.v1beta.Account\"H\202\323\344\223\002,2" + + "!/v1beta/{account.name=accounts/*}:\007acco" + + "unt\332A\023account,update_mask\022\311\001\n\026ProvisionA" + + "ccountTicket\022<.google.analytics.admin.v1" + + "beta.ProvisionAccountTicketRequest\032=.goo" + + "gle.analytics.admin.v1beta.ProvisionAcco" + + "untTicketResponse\"2\202\323\344\223\002,\"\'/v1beta/accou" + + "nts:provisionAccountTicket:\001*\022\261\001\n\024ListAc" + + "countSummaries\022:.google.analytics.admin." + + "v1beta.ListAccountSummariesRequest\032;.goo" + + "gle.analytics.admin.v1beta.ListAccountSu" + + "mmariesResponse\" \202\323\344\223\002\032\022\030/v1beta/account" + + "Summaries\022\225\001\n\013GetProperty\0221.google.analy" + + "tics.admin.v1beta.GetPropertyRequest\032\'.g" + + "oogle.analytics.admin.v1beta.Property\"*\202" + + "\323\344\223\002\035\022\033/v1beta/{name=properties/*}\332A\004nam" + + "e\022\231\001\n\016ListProperties\0224.google.analytics." + + "admin.v1beta.ListPropertiesRequest\0325.goo" + + "gle.analytics.admin.v1beta.ListPropertie" + + "sResponse\"\032\202\323\344\223\002\024\022\022/v1beta/properties\022\240\001" + + "\n\016CreateProperty\0224.google.analytics.admi" + + "n.v1beta.CreatePropertyRequest\032\'.google." + + "analytics.admin.v1beta.Property\"/\202\323\344\223\002\036\"" + + "\022/v1beta/properties:\010property\332A\010property" + + "\022\233\001\n\016DeleteProperty\0224.google.analytics.a" + + "dmin.v1beta.DeletePropertyRequest\032\'.goog" + + "le.analytics.admin.v1beta.Property\"*\202\323\344\223" + + "\002\035*\033/v1beta/{name=properties/*}\332A\004name\022\276" + + "\001\n\016UpdateProperty\0224.google.analytics.adm" + + "in.v1beta.UpdatePropertyRequest\032\'.google" + + ".analytics.admin.v1beta.Property\"M\202\323\344\223\0020" + + "2$/v1beta/{property.name=properties/*}:\010" + + "property\332A\024property,update_mask\022\326\001\n\022Crea" + + "teFirebaseLink\0228.google.analytics.admin." + + "v1beta.CreateFirebaseLinkRequest\032+.googl" + + "e.analytics.admin.v1beta.FirebaseLink\"Y\202" + + "\323\344\223\002<\"+/v1beta/{parent=properties/*}/fir" + + "ebaseLinks:\rfirebase_link\332A\024parent,fireb" + + "ase_link\022\242\001\n\022DeleteFirebaseLink\0228.google" + + ".analytics.admin.v1beta.DeleteFirebaseLi" + + "nkRequest\032\026.google.protobuf.Empty\":\202\323\344\223\002" + + "-*+/v1beta/{name=properties/*/firebaseLi" + + "nks/*}\332A\004name\022\304\001\n\021ListFirebaseLinks\0227.go" + + "ogle.analytics.admin.v1beta.ListFirebase" + + "LinksRequest\0328.google.analytics.admin.v1" + + "beta.ListFirebaseLinksResponse\"<\202\323\344\223\002-\022+" + + "/v1beta/{parent=properties/*}/firebaseLi" + + "nks\332A\006parent\022\336\001\n\023CreateGoogleAdsLink\0229.g" + + "oogle.analytics.admin.v1beta.CreateGoogl" + + "eAdsLinkRequest\032,.google.analytics.admin" + + ".v1beta.GoogleAdsLink\"^\202\323\344\223\002?\",/v1beta/{" + + "parent=properties/*}/googleAdsLinks:\017goo" + + "gle_ads_link\332A\026parent,google_ads_link\022\363\001" + + "\n\023UpdateGoogleAdsLink\0229.google.analytics" + + ".admin.v1beta.UpdateGoogleAdsLinkRequest" + + "\032,.google.analytics.admin.v1beta.GoogleA" + + "dsLink\"s\202\323\344\223\002O2.google.analytics.admin.v1" + + "beta.GetDataRetentionSettingsRequest\0324.g" + + "oogle.analytics.admin.v1beta.DataRetenti" + + "onSettings\"@\202\323\344\223\0023\0221/v1beta/{name=proper" + + "ties/*/dataRetentionSettings}\332A\004name\022\251\002\n" + + "\033UpdateDataRetentionSettings\022A.google.an" + + "alytics.admin.v1beta.UpdateDataRetention" + + "SettingsRequest\0324.google.analytics.admin" + + ".v1beta.DataRetentionSettings\"\220\001\202\323\344\223\002d2I" + + "/v1beta/{data_retention_settings.name=pr" + + "operties/*/dataRetentionSettings}:\027data_" + + "retention_settings\332A#data_retention_sett" + + "ings,update_mask\022\312\001\n\020CreateDataStream\0226." + + "google.analytics.admin.v1beta.CreateData" + + "StreamRequest\032).google.analytics.admin.v" + + "1beta.DataStream\"S\202\323\344\223\0028\")/v1beta/{paren" + + "t=properties/*}/dataStreams:\013data_stream" + + "\332A\022parent,data_stream\022\234\001\n\020DeleteDataStre" + + "am\0226.google.analytics.admin.v1beta.Delet" + + "eDataStreamRequest\032\026.google.protobuf.Emp" + + "ty\"8\202\323\344\223\002+*)/v1beta/{name=properties/*/d" + + "ataStreams/*}\332A\004name\022\333\001\n\020UpdateDataStrea" + + "m\0226.google.analytics.admin.v1beta.Update" + + "DataStreamRequest\032).google.analytics.adm" + + "in.v1beta.DataStream\"d\202\323\344\223\002D25/v1beta/{d" + + "ata_stream.name=properties/*/dataStreams" + + "/*}:\013data_stream\332A\027data_stream,update_ma" + + "sk\022\274\001\n\017ListDataStreams\0225.google.analytic" + + "s.admin.v1beta.ListDataStreamsRequest\0326." + + "google.analytics.admin.v1beta.ListDataSt" + + "reamsResponse\":\202\323\344\223\002+\022)/v1beta/{parent=p" + + "roperties/*}/dataStreams\332A\006parent\022\251\001\n\rGe" + + "tDataStream\0223.google.analytics.admin.v1b" + + "eta.GetDataStreamRequest\032).google.analyt" + + "ics.admin.v1beta.DataStream\"8\202\323\344\223\002+\022)/v1" + + "beta/{name=properties/*/dataStreams/*}\332A" + + "\004name\032\204\001\312A\035analyticsadmin.googleapis.com" + + "\322Aahttps://www.googleapis.com/auth/analy" + + "tics.edit,https://www.googleapis.com/aut" + + "h/analytics.readonlyB~\n!com.google.analy" + + "tics.admin.v1betaB\023AnalyticsAdminProtoP\001" + + "ZBgoogle.golang.org/genproto/googleapis/" + + "analytics/admin/v1beta;adminb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor, + new java.lang.String[] { "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor, + new java.lang.String[] { "Accounts", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor, + new java.lang.String[] { "Account", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor, + new java.lang.String[] { "Account", "RedirectUri", }); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor, + new java.lang.String[] { "AccountTicketId", }); + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor, + new java.lang.String[] { "Filter", "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor, + new java.lang.String[] { "Properties", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor, + new java.lang.String[] { "Property", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor, + new java.lang.String[] { "Property", }); + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor, + new java.lang.String[] { "Parent", "FirebaseLink", }); + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor, + new java.lang.String[] { "FirebaseLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { "Parent", "GoogleAdsLink", }); + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { "GoogleAdsLink", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor, + new java.lang.String[] { "GoogleAdsLinks", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor, + new java.lang.String[] { "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor, + new java.lang.String[] { "AccountSummaries", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor, + new java.lang.String[] { "Property", "Acknowledgement", }); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor, + new java.lang.String[] { "Account", "Property", "ResourceType", "Action", "ActorEmail", "EarliestChangeTime", "LatestChangeTime", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor, + new java.lang.String[] { "ChangeHistoryEvents", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "Parent", "MeasurementProtocolSecret", }); + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { "MeasurementProtocolSecret", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor, + new java.lang.String[] { "MeasurementProtocolSecrets", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor, + new java.lang.String[] { "ConversionEvent", "Parent", }); + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor, + new java.lang.String[] { "ConversionEvents", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor, + new java.lang.String[] { "Parent", "CustomDimension", }); + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor, + new java.lang.String[] { "CustomDimension", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor, + new java.lang.String[] { "CustomDimensions", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor, + new java.lang.String[] { "Parent", "CustomMetric", }); + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor, + new java.lang.String[] { "CustomMetric", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor, + new java.lang.String[] { "CustomMetrics", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor, + new java.lang.String[] { "DataRetentionSettings", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor, + new java.lang.String[] { "Parent", "DataStream", }); + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor, + new java.lang.String[] { "DataStream", "UpdateMask", }); + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor, + new java.lang.String[] { "DataStreams", "NextPageToken", }); + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java index f4f259d781f7..ac00199efb7d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ArchiveCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomDimensionRequest} */ -public final class ArchiveCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArchiveCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) ArchiveCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArchiveCustomDimensionRequest.newBuilder() to construct. private ArchiveCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArchiveCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArchiveCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other = - (com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other = (com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( 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.v1beta.ArchiveCustomDimensionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ArchiveCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance(); } @@ -350,17 +315,13 @@ public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result = - new com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result = new com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,50 +332,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ArchiveCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other) { + if (other == com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -468,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -498,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -567,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,43 +533,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) - private static final com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest(); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomDimensionRequest 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; @@ -651,8 +579,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..fa96da2f857f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface ArchiveCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java index 5e0a28639ca8..c874fd3eae66 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ArchiveCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomMetricRequest} */ -public final class ArchiveCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArchiveCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) ArchiveCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArchiveCustomMetricRequest.newBuilder() to construct. private ArchiveCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArchiveCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArchiveCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest other = - (com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest other = (com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( 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.v1beta.ArchiveCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ArchiveCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) com.google.analytics.admin.v1beta.ArchiveCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance(); } @@ -350,17 +315,13 @@ public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result = - new com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result = new com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -371,39 +332,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ArchiveCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -411,9 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest other) { - if (other - == com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -445,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -467,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,13 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) - private static final com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest(); } @@ -617,27 +547,27 @@ public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomMetricRequest 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; @@ -652,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..2057fe0da3b3 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface ArchiveCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java index 2e6e715eaad7..ebe22a33ae1b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A description of a change to a single Google Analytics resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange} */ -public final class ChangeHistoryChange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeHistoryChange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ChangeHistoryChange) ChangeHistoryChangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeHistoryChange.newBuilder() to construct. private ChangeHistoryChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeHistoryChange() { resource_ = ""; action_ = 0; @@ -44,62 +26,52 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ChangeHistoryChange.class, - com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1beta.ChangeHistoryChange.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); } - public interface ChangeHistoryResourceOrBuilder - extends + public interface ChangeHistoryResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return Whether the account field is set. */ boolean hasAccount(); /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return The account. */ com.google.analytics.admin.v1beta.Account getAccount(); /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
@@ -109,32 +81,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; - * * @return The property. */ com.google.analytics.admin.v1beta.Property getProperty(); /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
@@ -144,32 +108,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder(); /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * * @return Whether the firebaseLink field is set. */ boolean hasFirebaseLink(); /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink(); /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -179,32 +135,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -214,32 +162,24 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ boolean hasConversionEvent(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(); /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -249,113 +189,78 @@ public interface ChangeHistoryResourceOrBuilder com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings(); /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder(); + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; - * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; - * * @return The dataStream. */ com.google.analytics.admin.v1beta.DataStream getDataStream(); /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -364,12 +269,9 @@ public interface ChangeHistoryResourceOrBuilder */ com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.ResourceCase - getResourceCase(); + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); } /** - * - * *
    * A snapshot of a resource as before or after the result of a change in
    * change history.
@@ -377,51 +279,47 @@ public interface ChangeHistoryResourceOrBuilder
    *
    * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource}
    */
-  public static final class ChangeHistoryResource extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ChangeHistoryResource extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)
       ChangeHistoryResourceOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ChangeHistoryResource.newBuilder() to construct.
     private ChangeHistoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private ChangeHistoryResource() {}
+    private ChangeHistoryResource() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ChangeHistoryResource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class,
-              com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder
-                  .class);
+              com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
     }
 
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
-
     public enum ResourceCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ACCOUNT(1),
       PROPERTY(2),
@@ -433,7 +331,6 @@ public enum ResourceCase
       DATA_STREAM(18),
       RESOURCE_NOT_SET(0);
       private final int value;
-
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -449,48 +346,36 @@ public static ResourceCase valueOf(int value) {
 
       public static ResourceCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return ACCOUNT;
-          case 2:
-            return PROPERTY;
-          case 6:
-            return FIREBASE_LINK;
-          case 7:
-            return GOOGLE_ADS_LINK;
-          case 11:
-            return CONVERSION_EVENT;
-          case 12:
-            return MEASUREMENT_PROTOCOL_SECRET;
-          case 15:
-            return DATA_RETENTION_SETTINGS;
-          case 18:
-            return DATA_STREAM;
-          case 0:
-            return RESOURCE_NOT_SET;
-          default:
-            return null;
+          case 1: return ACCOUNT;
+          case 2: return PROPERTY;
+          case 6: return FIREBASE_LINK;
+          case 7: return GOOGLE_ADS_LINK;
+          case 11: return CONVERSION_EVENT;
+          case 12: return MEASUREMENT_PROTOCOL_SECRET;
+          case 15: return DATA_RETENTION_SETTINGS;
+          case 18: return DATA_STREAM;
+          case 0: return RESOURCE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ResourceCase getResourceCase() {
-      return ResourceCase.forNumber(resourceCase_);
+    public ResourceCase
+    getResourceCase() {
+      return ResourceCase.forNumber(
+          resourceCase_);
     }
 
     public static final int ACCOUNT_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return Whether the account field is set. */ @java.lang.Override @@ -498,26 +383,21 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1beta.Account getAccount() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1beta.Account) resource_; + return (com.google.analytics.admin.v1beta.Account) resource_; } return com.google.analytics.admin.v1beta.Account.getDefaultInstance(); } /** - * - * *
      * A snapshot of an Account resource in change history.
      * 
@@ -527,21 +407,18 @@ public com.google.analytics.admin.v1beta.Account getAccount() { @java.lang.Override public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1beta.Account) resource_; + return (com.google.analytics.admin.v1beta.Account) resource_; } return com.google.analytics.admin.v1beta.Account.getDefaultInstance(); } public static final int PROPERTY_FIELD_NUMBER = 2; /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; - * * @return Whether the property field is set. */ @java.lang.Override @@ -549,26 +426,21 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; - * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1beta.Property getProperty() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1beta.Property) resource_; + return (com.google.analytics.admin.v1beta.Property) resource_; } return com.google.analytics.admin.v1beta.Property.getDefaultInstance(); } /** - * - * *
      * A snapshot of a Property resource in change history.
      * 
@@ -578,21 +450,18 @@ public com.google.analytics.admin.v1beta.Property getProperty() { @java.lang.Override public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1beta.Property) resource_; + return (com.google.analytics.admin.v1beta.Property) resource_; } return com.google.analytics.admin.v1beta.Property.getDefaultInstance(); } public static final int FIREBASE_LINK_FIELD_NUMBER = 6; /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -600,26 +469,21 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; + return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; } return com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -629,21 +493,18 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; + return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; } return com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance(); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 7; /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -651,26 +512,21 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance(); } /** - * - * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -680,21 +536,18 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance(); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 11; /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -702,26 +555,21 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; + return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; } return com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance(); } /** - * - * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -729,26 +577,20 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1beta.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; + return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; } return com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance(); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 12; /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -756,57 +598,42 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); } /** - * - * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 15; /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -814,53 +641,42 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; } return com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); } /** - * - * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; } return com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); } public static final int DATA_STREAM_FIELD_NUMBER = 18; /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; - * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -868,26 +684,21 @@ public boolean hasDataStream() { return resourceCase_ == 18; } /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; - * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream getDataStream() { if (resourceCase_ == 18) { - return (com.google.analytics.admin.v1beta.DataStream) resource_; + return (com.google.analytics.admin.v1beta.DataStream) resource_; } return com.google.analytics.admin.v1beta.DataStream.getDefaultInstance(); } /** - * - * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -897,13 +708,12 @@ public com.google.analytics.admin.v1beta.DataStream getDataStream() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { if (resourceCase_ == 18) { - return (com.google.analytics.admin.v1beta.DataStream) resource_; + return (com.google.analytics.admin.v1beta.DataStream) resource_; } return com.google.analytics.admin.v1beta.DataStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -915,7 +725,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resourceCase_ == 1) { output.writeMessage(1, (com.google.analytics.admin.v1beta.Account) resource_); } @@ -932,12 +743,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(11, (com.google.analytics.admin.v1beta.ConversionEvent) resource_); } if (resourceCase_ == 12) { - output.writeMessage( - 12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); + output.writeMessage(12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 15) { - output.writeMessage( - 15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); + output.writeMessage(15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); } if (resourceCase_ == 18) { output.writeMessage(18, (com.google.analytics.admin.v1beta.DataStream) resource_); @@ -952,44 +761,36 @@ public int getSerializedSize() { size = 0; if (resourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.analytics.admin.v1beta.Account) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.analytics.admin.v1beta.Account) resource_); } if (resourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.admin.v1beta.Property) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.analytics.admin.v1beta.Property) resource_); } if (resourceCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.analytics.admin.v1beta.FirebaseLink) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.analytics.admin.v1beta.FirebaseLink) resource_); } if (resourceCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_); } if (resourceCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.analytics.admin.v1beta.ConversionEvent) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.analytics.admin.v1beta.ConversionEvent) resource_); } if (resourceCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); } if (resourceCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, (com.google.analytics.admin.v1beta.DataStream) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.google.analytics.admin.v1beta.DataStream) resource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -999,41 +800,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)) { + if (!(obj instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other = - (com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) obj; + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other = (com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) obj; if (!getResourceCase().equals(other.getResourceCase())) return false; switch (resourceCase_) { case 1: - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; break; case 2: - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; break; case 6: - if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink() + .equals(other.getFirebaseLink())) return false; break; case 7: - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; break; case 11: - if (!getConversionEvent().equals(other.getConversionEvent())) return false; + if (!getConversionEvent() + .equals(other.getConversionEvent())) return false; break; case 12: - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; break; case 15: - if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings() + .equals(other.getDataRetentionSettings())) return false; break; case 18: - if (!getDataStream().equals(other.getDataStream())) return false; + if (!getDataStream() + .equals(other.getDataStream())) return false; break; case 0: default: @@ -1090,101 +896,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource 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.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( + 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.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - 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.v1beta.ChangeHistoryChange.ChangeHistoryResource 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.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - 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.v1beta.ChangeHistoryChange.ChangeHistoryResource 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.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1194,8 +987,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A snapshot of a resource as before or after the result of a change in
      * change history.
@@ -1203,35 +994,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)
         com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.analytics.admin.v1beta.ResourcesProto
-            .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.analytics.admin.v1beta.ResourcesProto
-            .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+        return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class,
-                com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder
-                    .class);
+                com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
       }
 
-      // Construct using
-      // com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.newBuilder()
-      private Builder() {}
+      // Construct using com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1266,22 +1055,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.analytics.admin.v1beta.ResourcesProto
-            .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
       }
 
       @java.lang.Override
-      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
-          getDefaultInstanceForType() {
-        return com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
-            .getDefaultInstance();
+      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() {
+        return com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource build() {
-        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result =
-            buildPartial();
+        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1289,49 +1075,51 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResour
       }
 
       @java.lang.Override
-      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
-          buildPartial() {
-        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result =
-            new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource buildPartial() {
+        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result = new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
+      private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
         int from_bitField0_ = bitField0_;
       }
 
-      private void buildPartialOneofs(
-          com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
+      private void buildPartialOneofs(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
         result.resourceCase_ = resourceCase_;
         result.resource_ = this.resource_;
-        if (resourceCase_ == 1 && accountBuilder_ != null) {
+        if (resourceCase_ == 1 &&
+            accountBuilder_ != null) {
           result.resource_ = accountBuilder_.build();
         }
-        if (resourceCase_ == 2 && propertyBuilder_ != null) {
+        if (resourceCase_ == 2 &&
+            propertyBuilder_ != null) {
           result.resource_ = propertyBuilder_.build();
         }
-        if (resourceCase_ == 6 && firebaseLinkBuilder_ != null) {
+        if (resourceCase_ == 6 &&
+            firebaseLinkBuilder_ != null) {
           result.resource_ = firebaseLinkBuilder_.build();
         }
-        if (resourceCase_ == 7 && googleAdsLinkBuilder_ != null) {
+        if (resourceCase_ == 7 &&
+            googleAdsLinkBuilder_ != null) {
           result.resource_ = googleAdsLinkBuilder_.build();
         }
-        if (resourceCase_ == 11 && conversionEventBuilder_ != null) {
+        if (resourceCase_ == 11 &&
+            conversionEventBuilder_ != null) {
           result.resource_ = conversionEventBuilder_.build();
         }
-        if (resourceCase_ == 12 && measurementProtocolSecretBuilder_ != null) {
+        if (resourceCase_ == 12 &&
+            measurementProtocolSecretBuilder_ != null) {
           result.resource_ = measurementProtocolSecretBuilder_.build();
         }
-        if (resourceCase_ == 15 && dataRetentionSettingsBuilder_ != null) {
+        if (resourceCase_ == 15 &&
+            dataRetentionSettingsBuilder_ != null) {
           result.resource_ = dataRetentionSettingsBuilder_.build();
         }
-        if (resourceCase_ == 18 && dataStreamBuilder_ != null) {
+        if (resourceCase_ == 18 &&
+            dataStreamBuilder_ != null) {
           result.resource_ = dataStreamBuilder_.build();
         }
       }
@@ -1340,100 +1128,82 @@ private void buildPartialOneofs(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof
-            com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) {
-          return mergeFrom(
-              (com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) other);
+        if (other instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) {
+          return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other) {
-        if (other
-            == com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other) {
+        if (other == com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) return this;
         switch (other.getResourceCase()) {
-          case ACCOUNT:
-            {
-              mergeAccount(other.getAccount());
-              break;
-            }
-          case PROPERTY:
-            {
-              mergeProperty(other.getProperty());
-              break;
-            }
-          case FIREBASE_LINK:
-            {
-              mergeFirebaseLink(other.getFirebaseLink());
-              break;
-            }
-          case GOOGLE_ADS_LINK:
-            {
-              mergeGoogleAdsLink(other.getGoogleAdsLink());
-              break;
-            }
-          case CONVERSION_EVENT:
-            {
-              mergeConversionEvent(other.getConversionEvent());
-              break;
-            }
-          case MEASUREMENT_PROTOCOL_SECRET:
-            {
-              mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret());
-              break;
-            }
-          case DATA_RETENTION_SETTINGS:
-            {
-              mergeDataRetentionSettings(other.getDataRetentionSettings());
-              break;
-            }
-          case DATA_STREAM:
-            {
-              mergeDataStream(other.getDataStream());
-              break;
-            }
-          case RESOURCE_NOT_SET:
-            {
-              break;
-            }
+          case ACCOUNT: {
+            mergeAccount(other.getAccount());
+            break;
+          }
+          case PROPERTY: {
+            mergeProperty(other.getProperty());
+            break;
+          }
+          case FIREBASE_LINK: {
+            mergeFirebaseLink(other.getFirebaseLink());
+            break;
+          }
+          case GOOGLE_ADS_LINK: {
+            mergeGoogleAdsLink(other.getGoogleAdsLink());
+            break;
+          }
+          case CONVERSION_EVENT: {
+            mergeConversionEvent(other.getConversionEvent());
+            break;
+          }
+          case MEASUREMENT_PROTOCOL_SECRET: {
+            mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret());
+            break;
+          }
+          case DATA_RETENTION_SETTINGS: {
+            mergeDataRetentionSettings(other.getDataRetentionSettings());
+            break;
+          }
+          case DATA_STREAM: {
+            mergeDataStream(other.getDataStream());
+            break;
+          }
+          case RESOURCE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1461,64 +1231,68 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 1;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 2;
-                  break;
-                } // case 18
-              case 50:
-                {
-                  input.readMessage(getFirebaseLinkFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 6;
-                  break;
-                } // case 50
-              case 58:
-                {
-                  input.readMessage(getGoogleAdsLinkFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 7;
-                  break;
-                } // case 58
-              case 90:
-                {
-                  input.readMessage(
-                      getConversionEventFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 11;
-                  break;
-                } // case 90
-              case 98:
-                {
-                  input.readMessage(
-                      getMeasurementProtocolSecretFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 12;
-                  break;
-                } // case 98
-              case 122:
-                {
-                  input.readMessage(
-                      getDataRetentionSettingsFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 15;
-                  break;
-                } // case 122
-              case 146:
-                {
-                  input.readMessage(getDataStreamFieldBuilder().getBuilder(), extensionRegistry);
-                  resourceCase_ = 18;
-                  break;
-                } // case 146
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getAccountFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 1;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getPropertyFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 2;
+                break;
+              } // case 18
+              case 50: {
+                input.readMessage(
+                    getFirebaseLinkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 6;
+                break;
+              } // case 50
+              case 58: {
+                input.readMessage(
+                    getGoogleAdsLinkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 7;
+                break;
+              } // case 58
+              case 90: {
+                input.readMessage(
+                    getConversionEventFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 11;
+                break;
+              } // case 90
+              case 98: {
+                input.readMessage(
+                    getMeasurementProtocolSecretFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 12;
+                break;
+              } // case 98
+              case 122: {
+                input.readMessage(
+                    getDataRetentionSettingsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 15;
+                break;
+              } // case 122
+              case 146: {
+                input.readMessage(
+                    getDataStreamFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                resourceCase_ = 18;
+                break;
+              } // case 146
+              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) {
@@ -1528,12 +1302,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int resourceCase_ = 0;
       private java.lang.Object resource_;
-
-      public ResourceCase getResourceCase() {
-        return ResourceCase.forNumber(resourceCase_);
+      public ResourceCase
+          getResourceCase() {
+        return ResourceCase.forNumber(
+            resourceCase_);
       }
 
       public Builder clearResource() {
@@ -1546,19 +1320,13 @@ public Builder clearResource() {
       private int bitField0_;
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.analytics.admin.v1beta.Account,
-              com.google.analytics.admin.v1beta.Account.Builder,
-              com.google.analytics.admin.v1beta.AccountOrBuilder>
-          accountBuilder_;
+          com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountBuilder_;
       /**
-       *
-       *
        * 
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return Whether the account field is set. */ @java.lang.Override @@ -1566,14 +1334,11 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return The account. */ @java.lang.Override @@ -1591,8 +1356,6 @@ public com.google.analytics.admin.v1beta.Account getAccount() { } } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1613,15 +1376,14 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1beta.Account account = 1; */ - public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder setAccount( + com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -1632,8 +1394,6 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder buil return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1642,13 +1402,10 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder buil */ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { - if (resourceCase_ == 1 - && resource_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.Account.newBuilder( - (com.google.analytics.admin.v1beta.Account) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 1 && + resource_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.Account.newBuilder((com.google.analytics.admin.v1beta.Account) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -1664,8 +1421,6 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1689,8 +1444,6 @@ public Builder clearAccount() { return this; } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1701,8 +1454,6 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1721,8 +1472,6 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() } } /** - * - * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1730,19 +1479,14 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1beta.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { if (!(resourceCase_ == 1)) { resource_ = com.google.analytics.admin.v1beta.Account.getDefaultInstance(); } - accountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder>( + accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( (com.google.analytics.admin.v1beta.Account) resource_, getParentForChildren(), isClean()); @@ -1754,19 +1498,13 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> - propertyBuilder_; + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertyBuilder_; /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1beta.Property property = 2; - * * @return Whether the property field is set. */ @java.lang.Override @@ -1774,14 +1512,11 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1beta.Property property = 2; - * * @return The property. */ @java.lang.Override @@ -1799,8 +1534,6 @@ public com.google.analytics.admin.v1beta.Property getProperty() { } } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1821,8 +1554,6 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1841,8 +1572,6 @@ public Builder setProperty( return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1851,13 +1580,10 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { - if (resourceCase_ == 2 - && resource_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.Property.newBuilder( - (com.google.analytics.admin.v1beta.Property) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 2 && + resource_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.Property.newBuilder((com.google.analytics.admin.v1beta.Property) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -1873,8 +1599,6 @@ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1898,8 +1622,6 @@ public Builder clearProperty() { return this; } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1910,8 +1632,6 @@ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1930,8 +1650,6 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( } } /** - * - * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1939,19 +1657,14 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( * .google.analytics.admin.v1beta.Property property = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { if (!(resourceCase_ == 2)) { resource_ = com.google.analytics.admin.v1beta.Property.getDefaultInstance(); } - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder>( + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( (com.google.analytics.admin.v1beta.Property) resource_, getParentForChildren(), isClean()); @@ -1963,19 +1676,13 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> - firebaseLinkBuilder_; + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> firebaseLinkBuilder_; /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -1983,14 +1690,11 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * * @return The firebaseLink. */ @java.lang.Override @@ -2008,8 +1712,6 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { } } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2030,8 +1732,6 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink va return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2050,8 +1750,6 @@ public Builder setFirebaseLink( return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2060,13 +1758,10 @@ public Builder setFirebaseLink( */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (resourceCase_ == 6 - && resource_ != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.FirebaseLink.newBuilder( - (com.google.analytics.admin.v1beta.FirebaseLink) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 6 && + resource_ != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.FirebaseLink.newBuilder((com.google.analytics.admin.v1beta.FirebaseLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2082,8 +1777,6 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2107,8 +1800,6 @@ public Builder clearFirebaseLink() { return this; } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2119,8 +1810,6 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinkBui return getFirebaseLinkFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2139,8 +1828,6 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOr } } /** - * - * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2148,19 +1835,14 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOr * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { if (!(resourceCase_ == 6)) { resource_ = com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance(); } - firebaseLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( + firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( (com.google.analytics.admin.v1beta.FirebaseLink) resource_, getParentForChildren(), isClean()); @@ -2172,19 +1854,13 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> - googleAdsLinkBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -2192,14 +1868,11 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * * @return The googleAdsLink. */ @java.lang.Override @@ -2217,8 +1890,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { } } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2239,8 +1910,6 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2259,8 +1928,6 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2269,14 +1936,10 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (resourceCase_ == 7 - && resource_ - != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.GoogleAdsLink.newBuilder( - (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 7 && + resource_ != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.GoogleAdsLink.newBuilder((com.google.analytics.admin.v1beta.GoogleAdsLink) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2292,8 +1955,6 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2317,8 +1978,6 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2329,8 +1988,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2349,8 +2006,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } } /** - * - * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2358,19 +2013,14 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { if (!(resourceCase_ == 7)) { resource_ = com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance(); } - googleAdsLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_, getParentForChildren(), isClean()); @@ -2382,19 +2032,13 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder> - conversionEventBuilder_; + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> conversionEventBuilder_; /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -2402,14 +2046,11 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * * @return The conversionEvent. */ @java.lang.Override @@ -2427,8 +2068,6 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { } } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2449,8 +2088,6 @@ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEv return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2469,8 +2106,6 @@ public Builder setConversionEvent( return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2479,14 +2114,10 @@ public Builder setConversionEvent( */ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (resourceCase_ == 11 - && resource_ - != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.ConversionEvent.newBuilder( - (com.google.analytics.admin.v1beta.ConversionEvent) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 11 && + resource_ != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.ConversionEvent.newBuilder((com.google.analytics.admin.v1beta.ConversionEvent) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2502,8 +2133,6 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.Conversion return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2527,8 +2156,6 @@ public Builder clearConversionEvent() { return this; } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2539,8 +2166,6 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2548,8 +2173,7 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1beta.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { if ((resourceCase_ == 11) && (conversionEventBuilder_ != null)) { return conversionEventBuilder_.getMessageOrBuilder(); } else { @@ -2560,8 +2184,6 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv } } /** - * - * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2569,19 +2191,14 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { if (!(resourceCase_ == 11)) { resource_ = com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance(); } - conversionEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( + conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( (com.google.analytics.admin.v1beta.ConversionEvent) resource_, getParentForChildren(), isClean()); @@ -2593,43 +2210,29 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } - /** - * - * + /** *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { if (resourceCase_ == 12) { return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; @@ -2643,18 +2246,13 @@ public boolean hasMeasurementProtocolSecret() { } } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public Builder setMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2668,15 +2266,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -2690,28 +2284,18 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (resourceCase_ == 12 - && resource_ - != com.google.analytics.admin.v1beta.MeasurementProtocolSecret - .getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.newBuilder( - (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 12 && + resource_ != com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.newBuilder((com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2727,15 +2311,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ public Builder clearMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { @@ -2754,34 +2334,24 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if ((resourceCase_ == 12) && (measurementProtocolSecretBuilder_ != null)) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { @@ -2792,31 +2362,21 @@ public Builder clearMeasurementProtocolSecret() { } } /** - * - * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { if (!(resourceCase_ == 12)) { - resource_ = - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); + resource_ = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); } - measurementProtocolSecretBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_, getParentForChildren(), isClean()); @@ -2828,20 +2388,13 @@ public Builder clearMeasurementProtocolSecret() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> - dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -2849,15 +2402,11 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; * @return The dataRetentionSettings. */ @java.lang.Override @@ -2875,17 +2424,13 @@ public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionS } } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ - public Builder setDataRetentionSettings( - com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder setDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2899,14 +2444,11 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1beta.DataRetentionSettings.Builder builderForValue) { @@ -2920,26 +2462,18 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ - public Builder mergeDataRetentionSettings( - com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (resourceCase_ == 15 - && resource_ - != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.DataRetentionSettings.newBuilder( - (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 15 && + resource_ != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.DataRetentionSettings.newBuilder((com.google.analytics.admin.v1beta.DataRetentionSettings) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2955,14 +2489,11 @@ public Builder mergeDataRetentionSettings( return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ public Builder clearDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { @@ -2981,32 +2512,24 @@ public Builder clearDataRetentionSettings() { return this; } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ - public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder - getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { if ((resourceCase_ == 15) && (dataRetentionSettingsBuilder_ != null)) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { @@ -3017,30 +2540,21 @@ public Builder clearDataRetentionSettings() { } } /** - * - * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { if (!(resourceCase_ == 15)) { - resource_ = - com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); + resource_ = com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); } - dataRetentionSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( + dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_, getParentForChildren(), isClean()); @@ -3052,19 +2566,13 @@ public Builder clearDataRetentionSettings() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> - dataStreamBuilder_; + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamBuilder_; /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; - * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -3072,14 +2580,11 @@ public boolean hasDataStream() { return resourceCase_ == 18; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; - * * @return The dataStream. */ @java.lang.Override @@ -3097,8 +2602,6 @@ public com.google.analytics.admin.v1beta.DataStream getDataStream() { } } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -3119,8 +2622,6 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -3139,8 +2640,6 @@ public Builder setDataStream( return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -3149,13 +2648,10 @@ public Builder setDataStream( */ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { - if (resourceCase_ == 18 - && resource_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { - resource_ = - com.google.analytics.admin.v1beta.DataStream.newBuilder( - (com.google.analytics.admin.v1beta.DataStream) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 18 && + resource_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { + resource_ = com.google.analytics.admin.v1beta.DataStream.newBuilder((com.google.analytics.admin.v1beta.DataStream) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -3171,8 +2667,6 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -3196,8 +2690,6 @@ public Builder clearDataStream() { return this; } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -3208,8 +2700,6 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -3228,8 +2718,6 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil } } /** - * - * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -3237,19 +2725,14 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil * .google.analytics.admin.v1beta.DataStream data_stream = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { if (!(resourceCase_ == 18)) { resource_ = com.google.analytics.admin.v1beta.DataStream.getDefaultInstance(); } - dataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( (com.google.analytics.admin.v1beta.DataStream) resource_, getParentForChildren(), isClean()); @@ -3259,7 +2742,6 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil onChanged(); return dataStreamBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3272,45 +2754,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) - private static final com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryResource 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryResource 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; @@ -3322,25 +2800,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int RESOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The resource. */ @java.lang.Override @@ -3349,29 +2823,29 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -3382,53 +2856,38 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int ACTION_FIELD_NUMBER = 2; private int action_ = 0; /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @return The action. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.ActionType getAction() { - com.google.analytics.admin.v1beta.ActionType result = - com.google.analytics.admin.v1beta.ActionType.forNumber(action_); + @java.lang.Override public com.google.analytics.admin.v1beta.ActionType getAction() { + com.google.analytics.admin.v1beta.ActionType result = com.google.analytics.admin.v1beta.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED : result; } public static final int RESOURCE_BEFORE_CHANGE_FIELD_NUMBER = 3; - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - resourceBeforeChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return Whether the resourceBeforeChange field is set. */ @java.lang.Override @@ -3436,63 +2895,40 @@ public boolean hasResourceBeforeChange() { return resourceBeforeChange_ != null; } /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange() { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { + return resourceBeforeChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder() { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { + return resourceBeforeChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } public static final int RESOURCE_AFTER_CHANGE_FIELD_NUMBER = 4; - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - resourceAfterChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return Whether the resourceAfterChange field is set. */ @java.lang.Override @@ -3500,50 +2936,32 @@ public boolean hasResourceAfterChange() { return resourceAfterChange_ != null; } /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange() { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { + return resourceAfterChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder() { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { + return resourceAfterChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3555,12 +2973,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } - if (action_ - != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + if (action_ != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, action_); } if (resourceBeforeChange_ != null) { @@ -3581,16 +2999,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } - if (action_ - != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, action_); + if (action_ != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, action_); } if (resourceBeforeChange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResourceBeforeChange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResourceBeforeChange()); } if (resourceAfterChange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResourceAfterChange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getResourceAfterChange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3600,23 +3019,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ChangeHistoryChange other = - (com.google.analytics.admin.v1beta.ChangeHistoryChange) obj; + com.google.analytics.admin.v1beta.ChangeHistoryChange other = (com.google.analytics.admin.v1beta.ChangeHistoryChange) obj; - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (action_ != other.action_) return false; if (hasResourceBeforeChange() != other.hasResourceBeforeChange()) return false; if (hasResourceBeforeChange()) { - if (!getResourceBeforeChange().equals(other.getResourceBeforeChange())) return false; + if (!getResourceBeforeChange() + .equals(other.getResourceBeforeChange())) return false; } if (hasResourceAfterChange() != other.hasResourceAfterChange()) return false; if (hasResourceAfterChange()) { - if (!getResourceAfterChange().equals(other.getResourceAfterChange())) return false; + if (!getResourceAfterChange() + .equals(other.getResourceAfterChange())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3647,136 +3068,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( 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.v1beta.ChangeHistoryChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ChangeHistoryChange prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ChangeHistoryChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A description of a change to a single Google Analytics resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ChangeHistoryChange) com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ChangeHistoryChange.class, - com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1beta.ChangeHistoryChange.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ChangeHistoryChange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3797,9 +3211,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; } @java.lang.Override @@ -3818,11 +3232,8 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange build() { @java.lang.Override public com.google.analytics.admin.v1beta.ChangeHistoryChange buildPartial() { - com.google.analytics.admin.v1beta.ChangeHistoryChange result = - new com.google.analytics.admin.v1beta.ChangeHistoryChange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ChangeHistoryChange result = new com.google.analytics.admin.v1beta.ChangeHistoryChange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3836,16 +3247,14 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryChange result.action_ = action_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resourceBeforeChange_ = - resourceBeforeChangeBuilder_ == null - ? resourceBeforeChange_ - : resourceBeforeChangeBuilder_.build(); + result.resourceBeforeChange_ = resourceBeforeChangeBuilder_ == null + ? resourceBeforeChange_ + : resourceBeforeChangeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.resourceAfterChange_ = - resourceAfterChangeBuilder_ == null - ? resourceAfterChange_ - : resourceAfterChangeBuilder_.build(); + result.resourceAfterChange_ = resourceAfterChangeBuilder_ == null + ? resourceAfterChange_ + : resourceAfterChangeBuilder_.build(); } } @@ -3853,39 +3262,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryChange public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ChangeHistoryChange) { - return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryChange) other); + return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryChange)other); } else { super.mergeFrom(other); return this; @@ -3893,8 +3301,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryChange other) { - if (other == com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; bitField0_ |= 0x00000001; @@ -3935,39 +3342,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - action_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage( - getResourceBeforeChangeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getResourceAfterChangeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + action_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getResourceBeforeChangeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getResourceAfterChangeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -3977,25 +3381,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resource_ = ""; /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -4004,21 +3405,20 @@ public java.lang.String getResource() { } } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -4026,35 +3426,28 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -4064,21 +3457,17 @@ public Builder clearResource() { return this; } /** - * - * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -4088,29 +3477,22 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private int action_ = 0; /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ @@ -4121,31 +3503,24 @@ public Builder setActionValue(int value) { return this; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @return The action. */ @java.lang.Override public com.google.analytics.admin.v1beta.ActionType getAction() { - com.google.analytics.admin.v1beta.ActionType result = - com.google.analytics.admin.v1beta.ActionType.forNumber(action_); + com.google.analytics.admin.v1beta.ActionType result = com.google.analytics.admin.v1beta.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED : result; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @param value The action to set. * @return This builder for chaining. */ @@ -4159,14 +3534,11 @@ public Builder setAction(com.google.analytics.admin.v1beta.ActionType value) { return this; } /** - * - * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @return This builder for chaining. */ public Builder clearAction() { @@ -4176,69 +3548,46 @@ public Builder clearAction() { return this; } - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - resourceBeforeChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> - resourceBeforeChangeBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceBeforeChangeBuilder_; /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return Whether the resourceBeforeChange field is set. */ public boolean hasResourceBeforeChange() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { if (resourceBeforeChangeBuilder_ == null) { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + return resourceBeforeChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } else { return resourceBeforeChangeBuilder_.getMessage(); } } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public Builder setResourceBeforeChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceBeforeChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4252,20 +3601,15 @@ public Builder setResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ public Builder setResourceBeforeChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder - builderForValue) { + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { if (resourceBeforeChangeBuilder_ == null) { resourceBeforeChange_ = builderForValue.build(); } else { @@ -4276,25 +3620,18 @@ public Builder setResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public Builder mergeResourceBeforeChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceBeforeChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && resourceBeforeChange_ != null - && resourceBeforeChange_ - != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + resourceBeforeChange_ != null && + resourceBeforeChange_ != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { getResourceBeforeChangeBuilder().mergeFrom(value); } else { resourceBeforeChange_ = value; @@ -4307,16 +3644,12 @@ public Builder mergeResourceBeforeChange( return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ public Builder clearResourceBeforeChange() { bitField0_ = (bitField0_ & ~0x00000004); @@ -4329,139 +3662,96 @@ public Builder clearResourceBeforeChange() { return this; } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder - getResourceBeforeChangeBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceBeforeChangeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResourceBeforeChangeFieldBuilder().getBuilder(); } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { if (resourceBeforeChangeBuilder_ != null) { return resourceBeforeChangeBuilder_.getMessageOrBuilder(); } else { - return resourceBeforeChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceBeforeChange_; + return resourceBeforeChange_ == null ? + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; } } /** - * - * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceBeforeChangeFieldBuilder() { if (resourceBeforeChangeBuilder_ == null) { - resourceBeforeChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryChange - .ChangeHistoryResourceOrBuilder>( - getResourceBeforeChange(), getParentForChildren(), isClean()); + resourceBeforeChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( + getResourceBeforeChange(), + getParentForChildren(), + isClean()); resourceBeforeChange_ = null; } return resourceBeforeChangeBuilder_; } - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - resourceAfterChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> - resourceAfterChangeBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceAfterChangeBuilder_; /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return Whether the resourceAfterChange field is set. */ public boolean hasResourceAfterChange() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { if (resourceAfterChangeBuilder_ == null) { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + return resourceAfterChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } else { return resourceAfterChangeBuilder_.getMessage(); } } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public Builder setResourceAfterChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceAfterChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4475,20 +3765,15 @@ public Builder setResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ public Builder setResourceAfterChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder - builderForValue) { + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { if (resourceAfterChangeBuilder_ == null) { resourceAfterChange_ = builderForValue.build(); } else { @@ -4499,25 +3784,18 @@ public Builder setResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public Builder mergeResourceAfterChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceAfterChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && resourceAfterChange_ != null - && resourceAfterChange_ - != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + resourceAfterChange_ != null && + resourceAfterChange_ != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { getResourceAfterChangeBuilder().mergeFrom(value); } else { resourceAfterChange_ = value; @@ -4530,16 +3808,12 @@ public Builder mergeResourceAfterChange( return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ public Builder clearResourceAfterChange() { bitField0_ = (bitField0_ & ~0x00000008); @@ -4552,78 +3826,58 @@ public Builder clearResourceAfterChange() { return this; } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder - getResourceAfterChangeBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceAfterChangeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getResourceAfterChangeFieldBuilder().getBuilder(); } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { if (resourceAfterChangeBuilder_ != null) { return resourceAfterChangeBuilder_.getMessageOrBuilder(); } else { - return resourceAfterChange_ == null - ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - .getDefaultInstance() - : resourceAfterChange_; + return resourceAfterChange_ == null ? + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; } } /** - * - * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceAfterChangeFieldBuilder() { if (resourceAfterChangeBuilder_ == null) { - resourceAfterChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryChange - .ChangeHistoryResourceOrBuilder>( - getResourceAfterChange(), getParentForChildren(), isClean()); + resourceAfterChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( + getResourceAfterChange(), + getParentForChildren(), + isClean()); resourceAfterChange_ = null; } return resourceAfterChangeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4633,12 +3887,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ChangeHistoryChange) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ChangeHistoryChange) private static final com.google.analytics.admin.v1beta.ChangeHistoryChange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ChangeHistoryChange(); } @@ -4647,27 +3901,27 @@ public static com.google.analytics.admin.v1beta.ChangeHistoryChange getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryChange 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryChange 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; @@ -4682,4 +3936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ChangeHistoryChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java index cc1ae56f7184..8105ff643efb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java @@ -1,167 +1,108 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface ChangeHistoryChangeOrBuilder - extends +public interface ChangeHistoryChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ChangeHistoryChange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** - * - * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; - * * @return The action. */ com.google.analytics.admin.v1beta.ActionType getAction(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return Whether the resourceBeforeChange field is set. */ boolean hasResourceBeforeChange(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; * @return The resourceBeforeChange. */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getResourceBeforeChange(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange(); /** - * - * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceBeforeChangeOrBuilder(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return Whether the resourceAfterChange field is set. */ boolean hasResourceAfterChange(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; * @return The resourceAfterChange. */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - getResourceAfterChange(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange(); /** - * - * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder - getResourceAfterChangeOrBuilder(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java similarity index 75% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java index 326151957579..e8f8be4bf288 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A set of changes within a Google Analytics account or its child properties
  * that resulted from the same cause. Common causes would be updates made in the
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryEvent}
  */
-public final class ChangeHistoryEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ChangeHistoryEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ChangeHistoryEvent)
     ChangeHistoryEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ChangeHistoryEvent.newBuilder() to construct.
   private ChangeHistoryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ChangeHistoryEvent() {
     id_ = "";
     actorType_ = 0;
@@ -49,43 +31,38 @@ private ChangeHistoryEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ChangeHistoryEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1beta.ResourcesProto
-        .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.ResourcesProto
-        .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.ChangeHistoryEvent.class,
-            com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
+            com.google.analytics.admin.v1beta.ChangeHistoryEvent.class, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
-   *
-   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -94,29 +71,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -127,14 +104,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CHANGE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp changeTime_; /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ @java.lang.Override @@ -142,14 +116,11 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ @java.lang.Override @@ -157,8 +128,6 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** - * - * *
    * Time when change was made.
    * 
@@ -173,45 +142,33 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { public static final int ACTOR_TYPE_FIELD_NUMBER = 3; private int actorType_ = 0; /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override - public int getActorTypeValue() { + @java.lang.Override public int getActorTypeValue() { return actorType_; } /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @return The actorType. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.ActorType getActorType() { - com.google.analytics.admin.v1beta.ActorType result = - com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); + @java.lang.Override public com.google.analytics.admin.v1beta.ActorType getActorType() { + com.google.analytics.admin.v1beta.ActorType result = com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1beta.ActorType.UNRECOGNIZED : result; } public static final int USER_ACTOR_EMAIL_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object userActorEmail_ = ""; /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -219,7 +176,6 @@ public com.google.analytics.admin.v1beta.ActorType getActorType() {
    * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ @java.lang.Override @@ -228,15 +184,14 @@ public java.lang.String getUserActorEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; } } /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -244,15 +199,16 @@ public java.lang.String getUserActorEmail() {
    * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getUserActorEmailBytes() { + public com.google.protobuf.ByteString + getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -263,15 +219,12 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() { public static final int CHANGES_FILTERED_FIELD_NUMBER = 5; private boolean changesFiltered_ = false; /** - * - * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; - * * @return The changesFiltered. */ @java.lang.Override @@ -280,12 +233,9 @@ public boolean getChangesFiltered() { } public static final int CHANGES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List changes_; /** - * - * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -298,8 +248,6 @@ public java.util.List get
     return changes_;
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -308,13 +256,11 @@ public java.util.List get
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getChangesOrBuilderList() {
     return changes_;
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -327,8 +273,6 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -341,8 +285,6 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange getChanges(int inde
     return changes_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -357,7 +299,6 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -369,15 +310,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
     }
     if (changeTime_ != null) {
       output.writeMessage(2, getChangeTime());
     }
-    if (actorType_
-        != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+    if (actorType_ != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
@@ -402,20 +343,23 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
     }
     if (changeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChangeTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getChangeTime());
     }
-    if (actorType_
-        != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, actorType_);
+    if (actorType_ != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userActorEmail_);
     }
     if (changesFiltered_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, changesFiltered_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(5, changesFiltered_);
     }
     for (int i = 0; i < changes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, changes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, changes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -425,23 +369,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1beta.ChangeHistoryEvent)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1beta.ChangeHistoryEvent other =
-        (com.google.analytics.admin.v1beta.ChangeHistoryEvent) obj;
+    com.google.analytics.admin.v1beta.ChangeHistoryEvent other = (com.google.analytics.admin.v1beta.ChangeHistoryEvent) obj;
 
-    if (!getId().equals(other.getId())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
     if (hasChangeTime() != other.hasChangeTime()) return false;
     if (hasChangeTime()) {
-      if (!getChangeTime().equals(other.getChangeTime())) return false;
+      if (!getChangeTime()
+          .equals(other.getChangeTime())) return false;
     }
     if (actorType_ != other.actorType_) return false;
-    if (!getUserActorEmail().equals(other.getUserActorEmail())) return false;
-    if (getChangesFiltered() != other.getChangesFiltered()) return false;
-    if (!getChangesList().equals(other.getChangesList())) return false;
+    if (!getUserActorEmail()
+        .equals(other.getUserActorEmail())) return false;
+    if (getChangesFiltered()
+        != other.getChangesFiltered()) return false;
+    if (!getChangesList()
+        .equals(other.getChangesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -464,7 +412,8 @@ public int hashCode() {
     hash = (37 * hash) + USER_ACTOR_EMAIL_FIELD_NUMBER;
     hash = (53 * hash) + getUserActorEmail().hashCode();
     hash = (37 * hash) + CHANGES_FILTERED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChangesFiltered());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getChangesFiltered());
     if (getChangesCount() > 0) {
       hash = (37 * hash) + CHANGES_FIELD_NUMBER;
       hash = (53 * hash) + getChangesList().hashCode();
@@ -475,103 +424,96 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
       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.v1beta.ChangeHistoryEvent parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.analytics.admin.v1beta.ChangeHistoryEvent prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A set of changes within a Google Analytics account or its child properties
    * that resulted from the same cause. Common causes would be updates made in the
@@ -581,32 +523,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ChangeHistoryEvent)
       com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.ChangeHistoryEvent.class,
-              com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
+              com.google.analytics.admin.v1beta.ChangeHistoryEvent.class, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.ChangeHistoryEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -631,9 +574,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
@@ -652,18 +595,14 @@ public com.google.analytics.admin.v1beta.ChangeHistoryEvent build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.ChangeHistoryEvent buildPartial() {
-      com.google.analytics.admin.v1beta.ChangeHistoryEvent result =
-          new com.google.analytics.admin.v1beta.ChangeHistoryEvent(this);
+      com.google.analytics.admin.v1beta.ChangeHistoryEvent result = new com.google.analytics.admin.v1beta.ChangeHistoryEvent(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.analytics.admin.v1beta.ChangeHistoryEvent result) {
+    private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ChangeHistoryEvent result) {
       if (changesBuilder_ == null) {
         if (((bitField0_ & 0x00000020) != 0)) {
           changes_ = java.util.Collections.unmodifiableList(changes_);
@@ -681,7 +620,9 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryEvent
         result.id_ = id_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.changeTime_ = changeTimeBuilder_ == null ? changeTime_ : changeTimeBuilder_.build();
+        result.changeTime_ = changeTimeBuilder_ == null
+            ? changeTime_
+            : changeTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.actorType_ = actorType_;
@@ -698,39 +639,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryEvent
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.v1beta.ChangeHistoryEvent) {
-        return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryEvent) other);
+        return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -738,8 +678,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryEvent other) {
-      if (other == com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()) return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         bitField0_ |= 0x00000001;
@@ -777,10 +716,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryEvent ot
             changesBuilder_ = null;
             changes_ = other.changes_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            changesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getChangesFieldBuilder()
-                    : null;
+            changesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getChangesFieldBuilder() : null;
           } else {
             changesBuilder_.addAllMessages(other.changes_);
           }
@@ -812,57 +750,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getChangeTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                actorType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                userActorEmail_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                changesFiltered_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                com.google.analytics.admin.v1beta.ChangeHistoryChange m =
-                    input.readMessage(
-                        com.google.analytics.admin.v1beta.ChangeHistoryChange.parser(),
-                        extensionRegistry);
-                if (changesBuilder_ == null) {
-                  ensureChangesIsMutable();
-                  changes_.add(m);
-                } else {
-                  changesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              id_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getChangeTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              actorType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              userActorEmail_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              changesFiltered_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              com.google.analytics.admin.v1beta.ChangeHistoryChange m =
+                  input.readMessage(
+                      com.google.analytics.admin.v1beta.ChangeHistoryChange.parser(),
+                      extensionRegistry);
+              if (changesBuilder_ == null) {
+                ensureChangesIsMutable();
+                changes_.add(m);
+              } else {
+                changesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            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) {
@@ -872,25 +805,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
-     *
-     *
      * 
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -899,21 +829,20 @@ public java.lang.String getId() { } } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -921,35 +850,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -959,21 +881,17 @@ public Builder clearId() { return this; } /** - * - * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -983,47 +901,34 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp changeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - changeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> changeTimeBuilder_; /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ public boolean hasChangeTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ public com.google.protobuf.Timestamp getChangeTime() { if (changeTimeBuilder_ == null) { - return changeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : changeTime_; + return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } else { return changeTimeBuilder_.getMessage(); } } /** - * - * *
      * Time when change was made.
      * 
@@ -1044,15 +949,14 @@ public Builder setChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; */ - public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (changeTimeBuilder_ == null) { changeTime_ = builderForValue.build(); } else { @@ -1063,8 +967,6 @@ public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1073,9 +975,9 @@ public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { if (changeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && changeTime_ != null - && changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + changeTime_ != null && + changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getChangeTimeBuilder().mergeFrom(value); } else { changeTime_ = value; @@ -1088,8 +990,6 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1107,8 +1007,6 @@ public Builder clearChangeTime() { return this; } /** - * - * *
      * Time when change was made.
      * 
@@ -1121,8 +1019,6 @@ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { return getChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when change was made.
      * 
@@ -1133,14 +1029,11 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { if (changeTimeBuilder_ != null) { return changeTimeBuilder_.getMessageOrBuilder(); } else { - return changeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : changeTime_; + return changeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } } /** - * - * *
      * Time when change was made.
      * 
@@ -1148,17 +1041,14 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { * .google.protobuf.Timestamp change_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getChangeTimeFieldBuilder() { if (changeTimeBuilder_ == null) { - changeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getChangeTime(), getParentForChildren(), isClean()); + changeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getChangeTime(), + getParentForChildren(), + isClean()); changeTime_ = null; } return changeTimeBuilder_; @@ -1166,29 +1056,22 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { private int actorType_ = 0; /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override - public int getActorTypeValue() { + @java.lang.Override public int getActorTypeValue() { return actorType_; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @param value The enum numeric value on the wire for actorType to set. * @return This builder for chaining. */ @@ -1199,31 +1082,24 @@ public Builder setActorTypeValue(int value) { return this; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @return The actorType. */ @java.lang.Override public com.google.analytics.admin.v1beta.ActorType getActorType() { - com.google.analytics.admin.v1beta.ActorType result = - com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); + com.google.analytics.admin.v1beta.ActorType result = com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1beta.ActorType.UNRECOGNIZED : result; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @param value The actorType to set. * @return This builder for chaining. */ @@ -1237,14 +1113,11 @@ public Builder setActorType(com.google.analytics.admin.v1beta.ActorType value) { return this; } /** - * - * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @return This builder for chaining. */ public Builder clearActorType() { @@ -1256,8 +1129,6 @@ public Builder clearActorType() { private java.lang.Object userActorEmail_ = ""; /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1265,13 +1136,13 @@ public Builder clearActorType() {
      * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ public java.lang.String getUserActorEmail() { java.lang.Object ref = userActorEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; @@ -1280,8 +1151,6 @@ public java.lang.String getUserActorEmail() { } } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1289,14 +1158,15 @@ public java.lang.String getUserActorEmail() {
      * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ - public com.google.protobuf.ByteString getUserActorEmailBytes() { + public com.google.protobuf.ByteString + getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -1304,8 +1174,6 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() { } } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1313,22 +1181,18 @@ public com.google.protobuf.ByteString getUserActorEmailBytes() {
      * 
* * string user_actor_email = 4; - * * @param value The userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserActorEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userActorEmail_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1336,7 +1200,6 @@ public Builder setUserActorEmail(java.lang.String value) {
      * 
* * string user_actor_email = 4; - * * @return This builder for chaining. */ public Builder clearUserActorEmail() { @@ -1346,8 +1209,6 @@ public Builder clearUserActorEmail() { return this; } /** - * - * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1355,14 +1216,12 @@ public Builder clearUserActorEmail() {
      * 
* * string user_actor_email = 4; - * * @param value The bytes for userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserActorEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userActorEmail_ = value; bitField0_ |= 0x00000008; @@ -1370,17 +1229,14 @@ public Builder setUserActorEmailBytes(com.google.protobuf.ByteString value) { return this; } - private boolean changesFiltered_; + private boolean changesFiltered_ ; /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @return The changesFiltered. */ @java.lang.Override @@ -1388,35 +1244,29 @@ public boolean getChangesFiltered() { return changesFiltered_; } /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @param value The changesFiltered to set. * @return This builder for chaining. */ public Builder setChangesFiltered(boolean value) { - + changesFiltered_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; - * * @return This builder for chaining. */ public Builder clearChangesFiltered() { @@ -1427,26 +1277,18 @@ public Builder clearChangesFiltered() { } private java.util.List changes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChangesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - changes_ = - new java.util.ArrayList( - changes_); + changes_ = new java.util.ArrayList(changes_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange, - com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder> - changesBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryChange, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder> changesBuilder_; /** - * - * *
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1462,8 +1304,6 @@ public java.util.List get
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1479,8 +1319,6 @@ public int getChangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1496,8 +1334,6 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange getChanges(int inde
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1520,8 +1356,6 @@ public Builder setChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1541,8 +1375,6 @@ public Builder setChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1564,8 +1396,6 @@ public Builder addChanges(com.google.analytics.admin.v1beta.ChangeHistoryChange
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1588,8 +1418,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1609,8 +1437,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1630,8 +1456,6 @@ public Builder addChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1640,11 +1464,11 @@ public Builder addChanges(
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
     public Builder addAllChanges(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (changesBuilder_ == null) {
         ensureChangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, changes_);
         onChanged();
       } else {
         changesBuilder_.addAllMessages(values);
@@ -1652,8 +1476,6 @@ public Builder addAllChanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1672,8 +1494,6 @@ public Builder clearChanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1692,8 +1512,6 @@ public Builder removeChanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1706,8 +1524,6 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder getChangesB
       return getChangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1718,14 +1534,11 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder getChangesB
     public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
         int index) {
       if (changesBuilder_ == null) {
-        return changes_.get(index);
-      } else {
+        return changes_.get(index);  } else {
         return changesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1733,8 +1546,8 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
      *
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
-    public java.util.List
-        getChangesOrBuilderList() {
+    public java.util.List 
+         getChangesOrBuilderList() {
       if (changesBuilder_ != null) {
         return changesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1742,8 +1555,6 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
       }
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1752,12 +1563,10 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
     public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesBuilder() {
-      return getChangesFieldBuilder()
-          .addBuilder(com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder().addBuilder(
+          com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1767,13 +1576,10 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesB
      */
     public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesBuilder(
         int index) {
-      return getChangesFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder().addBuilder(
+          index, com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1781,30 +1587,27 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesB
      *
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
-    public java.util.List
-        getChangesBuilderList() {
+    public java.util.List 
+         getChangesBuilderList() {
       return getChangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1beta.ChangeHistoryChange,
-            com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder,
-            com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>
+        com.google.analytics.admin.v1beta.ChangeHistoryChange, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder> 
         getChangesFieldBuilder() {
       if (changesBuilder_ == null) {
-        changesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.admin.v1beta.ChangeHistoryChange,
-                com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder,
-                com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>(
-                changes_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        changesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.admin.v1beta.ChangeHistoryChange, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>(
+                changes_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         changes_ = null;
       }
       return changesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1814,12 +1617,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ChangeHistoryEvent)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ChangeHistoryEvent)
   private static final com.google.analytics.admin.v1beta.ChangeHistoryEvent DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ChangeHistoryEvent();
   }
@@ -1828,27 +1631,27 @@ public static com.google.analytics.admin.v1beta.ChangeHistoryEvent getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ChangeHistoryEvent 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ChangeHistoryEvent 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;
@@ -1863,4 +1666,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1beta.ChangeHistoryEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
similarity index 81%
rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
index 542dfc9e69b0..943a67fea3dc 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
+++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
@@ -1,80 +1,51 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/resources.proto
 
 package com.google.analytics.admin.v1beta;
 
-public interface ChangeHistoryEventOrBuilder
-    extends
+public interface ChangeHistoryEventOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ChangeHistoryEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return Whether the changeTime field is set. */ boolean hasChangeTime(); /** - * - * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; - * * @return The changeTime. */ com.google.protobuf.Timestamp getChangeTime(); /** - * - * *
    * Time when change was made.
    * 
@@ -84,33 +55,25 @@ public interface ChangeHistoryEventOrBuilder com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder(); /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @return The enum numeric value on the wire for actorType. */ int getActorTypeValue(); /** - * - * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; - * * @return The actorType. */ com.google.analytics.admin.v1beta.ActorType getActorType(); /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -118,13 +81,10 @@ public interface ChangeHistoryEventOrBuilder
    * 
* * string user_actor_email = 4; - * * @return The userActorEmail. */ java.lang.String getUserActorEmail(); /** - * - * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -132,28 +92,23 @@ public interface ChangeHistoryEventOrBuilder
    * 
* * string user_actor_email = 4; - * * @return The bytes for userActorEmail. */ - com.google.protobuf.ByteString getUserActorEmailBytes(); + com.google.protobuf.ByteString + getUserActorEmailBytes(); /** - * - * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; - * * @return The changesFiltered. */ boolean getChangesFiltered(); /** - * - * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -161,10 +116,9 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
-  java.util.List getChangesList();
+  java.util.List 
+      getChangesList();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -174,8 +128,6 @@ public interface ChangeHistoryEventOrBuilder
    */
   com.google.analytics.admin.v1beta.ChangeHistoryChange getChanges(int index);
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -185,8 +137,6 @@ public interface ChangeHistoryEventOrBuilder
    */
   int getChangesCount();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -194,11 +144,9 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
-  java.util.List
+  java.util.List 
       getChangesOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -206,5 +154,6 @@ public interface ChangeHistoryEventOrBuilder
    *
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
-  com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index);
+  com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
+      int index);
 }
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
similarity index 75%
rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
index 415fd23df7b8..42fdd78fdf1a 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
+++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/resources.proto
 
 package com.google.analytics.admin.v1beta;
 
 /**
- *
- *
  * 
  * Types of resources whose changes may be returned from change history.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.ChangeHistoryResourceType} */ -public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum ChangeHistoryResourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Resource type unknown or not specified.
    * 
@@ -39,8 +21,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Account resource
    * 
@@ -49,8 +29,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ ACCOUNT(1), /** - * - * *
    * Property resource
    * 
@@ -59,8 +37,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ PROPERTY(2), /** - * - * *
    * FirebaseLink resource
    * 
@@ -69,8 +45,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ FIREBASE_LINK(6), /** - * - * *
    * GoogleAdsLink resource
    * 
@@ -79,8 +53,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ GOOGLE_ADS_LINK(7), /** - * - * *
    * GoogleSignalsSettings resource
    * 
@@ -89,8 +61,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ GOOGLE_SIGNALS_SETTINGS(8), /** - * - * *
    * ConversionEvent resource
    * 
@@ -99,8 +69,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ CONVERSION_EVENT(9), /** - * - * *
    * MeasurementProtocolSecret resource
    * 
@@ -109,8 +77,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ MEASUREMENT_PROTOCOL_SECRET(10), /** - * - * *
    * DataRetentionSettings resource
    * 
@@ -119,8 +85,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DATA_RETENTION_SETTINGS(13), /** - * - * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -129,8 +93,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DISPLAY_VIDEO_360_ADVERTISER_LINK(14), /** - * - * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -139,8 +101,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL(15), /** - * - * *
    * DataStream resource
    * 
@@ -149,8 +109,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ DATA_STREAM(18), /** - * - * *
    * AttributionSettings resource
    * 
@@ -162,8 +120,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes ; /** - * - * *
    * Resource type unknown or not specified.
    * 
@@ -172,8 +128,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Account resource
    * 
@@ -182,8 +136,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int ACCOUNT_VALUE = 1; /** - * - * *
    * Property resource
    * 
@@ -192,8 +144,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int PROPERTY_VALUE = 2; /** - * - * *
    * FirebaseLink resource
    * 
@@ -202,8 +152,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int FIREBASE_LINK_VALUE = 6; /** - * - * *
    * GoogleAdsLink resource
    * 
@@ -212,8 +160,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int GOOGLE_ADS_LINK_VALUE = 7; /** - * - * *
    * GoogleSignalsSettings resource
    * 
@@ -222,8 +168,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int GOOGLE_SIGNALS_SETTINGS_VALUE = 8; /** - * - * *
    * ConversionEvent resource
    * 
@@ -232,8 +176,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int CONVERSION_EVENT_VALUE = 9; /** - * - * *
    * MeasurementProtocolSecret resource
    * 
@@ -242,8 +184,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int MEASUREMENT_PROTOCOL_SECRET_VALUE = 10; /** - * - * *
    * DataRetentionSettings resource
    * 
@@ -252,8 +192,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DATA_RETENTION_SETTINGS_VALUE = 13; /** - * - * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -262,8 +200,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_VALUE = 14; /** - * - * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -272,8 +208,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_VALUE = 15; /** - * - * *
    * DataStream resource
    * 
@@ -282,8 +216,6 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int DATA_STREAM_VALUE = 18; /** - * - * *
    * AttributionSettings resource
    * 
@@ -292,6 +224,7 @@ public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMes */ public static final int ATTRIBUTION_SETTINGS_VALUE = 20; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -316,34 +249,20 @@ public static ChangeHistoryResourceType valueOf(int value) { */ public static ChangeHistoryResourceType forNumber(int value) { switch (value) { - case 0: - return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; - case 1: - return ACCOUNT; - case 2: - return PROPERTY; - case 6: - return FIREBASE_LINK; - case 7: - return GOOGLE_ADS_LINK; - case 8: - return GOOGLE_SIGNALS_SETTINGS; - case 9: - return CONVERSION_EVENT; - case 10: - return MEASUREMENT_PROTOCOL_SECRET; - case 13: - return DATA_RETENTION_SETTINGS; - case 14: - return DISPLAY_VIDEO_360_ADVERTISER_LINK; - case 15: - return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; - case 18: - return DATA_STREAM; - case 20: - return ATTRIBUTION_SETTINGS; - default: - return null; + case 0: return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; + case 1: return ACCOUNT; + case 2: return PROPERTY; + case 6: return FIREBASE_LINK; + case 7: return GOOGLE_ADS_LINK; + case 8: return GOOGLE_SIGNALS_SETTINGS; + case 9: return CONVERSION_EVENT; + case 10: return MEASUREMENT_PROTOCOL_SECRET; + case 13: return DATA_RETENTION_SETTINGS; + case 14: return DISPLAY_VIDEO_360_ADVERTISER_LINK; + case 15: return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; + case 18: return DATA_STREAM; + case 20: return ATTRIBUTION_SETTINGS; + default: return null; } } @@ -351,28 +270,28 @@ public static ChangeHistoryResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChangeHistoryResourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeHistoryResourceType findValueByNumber(int number) { + return ChangeHistoryResourceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeHistoryResourceType findValueByNumber(int number) { - return ChangeHistoryResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(4); } @@ -381,7 +300,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ChangeHistoryResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -397,3 +317,4 @@ private ChangeHistoryResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ChangeHistoryResourceType) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java index 535408b74d23..ccef79064349 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A conversion event in a Google Analytics property.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ConversionEvent} */ -public final class ConversionEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConversionEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ConversionEvent) ConversionEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConversionEvent.newBuilder() to construct. private ConversionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConversionEvent() { name_ = ""; eventName_ = ""; @@ -44,44 +26,39 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConversionEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ConversionEvent.class, - com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); + com.google.analytics.admin.v1beta.ConversionEvent.class, com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,19 +99,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int EVENT_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object eventName_ = ""; /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ @java.lang.Override @@ -143,30 +116,30 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -177,15 +150,11 @@ public com.google.protobuf.ByteString getEventNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -193,15 +162,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -209,14 +174,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -226,14 +188,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETABLE_FIELD_NUMBER = 4; private boolean deletable_ = false; /** - * - * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deletable. */ @java.lang.Override @@ -244,8 +203,6 @@ public boolean getDeletable() { public static final int CUSTOM_FIELD_NUMBER = 5; private boolean custom_ = false; /** - * - * *
    * 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
@@ -256,7 +213,6 @@ public boolean getDeletable() {
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The custom. */ @java.lang.Override @@ -265,7 +221,6 @@ public boolean getCustom() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -309,13 +265,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (deletable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, deletable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, deletable_); } if (custom_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, custom_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, custom_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,22 +284,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ConversionEvent)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ConversionEvent other = - (com.google.analytics.admin.v1beta.ConversionEvent) obj; + com.google.analytics.admin.v1beta.ConversionEvent other = (com.google.analytics.admin.v1beta.ConversionEvent) obj; - if (!getName().equals(other.getName())) return false; - if (!getEventName().equals(other.getEventName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEventName() + .equals(other.getEventName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (getDeletable() != other.getDeletable()) return false; - if (getCustom() != other.getCustom()) return false; + if (getDeletable() + != other.getDeletable()) return false; + if (getCustom() + != other.getCustom()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -361,144 +324,140 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + DELETABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeletable()); hash = (37 * hash) + CUSTOM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustom()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCustom()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( 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.v1beta.ConversionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ConversionEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ConversionEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ConversionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A conversion event in a Google Analytics property.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ConversionEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ConversionEvent) com.google.analytics.admin.v1beta.ConversionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ConversionEvent.class, - com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); + com.google.analytics.admin.v1beta.ConversionEvent.class, com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ConversionEvent.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -516,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; } @java.lang.Override @@ -537,11 +496,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent build() { @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEvent buildPartial() { - com.google.analytics.admin.v1beta.ConversionEvent result = - new com.google.analytics.admin.v1beta.ConversionEvent(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ConversionEvent result = new com.google.analytics.admin.v1beta.ConversionEvent(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -555,7 +511,9 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ConversionEvent res result.eventName_ = eventName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.deletable_ = deletable_; @@ -569,39 +527,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ConversionEvent res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ConversionEvent) { - return mergeFrom((com.google.analytics.admin.v1beta.ConversionEvent) other); + return mergeFrom((com.google.analytics.admin.v1beta.ConversionEvent)other); } else { super.mergeFrom(other); return this; @@ -609,8 +566,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ConversionEvent other) { - if (other == com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -656,43 +612,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - eventName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - deletable_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - custom_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + eventName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + deletable_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + custom_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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) { @@ -702,26 +654,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -730,22 +679,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -753,37 +701,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); - } + 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 conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -793,22 +734,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -818,21 +755,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object eventName_ = ""; /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -841,22 +776,21 @@ public java.lang.String getEventName() { } } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString getEventNameBytes() { + public com.google.protobuf.ByteString + getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventName_ = b; return b; } else { @@ -864,37 +798,30 @@ public com.google.protobuf.ByteString getEventNameBytes() { } } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } eventName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearEventName() { @@ -904,22 +831,18 @@ public Builder clearEventName() { return this; } /** - * - * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEventNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000002; @@ -929,58 +852,39 @@ public Builder setEventNameBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -996,17 +900,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1017,21 +918,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1044,15 +941,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1065,15 +958,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1081,63 +970,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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 deletable_; + private boolean deletable_ ; /** - * - * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deletable. */ @java.lang.Override @@ -1145,33 +1019,27 @@ public boolean getDeletable() { return deletable_; } /** - * - * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The deletable to set. * @return This builder for chaining. */ public Builder setDeletable(boolean value) { - + deletable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDeletable() { @@ -1181,10 +1049,8 @@ public Builder clearDeletable() { return this; } - private boolean custom_; + private boolean custom_ ; /** - * - * *
      * 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
@@ -1195,7 +1061,6 @@ public Builder clearDeletable() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The custom. */ @java.lang.Override @@ -1203,8 +1068,6 @@ public boolean getCustom() { return custom_; } /** - * - * *
      * 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
@@ -1215,20 +1078,17 @@ public boolean getCustom() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The custom to set. * @return This builder for chaining. */ public Builder setCustom(boolean value) { - + custom_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * 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
@@ -1239,7 +1099,6 @@ public Builder setCustom(boolean value) {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCustom() { @@ -1248,9 +1107,9 @@ public Builder clearCustom() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1260,12 +1119,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ConversionEvent) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ConversionEvent) private static final com.google.analytics.admin.v1beta.ConversionEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ConversionEvent(); } @@ -1274,27 +1133,27 @@ public static com.google.analytics.admin.v1beta.ConversionEvent getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversionEvent 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversionEvent 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; @@ -1309,4 +1168,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ConversionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java similarity index 75% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java index 8da7597900f1..2031552b4287 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java @@ -1,136 +1,94 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface ConversionEventOrBuilder - extends +public interface ConversionEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ConversionEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The eventName. */ java.lang.String getEventName(); /** - * - * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for eventName. */ - com.google.protobuf.ByteString getEventNameBytes(); + com.google.protobuf.ByteString + getEventNameBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The deletable. */ 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
@@ -141,7 +99,6 @@ public interface ConversionEventOrBuilder
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The custom. */ boolean getCustom(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java index 0548eb032417..d8d3481d7df3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java @@ -1,85 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateConversionEventRequest} */ -public final class CreateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateConversionEventRequest) CreateConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateConversionEventRequest.newBuilder() to construct. private CreateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConversionEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, - com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.ConversionEvent conversionEvent_; /** - * - * *
    * Required. The conversion event to create.
    * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -87,58 +63,39 @@ public boolean hasConversionEvent() { return conversionEvent_ != null; } /** - * - * *
    * Required. The conversion event to create.
    * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { - return conversionEvent_ == null - ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; } /** - * - * *
    * Required. The conversion event to create.
    * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { - return conversionEvent_ == null - ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; } public static final int PARENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -147,32 +104,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -181,7 +136,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -210,7 +165,8 @@ public int getSerializedSize() { size = 0; if (conversionEvent_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConversionEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getConversionEvent()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); @@ -223,19 +179,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateConversionEventRequest other = - (com.google.analytics.admin.v1beta.CreateConversionEventRequest) obj; + com.google.analytics.admin.v1beta.CreateConversionEventRequest other = (com.google.analytics.admin.v1beta.CreateConversionEventRequest) obj; if (hasConversionEvent() != other.hasConversionEvent()) return false; if (hasConversionEvent()) { - if (!getConversionEvent().equals(other.getConversionEvent())) return false; + if (!getConversionEvent() + .equals(other.getConversionEvent())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( 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.v1beta.CreateConversionEventRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreateConversionEventRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateConversionEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateConversionEventRequest) com.google.analytics.admin.v1beta.CreateConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, - com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateConversionEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance(); } @@ -425,21 +374,18 @@ public com.google.analytics.admin.v1beta.CreateConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateConversionEventRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateConversionEventRequest result = - new com.google.analytics.admin.v1beta.CreateConversionEventRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreateConversionEventRequest result = new com.google.analytics.admin.v1beta.CreateConversionEventRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.CreateConversionEventRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.CreateConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.conversionEvent_ = - conversionEventBuilder_ == null ? conversionEvent_ : conversionEventBuilder_.build(); + result.conversionEvent_ = conversionEventBuilder_ == null + ? conversionEvent_ + : conversionEventBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.parent_ = parent_; @@ -450,39 +396,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreateConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateConversionEventRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateConversionEventRequest)other); } else { super.mergeFrom(other); return this; @@ -490,9 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateConversionEventRequest other) { - if (other - == com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance()) return this; if (other.hasConversionEvent()) { mergeConversionEvent(other.getConversionEvent()); } @@ -527,25 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getConversionEventFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getConversionEventFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parent_ = 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) { @@ -555,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.ConversionEvent conversionEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder> - conversionEventBuilder_; + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> conversionEventBuilder_; /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the conversionEvent field is set. */ public boolean hasConversionEvent() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The conversionEvent. */ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { if (conversionEventBuilder_ == null) { - return conversionEvent_ == null - ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; } else { return conversionEventBuilder_.getMessage(); } } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEvent value) { if (conversionEventBuilder_ == null) { @@ -627,15 +549,11 @@ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEv return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConversionEvent( com.google.analytics.admin.v1beta.ConversionEvent.Builder builderForValue) { @@ -649,22 +567,17 @@ public Builder setConversionEvent( return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && conversionEvent_ != null - && conversionEvent_ - != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + conversionEvent_ != null && + conversionEvent_ != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { getConversionEventBuilder().mergeFrom(value); } else { conversionEvent_ = value; @@ -677,15 +590,11 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.Conversion return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConversionEvent() { bitField0_ = (bitField0_ & ~0x00000001); @@ -698,15 +607,11 @@ public Builder clearConversionEvent() { return this; } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEventBuilder() { bitField0_ |= 0x00000001; @@ -714,49 +619,36 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.ConversionEventOrBuilder - getConversionEventOrBuilder() { + public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { if (conversionEventBuilder_ != null) { return conversionEventBuilder_.getMessageOrBuilder(); } else { - return conversionEvent_ == null - ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() - : conversionEvent_; + return conversionEvent_ == null ? + com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; } } /** - * - * *
      * Required. The conversion event to create.
      * 
* - * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { - conversionEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( - getConversionEvent(), getParentForChildren(), isClean()); + conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( + getConversionEvent(), + getParentForChildren(), + isClean()); conversionEvent_ = null; } return conversionEventBuilder_; @@ -764,23 +656,19 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv private java.lang.Object parent_ = ""; /** - * - * *
      * 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -789,24 +677,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -814,41 +699,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 2 [(.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(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -858,33 +732,27 @@ public Builder clearParent() { return this; } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 2 [(.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(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -894,43 +762,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateConversionEventRequest) - private static final com.google.analytics.admin.v1beta.CreateConversionEventRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.CreateConversionEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateConversionEventRequest(); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConversionEventRequest 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; @@ -942,8 +808,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..9e11ea6ed3f2 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the conversionEvent field is set. + */ + boolean hasConversionEvent(); + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The conversionEvent. + */ + com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(); + /** + *
+   * Required. The conversion event to create.
+   * 
+ * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder(); + + /** + *
+   * 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) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * 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) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java index a398b39d87d6..e2b951fa19b7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomDimensionRequest} */ -public final class CreateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateCustomDimensionRequest) CreateCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomDimensionRequest.newBuilder() to construct. private CreateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomDimensionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.CustomDimension customDimension_; /** - * - * *
    * Required. The CustomDimension to create.
    * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customDimension field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** - * - * *
    * Required. The CustomDimension to create.
    * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } /** - * - * *
    * Required. The CustomDimension to create.
    * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomDimension()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest other = - (com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest other = (com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension().equals(other.getCustomDimension())) return false; + if (!getCustomDimension() + .equals(other.getCustomDimension())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( 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.v1beta.CreateCustomDimensionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateCustomDimensionRequest) com.google.analytics.admin.v1beta.CreateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance(); } @@ -423,24 +372,21 @@ public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result = - new com.google.analytics.admin.v1beta.CreateCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result = new com.google.analytics.admin.v1beta.CreateCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customDimension_ = - customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); + result.customDimension_ = customDimensionBuilder_ == null + ? customDimension_ + : customDimensionBuilder_.build(); } } @@ -448,39 +394,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; @@ -488,9 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -525,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCustomDimensionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCustomDimensionFieldBuilder().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) { @@ -553,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -582,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -606,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -648,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1beta.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> - customDimensionBuilder_; + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> customDimensionBuilder_; /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customDimension. */ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomDimension(com.google.analytics.admin.v1beta.CustomDimension value) { if (customDimensionBuilder_ == null) { @@ -741,15 +639,11 @@ public Builder setCustomDimension(com.google.analytics.admin.v1beta.CustomDimens return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomDimension( com.google.analytics.admin.v1beta.CustomDimension.Builder builderForValue) { @@ -763,22 +657,17 @@ public Builder setCustomDimension( return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && customDimension_ != null - && customDimension_ - != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + customDimension_ != null && + customDimension_ != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -791,15 +680,11 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDime return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomDimension() { bitField0_ = (bitField0_ & ~0x00000002); @@ -812,15 +697,11 @@ public Builder clearCustomDimension() { return this; } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimensionBuilder() { bitField0_ |= 0x00000002; @@ -828,56 +709,43 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens return getCustomDimensionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? + com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } } /** - * - * *
      * Required. The CustomDimension to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( - getCustomDimension(), getParentForChildren(), isClean()); + customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( + getCustomDimension(), + getParentForChildren(), + isClean()); customDimension_ = null; } return customDimensionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -887,43 +755,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateCustomDimensionRequest) - private static final com.google.analytics.admin.v1beta.CreateCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.CreateCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomDimensionRequest 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; @@ -935,8 +801,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..d24b60dcb03f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomDimensionRequest) + 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 CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customDimension field is set. + */ + boolean hasCustomDimension(); + /** + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The customDimension. + */ + com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(); + /** + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java index a96abe8b3566..df0a7a382393 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomMetricRequest} */ -public final class CreateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateCustomMetricRequest) CreateCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomMetricRequest.newBuilder() to construct. private CreateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomMetricRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, - com.google.analytics.admin.v1beta.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, com.google.analytics.admin.v1beta.CreateCustomMetricRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOM_METRIC_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.CustomMetric customMetric_; /** - * - * *
    * Required. The CustomMetric to create.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customMetric field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** - * - * *
    * Required. The CustomMetric to create.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } /** - * - * *
    * Required. The CustomMetric to create.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomMetric()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateCustomMetricRequest other = - (com.google.analytics.admin.v1beta.CreateCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.CreateCustomMetricRequest other = (com.google.analytics.admin.v1beta.CreateCustomMetricRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric().equals(other.getCustomMetric())) return false; + if (!getCustomMetric() + .equals(other.getCustomMetric())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( 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.v1beta.CreateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateCustomMetricRequest) com.google.analytics.admin.v1beta.CreateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, - com.google.analytics.admin.v1beta.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, com.google.analytics.admin.v1beta.CreateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; } @java.lang.Override @@ -422,11 +372,8 @@ public com.google.analytics.admin.v1beta.CreateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateCustomMetricRequest result = - new com.google.analytics.admin.v1beta.CreateCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreateCustomMetricRequest result = new com.google.analytics.admin.v1beta.CreateCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -437,8 +384,9 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateCustomMetricR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customMetric_ = - customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); + result.customMetric_ = customMetricBuilder_ == null + ? customMetric_ + : customMetricBuilder_.build(); } } @@ -446,39 +394,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateCustomMetricR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -486,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CreateCustomMetricRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -522,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCustomMetricFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCustomMetricFieldBuilder().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) { @@ -550,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -579,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -603,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -645,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -671,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1beta.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder> - customMetricBuilder_; + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> customMetricBuilder_; /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customMetric. */ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomMetric(com.google.analytics.admin.v1beta.CustomMetric value) { if (customMetricBuilder_ == null) { @@ -738,15 +639,11 @@ public Builder setCustomMetric(com.google.analytics.admin.v1beta.CustomMetric va return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomMetric( com.google.analytics.admin.v1beta.CustomMetric.Builder builderForValue) { @@ -760,22 +657,17 @@ public Builder setCustomMetric( return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && customMetric_ != null - && customMetric_ - != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + customMetric_ != null && + customMetric_ != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -788,15 +680,11 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomMetric() { bitField0_ = (bitField0_ & ~0x00000002); @@ -809,15 +697,11 @@ public Builder clearCustomMetric() { return this; } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricBuilder() { bitField0_ |= 0x00000002; @@ -825,55 +709,43 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricBui return getCustomMetricFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder() { if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } } /** - * - * *
      * Required. The CustomMetric to create.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( - getCustomMetric(), getParentForChildren(), isClean()); + customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( + getCustomMetric(), + getParentForChildren(), + isClean()); customMetric_ = null; } return customMetricBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -883,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateCustomMetricRequest) private static final com.google.analytics.admin.v1beta.CreateCustomMetricRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateCustomMetricRequest(); } @@ -897,27 +769,27 @@ public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomMetricRequest 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; @@ -932,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.CreateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..617aa3db8120 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomMetricRequest) + 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 CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customMetric field is set. + */ + boolean hasCustomMetric(); + /** + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The customMetric. + */ + com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(); + /** + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java index ab0eccf61d84..b33c918b9565 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateDataStreamRequest} */ -public final class CreateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateDataStreamRequest) CreateDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDataStreamRequest.newBuilder() to construct. private CreateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDataStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, - com.google.analytics.admin.v1beta.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, com.google.analytics.admin.v1beta.CreateDataStreamRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATA_STREAM_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.DataStream dataStream_; /** - * - * *
    * Required. The DataStream to create.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataStream field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasDataStream() { return dataStream_ != null; } /** - * - * *
    * Required. The DataStream to create.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream getDataStream() { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } /** - * - * *
    * Required. The DataStream to create.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDataStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateDataStreamRequest other = - (com.google.analytics.admin.v1beta.CreateDataStreamRequest) obj; + com.google.analytics.admin.v1beta.CreateDataStreamRequest other = (com.google.analytics.admin.v1beta.CreateDataStreamRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream().equals(other.getDataStream())) return false; + if (!getDataStream() + .equals(other.getDataStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( 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.v1beta.CreateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreateDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateDataStreamRequest) com.google.analytics.admin.v1beta.CreateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, - com.google.analytics.admin.v1beta.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, com.google.analytics.admin.v1beta.CreateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; } @java.lang.Override @@ -422,11 +372,8 @@ public com.google.analytics.admin.v1beta.CreateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateDataStreamRequest result = - new com.google.analytics.admin.v1beta.CreateDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreateDataStreamRequest result = new com.google.analytics.admin.v1beta.CreateDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -437,7 +384,9 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateDataStreamReq result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null + ? dataStream_ + : dataStreamBuilder_.build(); } } @@ -445,39 +394,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateDataStreamReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CreateDataStreamRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -521,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getDataStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getDataStreamFieldBuilder().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) { @@ -549,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -578,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -602,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -644,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -670,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1beta.DataStream dataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> - dataStreamBuilder_; + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamBuilder_; /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dataStream. */ public com.google.analytics.admin.v1beta.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { @@ -737,15 +639,11 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataStream( com.google.analytics.admin.v1beta.DataStream.Builder builderForValue) { @@ -759,21 +657,17 @@ public Builder setDataStream( return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && dataStream_ != null - && dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + dataStream_ != null && + dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -786,15 +680,11 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataStream() { bitField0_ = (bitField0_ & ~0x00000002); @@ -807,15 +697,11 @@ public Builder clearDataStream() { return this; } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder() { bitField0_ |= 0x00000002; @@ -823,55 +709,43 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } } /** - * - * *
      * Required. The DataStream to create.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder>( - getDataStream(), getParentForChildren(), isClean()); + dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + getDataStream(), + getParentForChildren(), + isClean()); dataStream_ = null; } return dataStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -881,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateDataStreamRequest) private static final com.google.analytics.admin.v1beta.CreateDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateDataStreamRequest(); } @@ -895,27 +769,27 @@ public static com.google.analytics.admin.v1beta.CreateDataStreamRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataStreamRequest 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; @@ -930,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CreateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..62f65fa742ce --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateDataStreamRequest) + 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 DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the dataStream field is set. + */ + boolean hasDataStream(); + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The dataStream. + */ + com.google.analytics.admin.v1beta.DataStream getDataStream(); + /** + *
+   * Required. The DataStream to create.
+   * 
+ * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java index a11def990c19..c96c9571a75c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateFirebaseLinkRequest} */ -public final class CreateFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateFirebaseLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) CreateFirebaseLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateFirebaseLinkRequest.newBuilder() to construct. private CreateFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateFirebaseLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,16 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FIREBASE_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.FirebaseLink firebaseLink_; /** - * - * *
    * Required. The Firebase link to create.
    * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -144,44 +112,30 @@ public boolean hasFirebaseLink() { return firebaseLink_ != null; } /** - * - * *
    * Required. The Firebase link to create.
    * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { - return firebaseLink_ == null - ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; } /** - * - * *
    * Required. The Firebase link to create.
    * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { - return firebaseLink_ == null - ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,7 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (firebaseLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFirebaseLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFirebaseLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,18 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest other = - (com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) obj; + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest other = (com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasFirebaseLink() != other.hasFirebaseLink()) return false; if (hasFirebaseLink()) { - if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink() + .equals(other.getFirebaseLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -259,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( 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.v1beta.CreateFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateFirebaseLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) com.google.analytics.admin.v1beta.CreateFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override @@ -424,11 +374,8 @@ public com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest result = - new com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest result = new com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -439,8 +386,9 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateFirebaseLinkR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.firebaseLink_ = - firebaseLinkBuilder_ == null ? firebaseLink_ : firebaseLinkBuilder_.build(); + result.firebaseLink_ = firebaseLinkBuilder_ == null + ? firebaseLink_ + : firebaseLinkBuilder_.build(); } } @@ -448,39 +396,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateFirebaseLinkR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreateFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -488,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -524,25 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getFirebaseLinkFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getFirebaseLinkFieldBuilder().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) { @@ -552,28 +497,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -582,24 +522,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -607,41 +544,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -651,24 +577,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -678,58 +598,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1beta.FirebaseLink firebaseLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> - firebaseLinkBuilder_; + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> firebaseLinkBuilder_; /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the firebaseLink field is set. */ public boolean hasFirebaseLink() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The firebaseLink. */ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { if (firebaseLinkBuilder_ == null) { - return firebaseLink_ == null - ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; } else { return firebaseLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { @@ -745,15 +646,11 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink va return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFirebaseLink( com.google.analytics.admin.v1beta.FirebaseLink.Builder builderForValue) { @@ -767,22 +664,17 @@ public Builder setFirebaseLink( return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && firebaseLink_ != null - && firebaseLink_ - != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + firebaseLink_ != null && + firebaseLink_ != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { getFirebaseLinkBuilder().mergeFrom(value); } else { firebaseLink_ = value; @@ -795,15 +687,11 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFirebaseLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -816,15 +704,11 @@ public Builder clearFirebaseLink() { return this; } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinkBuilder() { bitField0_ |= 0x00000002; @@ -832,55 +716,43 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinkBui return getFirebaseLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (firebaseLinkBuilder_ != null) { return firebaseLinkBuilder_.getMessageOrBuilder(); } else { - return firebaseLink_ == null - ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() - : firebaseLink_; + return firebaseLink_ == null ? + com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; } } /** - * - * *
      * Required. The Firebase link to create.
      * 
* - * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { - firebaseLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( - getFirebaseLink(), getParentForChildren(), isClean()); + firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( + getFirebaseLink(), + getParentForChildren(), + isClean()); firebaseLink_ = null; } return firebaseLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -890,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) private static final com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest(); } @@ -904,27 +776,27 @@ public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFirebaseLinkRequest 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; @@ -939,4 +811,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..1639b9b77ea5 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateFirebaseLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. 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. 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(); + + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the firebaseLink field is set. + */ + boolean hasFirebaseLink(); + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The firebaseLink. + */ + com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink(); + /** + *
+   * Required. The Firebase link to create.
+   * 
+ * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java index 37868dfbed85..8dac7d477dbb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest} */ -public final class CreateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) CreateGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateGoogleAdsLinkRequest.newBuilder() to construct. private CreateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateGoogleAdsLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; /** - * - * *
    * Required. The GoogleAdsLink to create.
    * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -142,44 +110,30 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** - * - * *
    * Required. The GoogleAdsLink to create.
    * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } /** - * - * *
    * Required. The GoogleAdsLink to create.
    * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGoogleAdsLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -257,136 +214,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( 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.v1beta.CreateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,14 +351,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -423,24 +372,21 @@ public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result = - new com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.googleAdsLink_ = - googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = googleAdsLinkBuilder_ == null + ? googleAdsLink_ + : googleAdsLinkBuilder_.build(); } } @@ -448,39 +394,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -488,9 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -525,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getGoogleAdsLinkFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getGoogleAdsLinkFieldBuilder().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) { @@ -553,27 +495,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -582,23 +519,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -606,39 +540,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -648,23 +571,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,58 +591,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> - googleAdsLinkBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The googleAdsLink. */ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { @@ -741,15 +639,11 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGoogleAdsLink( com.google.analytics.admin.v1beta.GoogleAdsLink.Builder builderForValue) { @@ -763,22 +657,17 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && googleAdsLink_ != null - && googleAdsLink_ - != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + googleAdsLink_ != null && + googleAdsLink_ != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -791,15 +680,11 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGoogleAdsLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -812,15 +697,11 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkBuilder() { bitField0_ |= 0x00000002; @@ -828,55 +709,43 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? + com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } } /** - * - * *
      * Required. The GoogleAdsLink to create.
      * 
* - * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), getParentForChildren(), isClean()); + googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), + getParentForChildren(), + isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,13 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest(); } @@ -901,27 +769,27 @@ public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGoogleAdsLinkRequest 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; @@ -936,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..840a0f30b0b2 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateGoogleAdsLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) + 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 GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the googleAdsLink field is set. + */ + boolean hasGoogleAdsLink(); + /** + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The googleAdsLink. + */ + com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); + /** + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java similarity index 56% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java index c7781a6385ad..97a488f1f8a8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java @@ -1,90 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest} */ -public final class CreateMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) CreateMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMeasurementProtocolSecretRequest.newBuilder() to construct. - private CreateMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMeasurementProtocolSecretRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,16 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -146,46 +112,30 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } /** - * - * *
    * Required. The measurement protocol secret to create.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -217,9 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (measurementProtocolSecret_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getMeasurementProtocolSecret()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMeasurementProtocolSecret()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,20 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -267,139 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( 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.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - 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.v1beta.CreateMeasurementProtocolSecretRequest 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.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,22 +353,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -438,26 +374,21 @@ public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest @java.lang.Override public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.measurementProtocolSecret_ = - measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } } @@ -465,52 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreateMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) other); + if (other instanceof com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) { + return mergeFrom((com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -545,26 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -574,28 +497,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -604,24 +522,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -629,41 +544,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -673,24 +577,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -700,62 +598,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -769,15 +646,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -791,24 +664,17 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && measurementProtocolSecret_ != null - && measurementProtocolSecret_ - != com.google.analytics.admin.v1beta.MeasurementProtocolSecret - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + measurementProtocolSecret_ != null && + measurementProtocolSecret_ != com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -821,15 +687,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000002); @@ -842,73 +704,55 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } } /** - * - * *
      * Required. The measurement protocol secret to create.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), getParentForChildren(), isClean()); + measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), + getParentForChildren(), + isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -918,44 +762,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMeasurementProtocolSecretRequest 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; @@ -967,8 +808,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..c2202d8c206a --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateMeasurementProtocolSecretRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the measurementProtocolSecret field is set. + */ + boolean hasMeasurementProtocolSecret(); + /** + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The measurementProtocolSecret. + */ + com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); + /** + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java index 157abdb35704..1d7498ce5b6a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java @@ -1,84 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for CreateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreatePropertyRequest} */ -public final class CreatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreatePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreatePropertyRequest) CreatePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreatePropertyRequest.newBuilder() to construct. private CreatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreatePropertyRequest() {} + private CreatePropertyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreatePropertyRequest.class, - com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.CreatePropertyRequest.class, com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Property property_; /** - * - * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ @java.lang.Override @@ -86,46 +63,32 @@ public boolean hasProperty() { return property_ != null; } /** - * - * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1beta.Property getProperty() { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } /** - * - * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +100,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -151,7 +115,8 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -161,17 +126,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreatePropertyRequest other = - (com.google.analytics.admin.v1beta.CreatePropertyRequest) obj; + com.google.analytics.admin.v1beta.CreatePropertyRequest other = (com.google.analytics.admin.v1beta.CreatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -194,136 +159,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( 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.v1beta.CreatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.CreatePropertyRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.CreatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreatePropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreatePropertyRequest) com.google.analytics.admin.v1beta.CreatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreatePropertyRequest.class, - com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.CreatePropertyRequest.class, com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreatePropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; } @java.lang.Override @@ -358,11 +316,8 @@ public com.google.analytics.admin.v1beta.CreatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreatePropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.CreatePropertyRequest result = - new com.google.analytics.admin.v1beta.CreatePropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CreatePropertyRequest result = new com.google.analytics.admin.v1beta.CreatePropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -370,7 +325,9 @@ public com.google.analytics.admin.v1beta.CreatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1beta.CreatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null + ? property_ + : propertyBuilder_.build(); } } @@ -378,39 +335,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreatePropertyReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CreatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreatePropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.CreatePropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +374,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreatePropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.CreatePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CreatePropertyRequest.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -449,19 +404,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPropertyFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -471,66 +426,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> - propertyBuilder_; + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertyBuilder_; /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ public com.google.analytics.admin.v1beta.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { @@ -546,18 +481,15 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setProperty(com.google.analytics.admin.v1beta.Property.Builder builderForValue) { + public Builder setProperty( + com.google.analytics.admin.v1beta.Property.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -568,22 +500,18 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property.Builder bu return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -596,16 +524,12 @@ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -618,16 +542,12 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -635,57 +555,45 @@ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? + com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } } /** - * - * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -695,12 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreatePropertyRequest) private static final com.google.analytics.admin.v1beta.CreatePropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreatePropertyRequest(); } @@ -709,27 +617,27 @@ public static com.google.analytics.admin.v1beta.CreatePropertyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePropertyRequest 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; @@ -744,4 +652,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CreatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..8ab88dcabcfe --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreatePropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreatePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the property field is set. + */ + boolean hasProperty(); + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The property. + */ + com.google.analytics.admin.v1beta.Property getProperty(); + /** + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java index a9b140a400b0..590257ea0d4d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A definition for a CustomDimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomDimension} */ -public final class CustomDimension extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomDimension extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CustomDimension) CustomDimensionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomDimension.newBuilder() to construct. private CustomDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomDimension() { name_ = ""; parameterName_ = ""; @@ -47,43 +29,39 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomDimension(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomDimension.class, - com.google.analytics.admin.v1beta.CustomDimension.Builder.class); + com.google.analytics.admin.v1beta.CustomDimension.class, com.google.analytics.admin.v1beta.CustomDimension.Builder.class); } /** - * - * *
    * Valid values for the scope of this dimension.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.CustomDimension.DimensionScope} */ - public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { + public enum DimensionScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -92,8 +70,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ DIMENSION_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Dimension scoped to an event.
      * 
@@ -102,8 +78,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ EVENT(1), /** - * - * *
      * Dimension scoped to a user.
      * 
@@ -115,8 +89,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -125,8 +97,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Dimension scoped to an event.
      * 
@@ -135,8 +105,6 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 1; /** - * - * *
      * Dimension scoped to a user.
      * 
@@ -145,6 +113,7 @@ public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,51 +138,49 @@ public static DimensionScope valueOf(int value) { */ public static DimensionScope forNumber(int value) { switch (value) { - case 0: - return DIMENSION_SCOPE_UNSPECIFIED; - case 1: - return EVENT; - case 2: - return USER; - default: - return null; + case 0: return DIMENSION_SCOPE_UNSPECIFIED; + case 1: return EVENT; + case 2: return USER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DimensionScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DimensionScope findValueByNumber(int number) { + return DimensionScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DimensionScope findValueByNumber(int number) { - return DimensionScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.admin.v1beta.CustomDimension.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.CustomDimension.getDescriptor().getEnumTypes().get(0); } private static final DimensionScope[] VALUES = values(); - public static DimensionScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DimensionScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,19 +198,15 @@ private DimensionScope(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -252,30 +215,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -284,12 +247,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -300,10 +260,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ @java.lang.Override @@ -312,15 +269,14 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -331,18 +287,17 @@ public java.lang.String getParameterName() {
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -351,12 +306,9 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -366,7 +318,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -375,15 +326,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -393,15 +343,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -410,18 +361,14 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -430,29 +377,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -463,49 +410,32 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int SCOPE_FIELD_NUMBER = 5; private int scope_ = 0; /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = - com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope() { + com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED : result; } public static final int DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER = 6; private boolean disallowAdsPersonalization_ = false; /** - * - * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from ads
    * personalization.
@@ -513,7 +443,6 @@ public com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -522,7 +451,6 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -534,7 +462,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -547,10 +476,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (scope_ - != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope - .DIMENSION_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, scope_); } if (disallowAdsPersonalization_ != false) { @@ -577,14 +503,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (scope_ - != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope - .DIMENSION_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, scope_); + if (scope_ != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, scope_); } if (disallowAdsPersonalization_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disallowAdsPersonalization_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, disallowAdsPersonalization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -594,20 +519,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CustomDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CustomDimension other = - (com.google.analytics.admin.v1beta.CustomDimension) obj; + com.google.analytics.admin.v1beta.CustomDimension other = (com.google.analytics.admin.v1beta.CustomDimension) obj; - if (!getName().equals(other.getName())) return false; - if (!getParameterName().equals(other.getParameterName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParameterName() + .equals(other.getParameterName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (scope_ != other.scope_) return false; - if (getDisallowAdsPersonalization() != other.getDisallowAdsPersonalization()) return false; + if (getDisallowAdsPersonalization() + != other.getDisallowAdsPersonalization()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -630,142 +559,137 @@ public int hashCode() { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; hash = (37 * hash) + DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisallowAdsPersonalization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisallowAdsPersonalization()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( 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.v1beta.CustomDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CustomDimension parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CustomDimension parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CustomDimension parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CustomDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A definition for a CustomDimension.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomDimension} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CustomDimension) com.google.analytics.admin.v1beta.CustomDimensionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomDimension.class, - com.google.analytics.admin.v1beta.CustomDimension.Builder.class); + com.google.analytics.admin.v1beta.CustomDimension.class, com.google.analytics.admin.v1beta.CustomDimension.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CustomDimension.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -780,9 +704,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; } @java.lang.Override @@ -801,11 +725,8 @@ public com.google.analytics.admin.v1beta.CustomDimension build() { @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension buildPartial() { - com.google.analytics.admin.v1beta.CustomDimension result = - new com.google.analytics.admin.v1beta.CustomDimension(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.CustomDimension result = new com.google.analytics.admin.v1beta.CustomDimension(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -836,39 +757,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CustomDimension res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CustomDimension) { - return mergeFrom((com.google.analytics.admin.v1beta.CustomDimension) other); + return mergeFrom((com.google.analytics.admin.v1beta.CustomDimension)other); } else { super.mergeFrom(other); return this; @@ -876,8 +796,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CustomDimension other) { - if (other == com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -930,49 +849,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - scope_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - disallowAdsPersonalization_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + scope_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + disallowAdsPersonalization_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -982,26 +894,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1010,22 +919,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1033,37 +941,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1073,22 +974,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1098,8 +995,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parameterName_ = ""; /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1110,16 +1005,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1128,8 +1021,6 @@ public java.lang.String getParameterName() { } } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1140,17 +1031,16 @@ public java.lang.String getParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1158,8 +1048,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1170,25 +1058,19 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1199,10 +1081,7 @@ public Builder setParameterName(java.lang.String value) {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1212,8 +1091,6 @@ public Builder clearParameterName() { return this; } /** - * - * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1224,17 +1101,13 @@ public Builder clearParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1244,8 +1117,6 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1255,13 +1126,13 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 3 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1270,8 +1141,6 @@ 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
@@ -1281,14 +1150,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1296,8 +1166,6 @@ 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
@@ -1307,22 +1175,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1332,7 +1196,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1342,8 +1205,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1353,14 +1214,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3 [(.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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1370,20 +1229,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1392,21 +1249,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1414,35 +1270,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.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(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1452,21 +1301,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.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(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -1476,33 +1321,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int scope_ = 0; /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -1513,42 +1347,28 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = - com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED - : result; + com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - com.google.analytics.admin.v1beta.CustomDimension.DimensionScope value) { + public Builder setScope(com.google.analytics.admin.v1beta.CustomDimension.DimensionScope value) { if (value == null) { throw new NullPointerException(); } @@ -1558,16 +1378,11 @@ public Builder setScope( return this; } /** - * - * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearScope() { @@ -1577,10 +1392,8 @@ public Builder clearScope() { return this; } - private boolean disallowAdsPersonalization_; + private boolean disallowAdsPersonalization_ ; /** - * - * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1588,7 +1401,6 @@ public Builder clearScope() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1596,8 +1408,6 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** - * - * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1605,20 +1415,17 @@ public boolean getDisallowAdsPersonalization() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ public Builder setDisallowAdsPersonalization(boolean value) { - + disallowAdsPersonalization_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1626,7 +1433,6 @@ public Builder setDisallowAdsPersonalization(boolean value) {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { @@ -1635,9 +1441,9 @@ public Builder clearDisallowAdsPersonalization() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1647,12 +1453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CustomDimension) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CustomDimension) private static final com.google.analytics.admin.v1beta.CustomDimension DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CustomDimension(); } @@ -1661,27 +1467,27 @@ public static com.google.analytics.admin.v1beta.CustomDimension getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomDimension 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomDimension 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; @@ -1696,4 +1502,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CustomDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java index 7c44a5b79540..9944309c21cd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface CustomDimensionOrBuilder - extends +public interface CustomDimensionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CustomDimension) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -63,16 +40,11 @@ public interface CustomDimensionOrBuilder
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ java.lang.String getParameterName(); /** - * - * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -83,17 +55,13 @@ public interface CustomDimensionOrBuilder
    * characters for event-scoped dimensions.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - com.google.protobuf.ByteString getParameterNameBytes(); + 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
@@ -103,13 +71,10 @@ public interface CustomDimensionOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ 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
@@ -119,68 +84,51 @@ public interface CustomDimensionOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope(); /** - * - * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from ads
    * personalization.
@@ -188,7 +136,6 @@ public interface CustomDimensionOrBuilder
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The disallowAdsPersonalization. */ boolean getDisallowAdsPersonalization(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java index 2cd887950d2e..493a1e69792d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A definition for a custom metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomMetric} */ -public final class CustomMetric extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomMetric extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CustomMetric) CustomMetricOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomMetric.newBuilder() to construct. private CustomMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomMetric() { name_ = ""; parameterName_ = ""; @@ -49,33 +31,30 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomMetric.class, - com.google.analytics.admin.v1beta.CustomMetric.Builder.class); + com.google.analytics.admin.v1beta.CustomMetric.class, com.google.analytics.admin.v1beta.CustomMetric.Builder.class); } /** - * - * *
    * Possible types of representing the custom metric's value.
    * Currency representation may change in the future, requiring a breaking API
@@ -84,10 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.analytics.admin.v1beta.CustomMetric.MeasurementUnit}
    */
-  public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum {
+  public enum MeasurementUnit
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * MeasurementUnit unspecified or missing.
      * 
@@ -96,8 +74,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** - * - * *
      * This metric uses default units.
      * 
@@ -106,8 +82,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ STANDARD(1), /** - * - * *
      * This metric measures a currency.
      * 
@@ -116,8 +90,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ CURRENCY(2), /** - * - * *
      * This metric measures feet.
      * 
@@ -126,8 +98,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ FEET(3), /** - * - * *
      * This metric measures meters.
      * 
@@ -136,8 +106,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ METERS(4), /** - * - * *
      * This metric measures kilometers.
      * 
@@ -146,8 +114,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ KILOMETERS(5), /** - * - * *
      * This metric measures miles.
      * 
@@ -156,8 +122,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MILES(6), /** - * - * *
      * This metric measures milliseconds.
      * 
@@ -166,8 +130,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MILLISECONDS(7), /** - * - * *
      * This metric measures seconds.
      * 
@@ -176,8 +138,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ SECONDS(8), /** - * - * *
      * This metric measures minutes.
      * 
@@ -186,8 +146,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ MINUTES(9), /** - * - * *
      * This metric measures hours.
      * 
@@ -199,8 +157,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -209,8 +165,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This metric uses default units.
      * 
@@ -219,8 +173,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STANDARD_VALUE = 1; /** - * - * *
      * This metric measures a currency.
      * 
@@ -229,8 +181,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CURRENCY_VALUE = 2; /** - * - * *
      * This metric measures feet.
      * 
@@ -239,8 +189,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEET_VALUE = 3; /** - * - * *
      * This metric measures meters.
      * 
@@ -249,8 +197,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METERS_VALUE = 4; /** - * - * *
      * This metric measures kilometers.
      * 
@@ -259,8 +205,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KILOMETERS_VALUE = 5; /** - * - * *
      * This metric measures miles.
      * 
@@ -269,8 +213,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MILES_VALUE = 6; /** - * - * *
      * This metric measures milliseconds.
      * 
@@ -279,8 +221,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MILLISECONDS_VALUE = 7; /** - * - * *
      * This metric measures seconds.
      * 
@@ -289,8 +229,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SECONDS_VALUE = 8; /** - * - * *
      * This metric measures minutes.
      * 
@@ -299,8 +237,6 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINUTES_VALUE = 9; /** - * - * *
      * This metric measures hours.
      * 
@@ -309,6 +245,7 @@ public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HOURS_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -333,58 +270,47 @@ public static MeasurementUnit valueOf(int value) { */ public static MeasurementUnit forNumber(int value) { switch (value) { - case 0: - return MEASUREMENT_UNIT_UNSPECIFIED; - case 1: - return STANDARD; - case 2: - return CURRENCY; - case 3: - return FEET; - case 4: - return METERS; - case 5: - return KILOMETERS; - case 6: - return MILES; - case 7: - return MILLISECONDS; - case 8: - return SECONDS; - case 9: - return MINUTES; - case 10: - return HOURS; - default: - return null; + case 0: return MEASUREMENT_UNIT_UNSPECIFIED; + case 1: return STANDARD; + case 2: return CURRENCY; + case 3: return FEET; + case 4: return METERS; + case 5: return KILOMETERS; + case 6: return MILES; + case 7: return MILLISECONDS; + case 8: return SECONDS; + case 9: return MINUTES; + case 10: return HOURS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MeasurementUnit> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MeasurementUnit findValueByNumber(int number) { + return MeasurementUnit.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MeasurementUnit findValueByNumber(int number) { - return MeasurementUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.CustomMetric.getDescriptor().getEnumTypes().get(0); } @@ -393,7 +319,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MeasurementUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -411,18 +338,15 @@ private MeasurementUnit(int value) { } /** - * - * *
    * The scope of this metric.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.CustomMetric.MetricScope} */ - public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { + public enum MetricScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -431,8 +355,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ METRIC_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Metric scoped to an event.
      * 
@@ -444,8 +366,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Scope unknown or not specified.
      * 
@@ -454,8 +374,6 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Metric scoped to an event.
      * 
@@ -464,6 +382,7 @@ public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -488,47 +407,48 @@ public static MetricScope valueOf(int value) { */ public static MetricScope forNumber(int value) { switch (value) { - case 0: - return METRIC_SCOPE_UNSPECIFIED; - case 1: - return EVENT; - default: - return null; + case 0: return METRIC_SCOPE_UNSPECIFIED; + case 1: return EVENT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MetricScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetricScope findValueByNumber(int number) { + return MetricScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricScope findValueByNumber(int number) { - return MetricScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.CustomMetric.getDescriptor().getEnumTypes().get(1); } private static final MetricScope[] VALUES = values(); - public static MetricScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetricScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -546,8 +466,6 @@ private MetricScope(int value) { } /** - * - * *
    * Labels that mark the data in this custom metric as data that should be
    * restricted to specific users.
@@ -555,10 +473,9 @@ private MetricScope(int value) {
    *
    * Protobuf enum {@code google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType}
    */
-  public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RestrictedMetricType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Type unknown or unspecified.
      * 
@@ -567,8 +484,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ RESTRICTED_METRIC_TYPE_UNSPECIFIED(0), /** - * - * *
      * Metric reports cost data.
      * 
@@ -577,8 +492,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ COST_DATA(1), /** - * - * *
      * Metric reports revenue data.
      * 
@@ -590,8 +503,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
      * Type unknown or unspecified.
      * 
@@ -600,8 +511,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ public static final int RESTRICTED_METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Metric reports cost data.
      * 
@@ -610,8 +519,6 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ public static final int COST_DATA_VALUE = 1; /** - * - * *
      * Metric reports revenue data.
      * 
@@ -620,6 +527,7 @@ public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageE */ public static final int REVENUE_DATA_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -644,14 +552,10 @@ public static RestrictedMetricType valueOf(int value) { */ public static RestrictedMetricType forNumber(int value) { switch (value) { - case 0: - return RESTRICTED_METRIC_TYPE_UNSPECIFIED; - case 1: - return COST_DATA; - case 2: - return REVENUE_DATA; - default: - return null; + case 0: return RESTRICTED_METRIC_TYPE_UNSPECIFIED; + case 1: return COST_DATA; + case 2: return REVENUE_DATA; + default: return null; } } @@ -659,28 +563,28 @@ public static RestrictedMetricType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RestrictedMetricType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestrictedMetricType findValueByNumber(int number) { + return RestrictedMetricType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestrictedMetricType findValueByNumber(int number) { - return RestrictedMetricType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.CustomMetric.getDescriptor().getEnumTypes().get(2); } @@ -689,7 +593,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RestrictedMetricType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -707,19 +612,15 @@ private RestrictedMetricType(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -728,30 +629,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -760,12 +661,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -774,10 +672,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ @java.lang.Override @@ -786,15 +681,14 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -803,18 +697,17 @@ public java.lang.String getParameterName() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -823,12 +716,9 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -838,7 +728,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -847,15 +736,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -865,15 +753,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -882,19 +771,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -903,30 +788,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -937,141 +822,90 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MEASUREMENT_UNIT_FIELD_NUMBER = 5; private int measurementUnit_ = 0; /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override - public int getMeasurementUnitValue() { + @java.lang.Override public int getMeasurementUnitValue() { return measurementUnit_; } /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementUnit. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = - com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); - return result == null - ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit() { + com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); + return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; } public static final int SCOPE_FIELD_NUMBER = 6; private int scope_ = 0; /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = - com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope() { + com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED : result; } public static final int RESTRICTED_METRIC_TYPE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private java.util.List restrictedMetricType_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType> - restrictedMetricType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType> restrictedMetricType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>() { - public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType convert( - java.lang.Integer from) { - com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType result = - com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.forNumber( - from); - return result == null - ? com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.UNRECOGNIZED - : result; + java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>() { + public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType convert(java.lang.Integer from) { + com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType result = com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.forNumber(from); + return result == null ? com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.UNRECOGNIZED : result; } }; /** - * - * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedMetricType. */ @java.lang.Override - public java.util.List - getRestrictedMetricTypeList() { + public java.util.List getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>( - restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); } /** - * - * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedMetricType. */ @java.lang.Override @@ -1079,58 +913,43 @@ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** - * - * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ @java.lang.Override - public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType - getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
    * 
* - * - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ @java.lang.Override - public java.util.List getRestrictedMetricTypeValueList() { + public java.util.List + getRestrictedMetricTypeValueList() { return restrictedMetricType_; } /** - * - * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -1138,11 +957,9 @@ public java.util.List getRestrictedMetricTypeValueList() { public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(index); } - private int restrictedMetricTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1154,7 +971,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1168,15 +986,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (measurementUnit_ - != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit - .MEASUREMENT_UNIT_UNSPECIFIED - .getNumber()) { + if (measurementUnit_ != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { output.writeEnum(5, measurementUnit_); } - if (scope_ - != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, scope_); } if (getRestrictedMetricTypeList().size() > 0) { @@ -1207,30 +1020,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (measurementUnit_ - != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit - .MEASUREMENT_UNIT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, measurementUnit_); + if (measurementUnit_ != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, measurementUnit_); } - if (scope_ - != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); + if (scope_ != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, scope_); } { int dataSize = 0; for (int i = 0; i < restrictedMetricType_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - restrictedMetricType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(restrictedMetricType_.get(i)); } size += dataSize; - if (!getRestrictedMetricTypeList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - restrictedMetricTypeMemoizedSerializedSize = dataSize; + if (!getRestrictedMetricTypeList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }restrictedMetricTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1240,18 +1048,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CustomMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CustomMetric other = - (com.google.analytics.admin.v1beta.CustomMetric) obj; + com.google.analytics.admin.v1beta.CustomMetric other = (com.google.analytics.admin.v1beta.CustomMetric) obj; - if (!getName().equals(other.getName())) return false; - if (!getParameterName().equals(other.getParameterName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParameterName() + .equals(other.getParameterName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (measurementUnit_ != other.measurementUnit_) return false; if (scope_ != other.scope_) return false; if (!restrictedMetricType_.equals(other.restrictedMetricType_)) return false; @@ -1287,136 +1098,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( 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.v1beta.CustomMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.CustomMetric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.CustomMetric parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CustomMetric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CustomMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A definition for a custom metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomMetric} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CustomMetric) com.google.analytics.admin.v1beta.CustomMetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomMetric.class, - com.google.analytics.admin.v1beta.CustomMetric.Builder.class); + com.google.analytics.admin.v1beta.CustomMetric.class, com.google.analytics.admin.v1beta.CustomMetric.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CustomMetric.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1433,9 +1238,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; } @java.lang.Override @@ -1454,12 +1259,9 @@ public com.google.analytics.admin.v1beta.CustomMetric build() { @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric buildPartial() { - com.google.analytics.admin.v1beta.CustomMetric result = - new com.google.analytics.admin.v1beta.CustomMetric(this); + com.google.analytics.admin.v1beta.CustomMetric result = new com.google.analytics.admin.v1beta.CustomMetric(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1498,39 +1300,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CustomMetric result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.CustomMetric) { - return mergeFrom((com.google.analytics.admin.v1beta.CustomMetric) other); + return mergeFrom((com.google.analytics.admin.v1beta.CustomMetric)other); } else { super.mergeFrom(other); return this; @@ -1601,68 +1402,59 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - measurementUnit_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - scope_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 64: - { + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + measurementUnit_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + scope_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 64: { + int tmpRaw = input.readEnum(); + ensureRestrictedMetricTypeIsMutable(); + restrictedMetricType_.add(tmpRaw); + break; + } // case 64 + case 66: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.add(tmpRaw); - break; - } // case 64 - case 66: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureRestrictedMetricTypeIsMutable(); - restrictedMetricType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + 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) { @@ -1672,26 +1464,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1700,22 +1489,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1723,37 +1511,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1763,22 +1544,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1788,8 +1565,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parameterName_ = ""; /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1798,16 +1573,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1816,8 +1589,6 @@ public java.lang.String getParameterName() { } } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1826,17 +1597,16 @@ public java.lang.String getParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString getParameterNameBytes() { + public com.google.protobuf.ByteString + getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1844,8 +1614,6 @@ public com.google.protobuf.ByteString getParameterNameBytes() { } } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1854,25 +1622,19 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1881,10 +1643,7 @@ public Builder setParameterName(java.lang.String value) {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1894,8 +1653,6 @@ public Builder clearParameterName() { return this; } /** - * - * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1904,17 +1661,13 @@ public Builder clearParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParameterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1924,8 +1677,6 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1935,13 +1686,13 @@ public Builder setParameterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 3 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1950,8 +1701,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1961,14 +1710,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1976,8 +1726,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1987,22 +1735,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -2012,7 +1756,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2022,8 +1765,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -2033,14 +1774,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3 [(.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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -2050,21 +1789,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2073,22 +1810,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2096,37 +1832,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2136,22 +1865,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -2161,33 +1886,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int measurementUnit_ = 0; /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override - public int getMeasurementUnitValue() { + @java.lang.Override public int getMeasurementUnitValue() { return measurementUnit_; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for measurementUnit to set. * @return This builder for chaining. */ @@ -2198,43 +1912,28 @@ public Builder setMeasurementUnitValue(int value) { return this; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementUnit. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = - com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber( - measurementUnit_); - return result == null - ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED - : result; + com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); + return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The measurementUnit to set. * @return This builder for chaining. */ - public Builder setMeasurementUnit( - com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit value) { + public Builder setMeasurementUnit(com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit value) { if (value == null) { throw new NullPointerException(); } @@ -2244,16 +1943,11 @@ public Builder setMeasurementUnit( return this; } /** - * - * *
      * Required. The type for the custom metric's value.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearMeasurementUnit() { @@ -2265,33 +1959,22 @@ public Builder clearMeasurementUnit() { private int scope_ = 0; /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -2302,37 +1985,24 @@ public Builder setScopeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = - com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); - return result == null - ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED - : result; + com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); + return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The scope to set. * @return This builder for chaining. */ @@ -2346,16 +2016,11 @@ public Builder setScope(com.google.analytics.admin.v1beta.CustomMetric.MetricSco return this; } /** - * - * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearScope() { @@ -2366,8 +2031,7 @@ public Builder clearScope() { } private java.util.List restrictedMetricType_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRestrictedMetricTypeIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { restrictedMetricType_ = new java.util.ArrayList(restrictedMetricType_); @@ -2375,77 +2039,54 @@ 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.
      * 
* - * - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedMetricType. */ - public java.util.List - getRestrictedMetricTypeList() { + public java.util.List getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>( - restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedMetricType. */ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType - getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The restrictedMetricType to set. * @return This builder for chaining. @@ -2461,23 +2102,17 @@ public Builder setRestrictedMetricType( return this; } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param value The restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addRestrictedMetricType( - com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType value) { + public Builder addRestrictedMetricType(com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType value) { if (value == null) { throw new NullPointerException(); } @@ -2487,25 +2122,18 @@ public Builder addRestrictedMetricType( return this; } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param values The restrictedMetricType to add. * @return This builder for chaining. */ public Builder addAllRestrictedMetricType( - java.lang.Iterable< - ? extends com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType> - values) { + java.lang.Iterable values) { ensureRestrictedMetricTypeIsMutable(); for (com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType value : values) { restrictedMetricType_.add(value.getNumber()); @@ -2514,18 +2142,13 @@ public Builder addAllRestrictedMetricType( return this; } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRestrictedMetricType() { @@ -2535,36 +2158,27 @@ public Builder clearRestrictedMetricType() { return this; } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - public java.util.List getRestrictedMetricTypeValueList() { + public java.util.List + getRestrictedMetricTypeValueList() { return java.util.Collections.unmodifiableList(restrictedMetricType_); } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -2572,41 +2186,32 @@ public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(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.
      * 
* - * - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for restrictedMetricType to set. * @return This builder for chaining. */ - public Builder setRestrictedMetricTypeValue(int index, int value) { + public Builder setRestrictedMetricTypeValue( + int index, int value) { ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.set(index, value); onChanged(); return this; } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for restrictedMetricType to add. * @return This builder for chaining. */ @@ -2617,22 +2222,18 @@ public Builder addRestrictedMetricTypeValue(int value) { return this; } /** - * - * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addAllRestrictedMetricTypeValue(java.lang.Iterable values) { + public Builder addAllRestrictedMetricTypeValue( + java.lang.Iterable values) { ensureRestrictedMetricTypeIsMutable(); for (int value : values) { restrictedMetricType_.add(value); @@ -2640,9 +2241,9 @@ public Builder addAllRestrictedMetricTypeValue(java.lang.Iterable PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomMetric 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomMetric 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; @@ -2701,4 +2302,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CustomMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java index 085976da90a3..462f0f33b642 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface CustomMetricOrBuilder - extends +public interface CustomMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CustomMetric) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -61,16 +38,11 @@ public interface CustomMetricOrBuilder
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The parameterName. */ java.lang.String getParameterName(); /** - * - * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -79,17 +51,13 @@ public interface CustomMetricOrBuilder
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for parameterName. */ - com.google.protobuf.ByteString getParameterNameBytes(); + com.google.protobuf.ByteString + getParameterNameBytes(); /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -99,13 +67,10 @@ public interface CustomMetricOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -115,176 +80,125 @@ public interface CustomMetricOrBuilder
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for measurementUnit. */ int getMeasurementUnitValue(); /** - * - * *
    * Required. The type for the custom metric's value.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementUnit. */ com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit(); /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The scope. */ com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope(); /** - * - * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the restrictedMetricType. */ - java.util.List - getRestrictedMetricTypeList(); + java.util.List getRestrictedMetricTypeList(); /** - * - * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of restrictedMetricType. */ 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.
    * 
* - * - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType( - int index); + com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType(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.
    * 
* - * - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - java.util.List getRestrictedMetricTypeValueList(); + 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.
    * 
* - * - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java index 7b1a52b2a17a..948190f19652 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Settings values for data retention. This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataRetentionSettings} */ -public final class DataRetentionSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataRetentionSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataRetentionSettings) DataRetentionSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataRetentionSettings.newBuilder() to construct. private DataRetentionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataRetentionSettings() { name_ = ""; eventDataRetention_ = 0; @@ -44,43 +26,39 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataRetentionSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataRetentionSettings.class, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1beta.DataRetentionSettings.class, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); } /** - * - * *
    * Valid values for the data retention duration.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration} */ - public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum { + public enum RetentionDuration + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Data retention time duration is not specified.
      * 
@@ -89,8 +67,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ RETENTION_DURATION_UNSPECIFIED(0), /** - * - * *
      * The data retention time duration is 2 months.
      * 
@@ -99,8 +75,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ TWO_MONTHS(1), /** - * - * *
      * The data retention time duration is 14 months.
      * 
@@ -109,8 +83,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ FOURTEEN_MONTHS(3), /** - * - * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -120,8 +92,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     TWENTY_SIX_MONTHS(4),
     /**
-     *
-     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -131,8 +101,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
-     *
-     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -145,8 +113,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -155,8 +121,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data retention time duration is 2 months.
      * 
@@ -165,8 +129,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int TWO_MONTHS_VALUE = 1; /** - * - * *
      * The data retention time duration is 14 months.
      * 
@@ -175,8 +137,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum */ public static final int FOURTEEN_MONTHS_VALUE = 3; /** - * - * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -186,8 +146,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int TWENTY_SIX_MONTHS_VALUE = 4;
     /**
-     *
-     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -197,8 +155,6 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int THIRTY_EIGHT_MONTHS_VALUE = 5;
     /**
-     *
-     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -208,6 +164,7 @@ public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -232,20 +189,13 @@ public static RetentionDuration valueOf(int value) {
      */
     public static RetentionDuration forNumber(int value) {
       switch (value) {
-        case 0:
-          return RETENTION_DURATION_UNSPECIFIED;
-        case 1:
-          return TWO_MONTHS;
-        case 3:
-          return FOURTEEN_MONTHS;
-        case 4:
-          return TWENTY_SIX_MONTHS;
-        case 5:
-          return THIRTY_EIGHT_MONTHS;
-        case 6:
-          return FIFTY_MONTHS;
-        default:
-          return null;
+        case 0: return RETENTION_DURATION_UNSPECIFIED;
+        case 1: return TWO_MONTHS;
+        case 3: return FOURTEEN_MONTHS;
+        case 4: return TWENTY_SIX_MONTHS;
+        case 5: return THIRTY_EIGHT_MONTHS;
+        case 6: return FIFTY_MONTHS;
+        default: return null;
       }
     }
 
@@ -253,31 +203,29 @@ public static RetentionDuration forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        RetentionDuration> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RetentionDuration findValueByNumber(int number) {
+              return RetentionDuration.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public RetentionDuration findValueByNumber(int number) {
-                return RetentionDuration.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.analytics.admin.v1beta.DataRetentionSettings.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1beta.DataRetentionSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RetentionDuration[] VALUES = values();
@@ -285,7 +233,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static RetentionDuration valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -303,19 +252,15 @@ private RetentionDuration(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -324,30 +269,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -358,58 +303,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EVENT_DATA_RETENTION_FIELD_NUMBER = 2; private int eventDataRetention_ = 0; /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override - public int getEventDataRetentionValue() { + @java.lang.Override public int getEventDataRetentionValue() { return eventDataRetention_; } /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The eventDataRetention. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration - getEventDataRetention() { - com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = - com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber( - eventDataRetention_); - return result == null - ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration getEventDataRetention() { + com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); + return result == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; } public static final int RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER = 3; private boolean resetUserDataOnNewActivity_ = false; /** - * - * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; - * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -418,7 +343,6 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -430,14 +354,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (eventDataRetention_ - != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration - .RETENTION_DURATION_UNSPECIFIED - .getNumber()) { + if (eventDataRetention_ != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { output.writeEnum(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { @@ -455,14 +377,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (eventDataRetention_ - != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration - .RETENTION_DURATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventDataRetention_); + if (eventDataRetention_ != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, resetUserDataOnNewActivity_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, resetUserDataOnNewActivity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -472,17 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataRetentionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataRetentionSettings other = - (com.google.analytics.admin.v1beta.DataRetentionSettings) obj; + com.google.analytics.admin.v1beta.DataRetentionSettings other = (com.google.analytics.admin.v1beta.DataRetentionSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (eventDataRetention_ != other.eventDataRetention_) return false; - if (getResetUserDataOnNewActivity() != other.getResetUserDataOnNewActivity()) return false; + if (getResetUserDataOnNewActivity() + != other.getResetUserDataOnNewActivity()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -499,143 +421,137 @@ public int hashCode() { hash = (37 * hash) + EVENT_DATA_RETENTION_FIELD_NUMBER; hash = (53 * hash) + eventDataRetention_; hash = (37 * hash) + RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResetUserDataOnNewActivity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResetUserDataOnNewActivity()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( 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.v1beta.DataRetentionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DataRetentionSettings prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DataRetentionSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Settings values for data retention. This is a singleton resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataRetentionSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataRetentionSettings) com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataRetentionSettings.class, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1beta.DataRetentionSettings.class, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataRetentionSettings.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; } @java.lang.Override @@ -668,11 +584,8 @@ public com.google.analytics.admin.v1beta.DataRetentionSettings build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings buildPartial() { - com.google.analytics.admin.v1beta.DataRetentionSettings result = - new com.google.analytics.admin.v1beta.DataRetentionSettings(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DataRetentionSettings result = new com.google.analytics.admin.v1beta.DataRetentionSettings(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -694,39 +607,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataRetentionSettin public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DataRetentionSettings) { - return mergeFrom((com.google.analytics.admin.v1beta.DataRetentionSettings) other); + return mergeFrom((com.google.analytics.admin.v1beta.DataRetentionSettings)other); } else { super.mergeFrom(other); return this; @@ -734,8 +646,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DataRetentionSettings other) { - if (other == com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -773,31 +684,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - eventDataRetention_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - resetUserDataOnNewActivity_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + eventDataRetention_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + resetUserDataOnNewActivity_ = 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) { @@ -807,26 +714,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -835,22 +739,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -858,37 +761,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -898,22 +794,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -923,33 +815,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int eventDataRetention_ = 0; /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override - public int getEventDataRetentionValue() { + @java.lang.Override public int getEventDataRetentionValue() { return eventDataRetention_; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @param value The enum numeric value on the wire for eventDataRetention to set. * @return This builder for chaining. */ @@ -960,44 +841,28 @@ public Builder setEventDataRetentionValue(int value) { return this; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The eventDataRetention. */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration - getEventDataRetention() { - com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = - com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber( - eventDataRetention_); - return result == null - ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration getEventDataRetention() { + com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); + return result == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @param value The eventDataRetention to set. * @return This builder for chaining. */ - public Builder setEventDataRetention( - com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration value) { + public Builder setEventDataRetention(com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration value) { if (value == null) { throw new NullPointerException(); } @@ -1007,16 +872,11 @@ public Builder setEventDataRetention( return this; } /** - * - * *
      * The length of time that event-level data is retained.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return This builder for chaining. */ public Builder clearEventDataRetention() { @@ -1026,17 +886,14 @@ public Builder clearEventDataRetention() { return this; } - private boolean resetUserDataOnNewActivity_; + private boolean resetUserDataOnNewActivity_ ; /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -1044,35 +901,29 @@ public boolean getResetUserDataOnNewActivity() { return resetUserDataOnNewActivity_; } /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @param value The resetUserDataOnNewActivity to set. * @return This builder for chaining. */ public Builder setResetUserDataOnNewActivity(boolean value) { - + resetUserDataOnNewActivity_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; - * * @return This builder for chaining. */ public Builder clearResetUserDataOnNewActivity() { @@ -1081,9 +932,9 @@ public Builder clearResetUserDataOnNewActivity() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1093,12 +944,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataRetentionSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataRetentionSettings) private static final com.google.analytics.admin.v1beta.DataRetentionSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataRetentionSettings(); } @@ -1107,27 +958,27 @@ public static com.google.analytics.admin.v1beta.DataRetentionSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataRetentionSettings 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataRetentionSettings 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; @@ -1142,4 +993,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataRetentionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java index bed080308bf6..5910cee6479b 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java @@ -1,94 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface DataRetentionSettingsOrBuilder - extends +public interface DataRetentionSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataRetentionSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The enum numeric value on the wire for eventDataRetention. */ int getEventDataRetentionValue(); /** - * - * *
    * The length of time that event-level data is retained.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; * @return The eventDataRetention. */ com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration getEventDataRetention(); /** - * - * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; - * * @return The resetUserDataOnNewActivity. */ boolean getResetUserDataOnNewActivity(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java index 2dc9e31717d5..6a433f6bb4f8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A resource message representing data sharing settings of a Google Analytics
  * account.
@@ -28,53 +11,48 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.DataSharingSettings}
  */
-public final class DataSharingSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataSharingSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataSharingSettings)
     DataSharingSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataSharingSettings.newBuilder() to construct.
   private DataSharingSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataSharingSettings() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataSharingSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.admin.v1beta.ResourcesProto
-        .internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.ResourcesProto
-        .internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.DataSharingSettings.class,
-            com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
+            com.google.analytics.admin.v1beta.DataSharingSettings.class, com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -82,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -91,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -107,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,15 +103,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER = 2; private boolean sharingWithGoogleSupportEnabled_ = false; /** - * - * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; - * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -145,8 +119,6 @@ public boolean getSharingWithGoogleSupportEnabled() { public static final int SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER = 3; private boolean sharingWithGoogleAssignedSalesEnabled_ = false; /** - * - * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -154,7 +126,6 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -165,15 +136,12 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { public static final int SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER = 4; private boolean sharingWithGoogleAnySalesEnabled_ = false; /** - * - * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -184,14 +152,11 @@ public boolean getSharingWithGoogleAnySalesEnabled() { public static final int SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER = 5; private boolean sharingWithGoogleProductsEnabled_ = false; /** - * - * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; - * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -202,14 +167,11 @@ public boolean getSharingWithGoogleProductsEnabled() { public static final int SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER = 6; private boolean sharingWithOthersEnabled_ = false; /** - * - * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; - * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -218,7 +180,6 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -262,27 +224,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sharingWithGoogleSupportEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 2, sharingWithGoogleSupportEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, sharingWithGoogleSupportEnabled_); } if (sharingWithGoogleAssignedSalesEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, sharingWithGoogleAssignedSalesEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, sharingWithGoogleAssignedSalesEnabled_); } if (sharingWithGoogleAnySalesEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, sharingWithGoogleAnySalesEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, sharingWithGoogleAnySalesEnabled_); } if (sharingWithGoogleProductsEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 5, sharingWithGoogleProductsEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, sharingWithGoogleProductsEnabled_); } if (sharingWithOthersEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, sharingWithOthersEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, sharingWithOthersEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -292,24 +251,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataSharingSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataSharingSettings other = - (com.google.analytics.admin.v1beta.DataSharingSettings) obj; + com.google.analytics.admin.v1beta.DataSharingSettings other = (com.google.analytics.admin.v1beta.DataSharingSettings) obj; - if (!getName().equals(other.getName())) return false; - if (getSharingWithGoogleSupportEnabled() != other.getSharingWithGoogleSupportEnabled()) - return false; + if (!getName() + .equals(other.getName())) return false; + if (getSharingWithGoogleSupportEnabled() + != other.getSharingWithGoogleSupportEnabled()) return false; if (getSharingWithGoogleAssignedSalesEnabled() != other.getSharingWithGoogleAssignedSalesEnabled()) return false; - if (getSharingWithGoogleAnySalesEnabled() != other.getSharingWithGoogleAnySalesEnabled()) - return false; - if (getSharingWithGoogleProductsEnabled() != other.getSharingWithGoogleProductsEnabled()) - return false; - if (getSharingWithOthersEnabled() != other.getSharingWithOthersEnabled()) return false; + if (getSharingWithGoogleAnySalesEnabled() + != other.getSharingWithGoogleAnySalesEnabled()) return false; + if (getSharingWithGoogleProductsEnabled() + != other.getSharingWithGoogleProductsEnabled()) return false; + if (getSharingWithOthersEnabled() + != other.getSharingWithOthersEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,127 +284,116 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleSupportEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleSupportEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAssignedSalesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleAssignedSalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAnySalesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleAnySalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleProductsEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithGoogleProductsEnabled()); hash = (37 * hash) + SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSharingWithOthersEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSharingWithOthersEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( 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.v1beta.DataSharingSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataSharingSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataSharingSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DataSharingSettings prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DataSharingSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing data sharing settings of a Google Analytics
    * account.
@@ -452,32 +401,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.admin.v1beta.DataSharingSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataSharingSettings)
       com.google.analytics.admin.v1beta.DataSharingSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.DataSharingSettings.class,
-              com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
+              com.google.analytics.admin.v1beta.DataSharingSettings.class, com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.DataSharingSettings.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -492,9 +442,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.ResourcesProto
-          .internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
@@ -513,11 +463,8 @@ public com.google.analytics.admin.v1beta.DataSharingSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.DataSharingSettings buildPartial() {
-      com.google.analytics.admin.v1beta.DataSharingSettings result =
-          new com.google.analytics.admin.v1beta.DataSharingSettings(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.analytics.admin.v1beta.DataSharingSettings result = new com.google.analytics.admin.v1beta.DataSharingSettings(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -548,39 +495,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataSharingSettings
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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.v1beta.DataSharingSettings) {
-        return mergeFrom((com.google.analytics.admin.v1beta.DataSharingSettings) other);
+        return mergeFrom((com.google.analytics.admin.v1beta.DataSharingSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -588,8 +534,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.DataSharingSettings other) {
-      if (other == com.google.analytics.admin.v1beta.DataSharingSettings.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.admin.v1beta.DataSharingSettings.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -636,49 +581,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                sharingWithGoogleSupportEnabled_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                sharingWithGoogleAnySalesEnabled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                sharingWithGoogleProductsEnabled_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 48:
-              {
-                sharingWithOthersEnabled_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              sharingWithGoogleSupportEnabled_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              sharingWithGoogleAnySalesEnabled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              sharingWithGoogleProductsEnabled_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 48: {
+              sharingWithOthersEnabled_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            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) {
@@ -688,13 +626,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -702,13 +637,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -717,8 +652,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -726,14 +659,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -741,8 +675,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -750,22 +682,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -773,7 +701,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -783,8 +710,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -792,14 +717,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -807,17 +730,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean sharingWithGoogleSupportEnabled_; + private boolean sharingWithGoogleSupportEnabled_ ; /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -825,35 +745,29 @@ public boolean getSharingWithGoogleSupportEnabled() { return sharingWithGoogleSupportEnabled_; } /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @param value The sharingWithGoogleSupportEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleSupportEnabled(boolean value) { - + sharingWithGoogleSupportEnabled_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleSupportEnabled() { @@ -863,10 +777,8 @@ public Builder clearSharingWithGoogleSupportEnabled() { return this; } - private boolean sharingWithGoogleAssignedSalesEnabled_; + private boolean sharingWithGoogleAssignedSalesEnabled_ ; /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -874,7 +786,6 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -882,8 +793,6 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { return sharingWithGoogleAssignedSalesEnabled_; } /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -891,20 +800,17 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { - + sharingWithGoogleAssignedSalesEnabled_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -912,7 +818,6 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { @@ -922,17 +827,14 @@ public Builder clearSharingWithGoogleAssignedSalesEnabled() { return this; } - private boolean sharingWithGoogleAnySalesEnabled_; + private boolean sharingWithGoogleAnySalesEnabled_ ; /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -940,35 +842,29 @@ public boolean getSharingWithGoogleAnySalesEnabled() { return sharingWithGoogleAnySalesEnabled_; } /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @param value The sharingWithGoogleAnySalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { - + sharingWithGoogleAnySalesEnabled_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAnySalesEnabled() { @@ -978,16 +874,13 @@ public Builder clearSharingWithGoogleAnySalesEnabled() { return this; } - private boolean sharingWithGoogleProductsEnabled_; + private boolean sharingWithGoogleProductsEnabled_ ; /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -995,33 +888,27 @@ public boolean getSharingWithGoogleProductsEnabled() { return sharingWithGoogleProductsEnabled_; } /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @param value The sharingWithGoogleProductsEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleProductsEnabled(boolean value) { - + sharingWithGoogleProductsEnabled_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; - * * @return This builder for chaining. */ public Builder clearSharingWithGoogleProductsEnabled() { @@ -1031,16 +918,13 @@ public Builder clearSharingWithGoogleProductsEnabled() { return this; } - private boolean sharingWithOthersEnabled_; + private boolean sharingWithOthersEnabled_ ; /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -1048,33 +932,27 @@ public boolean getSharingWithOthersEnabled() { return sharingWithOthersEnabled_; } /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @param value The sharingWithOthersEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithOthersEnabled(boolean value) { - + sharingWithOthersEnabled_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; - * * @return This builder for chaining. */ public Builder clearSharingWithOthersEnabled() { @@ -1083,9 +961,9 @@ public Builder clearSharingWithOthersEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataSharingSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataSharingSettings) private static final com.google.analytics.admin.v1beta.DataSharingSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataSharingSettings(); } @@ -1109,27 +987,27 @@ public static com.google.analytics.admin.v1beta.DataSharingSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSharingSettings 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSharingSettings 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; @@ -1144,4 +1022,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataSharingSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java similarity index 75% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java index c23e0c309ce3..0f33586f1451 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface DataSharingSettingsOrBuilder - extends +public interface DataSharingSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataSharingSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -33,13 +15,10 @@ public interface DataSharingSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -47,28 +26,23 @@ public interface DataSharingSettingsOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; - * * @return The sharingWithGoogleSupportEnabled. */ boolean getSharingWithGoogleSupportEnabled(); /** - * - * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -76,47 +50,37 @@ public interface DataSharingSettingsOrBuilder
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; - * * @return The sharingWithGoogleAssignedSalesEnabled. */ boolean getSharingWithGoogleAssignedSalesEnabled(); /** - * - * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; - * * @return The sharingWithGoogleAnySalesEnabled. */ boolean getSharingWithGoogleAnySalesEnabled(); /** - * - * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; - * * @return The sharingWithGoogleProductsEnabled. */ boolean getSharingWithGoogleProductsEnabled(); /** - * - * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; - * * @return The sharingWithOthersEnabled. */ boolean getSharingWithOthersEnabled(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java index 236e116df618..317115d3b44a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A resource message representing a data stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream} */ -public final class DataStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream) DataStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataStream.newBuilder() to construct. private DataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataStream() { name_ = ""; type_ = 0; @@ -45,43 +27,39 @@ private DataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.class, - com.google.analytics.admin.v1beta.DataStream.Builder.class); + com.google.analytics.admin.v1beta.DataStream.class, com.google.analytics.admin.v1beta.DataStream.Builder.class); } /** - * - * *
    * The type of the data stream.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.DataStream.DataStreamType} */ - public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { + public enum DataStreamType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Type unknown or not specified.
      * 
@@ -90,8 +68,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_STREAM_TYPE_UNSPECIFIED(0), /** - * - * *
      * Web data stream.
      * 
@@ -100,8 +76,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ WEB_DATA_STREAM(1), /** - * - * *
      * Android app data stream.
      * 
@@ -110,8 +84,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ ANDROID_APP_DATA_STREAM(2), /** - * - * *
      * iOS app data stream.
      * 
@@ -123,8 +95,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Type unknown or not specified.
      * 
@@ -133,8 +103,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Web data stream.
      * 
@@ -143,8 +111,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WEB_DATA_STREAM_VALUE = 1; /** - * - * *
      * Android app data stream.
      * 
@@ -153,8 +119,6 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; /** - * - * *
      * iOS app data stream.
      * 
@@ -163,6 +127,7 @@ public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IOS_APP_DATA_STREAM_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -187,51 +152,50 @@ public static DataStreamType valueOf(int value) { */ public static DataStreamType forNumber(int value) { switch (value) { - case 0: - return DATA_STREAM_TYPE_UNSPECIFIED; - case 1: - return WEB_DATA_STREAM; - case 2: - return ANDROID_APP_DATA_STREAM; - case 3: - return IOS_APP_DATA_STREAM; - default: - return null; + case 0: return DATA_STREAM_TYPE_UNSPECIFIED; + case 1: return WEB_DATA_STREAM; + case 2: return ANDROID_APP_DATA_STREAM; + case 3: return IOS_APP_DATA_STREAM; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DataStreamType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataStreamType findValueByNumber(int number) { + return DataStreamType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataStreamType findValueByNumber(int number) { - return DataStreamType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.DataStream.getDescriptor().getEnumTypes().get(0); } private static final DataStreamType[] VALUES = values(); - public static DataStreamType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataStreamType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -248,111 +212,92 @@ private DataStreamType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.DataStream.DataStreamType) } - public interface WebStreamDataOrBuilder - extends + public interface WebStreamDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream.WebStreamData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ java.lang.String getMeasurementId(); /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for measurementId. */ - com.google.protobuf.ByteString getMeasurementIdBytes(); + com.google.protobuf.ByteString + getMeasurementIdBytes(); /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ - com.google.protobuf.ByteString getDefaultUriBytes(); + com.google.protobuf.ByteString + getDefaultUriBytes(); } /** - * - * *
    * Data specific to web streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.WebStreamData} */ - public static final class WebStreamData extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WebStreamData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream.WebStreamData) WebStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebStreamData.newBuilder() to construct. private WebStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WebStreamData() { measurementId_ = ""; firebaseAppId_ = ""; @@ -361,44 +306,39 @@ private WebStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WebStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, - com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); } public static final int MEASUREMENT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object measurementId_ = ""; /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ @java.lang.Override @@ -407,30 +347,30 @@ public java.lang.String getMeasurementId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; } } /** - * - * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for measurementId. */ @java.lang.Override - public com.google.protobuf.ByteString getMeasurementIdBytes() { + public com.google.protobuf.ByteString + getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); measurementId_ = b; return b; } else { @@ -439,19 +379,15 @@ public com.google.protobuf.ByteString getMeasurementIdBytes() { } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -460,30 +396,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** - * - * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -492,19 +428,15 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } public static final int DEFAULT_URI_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object defaultUri_ = ""; /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ @java.lang.Override @@ -513,30 +445,30 @@ public java.lang.String getDefaultUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; } } /** - * - * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultUriBytes() { + public com.google.protobuf.ByteString + getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -545,7 +477,6 @@ public com.google.protobuf.ByteString getDefaultUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -557,7 +488,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(measurementId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, measurementId_); } @@ -593,17 +525,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream.WebStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream.WebStreamData other = - (com.google.analytics.admin.v1beta.DataStream.WebStreamData) obj; + com.google.analytics.admin.v1beta.DataStream.WebStreamData other = (com.google.analytics.admin.v1beta.DataStream.WebStreamData) obj; - if (!getMeasurementId().equals(other.getMeasurementId())) return false; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; - if (!getDefaultUri().equals(other.getDefaultUri())) return false; + if (!getMeasurementId() + .equals(other.getMeasurementId())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) return false; + if (!getDefaultUri() + .equals(other.getDefaultUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -627,94 +561,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( 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.v1beta.DataStream.WebStreamData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DataStream.WebStreamData prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream.WebStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -724,41 +651,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Data specific to web streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.WebStreamData} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream.WebStreamData) com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, - com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataStream.WebStreamData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -770,14 +695,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.WebStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.WebStreamData getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance(); } @@ -792,17 +716,13 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.WebStreamData buildPartial() { - com.google.analytics.admin.v1beta.DataStream.WebStreamData result = - new com.google.analytics.admin.v1beta.DataStream.WebStreamData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DataStream.WebStreamData result = new com.google.analytics.admin.v1beta.DataStream.WebStreamData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.DataStream.WebStreamData result) { + private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.WebStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.measurementId_ = measurementId_; @@ -819,41 +739,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1beta.DataStream.WebStreamData) { - return mergeFrom((com.google.analytics.admin.v1beta.DataStream.WebStreamData) other); + return mergeFrom((com.google.analytics.admin.v1beta.DataStream.WebStreamData)other); } else { super.mergeFrom(other); return this; @@ -861,9 +778,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream.WebStreamData other) { - if (other - == com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance()) return this; if (!other.getMeasurementId().isEmpty()) { measurementId_ = other.measurementId_; bitField0_ |= 0x00000001; @@ -905,31 +820,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - measurementId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - defaultUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + measurementId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + defaultUri_ = 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) { @@ -939,26 +850,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object measurementId_ = ""; /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The measurementId. */ public java.lang.String getMeasurementId() { java.lang.Object ref = measurementId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; @@ -967,22 +875,21 @@ public java.lang.String getMeasurementId() { } } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for measurementId. */ - public com.google.protobuf.ByteString getMeasurementIdBytes() { + public com.google.protobuf.ByteString + getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); measurementId_ = b; return b; } else { @@ -990,37 +897,30 @@ public com.google.protobuf.ByteString getMeasurementIdBytes() { } } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMeasurementId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } measurementId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMeasurementId() { @@ -1030,22 +930,18 @@ public Builder clearMeasurementId() { return this; } /** - * - * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMeasurementIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); measurementId_ = value; bitField0_ |= 0x00000001; @@ -1055,21 +951,19 @@ public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object firebaseAppId_ = ""; /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -1078,22 +972,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1101,37 +994,30 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } firebaseAppId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -1141,22 +1027,18 @@ public Builder clearFirebaseAppId() { return this; } /** - * - * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000002; @@ -1166,21 +1048,19 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultUri_ = ""; /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The defaultUri. */ public java.lang.String getDefaultUri() { java.lang.Object ref = defaultUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; @@ -1189,22 +1069,21 @@ public java.lang.String getDefaultUri() { } } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for defaultUri. */ - public com.google.protobuf.ByteString getDefaultUriBytes() { + public com.google.protobuf.ByteString + getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -1212,37 +1091,30 @@ public com.google.protobuf.ByteString getDefaultUriBytes() { } } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearDefaultUri() { @@ -1252,29 +1124,24 @@ public Builder clearDefaultUri() { return this; } /** - * - * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1287,13 +1154,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream.WebStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream.WebStreamData) - private static final com.google.analytics.admin.v1beta.DataStream.WebStreamData - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.DataStream.WebStreamData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream.WebStreamData(); } @@ -1302,28 +1168,27 @@ public static com.google.analytics.admin.v1beta.DataStream.WebStreamData getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebStreamData 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebStreamData 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; @@ -1338,86 +1203,73 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataStream.WebStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AndroidAppStreamDataOrBuilder - extends + public interface AndroidAppStreamDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); } /** - * - * *
    * Data specific to Android app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.AndroidAppStreamData} */ - public static final class AndroidAppStreamData extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AndroidAppStreamData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) AndroidAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AndroidAppStreamData.newBuilder() to construct. private AndroidAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AndroidAppStreamData() { firebaseAppId_ = ""; packageName_ = ""; @@ -1425,44 +1277,39 @@ private AndroidAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AndroidAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -1471,30 +1318,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** - * - * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1503,19 +1350,15 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } public static final int PACKAGE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object packageName_ = ""; /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The packageName. */ @java.lang.Override @@ -1524,30 +1367,30 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1556,7 +1399,6 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1568,7 +1410,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -1598,16 +1441,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other = - (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) obj; + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other = (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) obj; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1629,95 +1473,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( 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.v1beta.DataStream.AndroidAppStreamData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - 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.v1beta.DataStream.AndroidAppStreamData 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.v1beta.DataStream.AndroidAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1727,42 +1563,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Data specific to Android app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.AndroidAppStreamData} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1773,16 +1606,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } @java.lang.Override @@ -1796,17 +1627,13 @@ public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData build() @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData buildPartial() { - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result = - new com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result = new com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result) { + private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -1820,53 +1647,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) { - return mergeFrom( - (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) other); + return mergeFrom((com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other) { - if (other - == com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other) { + if (other == com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance()) return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -1903,25 +1723,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - packageName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + packageName_ = 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) { @@ -1931,26 +1748,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -1959,22 +1773,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1982,37 +1795,30 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -2022,22 +1828,18 @@ public Builder clearFirebaseAppId() { return this; } /** - * - * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -2047,21 +1849,19 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -2070,22 +1870,21 @@ public java.lang.String getPackageName() { } } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -2093,37 +1892,30 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPackageName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearPackageName() { @@ -2133,29 +1925,24 @@ public Builder clearPackageName() { return this; } /** - * - * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2168,44 +1955,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) - private static final com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData(); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AndroidAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AndroidAppStreamData 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; @@ -2217,94 +2001,76 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IosAppStreamDataOrBuilder - extends + public interface IosAppStreamDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream.IosAppStreamData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString getFirebaseAppIdBytes(); + com.google.protobuf.ByteString + getFirebaseAppIdBytes(); /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bundleId. */ java.lang.String getBundleId(); /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for bundleId. */ - com.google.protobuf.ByteString getBundleIdBytes(); + com.google.protobuf.ByteString + getBundleIdBytes(); } /** - * - * *
    * Data specific to iOS app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.IosAppStreamData} */ - public static final class IosAppStreamData extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IosAppStreamData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream.IosAppStreamData) IosAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IosAppStreamData.newBuilder() to construct. private IosAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IosAppStreamData() { firebaseAppId_ = ""; bundleId_ = ""; @@ -2312,44 +2078,39 @@ private IosAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IosAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ @java.lang.Override @@ -2358,30 +2119,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** - * - * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2390,21 +2151,15 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } public static final int BUNDLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object bundleId_ = ""; /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bundleId. */ @java.lang.Override @@ -2413,32 +2168,30 @@ public java.lang.String getBundleId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; } } /** - * - * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for bundleId. */ @java.lang.Override - public com.google.protobuf.ByteString getBundleIdBytes() { + public com.google.protobuf.ByteString + getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2447,7 +2200,6 @@ public com.google.protobuf.ByteString getBundleIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2459,7 +2211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -2489,16 +2242,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream.IosAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other = - (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) obj; + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other = (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) obj; - if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; - if (!getBundleId().equals(other.getBundleId())) return false; + if (!getFirebaseAppId() + .equals(other.getFirebaseAppId())) return false; + if (!getBundleId() + .equals(other.getBundleId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2520,94 +2274,87 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( 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.v1beta.DataStream.IosAppStreamData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2617,41 +2364,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Data specific to iOS app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.IosAppStreamData} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream.IosAppStreamData) com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2662,14 +2407,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } @@ -2684,17 +2428,13 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData buildPartial() { - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result = - new com.google.analytics.admin.v1beta.DataStream.IosAppStreamData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result = new com.google.analytics.admin.v1beta.DataStream.IosAppStreamData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result) { + private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -2708,52 +2448,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) { - return mergeFrom((com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) other); + return mergeFrom((com.google.analytics.admin.v1beta.DataStream.IosAppStreamData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other) { - if (other - == com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other) { + if (other == com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance()) return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -2790,25 +2524,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - bundleId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + bundleId_ = 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) { @@ -2818,26 +2549,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -2846,22 +2574,21 @@ public java.lang.String getFirebaseAppId() { } } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString + getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2869,37 +2596,30 @@ public com.google.protobuf.ByteString getFirebaseAppIdBytes() { } } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -2909,22 +2629,18 @@ public Builder clearFirebaseAppId() { return this; } /** - * - * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFirebaseAppIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -2934,23 +2650,19 @@ public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object bundleId_ = ""; /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bundleId. */ public java.lang.String getBundleId() { java.lang.Object ref = bundleId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; @@ -2959,24 +2671,21 @@ public java.lang.String getBundleId() { } } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for bundleId. */ - public com.google.protobuf.ByteString getBundleIdBytes() { + public com.google.protobuf.ByteString + getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2984,41 +2693,30 @@ public com.google.protobuf.ByteString getBundleIdBytes() { } } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The bundleId to set. * @return This builder for chaining. */ - public Builder setBundleId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBundleId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearBundleId() { @@ -3028,31 +2726,24 @@ public Builder clearBundleId() { return this; } /** - * - * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The bytes for bundleId to set. * @return This builder for chaining. */ - public Builder setBundleIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBundleIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3065,44 +2756,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream.IosAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream.IosAppStreamData) - private static final com.google.analytics.admin.v1beta.DataStream.IosAppStreamData - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.DataStream.IosAppStreamData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream.IosAppStreamData(); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IosAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IosAppStreamData 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; @@ -3114,25 +2802,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int streamDataCase_ = 0; private java.lang.Object streamData_; - public enum StreamDataCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEB_STREAM_DATA(6), ANDROID_APP_STREAM_DATA(7), IOS_APP_STREAM_DATA(8), STREAMDATA_NOT_SET(0); private final int value; - private StreamDataCase(int value) { this.value = value; } @@ -3148,39 +2833,32 @@ public static StreamDataCase valueOf(int value) { public static StreamDataCase forNumber(int value) { switch (value) { - case 6: - return WEB_STREAM_DATA; - case 7: - return ANDROID_APP_STREAM_DATA; - case 8: - return IOS_APP_STREAM_DATA; - case 0: - return STREAMDATA_NOT_SET; - default: - return null; + case 6: return WEB_STREAM_DATA; + case 7: return ANDROID_APP_STREAM_DATA; + case 8: return IOS_APP_STREAM_DATA; + case 0: return STREAMDATA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StreamDataCase getStreamDataCase() { - return StreamDataCase.forNumber(streamDataCase_); + public StreamDataCase + getStreamDataCase() { + return StreamDataCase.forNumber( + streamDataCase_); } public static final int WEB_STREAM_DATA_FIELD_NUMBER = 6; /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -3188,27 +2866,22 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * * @return The webStreamData. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamData() { if (streamDataCase_ == 6) { - return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance(); } /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -3217,27 +2890,21 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamDa
    * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder
-      getWebStreamDataOrBuilder() {
+  public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
     if (streamDataCase_ == 6) {
-      return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_;
+       return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_;
     }
     return com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance();
   }
 
   public static final int ANDROID_APP_STREAM_DATA_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -3245,60 +2912,45 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - getAndroidAppStreamData() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getAndroidAppStreamData() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder - getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } public static final int IOS_APP_STREAM_DATA_FIELD_NUMBER = 8; /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -3306,52 +2958,41 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return The iosAppStreamData. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getIosAppStreamData() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder - getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3359,7 +3000,6 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getIosAppSt
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -3368,15 +3008,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3384,15 +3023,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3403,51 +3043,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1beta.DataStream.DataStreamType result = - com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); - return result == null - ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.DataStreamType getType() { + com.google.analytics.admin.v1beta.DataStream.DataStreamType result = com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); + return result == null ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3455,7 +3077,6 @@ public com.google.analytics.admin.v1beta.DataStream.DataStreamType getType() {
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -3464,15 +3085,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3480,15 +3100,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -3499,15 +3120,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -3515,15 +3132,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -3531,14 +3144,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -3548,15 +3158,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3564,15 +3170,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -3580,14 +3182,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3595,7 +3194,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3607,13 +3205,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ - != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { @@ -3626,16 +3223,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(5, getUpdateTime()); } if (streamDataCase_ == 6) { - output.writeMessage( - 6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); + output.writeMessage(6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - output.writeMessage( - 7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); + output.writeMessage(7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - output.writeMessage( - 8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); + output.writeMessage(8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); } getUnknownFields().writeTo(output); } @@ -3649,34 +3243,32 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ - != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (streamDataCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3686,35 +3278,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream other = - (com.google.analytics.admin.v1beta.DataStream) obj; + com.google.analytics.admin.v1beta.DataStream other = (com.google.analytics.admin.v1beta.DataStream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getStreamDataCase().equals(other.getStreamDataCase())) return false; switch (streamDataCase_) { case 6: - if (!getWebStreamData().equals(other.getWebStreamData())) return false; + if (!getWebStreamData() + .equals(other.getWebStreamData())) return false; break; case 7: - if (!getAndroidAppStreamData().equals(other.getAndroidAppStreamData())) return false; + if (!getAndroidAppStreamData() + .equals(other.getAndroidAppStreamData())) return false; break; case 8: - if (!getIosAppStreamData().equals(other.getIosAppStreamData())) return false; + if (!getIosAppStreamData() + .equals(other.getIosAppStreamData())) return false; break; case 0: default: @@ -3765,136 +3363,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.DataStream parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.DataStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( 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.v1beta.DataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DataStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DataStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a data stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream) com.google.analytics.admin.v1beta.DataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.class, - com.google.analytics.admin.v1beta.DataStream.Builder.class); + com.google.analytics.admin.v1beta.DataStream.class, com.google.analytics.admin.v1beta.DataStream.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataStream.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3927,9 +3519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_descriptor; } @java.lang.Override @@ -3948,11 +3540,8 @@ public com.google.analytics.admin.v1beta.DataStream build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStream buildPartial() { - com.google.analytics.admin.v1beta.DataStream result = - new com.google.analytics.admin.v1beta.DataStream(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DataStream result = new com.google.analytics.admin.v1beta.DataStream(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3970,23 +3559,30 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataStream result) result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } private void buildPartialOneofs(com.google.analytics.admin.v1beta.DataStream result) { result.streamDataCase_ = streamDataCase_; result.streamData_ = this.streamData_; - if (streamDataCase_ == 6 && webStreamDataBuilder_ != null) { + if (streamDataCase_ == 6 && + webStreamDataBuilder_ != null) { result.streamData_ = webStreamDataBuilder_.build(); } - if (streamDataCase_ == 7 && androidAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 7 && + androidAppStreamDataBuilder_ != null) { result.streamData_ = androidAppStreamDataBuilder_.build(); } - if (streamDataCase_ == 8 && iosAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 8 && + iosAppStreamDataBuilder_ != null) { result.streamData_ = iosAppStreamDataBuilder_.build(); } } @@ -3995,39 +3591,38 @@ private void buildPartialOneofs(com.google.analytics.admin.v1beta.DataStream res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DataStream) { - return mergeFrom((com.google.analytics.admin.v1beta.DataStream) other); + return mergeFrom((com.google.analytics.admin.v1beta.DataStream)other); } else { super.mergeFrom(other); return this; @@ -4056,25 +3651,21 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream other) { mergeUpdateTime(other.getUpdateTime()); } switch (other.getStreamDataCase()) { - case WEB_STREAM_DATA: - { - mergeWebStreamData(other.getWebStreamData()); - break; - } - case ANDROID_APP_STREAM_DATA: - { - mergeAndroidAppStreamData(other.getAndroidAppStreamData()); - break; - } - case IOS_APP_STREAM_DATA: - { - mergeIosAppStreamData(other.getIosAppStreamData()); - break; - } - case STREAMDATA_NOT_SET: - { - break; - } + case WEB_STREAM_DATA: { + mergeWebStreamData(other.getWebStreamData()); + break; + } + case ANDROID_APP_STREAM_DATA: { + mergeAndroidAppStreamData(other.getAndroidAppStreamData()); + break; + } + case IOS_APP_STREAM_DATA: { + mergeIosAppStreamData(other.getIosAppStreamData()); + break; + } + case STREAMDATA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4102,63 +3693,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 16 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 50: - { - input.readMessage(getWebStreamDataFieldBuilder().getBuilder(), extensionRegistry); - streamDataCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage( - getAndroidAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); - streamDataCase_ = 7; - break; - } // case 58 - case 66: - { - input.readMessage( - getIosAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); - streamDataCase_ = 8; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 16 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 50: { + input.readMessage( + getWebStreamDataFieldBuilder().getBuilder(), + extensionRegistry); + streamDataCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getAndroidAppStreamDataFieldBuilder().getBuilder(), + extensionRegistry); + streamDataCase_ = 7; + break; + } // case 58 + case 66: { + input.readMessage( + getIosAppStreamDataFieldBuilder().getBuilder(), + extensionRegistry); + streamDataCase_ = 8; + 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) { @@ -4168,12 +3758,12 @@ public Builder mergeFrom( } // finally return this; } - private int streamDataCase_ = 0; private java.lang.Object streamData_; - - public StreamDataCase getStreamDataCase() { - return StreamDataCase.forNumber(streamDataCase_); + public StreamDataCase + getStreamDataCase() { + return StreamDataCase.forNumber( + streamDataCase_); } public Builder clearStreamData() { @@ -4186,20 +3776,14 @@ public Builder clearStreamData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.WebStreamData, - com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, - com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder> - webStreamDataBuilder_; + com.google.analytics.admin.v1beta.DataStream.WebStreamData, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder> webStreamDataBuilder_; /** - * - * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -4207,15 +3791,12 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** - * - * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * * @return The webStreamData. */ @java.lang.Override @@ -4233,8 +3814,6 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamDa } } /** - * - * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4242,8 +3821,7 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamDa
      *
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder setWebStreamData(
-        com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
+    public Builder setWebStreamData(com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4257,8 +3835,6 @@ public Builder setWebStreamData(
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4278,8 +3854,6 @@ public Builder setWebStreamData(
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4287,18 +3861,12 @@ public Builder setWebStreamData(
      *
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder mergeWebStreamData(
-        com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
+    public Builder mergeWebStreamData(com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
-        if (streamDataCase_ == 6
-            && streamData_
-                != com.google.analytics.admin.v1beta.DataStream.WebStreamData
-                    .getDefaultInstance()) {
-          streamData_ =
-              com.google.analytics.admin.v1beta.DataStream.WebStreamData.newBuilder(
-                      (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (streamDataCase_ == 6 &&
+            streamData_ != com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance()) {
+          streamData_ = com.google.analytics.admin.v1beta.DataStream.WebStreamData.newBuilder((com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_)
+              .mergeFrom(value).buildPartial();
         } else {
           streamData_ = value;
         }
@@ -4314,8 +3882,6 @@ public Builder mergeWebStreamData(
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4340,8 +3906,6 @@ public Builder clearWebStreamData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4349,13 +3913,10 @@ public Builder clearWebStreamData() {
      *
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
-    public com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder
-        getWebStreamDataBuilder() {
+    public com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder getWebStreamDataBuilder() {
       return getWebStreamDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4364,8 +3925,7 @@ public Builder clearWebStreamData() {
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder
-        getWebStreamDataOrBuilder() {
+    public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
       if ((streamDataCase_ == 6) && (webStreamDataBuilder_ != null)) {
         return webStreamDataBuilder_.getMessageOrBuilder();
       } else {
@@ -4376,8 +3936,6 @@ public Builder clearWebStreamData() {
       }
     }
     /**
-     *
-     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -4386,20 +3944,14 @@ public Builder clearWebStreamData() {
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.DataStream.WebStreamData,
-            com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder,
-            com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder>
+        com.google.analytics.admin.v1beta.DataStream.WebStreamData, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder> 
         getWebStreamDataFieldBuilder() {
       if (webStreamDataBuilder_ == null) {
         if (!(streamDataCase_ == 6)) {
-          streamData_ =
-              com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance();
+          streamData_ = com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance();
         }
-        webStreamDataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.admin.v1beta.DataStream.WebStreamData,
-                com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder,
-                com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder>(
+        webStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.admin.v1beta.DataStream.WebStreamData, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder>(
                 (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_,
                 getParentForChildren(),
                 isClean());
@@ -4411,22 +3963,14 @@ public Builder clearWebStreamData() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData,
-            com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder,
-            com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder>
-        androidAppStreamDataBuilder_;
+        com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder> androidAppStreamDataBuilder_;
     /**
-     *
-     *
      * 
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -4434,50 +3978,37 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - getAndroidAppStreamData() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - .getDefaultInstance(); + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } else { if (streamDataCase_ == 7) { return androidAppStreamDataBuilder_.getMessage(); } - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - .getDefaultInstance(); + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - public Builder setAndroidAppStreamData( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { + public Builder setAndroidAppStreamData(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4491,16 +4022,12 @@ public Builder setAndroidAppStreamData( return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ public Builder setAndroidAppStreamData( com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder builderForValue) { @@ -4514,30 +4041,19 @@ public Builder setAndroidAppStreamData( return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - public Builder mergeAndroidAppStreamData( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { + public Builder mergeAndroidAppStreamData(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 7 - && streamData_ - != com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - .getDefaultInstance()) { - streamData_ = - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder( - (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) - streamData_) - .mergeFrom(value) - .buildPartial(); + if (streamDataCase_ == 7 && + streamData_ != com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance()) { + streamData_ = com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder((com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_) + .mergeFrom(value).buildPartial(); } else { streamData_ = value; } @@ -4553,16 +4069,12 @@ public Builder mergeAndroidAppStreamData( return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ public Builder clearAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { @@ -4581,74 +4093,52 @@ public Builder clearAndroidAppStreamData() { return this; } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder - getAndroidAppStreamDataBuilder() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder getAndroidAppStreamDataBuilder() { return getAndroidAppStreamDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder - getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { if ((streamDataCase_ == 7) && (androidAppStreamDataBuilder_ != null)) { return androidAppStreamDataBuilder_.getMessageOrBuilder(); } else { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - .getDefaultInstance(); + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } } /** - * - * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder> + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder> getAndroidAppStreamDataFieldBuilder() { if (androidAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 7)) { - streamData_ = - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - .getDefaultInstance(); + streamData_ = com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } - androidAppStreamDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder>( + androidAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder>( (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4660,21 +4150,14 @@ public Builder clearAndroidAppStreamData() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> - iosAppStreamDataBuilder_; + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> iosAppStreamDataBuilder_; /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -4682,16 +4165,12 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return The iosAppStreamData. */ @java.lang.Override @@ -4709,18 +4188,14 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getIosAppSt } } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - public Builder setIosAppStreamData( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { + public Builder setIosAppStreamData(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4734,15 +4209,12 @@ public Builder setIosAppStreamData( return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ public Builder setIosAppStreamData( com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder builderForValue) { @@ -4756,28 +4228,19 @@ public Builder setIosAppStreamData( return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - public Builder mergeIosAppStreamData( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { + public Builder mergeIosAppStreamData(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 8 - && streamData_ - != com.google.analytics.admin.v1beta.DataStream.IosAppStreamData - .getDefaultInstance()) { - streamData_ = - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.newBuilder( - (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_) - .mergeFrom(value) - .buildPartial(); + if (streamDataCase_ == 8 && + streamData_ != com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance()) { + streamData_ = com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.newBuilder((com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_) + .mergeFrom(value).buildPartial(); } else { streamData_ = value; } @@ -4793,15 +4256,12 @@ public Builder mergeIosAppStreamData( return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ public Builder clearIosAppStreamData() { if (iosAppStreamDataBuilder_ == null) { @@ -4820,34 +4280,26 @@ public Builder clearIosAppStreamData() { return this; } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder - getIosAppStreamDataBuilder() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder getIosAppStreamDataBuilder() { return getIosAppStreamDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder - getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { if ((streamDataCase_ == 8) && (iosAppStreamDataBuilder_ != null)) { return iosAppStreamDataBuilder_.getMessageOrBuilder(); } else { @@ -4858,31 +4310,22 @@ public Builder clearIosAppStreamData() { } } /** - * - * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> getIosAppStreamDataFieldBuilder() { if (iosAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 8)) { - streamData_ = - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); + streamData_ = com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } - iosAppStreamDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, - com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder>( + iosAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder>( (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4895,8 +4338,6 @@ public Builder clearIosAppStreamData() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4904,13 +4345,13 @@ public Builder clearIosAppStreamData() {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4919,8 +4360,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4928,14 +4367,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4943,8 +4383,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4952,22 +4390,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4975,7 +4409,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -4985,8 +4418,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4994,14 +4425,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -5011,33 +4440,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -5048,37 +4466,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1beta.DataStream.DataStreamType result = - com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); - return result == null - ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED - : result; + com.google.analytics.admin.v1beta.DataStream.DataStreamType result = com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); + return result == null ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -5092,16 +4497,11 @@ public Builder setType(com.google.analytics.admin.v1beta.DataStream.DataStreamTy return this; } /** - * - * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { @@ -5113,8 +4513,6 @@ public Builder clearType() { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5122,13 +4520,13 @@ public Builder clearType() {
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -5137,8 +4535,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5146,14 +4542,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -5161,8 +4558,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5170,22 +4565,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5193,7 +4584,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -5203,8 +4593,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -5212,14 +4600,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -5229,58 +4615,39 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -5296,17 +4663,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -5317,21 +4681,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -5344,15 +4704,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -5365,15 +4721,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; @@ -5381,48 +4733,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -5430,58 +4770,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -5497,17 +4818,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -5518,21 +4836,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -5545,15 +4859,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -5566,15 +4876,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000080; @@ -5582,55 +4888,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5640,12 +4934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream) private static final com.google.analytics.admin.v1beta.DataStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream(); } @@ -5654,27 +4948,27 @@ public static com.google.analytics.admin.v1beta.DataStream getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataStream 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataStream 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; @@ -5689,4 +4983,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java index 30731d5d4919..626f5ac06fed 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface DataStreamOrBuilder - extends +public interface DataStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * * @return Whether the webStreamData field is set. */ boolean hasWebStreamData(); /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * * @return The webStreamData. */ com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamData(); /** - * - * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -62,95 +38,66 @@ public interface DataStreamOrBuilder
   com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder();
 
   /**
-   *
-   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return Whether the androidAppStreamData field is set. */ boolean hasAndroidAppStreamData(); /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; * @return The androidAppStreamData. */ com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getAndroidAppStreamData(); /** - * - * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; */ - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder - getAndroidAppStreamDataOrBuilder(); + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder(); /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return Whether the iosAppStreamData field is set. */ boolean hasIosAppStreamData(); /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; * @return The iosAppStreamData. */ com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getIosAppStreamData(); /** - * - * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; */ - com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder - getIosAppStreamDataOrBuilder(); + com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder(); /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -158,13 +105,10 @@ public interface DataStreamOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -172,43 +116,31 @@ public interface DataStreamOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.analytics.admin.v1beta.DataStream.DataStreamType getType(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -216,13 +148,10 @@ public interface DataStreamOrBuilder
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -230,84 +159,62 @@ public interface DataStreamOrBuilder
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java index fc4643a72303..f2e9bab8dfac 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for DeleteAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteAccountRequest} */ -public final class DeleteAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteAccountRequest) DeleteAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAccountRequest.newBuilder() to construct. private DeleteAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteAccountRequest.class, - com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteAccountRequest.class, com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteAccountRequest other = - (com.google.analytics.admin.v1beta.DeleteAccountRequest) obj; + com.google.analytics.admin.v1beta.DeleteAccountRequest other = (com.google.analytics.admin.v1beta.DeleteAccountRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( 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.v1beta.DeleteAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DeleteAccountRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteAccountRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteAccountRequest) com.google.analytics.admin.v1beta.DeleteAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteAccountRequest.class, - com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteAccountRequest.class, com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteAccountRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.analytics.admin.v1beta.DeleteAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteAccountRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteAccountRequest result = - new com.google.analytics.admin.v1beta.DeleteAccountRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DeleteAccountRequest result = new com.google.analytics.admin.v1beta.DeleteAccountRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteAccountReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DeleteAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteAccountRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteAccountRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteAccountRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DeleteAccountRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -466,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteAccountRequest) private static final com.google.analytics.admin.v1beta.DeleteAccountRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteAccountRequest(); } @@ -620,27 +554,27 @@ public static com.google.analytics.admin.v1beta.DeleteAccountRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAccountRequest 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DeleteAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java new file mode 100644 index 000000000000..20cfff233a21 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteAccountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java index 0f283a60a9ce..3f2f930b4f22 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for DeleteConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteConversionEventRequest} */ -public final class DeleteConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteConversionEventRequest) DeleteConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteConversionEventRequest.newBuilder() to construct. private DeleteConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, - com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteConversionEventRequest other = - (com.google.analytics.admin.v1beta.DeleteConversionEventRequest) obj; + com.google.analytics.admin.v1beta.DeleteConversionEventRequest other = (com.google.analytics.admin.v1beta.DeleteConversionEventRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( 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.v1beta.DeleteConversionEventRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteConversionEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteConversionEventRequest) com.google.analytics.admin.v1beta.DeleteConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, - com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteConversionEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,14 +296,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteConversionEventRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance(); } @@ -352,17 +317,13 @@ public com.google.analytics.admin.v1beta.DeleteConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteConversionEventRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteConversionEventRequest result = - new com.google.analytics.admin.v1beta.DeleteConversionEventRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DeleteConversionEventRequest result = new com.google.analytics.admin.v1beta.DeleteConversionEventRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.DeleteConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -373,39 +334,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DeleteConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteConversionEventRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteConversionEventRequest)other); } else { super.mergeFrom(other); return this; @@ -413,9 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteConversionEventRequest other) { - if (other - == com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -447,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -469,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -500,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -526,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -572,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -609,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteConversionEventRequest) - private static final com.google.analytics.admin.v1beta.DeleteConversionEventRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.DeleteConversionEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteConversionEventRequest(); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConversionEventRequest 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; @@ -657,8 +586,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteConversionEventRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..f7e750ef6920 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java index fbb75ccc3d3d..8107519a6a72 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for DeleteDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteDataStreamRequest} */ -public final class DeleteDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteDataStreamRequest) DeleteDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDataStreamRequest.newBuilder() to construct. private DeleteDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, - com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteDataStreamRequest other = - (com.google.analytics.admin.v1beta.DeleteDataStreamRequest) obj; + com.google.analytics.admin.v1beta.DeleteDataStreamRequest other = (com.google.analytics.admin.v1beta.DeleteDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( 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.v1beta.DeleteDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteDataStreamRequest) com.google.analytics.admin.v1beta.DeleteDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, - com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1beta.DeleteDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteDataStreamRequest result = - new com.google.analytics.admin.v1beta.DeleteDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DeleteDataStreamRequest result = new com.google.analytics.admin.v1beta.DeleteDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteDataStreamReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DeleteDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DeleteDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteDataStreamRequest) private static final com.google.analytics.admin.v1beta.DeleteDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteDataStreamRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataStreamRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DeleteDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..c7ffb2703cce --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/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 DataStream to delete.
+   * Example format: properties/1234/dataStreams/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java index 8ebe282e568b..9e2fbb98d7b9 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for DeleteFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteFirebaseLinkRequest} */ -public final class DeleteFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteFirebaseLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) DeleteFirebaseLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteFirebaseLinkRequest.newBuilder() to construct. private DeleteFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFirebaseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest other = - (com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) obj; + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest other = (com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( 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.v1beta.DeleteFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteFirebaseLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest result = - new com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest result = new com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteFirebaseLinkR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DeleteFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) private static final com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFirebaseLinkRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..3b8cd011092e --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteFirebaseLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java index 59d4376a1939..388b2cd2612f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for DeleteGoogleAdsLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest} */ -public final class DeleteGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) DeleteGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteGoogleAdsLinkRequest.newBuilder() to construct. private DeleteGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteGoogleAdsLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest other = (com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( 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.v1beta.DeleteGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteGoogleAdsLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance(); } @@ -348,17 +313,13 @@ public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result = - new com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result = new com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,39 +330,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DeleteGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -409,9 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +401,17 @@ public Builder mergeFrom( 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: + 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) { @@ -465,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -560,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,13 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest(); } @@ -610,27 +540,27 @@ public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGoogleAdsLinkRequest 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; @@ -645,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..1ffcbfad88eb --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteGoogleAdsLinkRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Example format: properties/1234/googleAdsLinks/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java index 3f5d71196fc8..8b980b50e284 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java @@ -1,91 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for DeleteMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest} */ -public final class DeleteMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) DeleteMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMeasurementProtocolSecretRequest.newBuilder() to construct. - private DeleteMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,16 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,139 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( 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.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - 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.v1beta.DeleteMeasurementProtocolSecretRequest 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.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -336,22 +296,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -360,17 +317,13 @@ public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest @java.lang.Override public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -381,52 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DeleteMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) other); + if (other instanceof com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) { + return mergeFrom((com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -458,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -480,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -583,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,44 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMeasurementProtocolSecretRequest 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; @@ -669,8 +586,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..2477b686f2f7 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteMeasurementProtocolSecretRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java index 363bc12b2c7c..6f40d40e4f63 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for DeleteProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeletePropertyRequest} */ -public final class DeletePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeletePropertyRequest) DeletePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePropertyRequest.newBuilder() to construct. private DeletePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeletePropertyRequest.class, - com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.DeletePropertyRequest.class, com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeletePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeletePropertyRequest other = - (com.google.analytics.admin.v1beta.DeletePropertyRequest) obj; + com.google.analytics.admin.v1beta.DeletePropertyRequest other = (com.google.analytics.admin.v1beta.DeletePropertyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( 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.v1beta.DeletePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.DeletePropertyRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.DeletePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeletePropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeletePropertyRequest) com.google.analytics.admin.v1beta.DeletePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeletePropertyRequest.class, - com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.DeletePropertyRequest.class, com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeletePropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.analytics.admin.v1beta.DeletePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeletePropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.DeletePropertyRequest result = - new com.google.analytics.admin.v1beta.DeletePropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.DeletePropertyRequest result = new com.google.analytics.admin.v1beta.DeletePropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeletePropertyReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.DeletePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeletePropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.DeletePropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeletePropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.DeletePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.DeletePropertyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -466,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeletePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeletePropertyRequest) private static final com.google.analytics.admin.v1beta.DeletePropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeletePropertyRequest(); } @@ -620,27 +554,27 @@ public static com.google.analytics.admin.v1beta.DeletePropertyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePropertyRequest 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DeletePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..eaa84c19360c --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeletePropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeletePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java index 033206546b7e..df71d6aa80d8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A link between a GA4 property and a Firebase project.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.FirebaseLink} */ -public final class FirebaseLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FirebaseLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.FirebaseLink) FirebaseLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FirebaseLink.newBuilder() to construct. private FirebaseLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FirebaseLink() { name_ = ""; project_ = ""; @@ -44,43 +26,38 @@ private FirebaseLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FirebaseLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.FirebaseLink.class, - com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); + com.google.analytics.admin.v1beta.FirebaseLink.class, com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -89,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,12 +97,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PROJECT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** - * - * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -136,7 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The project. */ @java.lang.Override @@ -145,15 +118,14 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -164,15 +136,16 @@ public java.lang.String getProject() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -183,15 +156,11 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -199,15 +168,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -215,14 +180,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -230,7 +192,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -268,7 +230,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,19 +241,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.FirebaseLink)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.FirebaseLink other = - (com.google.analytics.admin.v1beta.FirebaseLink) obj; + com.google.analytics.admin.v1beta.FirebaseLink other = (com.google.analytics.admin.v1beta.FirebaseLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getProject().equals(other.getProject())) return false; + 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 (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -316,136 +281,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( 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.v1beta.FirebaseLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.FirebaseLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.FirebaseLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.FirebaseLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A link between a GA4 property and a Firebase project.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.FirebaseLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.FirebaseLink) com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.FirebaseLink.class, - com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); + com.google.analytics.admin.v1beta.FirebaseLink.class, com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); } // Construct using com.google.analytics.admin.v1beta.FirebaseLink.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; } @java.lang.Override @@ -482,11 +441,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink build() { @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLink buildPartial() { - com.google.analytics.admin.v1beta.FirebaseLink result = - new com.google.analytics.admin.v1beta.FirebaseLink(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.FirebaseLink result = new com.google.analytics.admin.v1beta.FirebaseLink(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -500,7 +456,9 @@ private void buildPartial0(com.google.analytics.admin.v1beta.FirebaseLink result result.project_ = project_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } } @@ -508,39 +466,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.FirebaseLink result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.FirebaseLink) { - return mergeFrom((com.google.analytics.admin.v1beta.FirebaseLink) other); + return mergeFrom((com.google.analytics.admin.v1beta.FirebaseLink)other); } else { super.mergeFrom(other); return this; @@ -588,31 +545,29 @@ public Builder mergeFrom( 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 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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 + 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) { @@ -622,25 +577,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -649,21 +601,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -671,35 +622,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -709,21 +653,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,8 +673,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -745,13 +683,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -760,8 +698,6 @@ 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.
@@ -772,14 +708,15 @@ public java.lang.String getProject() {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -787,8 +724,6 @@ 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.
@@ -799,22 +734,18 @@ public com.google.protobuf.ByteString getProjectBytes() {
      * 
* * 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(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -825,7 +756,6 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -835,8 +765,6 @@ public Builder clearProject() { return this; } /** - * - * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -847,14 +775,12 @@ public Builder clearProject() {
      * 
* * 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(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000002; @@ -864,58 +790,39 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -931,17 +838,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -952,21 +856,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -979,15 +879,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1000,15 +896,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1016,55 +908,43 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.FirebaseLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.FirebaseLink) private static final com.google.analytics.admin.v1beta.FirebaseLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.FirebaseLink(); } @@ -1088,27 +968,27 @@ public static com.google.analytics.admin.v1beta.FirebaseLink getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirebaseLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FirebaseLink 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; @@ -1123,4 +1003,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.FirebaseLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java index 86bae0302a38..77edc903f616 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface FirebaseLinkOrBuilder - extends +public interface FirebaseLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.FirebaseLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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.
@@ -61,13 +38,10 @@ public interface FirebaseLinkOrBuilder
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The project. */ 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.
@@ -78,46 +52,35 @@ public interface FirebaseLinkOrBuilder
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java index 1f560ffea608..9e50970e97c4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetAccountRequest} */ -public final class GetAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetAccountRequest) GetAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAccountRequest.newBuilder() to construct. private GetAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetAccountRequest.class, - com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.GetAccountRequest.class, com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetAccountRequest other = - (com.google.analytics.admin.v1beta.GetAccountRequest) obj; + com.google.analytics.admin.v1beta.GetAccountRequest other = (com.google.analytics.admin.v1beta.GetAccountRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,135 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( 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.v1beta.GetAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetAccountRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetAccountRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetAccountRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetAccountRequest) com.google.analytics.admin.v1beta.GetAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetAccountRequest.class, - com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.GetAccountRequest.class, com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetAccountRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; } @java.lang.Override @@ -350,11 +317,8 @@ public com.google.analytics.admin.v1beta.GetAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetAccountRequest buildPartial() { - com.google.analytics.admin.v1beta.GetAccountRequest result = - new com.google.analytics.admin.v1beta.GetAccountRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetAccountRequest result = new com.google.analytics.admin.v1beta.GetAccountRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -370,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetAccountRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetAccountRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetAccountRequest)other); } else { super.mergeFrom(other); return this; @@ -410,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetAccountRequest other) { - if (other == com.google.analytics.admin.v1beta.GetAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.GetAccountRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -465,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -568,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -605,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetAccountRequest) private static final com.google.analytics.admin.v1beta.GetAccountRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetAccountRequest(); } @@ -619,27 +554,27 @@ public static com.google.analytics.admin.v1beta.GetAccountRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAccountRequest 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; @@ -654,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java new file mode 100644 index 000000000000..76dec26c5de2 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetAccountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java index 104c0ec48e66..dad170681e0a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetConversionEventRequest} */ -public final class GetConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConversionEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetConversionEventRequest) GetConversionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConversionEventRequest.newBuilder() to construct. private GetConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetConversionEventRequest.class, - com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.GetConversionEventRequest.class, com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetConversionEventRequest other = - (com.google.analytics.admin.v1beta.GetConversionEventRequest) obj; + com.google.analytics.admin.v1beta.GetConversionEventRequest other = (com.google.analytics.admin.v1beta.GetConversionEventRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( 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.v1beta.GetConversionEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.GetConversionEventRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetConversionEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetConversionEventRequest) com.google.analytics.admin.v1beta.GetConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetConversionEventRequest.class, - com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.GetConversionEventRequest.class, com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetConversionEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.analytics.admin.v1beta.GetConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetConversionEventRequest buildPartial() { - com.google.analytics.admin.v1beta.GetConversionEventRequest result = - new com.google.analytics.admin.v1beta.GetConversionEventRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetConversionEventRequest result = new com.google.analytics.admin.v1beta.GetConversionEventRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetConversionEventR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetConversionEventRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetConversionEventRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetConversionEventRequest other) { - if (other == com.google.analytics.admin.v1beta.GetConversionEventRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.GetConversionEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -466,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetConversionEventRequest) private static final com.google.analytics.admin.v1beta.GetConversionEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetConversionEventRequest(); } @@ -620,27 +554,27 @@ public static com.google.analytics.admin.v1beta.GetConversionEventRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConversionEventRequest 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.GetConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..0ca49b0a771f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetConversionEventRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java index 67d11a2730ad..337ec5dc8f79 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomDimensionRequest} */ -public final class GetCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetCustomDimensionRequest) GetCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomDimensionRequest.newBuilder() to construct. private GetCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetCustomDimensionRequest other = - (com.google.analytics.admin.v1beta.GetCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.GetCustomDimensionRequest other = (com.google.analytics.admin.v1beta.GetCustomDimensionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( 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.v1beta.GetCustomDimensionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetCustomDimensionRequest) com.google.analytics.admin.v1beta.GetCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1beta.GetCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.GetCustomDimensionRequest result = - new com.google.analytics.admin.v1beta.GetCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetCustomDimensionRequest result = new com.google.analytics.admin.v1beta.GetCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetCustomDimensionR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1beta.GetCustomDimensionRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.GetCustomDimensionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetCustomDimensionRequest) private static final com.google.analytics.admin.v1beta.GetCustomDimensionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetCustomDimensionRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomDimensionRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.GetCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..94a2ac02e74d --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetCustomDimensionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java index 1d6c75c76276..5f5826c555d5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomMetricRequest} */ -public final class GetCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetCustomMetricRequest) GetCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomMetricRequest.newBuilder() to construct. private GetCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, - com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetCustomMetricRequest other = - (com.google.analytics.admin.v1beta.GetCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.GetCustomMetricRequest other = (com.google.analytics.admin.v1beta.GetCustomMetricRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( 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.v1beta.GetCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.GetCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetCustomMetricRequest) com.google.analytics.admin.v1beta.GetCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, - com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1beta.GetCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.GetCustomMetricRequest result = - new com.google.analytics.admin.v1beta.GetCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetCustomMetricRequest result = new com.google.analytics.admin.v1beta.GetCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetCustomMetricRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1beta.GetCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.GetCustomMetricRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetCustomMetricRequest) private static final com.google.analytics.admin.v1beta.GetCustomMetricRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetCustomMetricRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1beta.GetCustomMetricRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomMetricRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..5e3f96e3e8dd --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetCustomMetricRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java index 5d20f383092a..0015e50db4c0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java @@ -1,80 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataRetentionSettingsRequest} */ -public final class GetDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataRetentionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) GetDataRetentionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataRetentionSettingsRequest.newBuilder() to construct. - private GetDataRetentionSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataRetentionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -82,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -110,18 +83,17 @@ public java.lang.String getName() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -130,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -166,15 +138,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other = - (com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other = (com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,138 +166,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( 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.v1beta.GetDataRetentionSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - 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.v1beta.GetDataRetentionSettingsRequest 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.v1beta.GetDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataRetentionSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -335,14 +298,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance(); } @@ -357,17 +319,13 @@ public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest build() @java.lang.Override public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result = - new com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result = new com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -378,50 +336,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetDataRetentionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other) { - if (other - == com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other) { + if (other == com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -453,19 +407,17 @@ public Builder mergeFrom( 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: + 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) { @@ -475,13 +427,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -489,16 +438,14 @@ public Builder mergeFrom(
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,8 +454,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -516,17 +461,16 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -534,8 +478,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -543,25 +485,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 settings to lookup.
      * Format:
@@ -569,10 +505,7 @@ public Builder setName(java.lang.String value) {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -582,8 +515,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -591,26 +522,22 @@ public Builder clearName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,43 +547,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataRetentionSettingsRequest 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; @@ -668,8 +593,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..1b84faa01607 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetDataRetentionSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java index 27fae05dc1a0..eca643d680af 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetDataSharingSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataSharingSettingsRequest} */ -public final class GetDataSharingSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataSharingSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) GetDataSharingSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataSharingSettingsRequest.newBuilder() to construct. private GetDataSharingSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataSharingSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataSharingSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other = - (com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) obj; + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other = (com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( 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.v1beta.GetDataSharingSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDataSharingSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataSharingSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) com.google.analytics.admin.v1beta.GetDataSharingSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,14 +296,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance(); } @@ -352,17 +317,13 @@ public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest buildPartial() { - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result = - new com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result = new com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -373,50 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetDataSharingSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other) { - if (other - == com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other) { + if (other == com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -448,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -470,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -501,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -573,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) - private static final com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest(); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSharingSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSharingSettingsRequest 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; @@ -658,8 +586,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..41e1d9655ece --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetDataSharingSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java index 1a51aea4eca5..9cf3cc970fc6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataStreamRequest} */ -public final class GetDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetDataStreamRequest) GetDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDataStreamRequest.newBuilder() to construct. private GetDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataStreamRequest.class, - com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataStreamRequest.class, com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetDataStreamRequest other = - (com.google.analytics.admin.v1beta.GetDataStreamRequest) obj; + com.google.analytics.admin.v1beta.GetDataStreamRequest other = (com.google.analytics.admin.v1beta.GetDataStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( 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.v1beta.GetDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.GetDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetDataStreamRequest) com.google.analytics.admin.v1beta.GetDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataStreamRequest.class, - com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataStreamRequest.class, com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.analytics.admin.v1beta.GetDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.GetDataStreamRequest result = - new com.google.analytics.admin.v1beta.GetDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetDataStreamRequest result = new com.google.analytics.admin.v1beta.GetDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetDataStreamReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.GetDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.GetDataStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetDataStreamRequest) private static final com.google.analytics.admin.v1beta.GetDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetDataStreamRequest(); } @@ -613,27 +547,27 @@ public static com.google.analytics.admin.v1beta.GetDataStreamRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataStreamRequest 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; @@ -648,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..7aeee8b2ff0f --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetDataStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/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 DataStream to get.
+   * Example format: properties/1234/dataStreams/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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java index 1066d8be1519..37f601dcc80a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java @@ -1,91 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetMeasurementProtocolSecret RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest} */ -public final class GetMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) GetMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMeasurementProtocolSecretRequest.newBuilder() to construct. - private GetMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -193,138 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( 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.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - 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.v1beta.GetMeasurementProtocolSecretRequest 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.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetMeasurementProtocolSecret RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -334,16 +296,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override @@ -357,17 +317,13 @@ public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest bui @java.lang.Override public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -378,51 +334,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -454,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -476,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -533,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -579,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMeasurementProtocolSecretRequest 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; @@ -664,8 +586,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..29a992dbe343 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetMeasurementProtocolSecretRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java index df7249091cb0..7abdc92a2086 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for GetProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetPropertyRequest} */ -public final class GetPropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetPropertyRequest) GetPropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPropertyRequest.newBuilder() to construct. private GetPropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetPropertyRequest.class, - com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.GetPropertyRequest.class, com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetPropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetPropertyRequest other = - (com.google.analytics.admin.v1beta.GetPropertyRequest) obj; + com.google.analytics.admin.v1beta.GetPropertyRequest other = (com.google.analytics.admin.v1beta.GetPropertyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,135 +164,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( 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.v1beta.GetPropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetPropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetPropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetPropertyRequest) com.google.analytics.admin.v1beta.GetPropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetPropertyRequest.class, - com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.GetPropertyRequest.class, com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetPropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; } @java.lang.Override @@ -350,11 +317,8 @@ public com.google.analytics.admin.v1beta.GetPropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetPropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.GetPropertyRequest result = - new com.google.analytics.admin.v1beta.GetPropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GetPropertyRequest result = new com.google.analytics.admin.v1beta.GetPropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -370,39 +334,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetPropertyRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GetPropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetPropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.GetPropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -410,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetPropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.GetPropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.GetPropertyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +405,17 @@ public Builder mergeFrom( 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: + 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) { @@ -465,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -522,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -568,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -605,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetPropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetPropertyRequest) private static final com.google.analytics.admin.v1beta.GetPropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetPropertyRequest(); } @@ -619,27 +554,27 @@ public static com.google.analytics.admin.v1beta.GetPropertyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPropertyRequest 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; @@ -654,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetPropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java new file mode 100644 index 000000000000..24140fc992d3 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetPropertyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetPropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * 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-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java index 3c9a03df2145..eae6eeaf7ec1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A link between a GA4 property and a Google Ads account.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GoogleAdsLink} */ -public final class GoogleAdsLink extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GoogleAdsLink extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GoogleAdsLink) GoogleAdsLinkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GoogleAdsLink.newBuilder() to construct. private GoogleAdsLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GoogleAdsLink() { name_ = ""; customerId_ = ""; @@ -45,44 +27,39 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GoogleAdsLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GoogleAdsLink.class, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1beta.GoogleAdsLink.class, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * 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]; - * * @return The name. */ @java.lang.Override @@ -91,30 +68,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * 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]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,18 +100,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CUSTOMER_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object customerId_ = ""; /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ @java.lang.Override @@ -143,29 +116,29 @@ public java.lang.String getCustomerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; } } /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerIdBytes() { + public com.google.protobuf.ByteString + getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerId_ = b; return b; } else { @@ -176,14 +149,11 @@ public com.google.protobuf.ByteString getCustomerIdBytes() { public static final int CAN_MANAGE_CLIENTS_FIELD_NUMBER = 4; private boolean canManageClients_ = false; /** - * - * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The canManageClients. */ @java.lang.Override @@ -194,8 +164,6 @@ public boolean getCanManageClients() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 5; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -204,7 +172,6 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -212,8 +179,6 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -222,18 +187,13 @@ public boolean hasAdsPersonalizationEnabled() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -245,23 +205,17 @@ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() {
-    return adsPersonalizationEnabled_ == null
-        ? com.google.protobuf.BoolValue.getDefaultInstance()
-        : adsPersonalizationEnabled_;
+    return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
   }
 
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -269,15 +223,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -285,14 +235,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -302,15 +249,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -318,15 +261,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -334,14 +273,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -349,19 +285,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int CREATOR_EMAIL_ADDRESS_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object creatorEmailAddress_ = ""; /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ @java.lang.Override @@ -370,30 +302,30 @@ public java.lang.String getCreatorEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; } } /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString + getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -402,7 +334,6 @@ public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -452,18 +384,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerId_); } if (canManageClients_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, canManageClients_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, canManageClients_); } if (adsPersonalizationEnabled_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getAdsPersonalizationEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAdsPersonalizationEnabled()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorEmailAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, creatorEmailAddress_); @@ -476,31 +410,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GoogleAdsLink)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GoogleAdsLink other = - (com.google.analytics.admin.v1beta.GoogleAdsLink) obj; + com.google.analytics.admin.v1beta.GoogleAdsLink other = (com.google.analytics.admin.v1beta.GoogleAdsLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getCustomerId().equals(other.getCustomerId())) return false; - if (getCanManageClients() != other.getCanManageClients()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCustomerId() + .equals(other.getCustomerId())) return false; + if (getCanManageClients() + != other.getCanManageClients()) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) - return false; + if (!getAdsPersonalizationEnabled() + .equals(other.getAdsPersonalizationEnabled())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getCreatorEmailAddress().equals(other.getCreatorEmailAddress())) return false; + if (!getCreatorEmailAddress() + .equals(other.getCreatorEmailAddress())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -517,7 +456,8 @@ public int hashCode() { hash = (37 * hash) + CUSTOMER_ID_FIELD_NUMBER; hash = (53 * hash) + getCustomerId().hashCode(); hash = (37 * hash) + CAN_MANAGE_CLIENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCanManageClients()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCanManageClients()); if (hasAdsPersonalizationEnabled()) { hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getAdsPersonalizationEnabled().hashCode(); @@ -537,136 +477,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( 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.v1beta.GoogleAdsLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GoogleAdsLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A link between a GA4 property and a Google Ads account.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GoogleAdsLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GoogleAdsLink) com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GoogleAdsLink.class, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1beta.GoogleAdsLink.class, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GoogleAdsLink.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -694,9 +628,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; } @java.lang.Override @@ -715,11 +649,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink build() { @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink buildPartial() { - com.google.analytics.admin.v1beta.GoogleAdsLink result = - new com.google.analytics.admin.v1beta.GoogleAdsLink(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.GoogleAdsLink result = new com.google.analytics.admin.v1beta.GoogleAdsLink(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -736,16 +667,19 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GoogleAdsLink resul result.canManageClients_ = canManageClients_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.adsPersonalizationEnabled_ = - adsPersonalizationEnabledBuilder_ == null - ? adsPersonalizationEnabled_ - : adsPersonalizationEnabledBuilder_.build(); + result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.creatorEmailAddress_ = creatorEmailAddress_; @@ -756,39 +690,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GoogleAdsLink resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.GoogleAdsLink) { - return mergeFrom((com.google.analytics.admin.v1beta.GoogleAdsLink) other); + return mergeFrom((com.google.analytics.admin.v1beta.GoogleAdsLink)other); } else { super.mergeFrom(other); return this; @@ -796,8 +729,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GoogleAdsLink other) { - if (other == com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -851,56 +783,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - customerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: - { - canManageClients_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: - { - input.readMessage( - getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 58: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - case 74: - { - creatorEmailAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + customerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + canManageClients_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: { + input.readMessage( + getAdsPersonalizationEnabledFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 58: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + case 74: { + creatorEmailAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 74 + 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) { @@ -910,26 +839,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * 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]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -938,22 +864,21 @@ public java.lang.String getName() { } } /** - * - * *
      * 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]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -961,37 +886,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * 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]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1001,22 +919,18 @@ public Builder clearName() { return this; } /** - * - * *
      * 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]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1026,20 +940,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object customerId_ = ""; /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ public java.lang.String getCustomerId() { java.lang.Object ref = customerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; @@ -1048,21 +960,20 @@ public java.lang.String getCustomerId() { } } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ - public com.google.protobuf.ByteString getCustomerIdBytes() { + public com.google.protobuf.ByteString + getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerId_ = b; return b; } else { @@ -1070,35 +981,28 @@ public com.google.protobuf.ByteString getCustomerIdBytes() { } } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The customerId to set. * @return This builder for chaining. */ - public Builder setCustomerId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCustomerId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } customerId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearCustomerId() { @@ -1108,21 +1012,17 @@ public Builder clearCustomerId() { return this; } /** - * - * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for customerId to set. * @return This builder for chaining. */ - public Builder setCustomerIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCustomerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); customerId_ = value; bitField0_ |= 0x00000002; @@ -1130,16 +1030,13 @@ public Builder setCustomerIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean canManageClients_; + private boolean canManageClients_ ; /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The canManageClients. */ @java.lang.Override @@ -1147,33 +1044,27 @@ public boolean getCanManageClients() { return canManageClients_; } /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The canManageClients to set. * @return This builder for chaining. */ public Builder setCanManageClients(boolean value) { - + canManageClients_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCanManageClients() { @@ -1185,13 +1076,8 @@ public Builder clearCanManageClients() { 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_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> adsPersonalizationEnabledBuilder_; /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1200,15 +1086,12 @@ public Builder clearCanManageClients() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1217,21 +1100,16 @@ public boolean hasAdsPersonalizationEnabled() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; } else { return adsPersonalizationEnabledBuilder_.getMessage(); } } /** - * - * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1255,8 +1133,6 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1278,8 +1154,6 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1291,9 +1165,9 @@ public Builder setAdsPersonalizationEnabled(
      */
     public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && adsPersonalizationEnabled_ != null
-            && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          adsPersonalizationEnabled_ != null &&
+          adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getAdsPersonalizationEnabledBuilder().mergeFrom(value);
         } else {
           adsPersonalizationEnabled_ = value;
@@ -1306,8 +1180,6 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1328,8 +1200,6 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1345,8 +1215,6 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1360,14 +1228,11 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1378,17 +1243,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         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());
+        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_;
@@ -1396,58 +1258,39 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     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_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1463,17 +1306,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1484,21 +1324,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1511,15 +1347,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1532,15 +1364,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -1548,48 +1376,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1597,58 +1413,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1664,17 +1461,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1685,21 +1479,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1712,15 +1502,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1733,15 +1519,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000020; @@ -1749,48 +1531,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1798,21 +1568,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object creatorEmailAddress_ = ""; /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ public java.lang.String getCreatorEmailAddress() { java.lang.Object ref = creatorEmailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; @@ -1821,22 +1589,21 @@ public java.lang.String getCreatorEmailAddress() { } } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ - public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString + getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -1844,37 +1611,30 @@ public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { } } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorEmailAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCreatorEmailAddress() { @@ -1884,31 +1644,27 @@ public Builder clearCreatorEmailAddress() { return this; } /** - * - * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorEmailAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1918,12 +1674,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GoogleAdsLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GoogleAdsLink) private static final com.google.analytics.admin.v1beta.GoogleAdsLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GoogleAdsLink(); } @@ -1932,27 +1688,27 @@ public static com.google.analytics.admin.v1beta.GoogleAdsLink getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleAdsLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleAdsLink 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; @@ -1967,4 +1723,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GoogleAdsLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java similarity index 79% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java index f6a3bc59ecd3..3cef5455dc6e 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java @@ -1,96 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface GoogleAdsLinkOrBuilder - extends +public interface GoogleAdsLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GoogleAdsLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * 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]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The customerId. */ java.lang.String getCustomerId(); /** - * - * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for customerId. */ - com.google.protobuf.ByteString getCustomerIdBytes(); + com.google.protobuf.ByteString + getCustomerIdBytes(); /** - * - * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The canManageClients. */ boolean getCanManageClients(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -99,13 +68,10 @@ public interface GoogleAdsLinkOrBuilder
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -114,13 +80,10 @@ public interface GoogleAdsLinkOrBuilder
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; - * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** - * - * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -133,105 +96,78 @@ public interface GoogleAdsLinkOrBuilder
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
-   *
-   *
    * 
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creatorEmailAddress. */ java.lang.String getCreatorEmailAddress(); /** - * - * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creatorEmailAddress. */ - com.google.protobuf.ByteString getCreatorEmailAddressBytes(); + com.google.protobuf.ByteString + getCreatorEmailAddressBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java similarity index 75% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java index a20d0eb8b061..329f51e1315d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * The category selected for this property, used for industry benchmarking.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.IndustryCategory} */ -public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum { +public enum IndustryCategory + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Industry category unspecified
    * 
@@ -39,8 +21,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ INDUSTRY_CATEGORY_UNSPECIFIED(0), /** - * - * *
    * Automotive
    * 
@@ -49,8 +29,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ AUTOMOTIVE(1), /** - * - * *
    * Business and industrial markets
    * 
@@ -59,8 +37,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BUSINESS_AND_INDUSTRIAL_MARKETS(2), /** - * - * *
    * Finance
    * 
@@ -69,8 +45,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ FINANCE(3), /** - * - * *
    * Healthcare
    * 
@@ -79,8 +53,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HEALTHCARE(4), /** - * - * *
    * Technology
    * 
@@ -89,8 +61,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ TECHNOLOGY(5), /** - * - * *
    * Travel
    * 
@@ -99,8 +69,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ TRAVEL(6), /** - * - * *
    * Other
    * 
@@ -109,8 +77,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ OTHER(7), /** - * - * *
    * Arts and entertainment
    * 
@@ -119,8 +85,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ ARTS_AND_ENTERTAINMENT(8), /** - * - * *
    * Beauty and fitness
    * 
@@ -129,8 +93,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BEAUTY_AND_FITNESS(9), /** - * - * *
    * Books and literature
    * 
@@ -139,8 +101,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ BOOKS_AND_LITERATURE(10), /** - * - * *
    * Food and drink
    * 
@@ -149,8 +109,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ FOOD_AND_DRINK(11), /** - * - * *
    * Games
    * 
@@ -159,8 +117,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ GAMES(12), /** - * - * *
    * Hobbies and leisure
    * 
@@ -169,8 +125,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HOBBIES_AND_LEISURE(13), /** - * - * *
    * Home and garden
    * 
@@ -179,8 +133,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HOME_AND_GARDEN(14), /** - * - * *
    * Internet and telecom
    * 
@@ -189,8 +141,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ INTERNET_AND_TELECOM(15), /** - * - * *
    * Law and government
    * 
@@ -199,8 +149,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ LAW_AND_GOVERNMENT(16), /** - * - * *
    * News
    * 
@@ -209,8 +157,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ NEWS(17), /** - * - * *
    * Online communities
    * 
@@ -219,8 +165,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ ONLINE_COMMUNITIES(18), /** - * - * *
    * People and society
    * 
@@ -229,8 +173,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ PEOPLE_AND_SOCIETY(19), /** - * - * *
    * Pets and animals
    * 
@@ -239,8 +181,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ PETS_AND_ANIMALS(20), /** - * - * *
    * Real estate
    * 
@@ -249,8 +189,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ REAL_ESTATE(21), /** - * - * *
    * Reference
    * 
@@ -259,8 +197,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ REFERENCE(22), /** - * - * *
    * Science
    * 
@@ -269,8 +205,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ SCIENCE(23), /** - * - * *
    * Sports
    * 
@@ -279,8 +213,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ SPORTS(24), /** - * - * *
    * Jobs and education
    * 
@@ -289,8 +221,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ JOBS_AND_EDUCATION(25), /** - * - * *
    * Shopping
    * 
@@ -302,8 +232,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Industry category unspecified
    * 
@@ -312,8 +240,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INDUSTRY_CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Automotive
    * 
@@ -322,8 +248,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int AUTOMOTIVE_VALUE = 1; /** - * - * *
    * Business and industrial markets
    * 
@@ -332,8 +256,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BUSINESS_AND_INDUSTRIAL_MARKETS_VALUE = 2; /** - * - * *
    * Finance
    * 
@@ -342,8 +264,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FINANCE_VALUE = 3; /** - * - * *
    * Healthcare
    * 
@@ -352,8 +272,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HEALTHCARE_VALUE = 4; /** - * - * *
    * Technology
    * 
@@ -362,8 +280,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TECHNOLOGY_VALUE = 5; /** - * - * *
    * Travel
    * 
@@ -372,8 +288,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRAVEL_VALUE = 6; /** - * - * *
    * Other
    * 
@@ -382,8 +296,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_VALUE = 7; /** - * - * *
    * Arts and entertainment
    * 
@@ -392,8 +304,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ARTS_AND_ENTERTAINMENT_VALUE = 8; /** - * - * *
    * Beauty and fitness
    * 
@@ -402,8 +312,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BEAUTY_AND_FITNESS_VALUE = 9; /** - * - * *
    * Books and literature
    * 
@@ -412,8 +320,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BOOKS_AND_LITERATURE_VALUE = 10; /** - * - * *
    * Food and drink
    * 
@@ -422,8 +328,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FOOD_AND_DRINK_VALUE = 11; /** - * - * *
    * Games
    * 
@@ -432,8 +336,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int GAMES_VALUE = 12; /** - * - * *
    * Hobbies and leisure
    * 
@@ -442,8 +344,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOBBIES_AND_LEISURE_VALUE = 13; /** - * - * *
    * Home and garden
    * 
@@ -452,8 +352,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOME_AND_GARDEN_VALUE = 14; /** - * - * *
    * Internet and telecom
    * 
@@ -462,8 +360,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTERNET_AND_TELECOM_VALUE = 15; /** - * - * *
    * Law and government
    * 
@@ -472,8 +368,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int LAW_AND_GOVERNMENT_VALUE = 16; /** - * - * *
    * News
    * 
@@ -482,8 +376,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int NEWS_VALUE = 17; /** - * - * *
    * Online communities
    * 
@@ -492,8 +384,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ONLINE_COMMUNITIES_VALUE = 18; /** - * - * *
    * People and society
    * 
@@ -502,8 +392,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PEOPLE_AND_SOCIETY_VALUE = 19; /** - * - * *
    * Pets and animals
    * 
@@ -512,8 +400,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PETS_AND_ANIMALS_VALUE = 20; /** - * - * *
    * Real estate
    * 
@@ -522,8 +408,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int REAL_ESTATE_VALUE = 21; /** - * - * *
    * Reference
    * 
@@ -532,8 +416,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int REFERENCE_VALUE = 22; /** - * - * *
    * Science
    * 
@@ -542,8 +424,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SCIENCE_VALUE = 23; /** - * - * *
    * Sports
    * 
@@ -552,8 +432,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SPORTS_VALUE = 24; /** - * - * *
    * Jobs and education
    * 
@@ -562,8 +440,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int JOBS_AND_EDUCATION_VALUE = 25; /** - * - * *
    * Shopping
    * 
@@ -572,6 +448,7 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SHOPPING_VALUE = 26; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -596,97 +473,73 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: - return INDUSTRY_CATEGORY_UNSPECIFIED; - case 1: - return AUTOMOTIVE; - case 2: - return BUSINESS_AND_INDUSTRIAL_MARKETS; - case 3: - return FINANCE; - case 4: - return HEALTHCARE; - case 5: - return TECHNOLOGY; - case 6: - return TRAVEL; - case 7: - return OTHER; - case 8: - return ARTS_AND_ENTERTAINMENT; - case 9: - return BEAUTY_AND_FITNESS; - case 10: - return BOOKS_AND_LITERATURE; - case 11: - return FOOD_AND_DRINK; - case 12: - return GAMES; - case 13: - return HOBBIES_AND_LEISURE; - case 14: - return HOME_AND_GARDEN; - case 15: - return INTERNET_AND_TELECOM; - case 16: - return LAW_AND_GOVERNMENT; - case 17: - return NEWS; - case 18: - return ONLINE_COMMUNITIES; - case 19: - return PEOPLE_AND_SOCIETY; - case 20: - return PETS_AND_ANIMALS; - case 21: - return REAL_ESTATE; - case 22: - return REFERENCE; - case 23: - return SCIENCE; - case 24: - return SPORTS; - case 25: - return JOBS_AND_EDUCATION; - case 26: - return SHOPPING; - default: - return null; + case 0: return INDUSTRY_CATEGORY_UNSPECIFIED; + case 1: return AUTOMOTIVE; + case 2: return BUSINESS_AND_INDUSTRIAL_MARKETS; + case 3: return FINANCE; + case 4: return HEALTHCARE; + case 5: return TECHNOLOGY; + case 6: return TRAVEL; + case 7: return OTHER; + case 8: return ARTS_AND_ENTERTAINMENT; + case 9: return BEAUTY_AND_FITNESS; + case 10: return BOOKS_AND_LITERATURE; + case 11: return FOOD_AND_DRINK; + case 12: return GAMES; + case 13: return HOBBIES_AND_LEISURE; + case 14: return HOME_AND_GARDEN; + case 15: return INTERNET_AND_TELECOM; + case 16: return LAW_AND_GOVERNMENT; + case 17: return NEWS; + case 18: return ONLINE_COMMUNITIES; + case 19: return PEOPLE_AND_SOCIETY; + case 20: return PETS_AND_ANIMALS; + case 21: return REAL_ESTATE; + case 22: return REFERENCE; + case 23: return SCIENCE; + case 24: return SPORTS; + case 25: return JOBS_AND_EDUCATION; + case 26: return SHOPPING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + IndustryCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndustryCategory findValueByNumber(int number) { + return IndustryCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final IndustryCategory[] VALUES = values(); - public static IndustryCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndustryCategory valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -702,3 +555,4 @@ private IndustryCategory(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.IndustryCategory) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java index 3fbb7429c8e5..d46fc9304dca 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java @@ -1,77 +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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesRequest} */ -public final class ListAccountSummariesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountSummariesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountSummariesRequest) ListAccountSummariesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountSummariesRequest.newBuilder() to construct. private ListAccountSummariesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountSummariesRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountSummariesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, - com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; private int pageSize_ = 0; /** - * - * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -89,12 +67,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -103,7 +78,6 @@ public int getPageSize() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -112,15 +86,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -129,15 +102,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -146,7 +120,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,7 +131,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -175,7 +149,8 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); @@ -188,16 +163,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountSummariesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountSummariesRequest other = - (com.google.analytics.admin.v1beta.ListAccountSummariesRequest) obj; + com.google.analytics.admin.v1beta.ListAccountSummariesRequest other = (com.google.analytics.admin.v1beta.ListAccountSummariesRequest) obj; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,136 +195,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( 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.v1beta.ListAccountSummariesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountSummariesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountSummariesRequest) com.google.analytics.admin.v1beta.ListAccountSummariesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, - com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountSummariesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -359,14 +328,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListAccountSummariesRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListAccountSummariesRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance(); } @@ -381,17 +349,13 @@ public com.google.analytics.admin.v1beta.ListAccountSummariesRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountSummariesRequest buildPartial() { - com.google.analytics.admin.v1beta.ListAccountSummariesRequest result = - new com.google.analytics.admin.v1beta.ListAccountSummariesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListAccountSummariesRequest result = new com.google.analytics.admin.v1beta.ListAccountSummariesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountSummariesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pageSize_ = pageSize_; @@ -405,39 +369,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListAccountSummariesRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesRequest)other); } else { super.mergeFrom(other); return this; @@ -445,9 +408,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountSummariesRequest other) { - if (other - == com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -482,25 +443,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + pageToken_ = 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) { @@ -510,13 +468,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -525,7 +480,6 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -533,8 +487,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -543,20 +495,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -565,7 +514,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -577,8 +525,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -587,13 +533,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -602,8 +548,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -612,14 +556,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -627,8 +572,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -637,22 +580,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -661,7 +600,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -671,8 +609,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -681,23 +617,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; - * * @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(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -707,13 +641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountSummariesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountSummariesRequest) - private static final com.google.analytics.admin.v1beta.ListAccountSummariesRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListAccountSummariesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountSummariesRequest(); } @@ -722,27 +655,27 @@ public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesRequest 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; @@ -757,4 +690,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.analytics.admin.v1beta.ListAccountSummariesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java index ab103473b645..116cd44e530f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountSummariesRequestOrBuilder - extends +public interface ListAccountSummariesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountSummariesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -34,14 +16,11 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -50,13 +29,10 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -65,8 +41,8 @@ public interface ListAccountSummariesRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java index 2e7886d7634c..65b64b957066 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesResponse} */ -public final class ListAccountSummariesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountSummariesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountSummariesResponse) ListAccountSummariesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountSummariesResponse.newBuilder() to construct. private ListAccountSummariesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountSummariesResponse() { accountSummaries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, - com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); } public static final int ACCOUNT_SUMMARIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List accountSummaries_; /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List - getAccountSummariesList() { + public java.util.List getAccountSummariesList() { return accountSummaries_; } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountSummariesOrBuilderList() { return accountSummaries_; } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -114,8 +87,6 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -127,8 +98,6 @@ public com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -142,19 +111,15 @@ public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSumma } 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 @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < accountSummaries_.size(); i++) { output.writeMessage(1, accountSummaries_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accountSummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accountSummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, accountSummaries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountSummariesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountSummariesResponse other = - (com.google.analytics.admin.v1beta.ListAccountSummariesResponse) obj; + com.google.analytics.admin.v1beta.ListAccountSummariesResponse other = (com.google.analytics.admin.v1beta.ListAccountSummariesResponse) obj; - if (!getAccountSummariesList().equals(other.getAccountSummariesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAccountSummariesList() + .equals(other.getAccountSummariesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( 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.v1beta.ListAccountSummariesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountSummariesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountSummariesResponse) com.google.analytics.admin.v1beta.ListAccountSummariesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, - com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountSummariesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListAccountSummariesResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListAccountSummariesResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance(); } @@ -438,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListAccountSummariesResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountSummariesResponse buildPartial() { - com.google.analytics.admin.v1beta.ListAccountSummariesResponse result = - new com.google.analytics.admin.v1beta.ListAccountSummariesResponse(this); + com.google.analytics.admin.v1beta.ListAccountSummariesResponse result = new com.google.analytics.admin.v1beta.ListAccountSummariesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { if (accountSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accountSummaries_ = java.util.Collections.unmodifiableList(accountSummaries_); @@ -461,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -473,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListAccountSummariesResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesResponse)other); } else { super.mergeFrom(other); return this; @@ -513,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountSummariesResponse other) { - if (other - == com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance()) return this; if (accountSummariesBuilder_ == null) { if (!other.accountSummaries_.isEmpty()) { if (accountSummaries_.isEmpty()) { @@ -534,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountSummariesR accountSummariesBuilder_ = null; accountSummaries_ = other.accountSummaries_; bitField0_ = (bitField0_ & ~0x00000001); - accountSummariesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAccountSummariesFieldBuilder() - : null; + accountSummariesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAccountSummariesFieldBuilder() : null; } else { accountSummariesBuilder_.addAllMessages(other.accountSummaries_); } @@ -574,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.AccountSummary m = - input.readMessage( - com.google.analytics.admin.v1beta.AccountSummary.parser(), - extensionRegistry); - if (accountSummariesBuilder_ == null) { - ensureAccountSummariesIsMutable(); - accountSummaries_.add(m); - } else { - accountSummariesBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.AccountSummary m = + input.readMessage( + com.google.analytics.admin.v1beta.AccountSummary.parser(), + extensionRegistry); + if (accountSummariesBuilder_ == null) { + ensureAccountSummariesIsMutable(); + accountSummaries_.add(m); + } else { + accountSummariesBuilder_.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) { @@ -610,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List accountSummaries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAccountSummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accountSummaries_ = - new java.util.ArrayList( - accountSummaries_); + accountSummaries_ = new java.util.ArrayList(accountSummaries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccountSummary, - com.google.analytics.admin.v1beta.AccountSummary.Builder, - com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> - accountSummariesBuilder_; + com.google.analytics.admin.v1beta.AccountSummary, com.google.analytics.admin.v1beta.AccountSummary.Builder, com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> accountSummariesBuilder_; /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesList() { + public java.util.List getAccountSummariesList() { if (accountSummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(accountSummaries_); } else { @@ -649,8 +586,6 @@ private void ensureAccountSummariesIsMutable() { } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -665,8 +600,6 @@ public int getAccountSummariesCount() { } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -681,8 +614,6 @@ public com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -704,8 +635,6 @@ public Builder setAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -724,8 +653,6 @@ public Builder setAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -746,8 +673,6 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1beta.AccountSumm return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -769,8 +694,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -789,8 +712,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -809,8 +730,6 @@ public Builder addAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -821,7 +740,8 @@ public Builder addAllAccountSummaries( java.lang.Iterable values) { if (accountSummariesBuilder_ == null) { ensureAccountSummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accountSummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accountSummaries_); onChanged(); } else { accountSummariesBuilder_.addAllMessages(values); @@ -829,8 +749,6 @@ public Builder addAllAccountSummaries( return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -848,8 +766,6 @@ public Builder clearAccountSummaries() { return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -867,8 +783,6 @@ public Builder removeAccountSummaries(int index) { return this; } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -880,8 +794,6 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder getAccountSummar return getAccountSummariesFieldBuilder().getBuilder(index); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -891,22 +803,19 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder getAccountSummar public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSummariesOrBuilder( int index) { if (accountSummariesBuilder_ == null) { - return accountSummaries_.get(index); - } else { + return accountSummaries_.get(index); } else { return accountSummariesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesOrBuilderList() { + public java.util.List + getAccountSummariesOrBuilderList() { if (accountSummariesBuilder_ != null) { return accountSummariesBuilder_.getMessageOrBuilderList(); } else { @@ -914,8 +823,6 @@ public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSumma } } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -923,12 +830,10 @@ public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSumma * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummariesBuilder() { - return getAccountSummariesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -937,34 +842,26 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummar */ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummariesBuilder( int index) { - return getAccountSummariesFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); } /** - * - * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesBuilderList() { + public java.util.List + getAccountSummariesBuilderList() { return getAccountSummariesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccountSummary, - com.google.analytics.admin.v1beta.AccountSummary.Builder, - com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> + com.google.analytics.admin.v1beta.AccountSummary, com.google.analytics.admin.v1beta.AccountSummary.Builder, com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> getAccountSummariesFieldBuilder() { if (accountSummariesBuilder_ == null) { - accountSummariesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccountSummary, - com.google.analytics.admin.v1beta.AccountSummary.Builder, - com.google.analytics.admin.v1beta.AccountSummaryOrBuilder>( + accountSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.AccountSummary, com.google.analytics.admin.v1beta.AccountSummary.Builder, com.google.analytics.admin.v1beta.AccountSummaryOrBuilder>( accountSummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -976,21 +873,19 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummar 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -999,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1022,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1062,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1096,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountSummariesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountSummariesResponse) - private static final com.google.analytics.admin.v1beta.ListAccountSummariesResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListAccountSummariesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountSummariesResponse(); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesResponse 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; @@ -1144,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.ListAccountSummariesResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListAccountSummariesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java index d5f1f9b6416e..be2bff6f5018 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountSummariesResponseOrBuilder - extends +public interface ListAccountSummariesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountSummariesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - java.util.List getAccountSummariesList(); + java.util.List + getAccountSummariesList(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -44,8 +25,6 @@ public interface ListAccountSummariesResponseOrBuilder */ com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int index); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -54,51 +33,43 @@ public interface ListAccountSummariesResponseOrBuilder */ int getAccountSummariesCount(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - java.util.List + java.util.List getAccountSummariesOrBuilderList(); /** - * - * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSummariesOrBuilder(int index); + com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSummariesOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java index 5e6606c765eb..a859a018af6d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java @@ -1,77 +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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsRequest} */ -public final class ListAccountsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountsRequest) ListAccountsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountsRequest.newBuilder() to construct. private ListAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsRequest.class, - com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsRequest.class, com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; 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.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -89,12 +67,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -103,7 +78,6 @@ public int getPageSize() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -112,15 +86,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -129,15 +102,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,8 +122,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 3; private boolean showDeleted_ = false; /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -157,7 +129,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ @java.lang.Override @@ -166,7 +137,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -198,13 +169,15 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -214,17 +187,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountsRequest other = - (com.google.analytics.admin.v1beta.ListAccountsRequest) obj; + com.google.analytics.admin.v1beta.ListAccountsRequest other = (com.google.analytics.admin.v1beta.ListAccountsRequest) obj; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,143 +216,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( 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.v1beta.ListAccountsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListAccountsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountsRequest) com.google.analytics.admin.v1beta.ListAccountsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsRequest.class, - com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsRequest.class, com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; } @java.lang.Override @@ -410,11 +379,8 @@ public com.google.analytics.admin.v1beta.ListAccountsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListAccountsRequest result = - new com.google.analytics.admin.v1beta.ListAccountsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListAccountsRequest result = new com.google.analytics.admin.v1beta.ListAccountsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -436,39 +402,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListAccountsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsRequest)other); } else { super.mergeFrom(other); return this; @@ -476,8 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListAccountsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListAccountsRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -515,31 +479,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + showDeleted_ = 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) { @@ -549,13 +509,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -564,7 +521,6 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; - * * @return The pageSize. */ @java.lang.Override @@ -572,8 +528,6 @@ 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.
@@ -582,20 +536,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -604,7 +555,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -616,8 +566,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -626,13 +574,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -641,8 +589,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -651,14 +597,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -666,8 +613,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -676,22 +621,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -700,7 +641,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -710,8 +650,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -720,14 +658,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; - * * @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(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -735,10 +671,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -746,7 +680,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ @java.lang.Override @@ -754,8 +687,6 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -763,20 +694,17 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -784,7 +712,6 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -793,9 +720,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountsRequest) private static final com.google.analytics.admin.v1beta.ListAccountsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountsRequest(); } @@ -819,27 +746,27 @@ public static com.google.analytics.admin.v1beta.ListAccountsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsRequest 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; @@ -854,4 +781,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java index 5e8c093c15f4..680ccc4f4a02 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountsRequestOrBuilder - extends +public interface ListAccountsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -34,14 +16,11 @@ public interface ListAccountsRequestOrBuilder
    * 
* * int32 page_size = 1; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -50,13 +29,10 @@ public interface ListAccountsRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -65,14 +41,12 @@ public interface ListAccountsRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -80,7 +54,6 @@ public interface ListAccountsRequestOrBuilder
    * 
* * bool show_deleted = 3; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java index b423154d7ab3..cc26239af5b7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsResponse} */ -public final class ListAccountsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAccountsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountsResponse) ListAccountsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAccountsResponse.newBuilder() to construct. private ListAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAccountsResponse() { accounts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAccountsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsResponse.class, - com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsResponse.class, com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); } public static final int ACCOUNTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List accounts_; /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -86,8 +64,6 @@ public java.util.List getAccountsList return accounts_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -95,13 +71,11 @@ public java.util.List getAccountsList * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountsOrBuilderList() { return accounts_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -113,8 +87,6 @@ public int getAccountsCount() { return accounts_.size(); } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1beta.Account getAccounts(int index) { return accounts_.get(index); } /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1beta.Account getAccounts(int index) { * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(int index) { + public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( + int index) { return accounts_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < accounts_.size(); i++) { output.writeMessage(1, accounts_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accounts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accounts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, accounts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountsResponse other = - (com.google.analytics.admin.v1beta.ListAccountsResponse) obj; + com.google.analytics.admin.v1beta.ListAccountsResponse other = (com.google.analytics.admin.v1beta.ListAccountsResponse) obj; - if (!getAccountsList().equals(other.getAccountsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAccountsList() + .equals(other.getAccountsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( 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.v1beta.ListAccountsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListAccountsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountsResponse) com.google.analytics.admin.v1beta.ListAccountsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsResponse.class, - com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsResponse.class, com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListAccountsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListAccountsResponse result = - new com.google.analytics.admin.v1beta.ListAccountsResponse(this); + com.google.analytics.admin.v1beta.ListAccountsResponse result = new com.google.analytics.admin.v1beta.ListAccountsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListAccountsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListAccountsResponse result) { if (accountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accounts_ = java.util.Collections.unmodifiableList(accounts_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountsRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListAccountsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListAccountsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListAccountsResponse.getDefaultInstance()) return this; if (accountsBuilder_ == null) { if (!other.accounts_.isEmpty()) { if (accounts_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountsResponse accountsBuilder_ = null; accounts_ = other.accounts_; bitField0_ = (bitField0_ & ~0x00000001); - accountsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAccountsFieldBuilder() - : null; + accountsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAccountsFieldBuilder() : null; } else { accountsBuilder_.addAllMessages(other.accounts_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.Account m = - input.readMessage( - com.google.analytics.admin.v1beta.Account.parser(), extensionRegistry); - if (accountsBuilder_ == null) { - ensureAccountsIsMutable(); - accounts_.add(m); - } else { - accountsBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.Account m = + input.readMessage( + com.google.analytics.admin.v1beta.Account.parser(), + extensionRegistry); + if (accountsBuilder_ == null) { + ensureAccountsIsMutable(); + accounts_.add(m); + } else { + accountsBuilder_.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) { @@ -604,28 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List accounts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { accounts_ = new java.util.ArrayList(accounts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder> - accountsBuilder_; + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountsBuilder_; /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -640,8 +586,6 @@ public java.util.List getAccountsList } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -656,8 +600,6 @@ public int getAccountsCount() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -672,15 +614,14 @@ public com.google.analytics.admin.v1beta.Account getAccounts(int index) { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public Builder setAccounts(int index, com.google.analytics.admin.v1beta.Account value) { + public Builder setAccounts( + int index, com.google.analytics.admin.v1beta.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,8 +635,6 @@ public Builder setAccounts(int index, com.google.analytics.admin.v1beta.Account return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -714,8 +653,6 @@ public Builder setAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -736,15 +673,14 @@ public Builder addAccounts(com.google.analytics.admin.v1beta.Account value) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public Builder addAccounts(int index, com.google.analytics.admin.v1beta.Account value) { + public Builder addAccounts( + int index, com.google.analytics.admin.v1beta.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -758,15 +694,14 @@ public Builder addAccounts(int index, com.google.analytics.admin.v1beta.Account return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public Builder addAccounts(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder addAccounts( + com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(builderForValue.build()); @@ -777,8 +712,6 @@ public Builder addAccounts(com.google.analytics.admin.v1beta.Account.Builder bui return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -797,8 +730,6 @@ public Builder addAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -809,7 +740,8 @@ public Builder addAllAccounts( java.lang.Iterable values) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accounts_); onChanged(); } else { accountsBuilder_.addAllMessages(values); @@ -817,8 +749,6 @@ public Builder addAllAccounts( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -836,8 +766,6 @@ public Builder clearAccounts() { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -855,44 +783,39 @@ public Builder removeAccounts(int index) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public com.google.analytics.admin.v1beta.Account.Builder getAccountsBuilder(int index) { + public com.google.analytics.admin.v1beta.Account.Builder getAccountsBuilder( + int index) { return getAccountsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(int index) { + public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( + int index) { if (accountsBuilder_ == null) { - return accounts_.get(index); - } else { + return accounts_.get(index); } else { return accountsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public java.util.List - getAccountsOrBuilderList() { + public java.util.List + getAccountsOrBuilderList() { if (accountsBuilder_ != null) { return accountsBuilder_.getMessageOrBuilderList(); } else { @@ -900,8 +823,6 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(i } } /** - * - * *
      * Results that were accessible to the caller.
      * 
@@ -909,48 +830,42 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(i * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder() { - return getAccountsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.Account.getDefaultInstance()); + return getAccountsFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.Account.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder(int index) { - return getAccountsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1beta.Account.getDefaultInstance()); + public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder( + int index) { + return getAccountsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.Account.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public java.util.List - getAccountsBuilderList() { + public java.util.List + getAccountsBuilderList() { return getAccountsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountsFieldBuilder() { if (accountsBuilder_ == null) { - accountsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder>( - accounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + accountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( + accounts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); accounts_ = null; } return accountsBuilder_; @@ -958,21 +873,19 @@ public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder(int 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -981,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1004,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1044,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1078,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountsResponse) private static final com.google.analytics.admin.v1beta.ListAccountsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountsResponse(); } @@ -1092,27 +993,27 @@ public static com.google.analytics.admin.v1beta.ListAccountsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsResponse 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; @@ -1127,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java index dcfa3cf7002f..227c1921d242 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountsResponseOrBuilder - extends +public interface ListAccountsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - java.util.List getAccountsList(); + java.util.List + getAccountsList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -44,8 +25,6 @@ public interface ListAccountsResponseOrBuilder */ com.google.analytics.admin.v1beta.Account getAccounts(int index); /** - * - * *
    * Results that were accessible to the caller.
    * 
@@ -54,51 +33,43 @@ public interface ListAccountsResponseOrBuilder */ int getAccountsCount(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - java.util.List + java.util.List getAccountsOrBuilderList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(int index); + com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java index 086c850802d0..8c3c2ccaf776 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListConversionEvents RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsRequest} */ -public final class ListConversionEventsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversionEventsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListConversionEventsRequest) ListConversionEventsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversionEventsRequest.newBuilder() to construct. private ListConversionEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversionEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,46 +26,39 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, - com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,32 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,12 +116,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -160,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -169,15 +135,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -186,15 +151,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -203,7 +169,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,7 +204,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -251,17 +218,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListConversionEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListConversionEventsRequest other = - (com.google.analytics.admin.v1beta.ListConversionEventsRequest) obj; + com.google.analytics.admin.v1beta.ListConversionEventsRequest other = (com.google.analytics.admin.v1beta.ListConversionEventsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,136 +254,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( 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.v1beta.ListConversionEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListConversionEventsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListConversionEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListConversionEvents RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListConversionEventsRequest) com.google.analytics.admin.v1beta.ListConversionEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, - com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListConversionEventsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,14 +388,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListConversionEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListConversionEventsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance(); } @@ -448,17 +409,13 @@ public com.google.analytics.admin.v1beta.ListConversionEventsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListConversionEventsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListConversionEventsRequest result = - new com.google.analytics.admin.v1beta.ListConversionEventsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListConversionEventsRequest result = new com.google.analytics.admin.v1beta.ListConversionEventsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListConversionEventsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListConversionEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -475,39 +432,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListConversionEventsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsRequest)other); } else { super.mergeFrom(other); return this; @@ -515,9 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListConversionEventsRequest other) { - if (other - == com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -557,31 +511,27 @@ public Builder mergeFrom( 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: + 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) { @@ -591,28 +541,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,24 +566,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -646,41 +588,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -690,24 +621,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -715,10 +640,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -726,7 +649,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -734,8 +656,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -743,20 +663,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -764,7 +681,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -776,8 +692,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -786,13 +700,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -801,8 +715,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -811,14 +723,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -826,8 +739,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -836,22 +747,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -860,7 +767,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -870,8 +776,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -880,23 +784,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -906,13 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListConversionEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListConversionEventsRequest) - private static final com.google.analytics.admin.v1beta.ListConversionEventsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListConversionEventsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListConversionEventsRequest(); } @@ -921,27 +822,27 @@ public static com.google.analytics.admin.v1beta.ListConversionEventsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsRequest 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; @@ -956,4 +857,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.analytics.admin.v1beta.ListConversionEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java index 3a4645c33869..4b1f4f98e963 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListConversionEventsRequestOrBuilder - extends +public interface ListConversionEventsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListConversionEventsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -64,14 +37,11 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface ListConversionEventsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java index deb1e13d1813..9361a0bb01d4 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListConversionEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsResponse} */ -public final class ListConversionEventsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListConversionEventsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListConversionEventsResponse) ListConversionEventsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListConversionEventsResponse.newBuilder() to construct. private ListConversionEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListConversionEventsResponse() { conversionEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, - com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); } public static final int CONVERSION_EVENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List conversionEvents_; /** - * - * *
    * The requested conversion events
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List - getConversionEventsList() { + public java.util.List getConversionEventsList() { return conversionEvents_; } /** - * - * *
    * The requested conversion events
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConversionEventsOrBuilderList() { return conversionEvents_; } /** - * - * *
    * The requested conversion events
    * 
@@ -114,8 +87,6 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** - * - * *
    * The requested conversion events
    * 
@@ -127,8 +98,6 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int return conversionEvents_.get(index); } /** - * - * *
    * The requested conversion events
    * 
@@ -142,19 +111,15 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } 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 @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < conversionEvents_.size(); i++) { output.writeMessage(1, conversionEvents_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversionEvents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversionEvents_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, conversionEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListConversionEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListConversionEventsResponse other = - (com.google.analytics.admin.v1beta.ListConversionEventsResponse) obj; + com.google.analytics.admin.v1beta.ListConversionEventsResponse other = (com.google.analytics.admin.v1beta.ListConversionEventsResponse) obj; - if (!getConversionEventsList().equals(other.getConversionEventsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getConversionEventsList() + .equals(other.getConversionEventsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( 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.v1beta.ListConversionEventsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListConversionEventsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListConversionEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListConversionEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListConversionEventsResponse) com.google.analytics.admin.v1beta.ListConversionEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, - com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListConversionEventsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListConversionEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListConversionEventsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance(); } @@ -438,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListConversionEventsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListConversionEventsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListConversionEventsResponse result = - new com.google.analytics.admin.v1beta.ListConversionEventsResponse(this); + com.google.analytics.admin.v1beta.ListConversionEventsResponse result = new com.google.analytics.admin.v1beta.ListConversionEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { if (conversionEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { conversionEvents_ = java.util.Collections.unmodifiableList(conversionEvents_); @@ -461,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -473,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListConversionEventsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsResponse)other); } else { super.mergeFrom(other); return this; @@ -513,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListConversionEventsResponse other) { - if (other - == com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance()) return this; if (conversionEventsBuilder_ == null) { if (!other.conversionEvents_.isEmpty()) { if (conversionEvents_.isEmpty()) { @@ -534,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListConversionEventsR conversionEventsBuilder_ = null; conversionEvents_ = other.conversionEvents_; bitField0_ = (bitField0_ & ~0x00000001); - conversionEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConversionEventsFieldBuilder() - : null; + conversionEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConversionEventsFieldBuilder() : null; } else { conversionEventsBuilder_.addAllMessages(other.conversionEvents_); } @@ -574,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.ConversionEvent m = - input.readMessage( - com.google.analytics.admin.v1beta.ConversionEvent.parser(), - extensionRegistry); - if (conversionEventsBuilder_ == null) { - ensureConversionEventsIsMutable(); - conversionEvents_.add(m); - } else { - conversionEventsBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.ConversionEvent m = + input.readMessage( + com.google.analytics.admin.v1beta.ConversionEvent.parser(), + extensionRegistry); + if (conversionEventsBuilder_ == null) { + ensureConversionEventsIsMutable(); + conversionEvents_.add(m); + } else { + conversionEventsBuilder_.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) { @@ -610,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List conversionEvents_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConversionEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conversionEvents_ = - new java.util.ArrayList( - conversionEvents_); + conversionEvents_ = new java.util.ArrayList(conversionEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder> - conversionEventsBuilder_; + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> conversionEventsBuilder_; /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsList() { + public java.util.List getConversionEventsList() { if (conversionEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(conversionEvents_); } else { @@ -649,8 +586,6 @@ private void ensureConversionEventsIsMutable() { } } /** - * - * *
      * The requested conversion events
      * 
@@ -665,8 +600,6 @@ public int getConversionEventsCount() { } } /** - * - * *
      * The requested conversion events
      * 
@@ -681,8 +614,6 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int } } /** - * - * *
      * The requested conversion events
      * 
@@ -704,8 +635,6 @@ public Builder setConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -724,8 +653,6 @@ public Builder setConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -746,8 +673,6 @@ public Builder addConversionEvents(com.google.analytics.admin.v1beta.ConversionE return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -769,8 +694,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -789,8 +712,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -809,8 +730,6 @@ public Builder addConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -821,7 +740,8 @@ public Builder addAllConversionEvents( java.lang.Iterable values) { if (conversionEventsBuilder_ == null) { ensureConversionEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversionEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conversionEvents_); onChanged(); } else { conversionEventsBuilder_.addAllMessages(values); @@ -829,8 +749,6 @@ public Builder addAllConversionEvents( return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -848,8 +766,6 @@ public Builder clearConversionEvents() { return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -867,8 +783,6 @@ public Builder removeConversionEvents(int index) { return this; } /** - * - * *
      * The requested conversion events
      * 
@@ -880,8 +794,6 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventsFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested conversion events
      * 
@@ -891,22 +803,19 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventsOrBuilder( int index) { if (conversionEventsBuilder_ == null) { - return conversionEvents_.get(index); - } else { + return conversionEvents_.get(index); } else { return conversionEventsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsOrBuilderList() { + public java.util.List + getConversionEventsOrBuilderList() { if (conversionEventsBuilder_ != null) { return conversionEventsBuilder_.getMessageOrBuilderList(); } else { @@ -914,8 +823,6 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } } /** - * - * *
      * The requested conversion events
      * 
@@ -923,12 +830,10 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEventsBuilder() { - return getConversionEventsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); } /** - * - * *
      * The requested conversion events
      * 
@@ -937,35 +842,26 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEv */ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEventsBuilder( int index) { - return getConversionEventsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); } /** - * - * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsBuilderList() { + public java.util.List + getConversionEventsBuilderList() { return getConversionEventsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> getConversionEventsFieldBuilder() { if (conversionEventsBuilder_ == null) { - conversionEventsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, - com.google.analytics.admin.v1beta.ConversionEvent.Builder, - com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( + conversionEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( conversionEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -977,21 +873,19 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEv 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1000,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1063,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListConversionEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListConversionEventsResponse) - private static final com.google.analytics.admin.v1beta.ListConversionEventsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListConversionEventsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListConversionEventsResponse(); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsResponse 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; @@ -1145,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.ListConversionEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListConversionEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java index a12e3dd8684d..5e2af79f5de3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListConversionEventsResponseOrBuilder - extends +public interface ListConversionEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListConversionEventsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - java.util.List getConversionEventsList(); + java.util.List + getConversionEventsList(); /** - * - * *
    * The requested conversion events
    * 
@@ -44,8 +25,6 @@ public interface ListConversionEventsResponseOrBuilder */ com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int index); /** - * - * *
    * The requested conversion events
    * 
@@ -54,19 +33,15 @@ public interface ListConversionEventsResponseOrBuilder */ int getConversionEventsCount(); /** - * - * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - java.util.List + java.util.List getConversionEventsOrBuilderList(); /** - * - * *
    * The requested conversion events
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventsOr 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java index bcdd6cf2faa1..8ab361fb6e10 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsRequest} */ -public final class ListCustomDimensionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomDimensionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomDimensionsRequest) ListCustomDimensionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomDimensionsRequest.newBuilder() to construct. private ListCustomDimensionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomDimensionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomDimensionsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest other = - (com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) obj; + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest other = (com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( 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.v1beta.ListCustomDimensionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomDimensionsRequest) com.google.analytics.admin.v1beta.ListCustomDimensionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,14 +386,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance(); } @@ -446,17 +407,13 @@ public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result = - new com.google.analytics.admin.v1beta.ListCustomDimensionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result = new com.google.analytics.admin.v1beta.ListCustomDimensionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -473,39 +430,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListCustomDimensionsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsRequest)other); } else { super.mergeFrom(other); return this; @@ -513,9 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest other) { - if (other - == com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -589,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -642,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -684,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -708,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -719,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -727,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -736,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -757,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -769,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -779,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -794,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -804,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -819,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -829,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -853,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -863,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -873,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -899,13 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomDimensionsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomDimensionsRequest) - private static final com.google.analytics.admin.v1beta.ListCustomDimensionsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListCustomDimensionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomDimensionsRequest(); } @@ -914,27 +815,27 @@ public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsRequest 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; @@ -949,4 +850,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java index db1639581a01..d4ea6fd19b08 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomDimensionsRequestOrBuilder - extends +public interface ListCustomDimensionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomDimensionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListCustomDimensionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java index 188b502df369..01ec48b9bf82 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsResponse} */ -public final class ListCustomDimensionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomDimensionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomDimensionsResponse) ListCustomDimensionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomDimensionsResponse.newBuilder() to construct. private ListCustomDimensionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomDimensionsResponse() { customDimensions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); } public static final int CUSTOM_DIMENSIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List customDimensions_; /** - * - * *
    * List of CustomDimensions.
    * 
@@ -82,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List - getCustomDimensionsList() { + public java.util.List getCustomDimensionsList() { return customDimensions_; } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -96,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomDimensionsOrBuilderList() { return customDimensions_; } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -114,8 +87,6 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -127,8 +98,6 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int return customDimensions_.get(index); } /** - * - * *
    * List of CustomDimensions.
    * 
@@ -142,19 +111,15 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen } 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 @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customDimensions_.size(); i++) { output.writeMessage(1, customDimensions_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customDimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customDimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customDimensions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomDimensionsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse other = - (com.google.analytics.admin.v1beta.ListCustomDimensionsResponse) obj; + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse other = (com.google.analytics.admin.v1beta.ListCustomDimensionsResponse) obj; - if (!getCustomDimensionsList().equals(other.getCustomDimensionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomDimensionsList() + .equals(other.getCustomDimensionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( 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.v1beta.ListCustomDimensionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomDimensionsResponse) com.google.analytics.admin.v1beta.ListCustomDimensionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance(); } @@ -438,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result = - new com.google.analytics.admin.v1beta.ListCustomDimensionsResponse(this); + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result = new com.google.analytics.admin.v1beta.ListCustomDimensionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { if (customDimensionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customDimensions_ = java.util.Collections.unmodifiableList(customDimensions_); @@ -461,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -473,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListCustomDimensionsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsResponse)other); } else { super.mergeFrom(other); return this; @@ -513,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse other) { - if (other - == com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance()) return this; if (customDimensionsBuilder_ == null) { if (!other.customDimensions_.isEmpty()) { if (customDimensions_.isEmpty()) { @@ -534,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomDimensionsR customDimensionsBuilder_ = null; customDimensions_ = other.customDimensions_; bitField0_ = (bitField0_ & ~0x00000001); - customDimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomDimensionsFieldBuilder() - : null; + customDimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomDimensionsFieldBuilder() : null; } else { customDimensionsBuilder_.addAllMessages(other.customDimensions_); } @@ -574,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.CustomDimension m = - input.readMessage( - com.google.analytics.admin.v1beta.CustomDimension.parser(), - extensionRegistry); - if (customDimensionsBuilder_ == null) { - ensureCustomDimensionsIsMutable(); - customDimensions_.add(m); - } else { - customDimensionsBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.CustomDimension m = + input.readMessage( + com.google.analytics.admin.v1beta.CustomDimension.parser(), + extensionRegistry); + if (customDimensionsBuilder_ == null) { + ensureCustomDimensionsIsMutable(); + customDimensions_.add(m); + } else { + customDimensionsBuilder_.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) { @@ -610,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List customDimensions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customDimensions_ = - new java.util.ArrayList( - customDimensions_); + customDimensions_ = new java.util.ArrayList(customDimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> - customDimensionsBuilder_; + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> customDimensionsBuilder_; /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsList() { + public java.util.List getCustomDimensionsList() { if (customDimensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(customDimensions_); } else { @@ -649,8 +586,6 @@ private void ensureCustomDimensionsIsMutable() { } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -665,8 +600,6 @@ public int getCustomDimensionsCount() { } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -681,8 +614,6 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -704,8 +635,6 @@ public Builder setCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -724,8 +653,6 @@ public Builder setCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -746,8 +673,6 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1beta.CustomDimen return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -769,8 +694,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -789,8 +712,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -809,8 +730,6 @@ public Builder addCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -821,7 +740,8 @@ public Builder addAllCustomDimensions( java.lang.Iterable values) { if (customDimensionsBuilder_ == null) { ensureCustomDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customDimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customDimensions_); onChanged(); } else { customDimensionsBuilder_.addAllMessages(values); @@ -829,8 +749,6 @@ public Builder addAllCustomDimensions( return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -848,8 +766,6 @@ public Builder clearCustomDimensions() { return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -867,8 +783,6 @@ public Builder removeCustomDimensions(int index) { return this; } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -880,8 +794,6 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens return getCustomDimensionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -891,22 +803,19 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionsOrBuilder( int index) { if (customDimensionsBuilder_ == null) { - return customDimensions_.get(index); - } else { + return customDimensions_.get(index); } else { return customDimensionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsOrBuilderList() { + public java.util.List + getCustomDimensionsOrBuilderList() { if (customDimensionsBuilder_ != null) { return customDimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -914,8 +823,6 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen } } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -923,12 +830,10 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimensionsBuilder() { - return getCustomDimensionsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); } /** - * - * *
      * List of CustomDimensions.
      * 
@@ -937,35 +842,26 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimens */ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimensionsBuilder( int index) { - return getCustomDimensionsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); } /** - * - * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsBuilderList() { + public java.util.List + getCustomDimensionsBuilderList() { return getCustomDimensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> getCustomDimensionsFieldBuilder() { if (customDimensionsBuilder_ == null) { - customDimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( + customDimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( customDimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -977,21 +873,19 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimens 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1000,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1063,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomDimensionsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomDimensionsResponse) - private static final com.google.analytics.admin.v1beta.ListCustomDimensionsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListCustomDimensionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomDimensionsResponse(); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsResponse 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; @@ -1145,8 +1025,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java index 4af913b009fd..d6325ea79d70 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomDimensionsResponseOrBuilder - extends +public interface ListCustomDimensionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomDimensionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - java.util.List getCustomDimensionsList(); + java.util.List + getCustomDimensionsList(); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -44,8 +25,6 @@ public interface ListCustomDimensionsResponseOrBuilder */ com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int index); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -54,19 +33,15 @@ public interface ListCustomDimensionsResponseOrBuilder */ int getCustomDimensionsCount(); /** - * - * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - java.util.List + java.util.List getCustomDimensionsOrBuilderList(); /** - * - * *
    * List of CustomDimensions.
    * 
@@ -77,29 +52,24 @@ com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionsOr 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java index 2ddee3c37f04..771494e3cd74 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsRequest} */ -public final class ListCustomMetricsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomMetricsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomMetricsRequest) ListCustomMetricsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomMetricsRequest.newBuilder() to construct. private ListCustomMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomMetricsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, - com.google.analytics.admin.v1beta.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, com.google.analytics.admin.v1beta.ListCustomMetricsRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomMetricsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomMetricsRequest other = - (com.google.analytics.admin.v1beta.ListCustomMetricsRequest) obj; + com.google.analytics.admin.v1beta.ListCustomMetricsRequest other = (com.google.analytics.admin.v1beta.ListCustomMetricsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( 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.v1beta.ListCustomMetricsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomMetricsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomMetricsRequest) com.google.analytics.admin.v1beta.ListCustomMetricsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, - com.google.analytics.admin.v1beta.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, com.google.analytics.admin.v1beta.ListCustomMetricsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomMetricsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; } @java.lang.Override @@ -445,11 +407,8 @@ public com.google.analytics.admin.v1beta.ListCustomMetricsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomMetricsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListCustomMetricsRequest result = - new com.google.analytics.admin.v1beta.ListCustomMetricsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListCustomMetricsRequest result = new com.google.analytics.admin.v1beta.ListCustomMetricsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -471,39 +430,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomMetricsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListCustomMetricsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsRequest)other); } else { super.mergeFrom(other); return this; @@ -511,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomMetricsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListCustomMetricsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListCustomMetricsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -586,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -639,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -716,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -733,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -766,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -776,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -801,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -826,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -850,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -870,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomMetricsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomMetricsRequest) private static final com.google.analytics.admin.v1beta.ListCustomMetricsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomMetricsRequest(); } @@ -910,27 +815,27 @@ public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsRequest 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; @@ -945,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListCustomMetricsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java index d1949dfdb637..9ba7bc8150fc 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomMetricsRequestOrBuilder - extends +public interface ListCustomMetricsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomMetricsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListCustomMetricsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java index 21ea9a844de2..0f724cd3fbbf 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsResponse} */ -public final class ListCustomMetricsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomMetricsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomMetricsResponse) ListCustomMetricsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomMetricsResponse.newBuilder() to construct. private ListCustomMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomMetricsResponse() { customMetrics_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, - com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); } public static final int CUSTOM_METRICS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List customMetrics_; /** - * - * *
    * List of CustomMetrics.
    * 
@@ -86,8 +64,6 @@ public java.util.List getCustomM return customMetrics_; } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -95,13 +71,11 @@ public java.util.List getCustomM * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomMetricsOrBuilderList() { return customMetrics_; } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -113,8 +87,6 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index return customMetrics_.get(index); } /** - * - * *
    * List of CustomMetrics.
    * 
@@ -141,19 +111,15 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsO } 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 @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customMetrics_.size(); i++) { output.writeMessage(1, customMetrics_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customMetrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customMetrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customMetrics_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomMetricsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomMetricsResponse other = - (com.google.analytics.admin.v1beta.ListCustomMetricsResponse) obj; + com.google.analytics.admin.v1beta.ListCustomMetricsResponse other = (com.google.analytics.admin.v1beta.ListCustomMetricsResponse) obj; - if (!getCustomMetricsList().equals(other.getCustomMetricsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomMetricsList() + .equals(other.getCustomMetricsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( 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.v1beta.ListCustomMetricsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomMetricsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomMetricsResponse) com.google.analytics.admin.v1beta.ListCustomMetricsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, - com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomMetricsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; } @java.lang.Override @@ -436,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListCustomMetricsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomMetricsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListCustomMetricsResponse result = - new com.google.analytics.admin.v1beta.ListCustomMetricsResponse(this); + com.google.analytics.admin.v1beta.ListCustomMetricsResponse result = new com.google.analytics.admin.v1beta.ListCustomMetricsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListCustomMetricsResponse result) { if (customMetricsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customMetrics_ = java.util.Collections.unmodifiableList(customMetrics_); @@ -470,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomMetricsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListCustomMetricsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsResponse)other); } else { super.mergeFrom(other); return this; @@ -510,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomMetricsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListCustomMetricsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListCustomMetricsResponse.getDefaultInstance()) return this; if (customMetricsBuilder_ == null) { if (!other.customMetrics_.isEmpty()) { if (customMetrics_.isEmpty()) { @@ -530,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomMetricsResp customMetricsBuilder_ = null; customMetrics_ = other.customMetrics_; bitField0_ = (bitField0_ & ~0x00000001); - customMetricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomMetricsFieldBuilder() - : null; + customMetricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomMetricsFieldBuilder() : null; } else { customMetricsBuilder_.addAllMessages(other.customMetrics_); } @@ -570,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.CustomMetric m = - input.readMessage( - com.google.analytics.admin.v1beta.CustomMetric.parser(), extensionRegistry); - if (customMetricsBuilder_ == null) { - ensureCustomMetricsIsMutable(); - customMetrics_.add(m); - } else { - customMetricsBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.CustomMetric m = + input.readMessage( + com.google.analytics.admin.v1beta.CustomMetric.parser(), + extensionRegistry); + if (customMetricsBuilder_ == null) { + ensureCustomMetricsIsMutable(); + customMetrics_.add(m); + } else { + customMetricsBuilder_.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) { @@ -605,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List customMetrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customMetrics_ = - new java.util.ArrayList(customMetrics_); + customMetrics_ = new java.util.ArrayList(customMetrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder> - customMetricsBuilder_; + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> customMetricsBuilder_; /** - * - * *
      * List of CustomMetrics.
      * 
@@ -642,8 +586,6 @@ public java.util.List getCustomM } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -658,8 +600,6 @@ public int getCustomMetricsCount() { } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -674,8 +614,6 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -697,8 +635,6 @@ public Builder setCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -717,8 +653,6 @@ public Builder setCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -739,8 +673,6 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1beta.CustomMetric v return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -762,8 +694,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -782,8 +712,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -802,8 +730,6 @@ public Builder addCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -814,7 +740,8 @@ public Builder addAllCustomMetrics( java.lang.Iterable values) { if (customMetricsBuilder_ == null) { ensureCustomMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customMetrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customMetrics_); onChanged(); } else { customMetricsBuilder_.addAllMessages(values); @@ -822,8 +749,6 @@ public Builder addAllCustomMetrics( return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -841,8 +766,6 @@ public Builder clearCustomMetrics() { return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -860,8 +783,6 @@ public Builder removeCustomMetrics(int index) { return this; } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -873,8 +794,6 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricsBu return getCustomMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -884,22 +803,19 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricsBu public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsOrBuilder( int index) { if (customMetricsBuilder_ == null) { - return customMetrics_.get(index); - } else { + return customMetrics_.get(index); } else { return customMetricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsOrBuilderList() { + public java.util.List + getCustomMetricsOrBuilderList() { if (customMetricsBuilder_ != null) { return customMetricsBuilder_.getMessageOrBuilderList(); } else { @@ -907,8 +823,6 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsO } } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -916,12 +830,10 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsO * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBuilder() { - return getCustomMetricsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); } /** - * - * *
      * List of CustomMetrics.
      * 
@@ -930,34 +842,26 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBu */ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBuilder( int index) { - return getCustomMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); } /** - * - * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsBuilderList() { + public java.util.List + getCustomMetricsBuilderList() { return getCustomMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> getCustomMetricsFieldBuilder() { if (customMetricsBuilder_ == null) { - customMetricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( + customMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( customMetrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -969,21 +873,19 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBu 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -992,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1015,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1055,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomMetricsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomMetricsResponse) private static final com.google.analytics.admin.v1beta.ListCustomMetricsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomMetricsResponse(); } @@ -1103,27 +993,27 @@ public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsResponse 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; @@ -1138,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListCustomMetricsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java index f46ad12c9843..0739aa73c8ac 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomMetricsResponseOrBuilder - extends +public interface ListCustomMetricsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomMetricsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - java.util.List getCustomMetricsList(); + java.util.List + getCustomMetricsList(); /** - * - * *
    * List of CustomMetrics.
    * 
@@ -44,8 +25,6 @@ public interface ListCustomMetricsResponseOrBuilder */ com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index); /** - * - * *
    * List of CustomMetrics.
    * 
@@ -54,51 +33,43 @@ public interface ListCustomMetricsResponseOrBuilder */ int getCustomMetricsCount(); /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - java.util.List + java.util.List getCustomMetricsOrBuilderList(); /** - * - * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsOrBuilder(int index); + com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java index 69d7463361d4..a25aa9e9d0b6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsRequest} */ -public final class ListDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListDataStreamsRequest) ListDataStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataStreamsRequest.newBuilder() to construct. private ListDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, - com.google.analytics.admin.v1beta.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, com.google.analytics.admin.v1beta.ListDataStreamsRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListDataStreamsRequest other = - (com.google.analytics.admin.v1beta.ListDataStreamsRequest) obj; + com.google.analytics.admin.v1beta.ListDataStreamsRequest other = (com.google.analytics.admin.v1beta.ListDataStreamsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( 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.v1beta.ListDataStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListDataStreamsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListDataStreamsRequest) com.google.analytics.admin.v1beta.ListDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, - com.google.analytics.admin.v1beta.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, com.google.analytics.admin.v1beta.ListDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListDataStreamsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; } @java.lang.Override @@ -445,11 +407,8 @@ public com.google.analytics.admin.v1beta.ListDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListDataStreamsRequest result = - new com.google.analytics.admin.v1beta.ListDataStreamsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListDataStreamsRequest result = new com.google.analytics.admin.v1beta.ListDataStreamsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -471,39 +430,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListDataStreamsRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsRequest)other); } else { super.mergeFrom(other); return this; @@ -511,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListDataStreamsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListDataStreamsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListDataStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -586,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -639,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -716,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -733,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -766,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -776,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -801,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -826,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -850,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -870,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListDataStreamsRequest) private static final com.google.analytics.admin.v1beta.ListDataStreamsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListDataStreamsRequest(); } @@ -910,27 +815,27 @@ public static com.google.analytics.admin.v1beta.ListDataStreamsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsRequest 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; @@ -945,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java index a35523bb8aaf..4682d49a81cb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListDataStreamsRequestOrBuilder - extends +public interface ListDataStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListDataStreamsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListDataStreamsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java index 3da338b23e6d..c27923ff49fb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsResponse} */ -public final class ListDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDataStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListDataStreamsResponse) ListDataStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDataStreamsResponse.newBuilder() to construct. private ListDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDataStreamsResponse() { dataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, - com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); } public static final int DATA_STREAMS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List dataStreams_; /** - * - * *
    * List of DataStreams.
    * 
@@ -86,8 +64,6 @@ public java.util.List getDataStrea return dataStreams_; } /** - * - * *
    * List of DataStreams.
    * 
@@ -95,13 +71,11 @@ public java.util.List getDataStrea * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataStreamsOrBuilderList() { return dataStreams_; } /** - * - * *
    * List of DataStreams.
    * 
@@ -113,8 +87,6 @@ public int getDataStreamsCount() { return dataStreams_.size(); } /** - * - * *
    * List of DataStreams.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1beta.DataStream getDataStreams(int index) { return dataStreams_.get(index); } /** - * - * *
    * List of DataStreams.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1beta.DataStream getDataStreams(int index) { * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder(int index) { + public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder( + int index) { return dataStreams_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dataStreams_.size(); i++) { output.writeMessage(1, dataStreams_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListDataStreamsResponse other = - (com.google.analytics.admin.v1beta.ListDataStreamsResponse) obj; + com.google.analytics.admin.v1beta.ListDataStreamsResponse other = (com.google.analytics.admin.v1beta.ListDataStreamsResponse) obj; - if (!getDataStreamsList().equals(other.getDataStreamsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDataStreamsList() + .equals(other.getDataStreamsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( 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.v1beta.ListDataStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListDataStreamsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListDataStreamsResponse) com.google.analytics.admin.v1beta.ListDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, - com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListDataStreamsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListDataStreamsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListDataStreamsResponse result = - new com.google.analytics.admin.v1beta.ListDataStreamsResponse(this); + com.google.analytics.admin.v1beta.ListDataStreamsResponse result = new com.google.analytics.admin.v1beta.ListDataStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListDataStreamsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListDataStreamsResponse result) { if (dataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataStreams_ = java.util.Collections.unmodifiableList(dataStreams_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListDataStreamsResp public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListDataStreamsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListDataStreamsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListDataStreamsResponse.getDefaultInstance()) return this; if (dataStreamsBuilder_ == null) { if (!other.dataStreams_.isEmpty()) { if (dataStreams_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListDataStreamsRespon dataStreamsBuilder_ = null; dataStreams_ = other.dataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - dataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDataStreamsFieldBuilder() - : null; + dataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDataStreamsFieldBuilder() : null; } else { dataStreamsBuilder_.addAllMessages(other.dataStreams_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.DataStream m = - input.readMessage( - com.google.analytics.admin.v1beta.DataStream.parser(), extensionRegistry); - if (dataStreamsBuilder_ == null) { - ensureDataStreamsIsMutable(); - dataStreams_.add(m); - } else { - dataStreamsBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.DataStream m = + input.readMessage( + com.google.analytics.admin.v1beta.DataStream.parser(), + extensionRegistry); + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.add(m); + } else { + dataStreamsBuilder_.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) { @@ -604,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List dataStreams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataStreams_ = - new java.util.ArrayList(dataStreams_); + dataStreams_ = new java.util.ArrayList(dataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> - dataStreamsBuilder_; + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamsBuilder_; /** - * - * *
      * List of DataStreams.
      * 
@@ -641,8 +586,6 @@ public java.util.List getDataStrea } } /** - * - * *
      * List of DataStreams.
      * 
@@ -657,8 +600,6 @@ public int getDataStreamsCount() { } } /** - * - * *
      * List of DataStreams.
      * 
@@ -673,15 +614,14 @@ public com.google.analytics.admin.v1beta.DataStream getDataStreams(int index) { } } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public Builder setDataStreams(int index, com.google.analytics.admin.v1beta.DataStream value) { + public Builder setDataStreams( + int index, com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -695,8 +635,6 @@ public Builder setDataStreams(int index, com.google.analytics.admin.v1beta.DataS return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -715,8 +653,6 @@ public Builder setDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -737,15 +673,14 @@ public Builder addDataStreams(com.google.analytics.admin.v1beta.DataStream value return this; } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public Builder addDataStreams(int index, com.google.analytics.admin.v1beta.DataStream value) { + public Builder addDataStreams( + int index, com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +694,6 @@ public Builder addDataStreams(int index, com.google.analytics.admin.v1beta.DataS return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -779,8 +712,6 @@ public Builder addDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -799,8 +730,6 @@ public Builder addDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -811,7 +740,8 @@ public Builder addAllDataStreams( java.lang.Iterable values) { if (dataStreamsBuilder_ == null) { ensureDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataStreams_); onChanged(); } else { dataStreamsBuilder_.addAllMessages(values); @@ -819,8 +749,6 @@ public Builder addAllDataStreams( return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -838,8 +766,6 @@ public Builder clearDataStreams() { return this; } /** - * - * *
      * List of DataStreams.
      * 
@@ -857,20 +783,17 @@ public Builder removeDataStreams(int index) { return this; } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamsBuilder(int index) { + public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamsBuilder( + int index) { return getDataStreamsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of DataStreams.
      * 
@@ -880,22 +803,19 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamsBuilde public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder( int index) { if (dataStreamsBuilder_ == null) { - return dataStreams_.get(index); - } else { + return dataStreams_.get(index); } else { return dataStreamsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsOrBuilderList() { + public java.util.List + getDataStreamsOrBuilderList() { if (dataStreamsBuilder_ != null) { return dataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -903,8 +823,6 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBui } } /** - * - * *
      * List of DataStreams.
      * 
@@ -912,48 +830,42 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBui * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilder() { - return getDataStreamsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); + return getDataStreamsFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilder(int index) { - return getDataStreamsFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); + public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilder( + int index) { + return getDataStreamsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); } /** - * - * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsBuilderList() { + public java.util.List + getDataStreamsBuilderList() { return getDataStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamsFieldBuilder() { if (dataStreamsBuilder_ == null) { - dataStreamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder>( - dataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + dataStreams_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dataStreams_ = null; } return dataStreamsBuilder_; @@ -961,21 +873,19 @@ public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilde 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -984,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1007,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1047,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListDataStreamsResponse) private static final com.google.analytics.admin.v1beta.ListDataStreamsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListDataStreamsResponse(); } @@ -1095,27 +993,27 @@ public static com.google.analytics.admin.v1beta.ListDataStreamsResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsResponse 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; @@ -1130,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java index ac945433b90c..e19c266a35c8 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListDataStreamsResponseOrBuilder - extends +public interface ListDataStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - java.util.List getDataStreamsList(); + java.util.List + getDataStreamsList(); /** - * - * *
    * List of DataStreams.
    * 
@@ -44,8 +25,6 @@ public interface ListDataStreamsResponseOrBuilder */ com.google.analytics.admin.v1beta.DataStream getDataStreams(int index); /** - * - * *
    * List of DataStreams.
    * 
@@ -54,51 +33,43 @@ public interface ListDataStreamsResponseOrBuilder */ int getDataStreamsCount(); /** - * - * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - java.util.List + java.util.List getDataStreamsOrBuilderList(); /** - * - * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder(int index); + com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java index 4477989d49fe..0fee8fc35033 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksRequest} */ -public final class ListFirebaseLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFirebaseLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListFirebaseLinksRequest) ListFirebaseLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFirebaseLinksRequest.newBuilder() to construct. private ListFirebaseLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFirebaseLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,46 +26,39 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,32 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -138,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -147,12 +117,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -161,7 +128,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -170,15 +136,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -187,15 +152,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,7 +170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +205,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -252,17 +219,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListFirebaseLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest other = - (com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) obj; + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest other = (com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,136 +255,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( 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.v1beta.ListFirebaseLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListFirebaseLinksRequest) com.google.analytics.admin.v1beta.ListFirebaseLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; } @java.lang.Override @@ -448,11 +410,8 @@ public com.google.analytics.admin.v1beta.ListFirebaseLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListFirebaseLinksRequest buildPartial() { - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest result = - new com.google.analytics.admin.v1beta.ListFirebaseLinksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest result = new com.google.analytics.admin.v1beta.ListFirebaseLinksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -474,39 +433,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListFirebaseLinksRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListFirebaseLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +472,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest other) { - if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +512,27 @@ public Builder mergeFrom( 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: + 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) { @@ -589,28 +542,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -619,24 +567,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -644,41 +589,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -688,24 +622,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -713,10 +641,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -725,7 +651,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -733,8 +658,6 @@ 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.
@@ -743,20 +666,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -765,7 +685,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -777,8 +696,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -787,13 +704,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -802,8 +719,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -812,14 +727,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -827,8 +743,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -837,22 +751,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -861,7 +771,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -871,8 +780,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -881,23 +788,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -907,12 +812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListFirebaseLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListFirebaseLinksRequest) private static final com.google.analytics.admin.v1beta.ListFirebaseLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListFirebaseLinksRequest(); } @@ -921,27 +826,27 @@ public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksRequest 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; @@ -956,4 +861,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListFirebaseLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java index 1ec86b501dd5..13ee3bfcb3c1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListFirebaseLinksRequestOrBuilder - extends +public interface ListFirebaseLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListFirebaseLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -65,14 +38,11 @@ public interface ListFirebaseLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListFirebaseLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -96,8 +63,8 @@ public interface ListFirebaseLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java similarity index 74% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java index e868acbb01a0..99226c4dcfa2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksResponse} */ -public final class ListFirebaseLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFirebaseLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListFirebaseLinksResponse) ListFirebaseLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFirebaseLinksResponse.newBuilder() to construct. private ListFirebaseLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFirebaseLinksResponse() { firebaseLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); } public static final int FIREBASE_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List firebaseLinks_; /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -86,8 +64,6 @@ public java.util.List getFirebas return firebaseLinks_; } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -95,13 +71,11 @@ public java.util.List getFirebas * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFirebaseLinksOrBuilderList() { return firebaseLinks_; } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -113,8 +87,6 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLinks(int index return firebaseLinks_.get(index); } /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -141,12 +111,9 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO } 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.
@@ -155,7 +122,6 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -164,15 +130,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -181,15 +146,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -198,7 +164,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < firebaseLinks_.size(); i++) { output.writeMessage(1, firebaseLinks_.get(i)); } @@ -227,7 +193,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < firebaseLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, firebaseLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, firebaseLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -240,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListFirebaseLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse other = - (com.google.analytics.admin.v1beta.ListFirebaseLinksResponse) obj; + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse other = (com.google.analytics.admin.v1beta.ListFirebaseLinksResponse) obj; - if (!getFirebaseLinksList().equals(other.getFirebaseLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFirebaseLinksList() + .equals(other.getFirebaseLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,136 +241,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( 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.v1beta.ListFirebaseLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListFirebaseLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListFirebaseLinksResponse) com.google.analytics.admin.v1beta.ListFirebaseLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; } @java.lang.Override @@ -440,18 +401,14 @@ public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse buildPartial() { - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result = - new com.google.analytics.admin.v1beta.ListFirebaseLinksResponse(this); + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result = new com.google.analytics.admin.v1beta.ListFirebaseLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result) { if (firebaseLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { firebaseLinks_ = java.util.Collections.unmodifiableList(firebaseLinks_); @@ -474,39 +431,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListFirebaseLinksRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListFirebaseLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -514,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListFirebaseLinksResponse other) { - if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.getDefaultInstance()) return this; if (firebaseLinksBuilder_ == null) { if (!other.firebaseLinks_.isEmpty()) { if (firebaseLinks_.isEmpty()) { @@ -534,10 +489,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListFirebaseLinksResp firebaseLinksBuilder_ = null; firebaseLinks_ = other.firebaseLinks_; bitField0_ = (bitField0_ & ~0x00000001); - firebaseLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFirebaseLinksFieldBuilder() - : null; + firebaseLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFirebaseLinksFieldBuilder() : null; } else { firebaseLinksBuilder_.addAllMessages(other.firebaseLinks_); } @@ -574,32 +528,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.FirebaseLink m = - input.readMessage( - com.google.analytics.admin.v1beta.FirebaseLink.parser(), extensionRegistry); - if (firebaseLinksBuilder_ == null) { - ensureFirebaseLinksIsMutable(); - firebaseLinks_.add(m); - } else { - firebaseLinksBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.FirebaseLink m = + input.readMessage( + com.google.analytics.admin.v1beta.FirebaseLink.parser(), + extensionRegistry); + if (firebaseLinksBuilder_ == null) { + ensureFirebaseLinksIsMutable(); + firebaseLinks_.add(m); + } else { + firebaseLinksBuilder_.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) { @@ -609,29 +561,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List firebaseLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFirebaseLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - firebaseLinks_ = - new java.util.ArrayList(firebaseLinks_); + firebaseLinks_ = new java.util.ArrayList(firebaseLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> - firebaseLinksBuilder_; + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> firebaseLinksBuilder_; /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -646,8 +590,6 @@ public java.util.List getFirebas } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -662,8 +604,6 @@ public int getFirebaseLinksCount() { } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -678,8 +618,6 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLinks(int index } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -701,8 +639,6 @@ public Builder setFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -721,8 +657,6 @@ public Builder setFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -743,8 +677,6 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1beta.FirebaseLink v return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -766,8 +698,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -786,8 +716,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -806,8 +734,6 @@ public Builder addFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -818,7 +744,8 @@ public Builder addAllFirebaseLinks( java.lang.Iterable values) { if (firebaseLinksBuilder_ == null) { ensureFirebaseLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, firebaseLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, firebaseLinks_); onChanged(); } else { firebaseLinksBuilder_.addAllMessages(values); @@ -826,8 +753,6 @@ public Builder addAllFirebaseLinks( return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -845,8 +770,6 @@ public Builder clearFirebaseLinks() { return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -864,8 +787,6 @@ public Builder removeFirebaseLinks(int index) { return this; } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -877,8 +798,6 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinksBu return getFirebaseLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -888,22 +807,19 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinksBu public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( int index) { if (firebaseLinksBuilder_ == null) { - return firebaseLinks_.get(index); - } else { + return firebaseLinks_.get(index); } else { return firebaseLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksOrBuilderList() { + public java.util.List + getFirebaseLinksOrBuilderList() { if (firebaseLinksBuilder_ != null) { return firebaseLinksBuilder_.getMessageOrBuilderList(); } else { @@ -911,8 +827,6 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO } } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -920,12 +834,10 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBuilder() { - return getFirebaseLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -934,34 +846,26 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBu */ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBuilder( int index) { - return getFirebaseLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); } /** - * - * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksBuilderList() { + public java.util.List + getFirebaseLinksBuilderList() { return getFirebaseLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> getFirebaseLinksFieldBuilder() { if (firebaseLinksBuilder_ == null) { - firebaseLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, - com.google.analytics.admin.v1beta.FirebaseLink.Builder, - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( + firebaseLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( firebaseLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -973,8 +877,6 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBu 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.
@@ -983,13 +885,13 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBu
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -998,8 +900,6 @@ public 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.
@@ -1008,14 +908,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,8 +924,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
@@ -1033,22 +932,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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.
@@ -1057,7 +952,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1067,8 +961,6 @@ public Builder clearNextPageToken() { 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.
@@ -1077,23 +969,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,12 +993,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListFirebaseLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListFirebaseLinksResponse) private static final com.google.analytics.admin.v1beta.ListFirebaseLinksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListFirebaseLinksResponse(); } @@ -1117,27 +1007,27 @@ public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksResponse 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; @@ -1152,4 +1042,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java index 6a331f619f12..4e326861adcd 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListFirebaseLinksResponseOrBuilder - extends +public interface ListFirebaseLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListFirebaseLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - java.util.List getFirebaseLinksList(); + java.util.List + getFirebaseLinksList(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -44,8 +25,6 @@ public interface ListFirebaseLinksResponseOrBuilder */ com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLinks(int index); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -54,30 +33,25 @@ public interface ListFirebaseLinksResponseOrBuilder */ int getFirebaseLinksCount(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - java.util.List + java.util.List getFirebaseLinksOrBuilderList(); /** - * - * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder(int index); + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( + 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.
@@ -86,13 +60,10 @@ public interface ListFirebaseLinksResponseOrBuilder
    * 
* * 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.
@@ -101,8 +72,8 @@ public interface ListFirebaseLinksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java index 54b79afb7e47..2e4d8c1cc9a6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksRequest} */ -public final class ListGoogleAdsLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGoogleAdsLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) ListGoogleAdsLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksRequest.newBuilder() to construct. private ListGoogleAdsLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGoogleAdsLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,38 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest other = - (com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) obj; + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest other = (com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,136 +252,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( 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.v1beta.ListGoogleAdsLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override @@ -445,11 +407,8 @@ public com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest buildPartial() { - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest result = - new com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest result = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -471,39 +430,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListGoogleAdsLinksR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListGoogleAdsLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -511,8 +469,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest other) { - if (other == com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +509,27 @@ public Builder mergeFrom( 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: + 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) { @@ -586,27 +539,22 @@ public Builder mergeFrom( } // 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -615,23 +563,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -639,39 +584,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -681,23 +615,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Example format: properties/1234
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,10 +633,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -716,7 +642,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -724,8 +649,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -733,20 +656,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -754,7 +674,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -766,8 +685,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -776,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -791,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -801,14 +716,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -816,8 +732,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -826,22 +740,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -850,7 +760,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -860,8 +769,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -870,23 +777,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) private static final com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest(); } @@ -910,27 +815,27 @@ public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksRequest 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; @@ -945,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java similarity index 60% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java index 5eb2f6f9ff18..84debb4ebc2d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListGoogleAdsLinksRequestOrBuilder - extends +public interface ListGoogleAdsLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Example format: properties/1234
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -62,14 +35,11 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -78,13 +48,10 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -93,8 +60,8 @@ public interface ListGoogleAdsLinksRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java index 95ca84d9ac62..eba1d5b4b6bb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksResponse} */ -public final class ListGoogleAdsLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGoogleAdsLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) ListGoogleAdsLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksResponse.newBuilder() to construct. private ListGoogleAdsLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGoogleAdsLinksResponse() { googleAdsLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); } public static final int GOOGLE_ADS_LINKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List googleAdsLinks_; /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -86,8 +64,6 @@ public java.util.List getGoogle return googleAdsLinks_; } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -95,13 +71,11 @@ public java.util.List getGoogle * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getGoogleAdsLinksOrBuilderList() { return googleAdsLinks_; } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -113,8 +87,6 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int ind return googleAdsLinks_.get(index); } /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -141,19 +111,15 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } 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 @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < googleAdsLinks_.size(); i++) { output.writeMessage(1, googleAdsLinks_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < googleAdsLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, googleAdsLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, googleAdsLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse other = - (com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) obj; + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse other = (com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) obj; - if (!getGoogleAdsLinksList().equals(other.getGoogleAdsLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getGoogleAdsLinksList() + .equals(other.getGoogleAdsLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( 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.v1beta.ListGoogleAdsLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance(); } @@ -437,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse buildPartial() { - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result = - new com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse(this); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { if (googleAdsLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { googleAdsLinks_ = java.util.Collections.unmodifiableList(googleAdsLinks_); @@ -460,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -472,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListGoogleAdsLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -512,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse other) { - if (other - == com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance()) return this; if (googleAdsLinksBuilder_ == null) { if (!other.googleAdsLinks_.isEmpty()) { if (googleAdsLinks_.isEmpty()) { @@ -533,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRes googleAdsLinksBuilder_ = null; googleAdsLinks_ = other.googleAdsLinks_; bitField0_ = (bitField0_ & ~0x00000001); - googleAdsLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGoogleAdsLinksFieldBuilder() - : null; + googleAdsLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGoogleAdsLinksFieldBuilder() : null; } else { googleAdsLinksBuilder_.addAllMessages(other.googleAdsLinks_); } @@ -573,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.GoogleAdsLink m = - input.readMessage( - com.google.analytics.admin.v1beta.GoogleAdsLink.parser(), - extensionRegistry); - if (googleAdsLinksBuilder_ == null) { - ensureGoogleAdsLinksIsMutable(); - googleAdsLinks_.add(m); - } else { - googleAdsLinksBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.GoogleAdsLink m = + input.readMessage( + com.google.analytics.admin.v1beta.GoogleAdsLink.parser(), + extensionRegistry); + if (googleAdsLinksBuilder_ == null) { + ensureGoogleAdsLinksIsMutable(); + googleAdsLinks_.add(m); + } else { + googleAdsLinksBuilder_.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) { @@ -609,30 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List googleAdsLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGoogleAdsLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - googleAdsLinks_ = - new java.util.ArrayList( - googleAdsLinks_); + googleAdsLinks_ = new java.util.ArrayList(googleAdsLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> - googleAdsLinksBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinksBuilder_; /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -647,8 +586,6 @@ public java.util.List getGoogle } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -663,8 +600,6 @@ public int getGoogleAdsLinksCount() { } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -679,8 +614,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int ind } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -702,8 +635,6 @@ public Builder setGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -722,8 +653,6 @@ public Builder setGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -744,8 +673,6 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -767,8 +694,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -787,8 +712,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -807,8 +730,6 @@ public Builder addGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -819,7 +740,8 @@ public Builder addAllGoogleAdsLinks( java.lang.Iterable values) { if (googleAdsLinksBuilder_ == null) { ensureGoogleAdsLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googleAdsLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, googleAdsLinks_); onChanged(); } else { googleAdsLinksBuilder_.addAllMessages(values); @@ -827,8 +749,6 @@ public Builder addAllGoogleAdsLinks( return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -846,8 +766,6 @@ public Builder clearGoogleAdsLinks() { return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -865,8 +783,6 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -878,8 +794,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinks return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -889,22 +803,19 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinks public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( int index) { if (googleAdsLinksBuilder_ == null) { - return googleAdsLinks_.get(index); - } else { + return googleAdsLinks_.get(index); } else { return googleAdsLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksOrBuilderList() { + public java.util.List + getGoogleAdsLinksOrBuilderList() { if (googleAdsLinksBuilder_ != null) { return googleAdsLinksBuilder_.getMessageOrBuilderList(); } else { @@ -912,8 +823,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -921,12 +830,10 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinksBuilder() { - return getGoogleAdsLinksFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
@@ -935,34 +842,26 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinks */ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinksBuilder( int index) { - return getGoogleAdsLinksFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); } /** - * - * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksBuilderList() { + public java.util.List + getGoogleAdsLinksBuilderList() { return getGoogleAdsLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinksFieldBuilder() { if (googleAdsLinksBuilder_ == null) { - googleAdsLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + googleAdsLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( googleAdsLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -974,21 +873,19 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinks 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -997,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1020,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1060,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,13 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) - private static final com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse(); } @@ -1109,27 +993,27 @@ public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksResponse 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; @@ -1144,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java index 1eefa5c0c0c5..cc8ed4907857 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListGoogleAdsLinksResponseOrBuilder - extends +public interface ListGoogleAdsLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - java.util.List getGoogleAdsLinksList(); + java.util.List + getGoogleAdsLinksList(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -44,8 +25,6 @@ public interface ListGoogleAdsLinksResponseOrBuilder */ com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int index); /** - * - * *
    * List of GoogleAdsLinks.
    * 
@@ -54,51 +33,43 @@ public interface ListGoogleAdsLinksResponseOrBuilder */ int getGoogleAdsLinksCount(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - java.util.List + java.util.List getGoogleAdsLinksOrBuilderList(); /** - * - * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(int index); + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java index c62e0861d910..bae89f5605ef 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest} */ -public final class ListMeasurementProtocolSecretsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMeasurementProtocolSecretsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) ListMeasurementProtocolSecretsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsRequest.newBuilder() to construct. - private ListMeasurementProtocolSecretsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMeasurementProtocolSecretsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,47 +26,40 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -95,33 +68,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,8 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -141,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -150,12 +118,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -164,7 +129,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -173,15 +137,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -190,15 +153,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -207,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -242,7 +206,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -255,17 +220,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other = - (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) obj; + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other = (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,139 +256,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( 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.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - 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.v1beta.ListMeasurementProtocolSecretsRequest 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.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder - .class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -433,22 +390,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest build() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = - buildPartial(); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -457,17 +411,13 @@ public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest b @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = - new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -484,52 +434,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListMeasurementProtocolSecretsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) other); + if (other instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) { + return mergeFrom((com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other) { - if (other - == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other) { + if (other == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -569,31 +513,27 @@ public Builder mergeFrom( 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: + 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) { @@ -603,29 +543,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -634,25 +569,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -660,43 +592,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -706,25 +627,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -732,10 +647,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -743,7 +656,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -751,8 +663,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -760,20 +670,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -781,7 +688,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -793,8 +699,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -803,13 +707,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -818,8 +722,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -828,14 +730,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -843,8 +746,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -853,22 +754,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -877,7 +774,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -887,8 +783,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -897,23 +791,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -923,44 +815,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) - private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsRequest 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; @@ -972,8 +861,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java index 0a97ffe87c64..3e1397a7d79c 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListMeasurementProtocolSecretsRequestOrBuilder - extends +public interface ListMeasurementProtocolSecretsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -66,14 +39,11 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -82,13 +52,10 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -97,8 +64,8 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java similarity index 61% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java index fee2e858d096..cca8847ed940 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse} */ -public final class ListMeasurementProtocolSecretsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMeasurementProtocolSecretsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) ListMeasurementProtocolSecretsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsResponse.newBuilder() to construct. - private ListMeasurementProtocolSecretsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMeasurementProtocolSecretsResponse() { measurementProtocolSecrets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,130 +26,100 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder.class); } public static final int MEASUREMENT_PROTOCOL_SECRETS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - measurementProtocolSecrets_; + private java.util.List measurementProtocolSecrets_; /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public java.util.List - getMeasurementProtocolSecretsList() { + public java.util.List getMeasurementProtocolSecretsList() { return measurementProtocolSecrets_; } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + public java.util.List getMeasurementProtocolSecretsOrBuilderList() { return measurementProtocolSecrets_; } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override public int getMeasurementProtocolSecretsCount() { return measurementProtocolSecrets_.size(); } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets( - int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { return measurementProtocolSecrets_.get(index); } /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + int index) { return measurementProtocolSecrets_.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 @@ -178,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -210,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { output.writeMessage(1, measurementProtocolSecrets_.get(i)); } @@ -239,9 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, measurementProtocolSecrets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, measurementProtocolSecrets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -254,18 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse)) { + if (!(obj instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other = - (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) obj; + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other = (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) obj; - if (!getMeasurementProtocolSecretsList().equals(other.getMeasurementProtocolSecretsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMeasurementProtocolSecretsList() + .equals(other.getMeasurementProtocolSecretsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,139 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( 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.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - 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.v1beta.ListMeasurementProtocolSecretsResponse 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.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder - .class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -438,22 +376,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse build() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = - buildPartial(); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -462,22 +397,17 @@ public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = - new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(this); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { if (measurementProtocolSecretsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = - java.util.Collections.unmodifiableList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = java.util.Collections.unmodifiableList(measurementProtocolSecrets_); bitField0_ = (bitField0_ & ~0x00000001); } result.measurementProtocolSecrets_ = measurementProtocolSecrets_; @@ -486,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -498,52 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListMeasurementProtocolSecretsResponse) { - return mergeFrom( - (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) other); + if (other instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) { + return mergeFrom((com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other) { - if (other - == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other) { + if (other == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.getDefaultInstance()) return this; if (measurementProtocolSecretsBuilder_ == null) { if (!other.measurementProtocolSecrets_.isEmpty()) { if (measurementProtocolSecrets_.isEmpty()) { @@ -562,10 +485,9 @@ public Builder mergeFrom( measurementProtocolSecretsBuilder_ = null; measurementProtocolSecrets_ = other.measurementProtocolSecrets_; bitField0_ = (bitField0_ & ~0x00000001); - measurementProtocolSecretsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMeasurementProtocolSecretsFieldBuilder() - : null; + measurementProtocolSecretsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMeasurementProtocolSecretsFieldBuilder() : null; } else { measurementProtocolSecretsBuilder_.addAllMessages(other.measurementProtocolSecrets_); } @@ -602,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.MeasurementProtocolSecret m = - input.readMessage( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.parser(), - extensionRegistry); - if (measurementProtocolSecretsBuilder_ == null) { - ensureMeasurementProtocolSecretsIsMutable(); - measurementProtocolSecrets_.add(m); - } else { - measurementProtocolSecretsBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.MeasurementProtocolSecret m = + input.readMessage( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.parser(), + extensionRegistry); + if (measurementProtocolSecretsBuilder_ == null) { + ensureMeasurementProtocolSecretsIsMutable(); + measurementProtocolSecrets_.add(m); + } else { + measurementProtocolSecretsBuilder_.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) { @@ -638,40 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - measurementProtocolSecrets_ = java.util.Collections.emptyList(); - + private java.util.List measurementProtocolSecrets_ = + java.util.Collections.emptyList(); private void ensureMeasurementProtocolSecretsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = - new java.util.ArrayList( - measurementProtocolSecrets_); + measurementProtocolSecrets_ = new java.util.ArrayList(measurementProtocolSecrets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretsBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretsBuilder_; /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List - getMeasurementProtocolSecretsList() { + public java.util.List getMeasurementProtocolSecretsList() { if (measurementProtocolSecretsBuilder_ == null) { return java.util.Collections.unmodifiableList(measurementProtocolSecrets_); } else { @@ -679,15 +586,11 @@ private void ensureMeasurementProtocolSecretsIsMutable() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public int getMeasurementProtocolSecretsCount() { if (measurementProtocolSecretsBuilder_ == null) { @@ -697,18 +600,13 @@ public int getMeasurementProtocolSecretsCount() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - getMeasurementProtocolSecrets(int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { return measurementProtocolSecrets_.get(index); } else { @@ -716,15 +614,11 @@ public int getMeasurementProtocolSecretsCount() { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder setMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { @@ -741,19 +635,14 @@ public Builder setMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder setMeasurementProtocolSecrets( - int index, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { + int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.set(index, builderForValue.build()); @@ -764,18 +653,13 @@ public Builder setMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public Builder addMeasurementProtocolSecrets( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder addMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,15 +673,11 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { @@ -814,15 +694,11 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -836,19 +712,14 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addMeasurementProtocolSecrets( - int index, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { + int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.add(index, builderForValue.build()); @@ -859,22 +730,18 @@ public Builder addMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder addAllMeasurementProtocolSecrets( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, measurementProtocolSecrets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, measurementProtocolSecrets_); onChanged(); } else { measurementProtocolSecretsBuilder_.addAllMessages(values); @@ -882,15 +749,11 @@ public Builder addAllMeasurementProtocolSecrets( return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder clearMeasurementProtocolSecrets() { if (measurementProtocolSecretsBuilder_ == null) { @@ -903,15 +766,11 @@ public Builder clearMeasurementProtocolSecrets() { return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ public Builder removeMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { @@ -924,53 +783,39 @@ public Builder removeMeasurementProtocolSecrets(int index) { return this; } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretsBuilder(int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretsBuilder( + int index) { return getMeasurementProtocolSecretsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + int index) { if (measurementProtocolSecretsBuilder_ == null) { - return measurementProtocolSecrets_.get(index); - } else { + return measurementProtocolSecrets_.get(index); } else { return measurementProtocolSecretsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List< - ? extends com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> - getMeasurementProtocolSecretsOrBuilderList() { + public java.util.List + getMeasurementProtocolSecretsOrBuilderList() { if (measurementProtocolSecretsBuilder_ != null) { return measurementProtocolSecretsBuilder_.getMessageOrBuilderList(); } else { @@ -978,67 +823,45 @@ public Builder removeMeasurementProtocolSecrets(int index) { } } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder - addMeasurementProtocolSecretsBuilder() { - return getMeasurementProtocolSecretsFieldBuilder() - .addBuilder( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder() { + return getMeasurementProtocolSecretsFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder - addMeasurementProtocolSecretsBuilder(int index) { - return getMeasurementProtocolSecretsFieldBuilder() - .addBuilder( - index, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder( + int index) { + return getMeasurementProtocolSecretsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); } /** - * - * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - public java.util.List - getMeasurementProtocolSecretsBuilderList() { + public java.util.List + getMeasurementProtocolSecretsBuilderList() { return getMeasurementProtocolSecretsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsFieldBuilder() { if (measurementProtocolSecretsBuilder_ == null) { - measurementProtocolSecretsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + measurementProtocolSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( measurementProtocolSecrets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1050,21 +873,19 @@ public Builder removeMeasurementProtocolSecrets(int index) { 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1073,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1096,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1136,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1170,44 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) - private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsResponse 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; @@ -1219,8 +1025,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java similarity index 55% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java index 1679c5900951..3ad3e496dca6 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java @@ -1,117 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListMeasurementProtocolSecretsResponseOrBuilder - extends +public interface ListMeasurementProtocolSecretsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - java.util.List + java.util.List getMeasurementProtocolSecretsList(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets( - int index); + com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ int getMeasurementProtocolSecretsCount(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - java.util.List + java.util.List getMeasurementProtocolSecretsOrBuilderList(); /** - * - * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretsOrBuilder(int index); + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java similarity index 76% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java index 3e9311c95fa4..b9eca9ac53b5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesRequest} */ -public final class ListPropertiesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPropertiesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListPropertiesRequest) ListPropertiesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPropertiesRequest.newBuilder() to construct. private ListPropertiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPropertiesRequest() { filter_ = ""; pageToken_ = ""; @@ -44,37 +26,33 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesRequest.class, - com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesRequest.class, com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); } public static final int FILTER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -94,7 +72,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -103,15 +80,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -131,15 +107,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -150,8 +127,6 @@ public com.google.protobuf.ByteString getFilterBytes() { 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.
@@ -160,7 +135,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -169,12 +143,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -183,7 +154,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -192,15 +162,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -209,15 +178,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -228,8 +198,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_ = false; /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -237,7 +205,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -246,7 +213,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -284,13 +251,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,18 +269,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListPropertiesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListPropertiesRequest other = - (com.google.analytics.admin.v1beta.ListPropertiesRequest) obj; - - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + com.google.analytics.admin.v1beta.ListPropertiesRequest other = (com.google.analytics.admin.v1beta.ListPropertiesRequest) obj; + + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -330,143 +302,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( 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.v1beta.ListPropertiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListPropertiesRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListPropertiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListPropertiesRequest) com.google.analytics.admin.v1beta.ListPropertiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesRequest.class, - com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesRequest.class, com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListPropertiesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; } @java.lang.Override @@ -500,11 +466,8 @@ public com.google.analytics.admin.v1beta.ListPropertiesRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListPropertiesRequest buildPartial() { - com.google.analytics.admin.v1beta.ListPropertiesRequest result = - new com.google.analytics.admin.v1beta.ListPropertiesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ListPropertiesRequest result = new com.google.analytics.admin.v1beta.ListPropertiesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -529,39 +492,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListPropertiesReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListPropertiesRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesRequest)other); } else { super.mergeFrom(other); return this; @@ -569,8 +531,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListPropertiesRequest other) { - if (other == com.google.analytics.admin.v1beta.ListPropertiesRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListPropertiesRequest.getDefaultInstance()) return this; if (!other.getFilter().isEmpty()) { filter_ = other.filter_; bitField0_ |= 0x00000001; @@ -613,37 +574,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - filter_ = 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 - case 32: - { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + filter_ = 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 + case 32: { + showDeleted_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -653,13 +609,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object filter_ = ""; /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -679,13 +632,13 @@ public Builder mergeFrom(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -694,8 +647,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -715,14 +666,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -730,8 +682,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -751,22 +701,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -786,7 +732,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -796,8 +741,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -817,14 +760,12 @@ public Builder clearFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000001; @@ -832,10 +773,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -844,7 +783,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -852,8 +790,6 @@ 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.
@@ -862,20 +798,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -884,7 +817,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -896,8 +828,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -906,13 +836,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -921,8 +851,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -931,14 +859,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -946,8 +875,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -956,22 +883,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + 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 `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -980,7 +903,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -990,8 +912,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -1000,14 +920,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1015,10 +933,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1026,7 +942,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -1034,8 +949,6 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1043,20 +956,17 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -1064,7 +974,6 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -1073,9 +982,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListPropertiesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListPropertiesRequest) private static final com.google.analytics.admin.v1beta.ListPropertiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListPropertiesRequest(); } @@ -1099,27 +1008,27 @@ public static com.google.analytics.admin.v1beta.ListPropertiesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesRequest 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; @@ -1134,4 +1043,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListPropertiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java similarity index 82% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java index e1a21e48c56a..f6ac045909c3 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListPropertiesRequestOrBuilder - extends +public interface ListPropertiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListPropertiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -45,13 +27,10 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -71,14 +50,12 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -87,14 +64,11 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -103,13 +77,10 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -118,14 +89,12 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -133,7 +102,6 @@ public interface ListPropertiesRequestOrBuilder
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java index 7e851c39f9a8..277582ec968f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesResponse} */ -public final class ListPropertiesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPropertiesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListPropertiesResponse) ListPropertiesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPropertiesResponse.newBuilder() to construct. private ListPropertiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPropertiesResponse() { properties_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesResponse.class, - com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesResponse.class, com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); } public static final int PROPERTIES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List properties_; /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -86,8 +64,6 @@ public java.util.List getPropertiesL return properties_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -95,13 +71,11 @@ public java.util.List getPropertiesL * repeated .google.analytics.admin.v1beta.Property properties = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -113,8 +87,6 @@ public int getPropertiesCount() { return properties_.size(); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -126,8 +98,6 @@ public com.google.analytics.admin.v1beta.Property getProperties(int index) { return properties_.get(index); } /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -135,24 +105,21 @@ public com.google.analytics.admin.v1beta.Property getProperties(int index) { * repeated .google.analytics.admin.v1beta.Property properties = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder(int index) { + public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder( + int index) { return properties_.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 @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < properties_.size(); i++) { output.writeMessage(1, properties_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, properties_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListPropertiesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListPropertiesResponse other = - (com.google.analytics.admin.v1beta.ListPropertiesResponse) obj; + com.google.analytics.admin.v1beta.ListPropertiesResponse other = (com.google.analytics.admin.v1beta.ListPropertiesResponse) obj; - if (!getPropertiesList().equals(other.getPropertiesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPropertiesList() + .equals(other.getPropertiesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( 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.v1beta.ListPropertiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ListPropertiesResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ListPropertiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListPropertiesResponse) com.google.analytics.admin.v1beta.ListPropertiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesResponse.class, - com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesResponse.class, com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListPropertiesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; } @java.lang.Override @@ -435,18 +397,14 @@ public com.google.analytics.admin.v1beta.ListPropertiesResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListPropertiesResponse buildPartial() { - com.google.analytics.admin.v1beta.ListPropertiesResponse result = - new com.google.analytics.admin.v1beta.ListPropertiesResponse(this); + com.google.analytics.admin.v1beta.ListPropertiesResponse result = new com.google.analytics.admin.v1beta.ListPropertiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.ListPropertiesResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListPropertiesResponse result) { if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); @@ -469,39 +427,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListPropertiesRespo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ListPropertiesResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListPropertiesResponse other) { - if (other == com.google.analytics.admin.v1beta.ListPropertiesResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.ListPropertiesResponse.getDefaultInstance()) return this; if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { @@ -529,10 +485,9 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListPropertiesRespons propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); - propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPropertiesFieldBuilder() - : null; + propertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPropertiesFieldBuilder() : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } @@ -569,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.Property m = - input.readMessage( - com.google.analytics.admin.v1beta.Property.parser(), extensionRegistry); - if (propertiesBuilder_ == null) { - ensurePropertiesIsMutable(); - properties_.add(m); - } else { - propertiesBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.Property m = + input.readMessage( + com.google.analytics.admin.v1beta.Property.parser(), + extensionRegistry); + if (propertiesBuilder_ == null) { + ensurePropertiesIsMutable(); + properties_.add(m); + } else { + propertiesBuilder_.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) { @@ -604,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List properties_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - properties_ = - new java.util.ArrayList(properties_); + properties_ = new java.util.ArrayList(properties_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> - propertiesBuilder_; + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertiesBuilder_; /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -641,8 +586,6 @@ public java.util.List getPropertiesL } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -657,8 +600,6 @@ public int getPropertiesCount() { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -673,15 +614,14 @@ public com.google.analytics.admin.v1beta.Property getProperties(int index) { } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public Builder setProperties(int index, com.google.analytics.admin.v1beta.Property value) { + public Builder setProperties( + int index, com.google.analytics.admin.v1beta.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -695,8 +635,6 @@ public Builder setProperties(int index, com.google.analytics.admin.v1beta.Proper return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -715,8 +653,6 @@ public Builder setProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -737,15 +673,14 @@ public Builder addProperties(com.google.analytics.admin.v1beta.Property value) { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public Builder addProperties(int index, com.google.analytics.admin.v1beta.Property value) { + public Builder addProperties( + int index, com.google.analytics.admin.v1beta.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +694,6 @@ public Builder addProperties(int index, com.google.analytics.admin.v1beta.Proper return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -779,8 +712,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -799,8 +730,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -811,7 +740,8 @@ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -819,8 +749,6 @@ public Builder addAllProperties( return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -838,8 +766,6 @@ public Builder clearProperties() { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -857,44 +783,39 @@ public Builder removeProperties(int index) { return this; } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public com.google.analytics.admin.v1beta.Property.Builder getPropertiesBuilder(int index) { + public com.google.analytics.admin.v1beta.Property.Builder getPropertiesBuilder( + int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder(int index) { + public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder( + int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); - } else { + return properties_.get(index); } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List + getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -902,8 +823,6 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilde } } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -911,48 +830,42 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilde * repeated .google.analytics.admin.v1beta.Property properties = 1; */ public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.Property.getDefaultInstance()); + return getPropertiesFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.Property.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder(int index) { - return getPropertiesFieldBuilder() - .addBuilder(index, com.google.analytics.admin.v1beta.Property.getDefaultInstance()); + public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder( + int index) { + return getPropertiesFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.Property.getDefaultInstance()); } /** - * - * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List + getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder>( - properties_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( + properties_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); properties_ = null; } return propertiesBuilder_; @@ -960,21 +873,19 @@ public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder(i 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -983,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1006,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1046,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListPropertiesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListPropertiesResponse) private static final com.google.analytics.admin.v1beta.ListPropertiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListPropertiesResponse(); } @@ -1094,27 +993,27 @@ public static com.google.analytics.admin.v1beta.ListPropertiesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesResponse 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; @@ -1129,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListPropertiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java index b83b2c4620ac..02f17dc7ff8f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListPropertiesResponseOrBuilder - extends +public interface ListPropertiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListPropertiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - java.util.List getPropertiesList(); + java.util.List + getPropertiesList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -44,8 +25,6 @@ public interface ListPropertiesResponseOrBuilder */ com.google.analytics.admin.v1beta.Property getProperties(int index); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -54,51 +33,43 @@ public interface ListPropertiesResponseOrBuilder */ int getPropertiesCount(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** - * - * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder(int index); + com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder( + 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java index d9f8e3bd662e..c20beb084344 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A secret value used for sending hits to Measurement Protocol.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.MeasurementProtocolSecret} */ -public final class MeasurementProtocolSecret extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MeasurementProtocolSecret extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.MeasurementProtocolSecret) MeasurementProtocolSecretOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MeasurementProtocolSecret.newBuilder() to construct. private MeasurementProtocolSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MeasurementProtocolSecret() { name_ = ""; displayName_ = ""; @@ -45,37 +27,33 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -93,15 +70,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -110,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,18 +104,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -147,29 +120,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -178,12 +151,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int SECRET_VALUE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object secretValue_ = ""; /** - * - * *
    * 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
@@ -191,7 +161,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The secretValue. */ @java.lang.Override @@ -200,15 +169,14 @@ public java.lang.String getSecretValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; } } /** - * - * *
    * 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
@@ -216,15 +184,16 @@ public java.lang.String getSecretValue() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretValueBytes() { + public com.google.protobuf.ByteString + getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretValue_ = b; return b; } else { @@ -233,7 +202,6 @@ public com.google.protobuf.ByteString getSecretValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +213,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -281,17 +250,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.MeasurementProtocolSecret)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.MeasurementProtocolSecret other = - (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) obj; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret other = (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getSecretValue().equals(other.getSecretValue())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getSecretValue() + .equals(other.getSecretValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -315,136 +286,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( 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.v1beta.MeasurementProtocolSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.MeasurementProtocolSecret prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A secret value used for sending hits to Measurement Protocol.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.MeasurementProtocolSecret} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.MeasurementProtocolSecret) com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); } // Construct using com.google.analytics.admin.v1beta.MeasurementProtocolSecret.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; } @java.lang.Override @@ -477,11 +441,8 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecret build() { @java.lang.Override public com.google.analytics.admin.v1beta.MeasurementProtocolSecret buildPartial() { - com.google.analytics.admin.v1beta.MeasurementProtocolSecret result = - new com.google.analytics.admin.v1beta.MeasurementProtocolSecret(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.MeasurementProtocolSecret result = new com.google.analytics.admin.v1beta.MeasurementProtocolSecret(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -503,39 +464,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.MeasurementProtocol public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.MeasurementProtocolSecret) { - return mergeFrom((com.google.analytics.admin.v1beta.MeasurementProtocolSecret) other); + return mergeFrom((com.google.analytics.admin.v1beta.MeasurementProtocolSecret)other); } else { super.mergeFrom(other); return this; @@ -543,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.MeasurementProtocolSecret other) { - if (other == com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -586,31 +545,27 @@ public Builder mergeFrom( 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: - { - secretValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + secretValue_ = 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) { @@ -620,13 +575,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -635,13 +587,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -650,8 +602,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -660,14 +610,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -675,8 +626,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -685,22 +634,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + 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 secret. This secret may be a child of any type of
      * stream.
@@ -709,7 +654,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -719,8 +663,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -729,14 +671,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -746,20 +686,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -768,21 +706,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -790,35 +727,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -828,21 +758,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -852,8 +778,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object secretValue_ = ""; /** - * - * *
      * 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
@@ -861,13 +785,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The secretValue. */ public java.lang.String getSecretValue() { java.lang.Object ref = secretValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; @@ -876,8 +800,6 @@ 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
@@ -885,14 +807,15 @@ public java.lang.String getSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ - public com.google.protobuf.ByteString getSecretValueBytes() { + public com.google.protobuf.ByteString + getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretValue_ = b; return b; } else { @@ -900,8 +823,6 @@ 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
@@ -909,22 +830,18 @@ public com.google.protobuf.ByteString getSecretValueBytes() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return 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
@@ -932,7 +849,6 @@ public Builder setSecretValue(java.lang.String value) {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSecretValue() { @@ -942,8 +858,6 @@ public Builder clearSecretValue() { return 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
@@ -951,23 +865,21 @@ public Builder clearSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,12 +889,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.MeasurementProtocolSecret) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.MeasurementProtocolSecret) private static final com.google.analytics.admin.v1beta.MeasurementProtocolSecret DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.MeasurementProtocolSecret(); } @@ -991,27 +903,27 @@ public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MeasurementProtocolSecret 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MeasurementProtocolSecret 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; @@ -1026,4 +938,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java index d250e4e8189f..284fd80164eb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface MeasurementProtocolSecretOrBuilder - extends +public interface MeasurementProtocolSecretOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.MeasurementProtocolSecret) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -34,13 +16,10 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -49,39 +28,32 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + 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
@@ -89,13 +61,10 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The secretValue. */ 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
@@ -103,8 +72,8 @@ public interface MeasurementProtocolSecretOrBuilder
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for secretValue. */ - com.google.protobuf.ByteString getSecretValueBytes(); + com.google.protobuf.ByteString + getSecretValueBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java similarity index 69% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java index c7dbe7ba3a84..a627aea26af2 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A resource message representing a Google Analytics GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.Property} */ -public final class Property extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Property extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.Property) PropertyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Property.newBuilder() to construct. private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Property() { name_ = ""; propertyType_ = 0; @@ -51,37 +33,33 @@ private Property() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Property(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Property_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Property.class, - com.google.analytics.admin.v1beta.Property.Builder.class); + com.google.analytics.admin.v1beta.Property.class, com.google.analytics.admin.v1beta.Property.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -89,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -98,15 +75,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -114,15 +90,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -133,8 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 14; private int propertyType_ = 0; /** - * - * *
    * Immutable. The property type for this Property resource. When creating a property, if
    * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -142,19 +117,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * via Google Analytics Admin API.
    * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
    * Immutable. The property type for this Property resource. When creating a property, if
    * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -162,31 +131,22 @@ public int getPropertyTypeValue() {
    * via Google Analytics Admin API.
    * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The propertyType. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = - com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { + com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -194,15 +154,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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]; * @return The createTime. */ @java.lang.Override @@ -210,14 +166,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -227,15 +180,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -243,15 +192,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * 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]; * @return The updateTime. */ @java.lang.Override @@ -259,14 +204,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -274,12 +216,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int PARENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -288,7 +227,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ @java.lang.Override @@ -297,15 +235,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -314,15 +251,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -331,19 +269,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -352,30 +286,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -386,49 +320,35 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 6; private int industryCategory_ = 0; /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override - public int getIndustryCategoryValue() { + @java.lang.Override public int getIndustryCategoryValue() { return industryCategory_; } /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @return The industryCategory. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1beta.IndustryCategory result = - com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); - return result == null - ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED - : result; + @java.lang.Override public com.google.analytics.admin.v1beta.IndustryCategory getIndustryCategory() { + com.google.analytics.admin.v1beta.IndustryCategory result = com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); + return result == null ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED : result; } public static final int TIME_ZONE_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object timeZone_ = ""; /** - * - * *
    * 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
@@ -440,7 +360,6 @@ public com.google.analytics.admin.v1beta.IndustryCategory getIndustryCategory()
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ @java.lang.Override @@ -449,15 +368,14 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** - * - * *
    * 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
@@ -469,15 +387,16 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -486,12 +405,9 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { } public static final int CURRENCY_CODE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object currencyCode_ = ""; /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -499,7 +415,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ @java.lang.Override @@ -508,15 +423,14 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -524,15 +438,16 @@ public java.lang.String getCurrencyCode() {
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -543,55 +458,38 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { public static final int SERVICE_LEVEL_FIELD_NUMBER = 10; private int serviceLevel_ = 0; /** - * - * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override - public int getServiceLevelValue() { + @java.lang.Override public int getServiceLevelValue() { return serviceLevel_; } /** - * - * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The serviceLevel. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1beta.ServiceLevel result = - com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); + @java.lang.Override public com.google.analytics.admin.v1beta.ServiceLevel getServiceLevel() { + com.google.analytics.admin.v1beta.ServiceLevel result = com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1beta.ServiceLevel.UNRECOGNIZED : result; } public static final int DELETE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -599,16 +497,12 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -616,15 +510,12 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -634,17 +525,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -652,17 +539,13 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -670,16 +553,13 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -687,22 +567,16 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } public static final int ACCOUNT_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The account. */ @java.lang.Override @@ -711,33 +585,31 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -746,7 +618,6 @@ public com.google.protobuf.ByteString getAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -758,7 +629,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -774,9 +646,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (industryCategory_ - != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED - .getNumber()) { + if (industryCategory_ != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { output.writeEnum(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { @@ -785,8 +655,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, currencyCode_); } - if (serviceLevel_ - != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + if (serviceLevel_ != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(10, serviceLevel_); } if (deleteTime_ != null) { @@ -798,8 +667,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, account_); } - if (propertyType_ - != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(14, propertyType_); } getUnknownFields().writeTo(output); @@ -818,18 +686,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (industryCategory_ - != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, industryCategory_); + if (industryCategory_ != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, timeZone_); @@ -837,22 +706,24 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); } - if (serviceLevel_ - != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, serviceLevel_); + if (serviceLevel_ != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, serviceLevel_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, account_); } - if (propertyType_ - != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, propertyType_); + if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, propertyType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -862,39 +733,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.Property)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.Property other = - (com.google.analytics.admin.v1beta.Property) obj; + com.google.analytics.admin.v1beta.Property other = (com.google.analytics.admin.v1beta.Property) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (propertyType_ != other.propertyType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getParent().equals(other.getParent())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (industryCategory_ != other.industryCategory_) return false; - if (!getTimeZone().equals(other.getTimeZone())) return false; - if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; + if (!getTimeZone() + .equals(other.getTimeZone())) return false; + if (!getCurrencyCode() + .equals(other.getCurrencyCode())) return false; if (serviceLevel_ != other.serviceLevel_) return false; if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -945,136 +825,130 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.Property parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.Property parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.Property parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Property parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.Property parseFrom( 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.v1beta.Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.Property parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Property parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.Property parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.Property parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.Property parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.Property parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Property parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.Property parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.Property prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource message representing a Google Analytics GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.Property} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.Property) com.google.analytics.admin.v1beta.PropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Property_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Property.class, - com.google.analytics.admin.v1beta.Property.Builder.class); + com.google.analytics.admin.v1beta.Property.class, com.google.analytics.admin.v1beta.Property.Builder.class); } // Construct using com.google.analytics.admin.v1beta.Property.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1112,9 +986,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_Property_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_descriptor; } @java.lang.Override @@ -1133,11 +1007,8 @@ public com.google.analytics.admin.v1beta.Property build() { @java.lang.Override public com.google.analytics.admin.v1beta.Property buildPartial() { - com.google.analytics.admin.v1beta.Property result = - new com.google.analytics.admin.v1beta.Property(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.Property result = new com.google.analytics.admin.v1beta.Property(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1151,10 +1022,14 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Property result) { result.propertyType_ = propertyType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.parent_ = parent_; @@ -1175,10 +1050,14 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Property result) { result.serviceLevel_ = serviceLevel_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null + ? deleteTime_ + : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.account_ = account_; @@ -1189,39 +1068,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Property result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.Property) { - return mergeFrom((com.google.analytics.admin.v1beta.Property) other); + return mergeFrom((com.google.analytics.admin.v1beta.Property)other); } else { super.mergeFrom(other); return this; @@ -1307,91 +1185,85 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: - { - industryCategory_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - timeZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - currencyCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 66 - case 80: - { - serviceLevel_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: - { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: - { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 112 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: { + industryCategory_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + timeZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + currencyCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 80: { + serviceLevel_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + input.readMessage( + getDeleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 112 + 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) { @@ -1401,13 +1273,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1415,13 +1284,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1430,8 +1299,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1439,14 +1306,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1454,8 +1322,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1463,22 +1329,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + 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 property.
      * Format: properties/{property_id}
@@ -1486,7 +1348,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1496,8 +1357,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1505,14 +1364,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1522,8 +1379,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int propertyType_ = 0; /** - * - * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1531,19 +1386,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * via Google Analytics Admin API.
      * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1551,10 +1400,7 @@ public int getPropertyTypeValue() {
      * via Google Analytics Admin API.
      * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -1565,8 +1411,6 @@ public Builder setPropertyTypeValue(int value) { return this; } /** - * - * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1574,21 +1418,15 @@ public Builder setPropertyTypeValue(int value) {
      * via Google Analytics Admin API.
      * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = - com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1596,10 +1434,7 @@ public com.google.analytics.admin.v1beta.PropertyType getPropertyType() {
      * via Google Analytics Admin API.
      * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The propertyType to set. * @return This builder for chaining. */ @@ -1613,8 +1448,6 @@ public Builder setPropertyType(com.google.analytics.admin.v1beta.PropertyType va return this; } /** - * - * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1622,10 +1455,7 @@ public Builder setPropertyType(com.google.analytics.admin.v1beta.PropertyType va
      * via Google Analytics Admin API.
      * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -1637,58 +1467,39 @@ public Builder clearPropertyType() { 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1704,17 +1515,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1725,21 +1533,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1752,15 +1556,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1773,15 +1573,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1789,48 +1585,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1838,58 +1622,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1905,17 +1670,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1926,21 +1688,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1953,15 +1711,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1974,15 +1728,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1990,48 +1740,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2039,8 +1777,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2049,13 +1785,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -2064,8 +1800,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2074,14 +1808,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -2089,8 +1824,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2099,22 +1832,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2123,7 +1852,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -2133,8 +1861,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -2143,14 +1869,12 @@ public Builder clearParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @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(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -2160,21 +1884,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2183,22 +1905,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2206,37 +1927,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2246,22 +1960,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -2271,31 +1981,24 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int industryCategory_ = 0; /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override - public int getIndustryCategoryValue() { + @java.lang.Override public int getIndustryCategoryValue() { return industryCategory_; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @param value The enum numeric value on the wire for industryCategory to set. * @return This builder for chaining. */ @@ -2306,35 +2009,26 @@ public Builder setIndustryCategoryValue(int value) { return this; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @return The industryCategory. */ @java.lang.Override public com.google.analytics.admin.v1beta.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1beta.IndustryCategory result = - com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); - return result == null - ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED - : result; + com.google.analytics.admin.v1beta.IndustryCategory result = com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); + return result == null ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED : result; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @param value The industryCategory to set. * @return This builder for chaining. */ @@ -2348,15 +2042,12 @@ public Builder setIndustryCategory(com.google.analytics.admin.v1beta.IndustryCat return this; } /** - * - * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @return This builder for chaining. */ public Builder clearIndustryCategory() { @@ -2368,8 +2059,6 @@ public Builder clearIndustryCategory() { private java.lang.Object timeZone_ = ""; /** - * - * *
      * 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
@@ -2381,13 +2070,13 @@ public Builder clearIndustryCategory() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -2396,8 +2085,6 @@ 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
@@ -2409,14 +2096,15 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -2424,8 +2112,6 @@ 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
@@ -2437,22 +2123,18 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTimeZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } timeZone_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * 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
@@ -2464,7 +2146,6 @@ public Builder setTimeZone(java.lang.String value) {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -2474,8 +2155,6 @@ public Builder clearTimeZone() { return this; } /** - * - * *
      * 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
@@ -2487,14 +2166,12 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTimeZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timeZone_ = value; bitField0_ |= 0x00000080; @@ -2504,8 +2181,6 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object currencyCode_ = ""; /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2513,13 +2188,13 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string currency_code = 8; - * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -2528,8 +2203,6 @@ public java.lang.String getCurrencyCode() { } } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2537,14 +2210,15 @@ public java.lang.String getCurrencyCode() {
      * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -2552,8 +2226,6 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { } } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2561,22 +2233,18 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() {
      * 
* * string currency_code = 8; - * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCurrencyCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } currencyCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2584,7 +2252,6 @@ public Builder setCurrencyCode(java.lang.String value) {
      * 
* * string currency_code = 8; - * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -2594,8 +2261,6 @@ public Builder clearCurrencyCode() { return this; } /** - * - * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2603,14 +2268,12 @@ public Builder clearCurrencyCode() {
      * 
* * string currency_code = 8; - * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCurrencyCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); currencyCode_ = value; bitField0_ |= 0x00000100; @@ -2620,33 +2283,22 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { private int serviceLevel_ = 0; /** - * - * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override - public int getServiceLevelValue() { + @java.lang.Override public int getServiceLevelValue() { return serviceLevel_; } /** - * - * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for serviceLevel to set. * @return This builder for chaining. */ @@ -2657,35 +2309,24 @@ public Builder setServiceLevelValue(int value) { return this; } /** - * - * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The serviceLevel. */ @java.lang.Override public com.google.analytics.admin.v1beta.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1beta.ServiceLevel result = - com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); + com.google.analytics.admin.v1beta.ServiceLevel result = com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1beta.ServiceLevel.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The serviceLevel to set. * @return This builder for chaining. */ @@ -2699,16 +2340,11 @@ public Builder setServiceLevel(com.google.analytics.admin.v1beta.ServiceLevel va return this; } /** - * - * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearServiceLevel() { @@ -2720,61 +2356,42 @@ public Builder clearServiceLevel() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * 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]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -2790,18 +2407,15 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -2812,22 +2426,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -2840,16 +2450,12 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2862,16 +2468,12 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000400; @@ -2879,50 +2481,38 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -2930,64 +2520,45 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * 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]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -3003,19 +2574,16 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -3026,23 +2594,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -3055,17 +2619,13 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3078,17 +2638,13 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000800; @@ -3096,52 +2652,40 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * 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]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -3149,24 +2693,20 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object account_ = ""; /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -3175,25 +2715,22 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -3201,43 +2738,32 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAccount() { @@ -3247,34 +2773,28 @@ public Builder clearAccount() { return this; } /** - * - * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3284,12 +2804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.Property) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.Property) private static final com.google.analytics.admin.v1beta.Property DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.Property(); } @@ -3298,27 +2818,27 @@ public static com.google.analytics.admin.v1beta.Property getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Property 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Property 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; @@ -3333,4 +2853,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java similarity index 77% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java index 8b84687a37e7..3744c8ebaf63 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface PropertyOrBuilder - extends +public interface PropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.Property) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -33,13 +15,10 @@ public interface PropertyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -47,14 +26,12 @@ public interface PropertyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + 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
@@ -62,16 +39,11 @@ public interface PropertyOrBuilder
    * via Google Analytics Admin API.
    * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for propertyType. */ 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
@@ -79,93 +51,66 @@ public interface PropertyOrBuilder
    * via Google Analytics Admin API.
    * 
* - * - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; * @return The propertyType. */ com.google.analytics.admin.v1beta.PropertyType getPropertyType(); /** - * - * *
    * 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]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * 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]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -174,13 +119,10 @@ public interface PropertyOrBuilder
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -189,68 +131,55 @@ public interface PropertyOrBuilder
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** - * - * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * * @return The industryCategory. */ com.google.analytics.admin.v1beta.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
@@ -262,13 +191,10 @@ public interface PropertyOrBuilder
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The timeZone. */ 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
@@ -280,14 +206,12 @@ public interface PropertyOrBuilder
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString getTimeZoneBytes(); + com.google.protobuf.ByteString + getTimeZoneBytes(); /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -295,13 +219,10 @@ public interface PropertyOrBuilder
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** - * - * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -309,155 +230,114 @@ public interface PropertyOrBuilder
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); + com.google.protobuf.ByteString + getCurrencyCodeBytes(); /** - * - * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for serviceLevel. */ int getServiceLevelValue(); /** - * - * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The serviceLevel. */ com.google.analytics.admin.v1beta.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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ 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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ 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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java index 429118f24996..9c61a82878a7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * A virtual resource representing metadata for a GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.PropertySummary} */ -public final class PropertySummary extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PropertySummary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.PropertySummary) PropertySummaryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PropertySummary.newBuilder() to construct. private PropertySummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PropertySummary() { property_ = ""; displayName_ = ""; @@ -46,37 +28,33 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PropertySummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.PropertySummary.class, - com.google.analytics.admin.v1beta.PropertySummary.Builder.class); + com.google.analytics.admin.v1beta.PropertySummary.class, com.google.analytics.admin.v1beta.PropertySummary.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ @java.lang.Override @@ -93,15 +70,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -109,15 +85,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -126,18 +103,14 @@ public com.google.protobuf.ByteString getPropertyBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -146,29 +119,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -179,45 +152,33 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 3; private int propertyType_ = 0; /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @return The propertyType. */ - @java.lang.Override - public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = - com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { + com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } public static final int PARENT_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -226,7 +187,6 @@ public com.google.analytics.admin.v1beta.PropertyType getPropertyType() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -235,15 +195,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -252,15 +211,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -269,7 +229,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,15 +240,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (propertyType_ - != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { @@ -310,9 +269,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (propertyType_ - != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, propertyType_); + if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, parent_); @@ -325,18 +284,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.PropertySummary)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.PropertySummary other = - (com.google.analytics.admin.v1beta.PropertySummary) obj; + com.google.analytics.admin.v1beta.PropertySummary other = (com.google.analytics.admin.v1beta.PropertySummary) obj; - if (!getProperty().equals(other.getProperty())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (propertyType_ != other.propertyType_) return false; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,135 +323,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( 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.v1beta.PropertySummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.PropertySummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.PropertySummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.PropertySummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.PropertySummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A virtual resource representing metadata for a GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.PropertySummary} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.PropertySummary) com.google.analytics.admin.v1beta.PropertySummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.PropertySummary.class, - com.google.analytics.admin.v1beta.PropertySummary.Builder.class); + com.google.analytics.admin.v1beta.PropertySummary.class, com.google.analytics.admin.v1beta.PropertySummary.Builder.class); } // Construct using com.google.analytics.admin.v1beta.PropertySummary.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +458,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto - .internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; } @java.lang.Override @@ -524,11 +479,8 @@ public com.google.analytics.admin.v1beta.PropertySummary build() { @java.lang.Override public com.google.analytics.admin.v1beta.PropertySummary buildPartial() { - com.google.analytics.admin.v1beta.PropertySummary result = - new com.google.analytics.admin.v1beta.PropertySummary(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.PropertySummary result = new com.google.analytics.admin.v1beta.PropertySummary(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,39 +505,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.PropertySummary res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.PropertySummary) { - return mergeFrom((com.google.analytics.admin.v1beta.PropertySummary) other); + return mergeFrom((com.google.analytics.admin.v1beta.PropertySummary)other); } else { super.mergeFrom(other); return this; @@ -593,8 +544,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.PropertySummary other) { - if (other == com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -639,37 +589,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -679,13 +624,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -693,13 +635,13 @@ public Builder mergeFrom(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -708,8 +650,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -717,14 +657,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -732,8 +673,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -741,22 +680,18 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProperty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -764,7 +699,6 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearProperty() { @@ -774,8 +708,6 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -783,14 +715,12 @@ public Builder clearProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @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(); - } + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -800,20 +730,18 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -822,21 +750,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -844,35 +771,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -882,21 +802,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -906,29 +822,22 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int propertyType_ = 0; /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override - public int getPropertyTypeValue() { + @java.lang.Override public int getPropertyTypeValue() { return propertyType_; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -939,31 +848,24 @@ public Builder setPropertyTypeValue(int value) { return this; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = - com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @param value The propertyType to set. * @return This builder for chaining. */ @@ -977,14 +879,11 @@ public Builder setPropertyType(com.google.analytics.admin.v1beta.PropertyType va return this; } /** - * - * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -996,8 +895,6 @@ public Builder clearPropertyType() { private java.lang.Object parent_ = ""; /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1006,13 +903,13 @@ public Builder clearPropertyType() {
      * 
* * string parent = 4; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1021,8 +918,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1031,14 +926,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1046,8 +942,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1056,22 +950,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 4; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1080,7 +970,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 4; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1090,8 +979,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1100,23 +987,21 @@ public Builder clearParent() {
      * 
* * string parent = 4; - * * @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(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.PropertySummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.PropertySummary) private static final com.google.analytics.admin.v1beta.PropertySummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.PropertySummary(); } @@ -1140,27 +1025,27 @@ public static com.google.analytics.admin.v1beta.PropertySummary getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertySummary 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertySummary 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; @@ -1175,4 +1060,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.PropertySummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java similarity index 73% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java index 313fff0f2dc2..37a93295b89f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface PropertySummaryOrBuilder - extends +public interface PropertySummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.PropertySummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -33,13 +15,10 @@ public interface PropertySummaryOrBuilder
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -47,64 +26,51 @@ public interface PropertySummaryOrBuilder
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @return The enum numeric value on the wire for propertyType. */ int getPropertyTypeValue(); /** - * - * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; - * * @return The propertyType. */ com.google.analytics.admin.v1beta.PropertyType getPropertyType(); /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -113,13 +79,10 @@ public interface PropertySummaryOrBuilder
    * 
* * string parent = 4; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -128,8 +91,8 @@ public interface PropertySummaryOrBuilder
    * 
* * string parent = 4; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java index 9914dfa2dfcc..054b81c31a6a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Types of Property resources.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.PropertyType} */ -public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { +public enum PropertyType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unknown or unspecified property type
    * 
@@ -39,8 +21,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ PROPERTY_TYPE_UNSPECIFIED(0), /** - * - * *
    * Ordinary GA4 property
    * 
@@ -49,8 +29,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ PROPERTY_TYPE_ORDINARY(1), /** - * - * *
    * GA4 subproperty
    * 
@@ -59,8 +37,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ PROPERTY_TYPE_SUBPROPERTY(2), /** - * - * *
    * GA4 rollup property
    * 
@@ -72,8 +48,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unknown or unspecified property type
    * 
@@ -82,8 +56,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Ordinary GA4 property
    * 
@@ -92,8 +64,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_ORDINARY_VALUE = 1; /** - * - * *
    * GA4 subproperty
    * 
@@ -102,8 +72,6 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_SUBPROPERTY_VALUE = 2; /** - * - * *
    * GA4 rollup property
    * 
@@ -112,6 +80,7 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPERTY_TYPE_ROLLUP_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static PropertyType valueOf(int value) { */ public static PropertyType forNumber(int value) { switch (value) { - case 0: - return PROPERTY_TYPE_UNSPECIFIED; - case 1: - return PROPERTY_TYPE_ORDINARY; - case 2: - return PROPERTY_TYPE_SUBPROPERTY; - case 3: - return PROPERTY_TYPE_ROLLUP; - default: - return null; + case 0: return PROPERTY_TYPE_UNSPECIFIED; + case 1: return PROPERTY_TYPE_ORDINARY; + case 2: return PROPERTY_TYPE_SUBPROPERTY; + case 3: return PROPERTY_TYPE_ROLLUP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PropertyType findValueByNumber(int number) { - return PropertyType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PropertyType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PropertyType findValueByNumber(int number) { + return PropertyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(5); } private static final PropertyType[] VALUES = values(); - public static PropertyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PropertyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,3 +164,4 @@ private PropertyType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.PropertyType) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java index 56a10505916a..c96bb692a6ee 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketRequest} */ -public final class ProvisionAccountTicketRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionAccountTicketRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) ProvisionAccountTicketRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketRequest.newBuilder() to construct. private ProvisionAccountTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionAccountTicketRequest() { redirectUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionAccountTicketRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Account account_; /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return Whether the account field is set. */ @java.lang.Override @@ -85,25 +63,18 @@ public boolean hasAccount() { return account_ != null; } /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1beta.Account getAccount() { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } /** - * - * *
    * The account to create.
    * 
@@ -112,25 +83,19 @@ public com.google.analytics.admin.v1beta.Account getAccount() { */ @java.lang.Override public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } public static final int REDIRECT_URI_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object redirectUri_ = ""; /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ @java.lang.Override @@ -139,30 +104,30 @@ public java.lang.String getRedirectUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; } } /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRedirectUriBytes() { + public com.google.protobuf.ByteString + getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -171,7 +136,6 @@ public com.google.protobuf.ByteString getRedirectUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -200,7 +165,8 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redirectUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, redirectUri_); @@ -213,19 +179,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other = - (com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) obj; + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other = (com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; } - if (!getRedirectUri().equals(other.getRedirectUri())) return false; + if (!getRedirectUri() + .equals(other.getRedirectUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( 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.v1beta.ProvisionAccountTicketRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) com.google.analytics.admin.v1beta.ProvisionAccountTicketRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,14 +353,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance(); } @@ -415,20 +374,18 @@ public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest buildPartial() { - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result = - new com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result = new com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); + result.account_ = accountBuilder_ == null + ? account_ + : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.redirectUri_ = redirectUri_; @@ -439,50 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ProvisionAccountTicketRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other) { - if (other - == com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other) { + if (other == com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -517,25 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - redirectUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAccountFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + redirectUri_ = 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) { @@ -545,52 +497,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder> - accountBuilder_; + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountBuilder_; /** - * - * *
      * The account to create.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The account to create.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return The account. */ public com.google.analytics.admin.v1beta.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** - * - * *
      * The account to create.
      * 
@@ -611,15 +549,14 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** - * - * *
      * The account to create.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; */ - public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder setAccount( + com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -630,8 +567,6 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder buil return this; } /** - * - * *
      * The account to create.
      * 
@@ -640,9 +575,9 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder buil */ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && account_ != null - && account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + account_ != null && + account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -655,8 +590,6 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** - * - * *
      * The account to create.
      * 
@@ -674,8 +607,6 @@ public Builder clearAccount() { return this; } /** - * - * *
      * The account to create.
      * 
@@ -688,8 +619,6 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** - * - * *
      * The account to create.
      * 
@@ -700,14 +629,11 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? + com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } } /** - * - * *
      * The account to create.
      * 
@@ -715,17 +641,14 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1beta.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder>( - getAccount(), getParentForChildren(), isClean()); + accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( + getAccount(), + getParentForChildren(), + isClean()); account_ = null; } return accountBuilder_; @@ -733,21 +656,19 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() private java.lang.Object redirectUri_ = ""; /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ public java.lang.String getRedirectUri() { java.lang.Object ref = redirectUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; @@ -756,22 +677,21 @@ public java.lang.String getRedirectUri() { } } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ - public com.google.protobuf.ByteString getRedirectUriBytes() { + public com.google.protobuf.ByteString + getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -779,37 +699,30 @@ public com.google.protobuf.ByteString getRedirectUriBytes() { } } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @param value The redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRedirectUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @return This builder for chaining. */ public Builder clearRedirectUri() { @@ -819,31 +732,27 @@ public Builder clearRedirectUri() { return this; } /** - * - * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; - * * @param value The bytes for redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRedirectUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -853,43 +762,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) - private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest(); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketRequest 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; @@ -901,8 +808,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java index 9e8f616308ce..a235c08db140 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ProvisionAccountTicketRequestOrBuilder - extends +public interface ProvisionAccountTicketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return Whether the account field is set. */ boolean hasAccount(); /** - * - * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; - * * @return The account. */ com.google.analytics.admin.v1beta.Account getAccount(); /** - * - * *
    * The account to create.
    * 
@@ -59,29 +35,24 @@ public interface ProvisionAccountTicketRequestOrBuilder com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder(); /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The redirectUri. */ java.lang.String getRedirectUri(); /** - * - * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; - * * @return The bytes for redirectUri. */ - com.google.protobuf.ByteString getRedirectUriBytes(); + com.google.protobuf.ByteString + getRedirectUriBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java similarity index 63% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java index 26d7a5b30f22..01db5bdea1de 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java @@ -1,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketResponse} */ -public final class ProvisionAccountTicketResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionAccountTicketResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) ProvisionAccountTicketResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketResponse.newBuilder() to construct. - private ProvisionAccountTicketResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvisionAccountTicketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionAccountTicketResponse() { accountTicketId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionAccountTicketResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); } public static final int ACCOUNT_TICKET_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object accountTicketId_ = ""; /** - * - * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; - * * @return The accountTicketId. */ @java.lang.Override @@ -89,29 +65,29 @@ public java.lang.String getAccountTicketId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; } } /** - * - * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; - * * @return The bytes for accountTicketId. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountTicketIdBytes() { + public com.google.protobuf.ByteString + getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -120,7 +96,6 @@ public com.google.protobuf.ByteString getAccountTicketIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountTicketId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountTicketId_); } @@ -156,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other = - (com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse) obj; + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other = (com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse) obj; - if (!getAccountTicketId().equals(other.getAccountTicketId())) return false; + if (!getAccountTicketId() + .equals(other.getAccountTicketId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +160,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( 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.v1beta.ProvisionAccountTicketResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) com.google.analytics.admin.v1beta.ProvisionAccountTicketResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,14 +292,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance(); } @@ -345,17 +313,13 @@ public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse build() @java.lang.Override public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse buildPartial() { - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result = - new com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result = new com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result) { + private void buildPartial0(com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accountTicketId_ = accountTicketId_; @@ -366,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.ProvisionAccountTicketResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other) { - if (other - == com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other) { + if (other == com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance()) return this; if (!other.getAccountTicketId().isEmpty()) { accountTicketId_ = other.accountTicketId_; bitField0_ |= 0x00000001; @@ -441,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - accountTicketId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + accountTicketId_ = 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) { @@ -463,25 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object accountTicketId_ = ""; /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @return The accountTicketId. */ public java.lang.String getAccountTicketId() { java.lang.Object ref = accountTicketId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; @@ -490,21 +445,20 @@ public java.lang.String getAccountTicketId() { } } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @return The bytes for accountTicketId. */ - public com.google.protobuf.ByteString getAccountTicketIdBytes() { + public com.google.protobuf.ByteString + getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -512,35 +466,28 @@ public com.google.protobuf.ByteString getAccountTicketIdBytes() { } } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @param value The accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountTicketId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @return This builder for chaining. */ public Builder clearAccountTicketId() { @@ -550,30 +497,26 @@ public Builder clearAccountTicketId() { return this; } /** - * - * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; - * * @param value The bytes for accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountTicketIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -583,43 +526,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) - private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse(); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketResponse 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; @@ -631,8 +572,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java new file mode 100644 index 000000000000..a36b49d849a6 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface ProvisionAccountTicketResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * @return The accountTicketId. + */ + java.lang.String getAccountTicketId(); + /** + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * @return The bytes for accountTicketId. + */ + com.google.protobuf.ByteString + getAccountTicketIdBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java new file mode 100644 index 000000000000..6df050befa39 --- /dev/null +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java @@ -0,0 +1,473 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/resources.proto + +package com.google.analytics.admin.v1beta; + +public final class ResourcesProto { + private ResourcesProto() {} + 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_v1beta_Account_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_Property_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/analytics/admin/v1beta/resource" + + "s.proto\022\035google.analytics.admin.v1beta\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032\037google/protobuf/time" + + "stamp.proto\032\036google/protobuf/wrappers.pr" + + "oto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cr" + + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" + + "rotobuf.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\007delete" + + "d\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.google" + + "apis.com/Account\022\022accounts/{account}\"\266\005\n" + + "\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\rproperty" + + "_type\030\016 \001(\0162+.google.analytics.admin.v1b" + + "eta.PropertyTypeB\003\340A\005\0224\n\013create_time\030\003 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + + "pdate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022\031\n\014displa" + + "y_name\030\005 \001(\tB\003\340A\002\022J\n\021industry_category\030\006" + + " \001(\0162/.google.analytics.admin.v1beta.Ind" + + "ustryCategory\022\026\n\ttime_zone\030\007 \001(\tB\003\340A\002\022\025\n" + + "\rcurrency_code\030\010 \001(\t\022G\n\rservice_level\030\n " + + "\001(\0162+.google.analytics.admin.v1beta.Serv" + + "iceLevelB\003\340A\003\0224\n\013delete_time\030\013 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0224\n\013expire_ti" + + "me\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%analyticsadm" + + "in.googleapis.com/Account:B\352A?\n&analytic" + + "sadmin.googleapis.com/Property\022\025properti" + + "es/{property}\"\365\007\n\nDataStream\022R\n\017web_stre" + + "am_data\030\006 \001(\01327.google.analytics.admin.v" + + "1beta.DataStream.WebStreamDataH\000\022a\n\027andr" + + "oid_app_stream_data\030\007 \001(\0132>.google.analy" + + "tics.admin.v1beta.DataStream.AndroidAppS" + + "treamDataH\000\022Y\n\023ios_app_stream_data\030\010 \001(\013" + + "2:.google.analytics.admin.v1beta.DataStr" + + "eam.IosAppStreamDataH\000\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022N\n\004type\030\002 \001(\01628.google.analytics.admin" + + ".v1beta.DataStream.DataStreamTypeB\006\340A\005\340A" + + "\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_time\030\004" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\032d\n\rWebStreamData\022\033\n\016measurem" + + "ent_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\002 \001" + + "(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340A\005\032O\n\024And" + + "roidAppStreamData\022\034\n\017firebase_app_id\030\001 \001" + + "(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\005\032K\n\020Io" + + "sAppStreamData\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\016DataS" + + "treamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFIE" + + "D\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(analyticsadmin.googleapis.com/DataS" + + "tream\022/properties/{property}/dataStreams" + + "/{data_stream}B\r\n\013stream_data\"\323\001\n\014Fireba" + + "seLink\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_time\030\003 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003:d\352Aa\n*analyticsadm" + + "in.googleapis.com/FirebaseLink\0223properti" + + "es/{property}/firebaseLinks/{firebase_li" + + "nk}\"\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\033ads_personalizati" + + "on_enabled\030\005 \001(\0132\032.google.protobuf.BoolV" + + "alue\0224\n\013create_time\030\007 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022\"\n\025crea" + + "tor_email_address\030\t \001(\tB\003\340A\003:h\352Ae\n+analy" + + "ticsadmin.googleapis.com/GoogleAdsLink\0226" + + "properties/{property}/googleAdsLinks/{go" + + "ogle_ads_link}\"\353\002\n\023DataSharingSettings\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\003\022+\n#sharing_with_google" + + "_support_enabled\030\002 \001(\010\0222\n*sharing_with_g" + + "oogle_assigned_sales_enabled\030\003 \001(\010\022-\n%sh" + + "aring_with_google_any_sales_enabled\030\004 \001(" + + "\010\022,\n$sharing_with_google_products_enable" + + "d\030\005 \001(\010\022#\n\033sharing_with_others_enabled\030\006" + + " \001(\010:^\352A[\n1analyticsadmin.googleapis.com" + + "/DataSharingSettings\022&accounts/{account}" + + "/dataSharingSettings\"\224\002\n\016AccountSummary\022" + + "\014\n\004name\030\001 \001(\t\022;\n\007account\030\002 \001(\tB*\372A\'\n%ana" + + "lyticsadmin.googleapis.com/Account\022\024\n\014di" + + "splay_name\030\003 \001(\t\022J\n\022property_summaries\030\004" + + " \003(\0132..google.analytics.admin.v1beta.Pro" + + "pertySummary:U\352AR\n,analyticsadmin.google" + + "apis.com/AccountSummary\022\"accountSummarie" + + "s/{account_summary}\"\272\001\n\017PropertySummary\022" + + "=\n\010property\030\001 \001(\tB+\372A(\n&analyticsadmin.g" + + "oogleapis.com/Property\022\024\n\014display_name\030\002" + + " \001(\t\022B\n\rproperty_type\030\003 \001(\0162+.google.ana" + + "lytics.admin.v1beta.PropertyType\022\016\n\006pare" + + "nt\030\004 \001(\t\"\216\002\n\031MeasurementProtocolSecret\022\021" + + "\n\004name\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\n7" + + "analyticsadmin.googleapis.com/Measuremen" + + "tProtocolSecret\022hproperties/{property}/d" + + "ataStreams/{data_stream}/measurementProt" + + "ocolSecrets/{measurement_protocol_secret" + + "}\"\210\002\n\022ChangeHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013" + + "change_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022<\n\nactor_type\030\003 \001(\0162(.google.analy" + + "tics.admin.v1beta.ActorType\022\030\n\020user_acto" + + "r_email\030\004 \001(\t\022\030\n\020changes_filtered\030\005 \001(\010\022" + + "C\n\007changes\030\006 \003(\01322.google.analytics.admi" + + "n.v1beta.ChangeHistoryChange\"\252\007\n\023ChangeH" + + "istoryChange\022\020\n\010resource\030\001 \001(\t\0229\n\006action" + + "\030\002 \001(\0162).google.analytics.admin.v1beta.A" + + "ctionType\022h\n\026resource_before_change\030\003 \001(" + + "\0132H.google.analytics.admin.v1beta.Change" + + "HistoryChange.ChangeHistoryResource\022g\n\025r" + + "esource_after_change\030\004 \001(\0132H.google.anal" + + "ytics.admin.v1beta.ChangeHistoryChange.C" + + "hangeHistoryResource\032\362\004\n\025ChangeHistoryRe" + + "source\0229\n\007account\030\001 \001(\0132&.google.analyti" + + "cs.admin.v1beta.AccountH\000\022;\n\010property\030\002 " + + "\001(\0132\'.google.analytics.admin.v1beta.Prop" + + "ertyH\000\022D\n\rfirebase_link\030\006 \001(\0132+.google.a" + + "nalytics.admin.v1beta.FirebaseLinkH\000\022G\n\017" + + "google_ads_link\030\007 \001(\0132,.google.analytics" + + ".admin.v1beta.GoogleAdsLinkH\000\022J\n\020convers" + + "ion_event\030\013 \001(\0132..google.analytics.admin" + + ".v1beta.ConversionEventH\000\022_\n\033measurement" + + "_protocol_secret\030\014 \001(\01328.google.analytic" + + "s.admin.v1beta.MeasurementProtocolSecret" + + "H\000\022W\n\027data_retention_settings\030\017 \001(\01324.go" + + "ogle.analytics.admin.v1beta.DataRetentio" + + "nSettingsH\000\022@\n\013data_stream\030\022 \001(\0132).googl" + + "e.analytics.admin.v1beta.DataStreamH\000B\n\n" + + "\010resource\"\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\013cre" + + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custo" + + "m\030\005 \001(\010B\003\340A\003:m\352Aj\n-analyticsadmin.google" + + "apis.com/ConversionEvent\0229properties/{pr" + + "operty}/conversionEvents/{conversion_eve" + + "nt}\"\261\003\n\017CustomDimension\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\022T\n\005scope\030\005 \001(\0162=.google.analytic" + + "s.admin.v1beta.CustomDimension.Dimension" + + "ScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_personaliz" + + "ation\030\006 \001(\010B\003\340A\001\"F\n\016DimensionScope\022\037\n\033DI" + + "MENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010" + + "\n\004USER\020\002:m\352Aj\n-analyticsadmin.googleapis" + + ".com/CustomDimension\0229properties/{proper" + + "ty}/customDimensions/{custom_dimension}\"" + + "\302\006\n\014CustomMetric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016p" + + "arameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_n" + + "ame\030\003 \001(\tB\003\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001" + + "\022Z\n\020measurement_unit\030\005 \001(\0162;.google.anal" + + "ytics.admin.v1beta.CustomMetric.Measurem" + + "entUnitB\003\340A\002\022N\n\005scope\030\006 \001(\01627.google.ana" + + "lytics.admin.v1beta.CustomMetric.MetricS" + + "copeB\006\340A\002\340A\005\022e\n\026restricted_metric_type\030\010" + + " \003(\0162@.google.analytics.admin.v1beta.Cus" + + "tomMetric.RestrictedMetricTypeB\003\340A\001\"\267\001\n\017" + + "MeasurementUnit\022 \n\034MEASUREMENT_UNIT_UNSP" + + "ECIFIED\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\005M" + + "ILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SECONDS\020\010\022\013\n" + + "\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricScope\022\034\n\030" + + "METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_\n" + + "\024RestrictedMetricType\022&\n\"RESTRICTED_METR" + + "IC_TYPE_UNSPECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n\014" + + "REVENUE_DATA\020\002:d\352Aa\n*analyticsadmin.goog" + + "leapis.com/CustomMetric\0223properties/{pro" + + "perty}/customMetrics/{custom_metric}\"\301\003\n" + + "\025DataRetentionSettings\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022d\n\024event_data_retention\030\002 \001(\0162F.google" + + ".analytics.admin.v1beta.DataRetentionSet" + + "tings.RetentionDuration\022\'\n\037reset_user_da" + + "ta_on_new_activity\030\003 \001(\010\"\236\001\n\021RetentionDu" + + "ration\022\"\n\036RETENTION_DURATION_UNSPECIFIED" + + "\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022" + + "\025\n\021TWENTY_SIX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_M" + + "ONTHS\020\005\022\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analytic" + + "sadmin.googleapis.com/DataRetentionSetti" + + "ngs\022+properties/{property}/dataRetention" + + "Settings*\252\004\n\020IndustryCategory\022!\n\035INDUSTR" + + "Y_CATEGORY_UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001" + + "\022#\n\037BUSINESS_AND_INDUSTRIAL_MARKETS\020\002\022\013\n" + + "\007FINANCE\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\nTECHNOLOGY" + + "\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_EN" + + "TERTAINMENT\020\010\022\026\n\022BEAUTY_AND_FITNESS\020\t\022\030\n" + + "\024BOOKS_AND_LITERATURE\020\n\022\022\n\016FOOD_AND_DRIN" + + "K\020\013\022\t\n\005GAMES\020\014\022\027\n\023HOBBIES_AND_LEISURE\020\r\022" + + "\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024INTERNET_AND_TEL" + + "ECOM\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\022PEOPLE_AND_S" + + "OCIETY\020\023\022\024\n\020PETS_AND_ANIMALS\020\024\022\017\n\013REAL_E" + + "STATE\020\025\022\r\n\tREFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006S" + + "PORTS\020\030\022\026\n\022JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPP" + + "ING\020\032*f\n\014ServiceLevel\022\035\n\031SERVICE_LEVEL_U" + + "NSPECIFIED\020\000\022\035\n\031GOOGLE_ANALYTICS_STANDAR" + + "D\020\001\022\030\n\024GOOGLE_ANALYTICS_360\020\002*J\n\tActorTy" + + "pe\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\nActionType\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*\377\002\n\031ChangeHi" + + "storyResourceType\022,\n(CHANGE_HISTORY_RESO" + + "URCE_TYPE_UNSPECIFIED\020\000\022\013\n\007ACCOUNT\020\001\022\014\n\010" + + "PROPERTY\020\002\022\021\n\rFIREBASE_LINK\020\006\022\023\n\017GOOGLE_" + + "ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_SETTINGS\020\010\022" + + "\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEASUREMENT_PRO" + + "TOCOL_SECRET\020\n\022\033\n\027DATA_RETENTION_SETTING" + + "S\020\r\022%\n!DISPLAY_VIDEO_360_ADVERTISER_LINK" + + "\020\016\022.\n*DISPLAY_VIDEO_360_ADVERTISER_LINK_" + + "PROPOSAL\020\017\022\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTI" + + "ON_SETTINGS\020\024*\202\001\n\014PropertyType\022\035\n\031PROPER" + + "TY_TYPE_UNSPECIFIED\020\000\022\032\n\026PROPERTY_TYPE_O" + + "RDINARY\020\001\022\035\n\031PROPERTY_TYPE_SUBPROPERTY\020\002" + + "\022\030\n\024PROPERTY_TYPE_ROLLUP\020\003By\n!com.google" + + ".analytics.admin.v1betaB\016ResourcesProtoP" + + "\001ZBgoogle.golang.org/genproto/googleapis" + + "/analytics/admin/v1beta;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(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1beta_Account_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_Account_descriptor, + new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", }); + internal_static_google_analytics_admin_v1beta_Property_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_Property_descriptor, + new java.lang.String[] { "Name", "PropertyType", "CreateTime", "UpdateTime", "Parent", "DisplayName", "IndustryCategory", "TimeZone", "CurrencyCode", "ServiceLevel", "DeleteTime", "ExpireTime", "Account", }); + internal_static_google_analytics_admin_v1beta_DataStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_descriptor, + new java.lang.String[] { "WebStreamData", "AndroidAppStreamData", "IosAppStreamData", "Name", "Type", "DisplayName", "CreateTime", "UpdateTime", "StreamData", }); + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor = + internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor, + new java.lang.String[] { "MeasurementId", "FirebaseAppId", "DefaultUri", }); + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor = + internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor, + new java.lang.String[] { "FirebaseAppId", "PackageName", }); + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor = + internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor, + new java.lang.String[] { "FirebaseAppId", "BundleId", }); + internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor, + new java.lang.String[] { "Name", "Project", "CreateTime", }); + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor, + new java.lang.String[] { "Name", "CustomerId", "CanManageClients", "AdsPersonalizationEnabled", "CreateTime", "UpdateTime", "CreatorEmailAddress", }); + internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor, + new java.lang.String[] { "Name", "SharingWithGoogleSupportEnabled", "SharingWithGoogleAssignedSalesEnabled", "SharingWithGoogleAnySalesEnabled", "SharingWithGoogleProductsEnabled", "SharingWithOthersEnabled", }); + internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor, + new java.lang.String[] { "Name", "Account", "DisplayName", "PropertySummaries", }); + internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor, + new java.lang.String[] { "Property", "DisplayName", "PropertyType", "Parent", }); + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor, + new java.lang.String[] { "Name", "DisplayName", "SecretValue", }); + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor, + new java.lang.String[] { "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", }); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor, + new java.lang.String[] { "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", }); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor = + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor, + new java.lang.String[] { "Account", "Property", "FirebaseLink", "GoogleAdsLink", "ConversionEvent", "MeasurementProtocolSecret", "DataRetentionSettings", "DataStream", "Resource", }); + internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor, + new java.lang.String[] { "Name", "EventName", "CreateTime", "Deletable", "Custom", }); + internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor, + new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "Scope", "DisallowAdsPersonalization", }); + internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor, + new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "MeasurementUnit", "Scope", "RestrictedMetricType", }); + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor, + new java.lang.String[] { "Name", "EventDataRetention", "ResetUserDataOnNewActivity", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java index 08bef748079e..00693434f4a1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for SearchChangeHistoryEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest} */ -public final class SearchChangeHistoryEventsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchChangeHistoryEventsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) SearchChangeHistoryEventsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsRequest.newBuilder() to construct. - private SearchChangeHistoryEventsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchChangeHistoryEventsRequest() { account_ = ""; property_ = ""; @@ -49,45 +30,38 @@ private SearchChangeHistoryEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** - * - * *
    * Required. The account resource for which to return change history resources.
    * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The account. */ @java.lang.Override @@ -96,31 +70,29 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Required. The account resource for which to return change history resources.
    * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -129,21 +101,15 @@ public com.google.protobuf.ByteString getAccountBytes() { } public static final int PROPERTY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The property. */ @java.lang.Override @@ -152,32 +118,30 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -186,57 +150,38 @@ public com.google.protobuf.ByteString getPropertyBytes() { } public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List resourceType_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType> - resourceType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType> resourceType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>() { - public com.google.analytics.admin.v1beta.ChangeHistoryResourceType convert( - java.lang.Integer from) { - com.google.analytics.admin.v1beta.ChangeHistoryResourceType result = - com.google.analytics.admin.v1beta.ChangeHistoryResourceType.forNumber(from); - return result == null - ? com.google.analytics.admin.v1beta.ChangeHistoryResourceType.UNRECOGNIZED - : result; + public com.google.analytics.admin.v1beta.ChangeHistoryResourceType convert(java.lang.Integer from) { + com.google.analytics.admin.v1beta.ChangeHistoryResourceType result = com.google.analytics.admin.v1beta.ChangeHistoryResourceType.forNumber(from); + return result == null ? com.google.analytics.admin.v1beta.ChangeHistoryResourceType.UNRECOGNIZED : result; } }; /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the resourceType. */ @java.lang.Override - public java.util.List - getResourceTypeList() { + public java.util.List getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>( - resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); } /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of resourceType. */ @java.lang.Override @@ -244,17 +189,12 @@ public int getResourceTypeCount() { return resourceType_.size(); } /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -263,35 +203,26 @@ public com.google.analytics.admin.v1beta.ChangeHistoryResourceType getResourceTy return resourceType_converter_.convert(resourceType_.get(index)); } /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for resourceType. */ @java.lang.Override - public java.util.List getResourceTypeValueList() { + public java.util.List + getResourceTypeValueList() { return resourceType_; } /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -299,59 +230,41 @@ public java.util.List getResourceTypeValueList() { public int getResourceTypeValue(int index) { return resourceType_.get(index); } - private int resourceTypeMemoizedSerializedSize; public static final int ACTION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List action_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1beta.ActionType> - action_converter_ = + java.lang.Integer, com.google.analytics.admin.v1beta.ActionType> action_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>() { public com.google.analytics.admin.v1beta.ActionType convert(java.lang.Integer from) { - com.google.analytics.admin.v1beta.ActionType result = - com.google.analytics.admin.v1beta.ActionType.forNumber(from); - return result == null - ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED - : result; + com.google.analytics.admin.v1beta.ActionType result = com.google.analytics.admin.v1beta.ActionType.forNumber(from); + return result == null ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED : result; } }; /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the action. */ @java.lang.Override public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>( - action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>(action_, action_converter_); } /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of action. */ @java.lang.Override @@ -359,17 +272,12 @@ public int getActionCount() { return action_.size(); } /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The action at the given index. */ @@ -378,35 +286,26 @@ public com.google.analytics.admin.v1beta.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for action. */ @java.lang.Override - public java.util.List getActionValueList() { + public java.util.List + getActionValueList() { return action_; } /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -414,50 +313,40 @@ public java.util.List getActionValueList() { public int getActionValue(int index) { return action_.get(index); } - private int actionMemoizedSerializedSize; public static final int ACTOR_EMAIL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList actorEmail_; /** - * - * *
    * 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]; - * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList getActorEmailList() { + public com.google.protobuf.ProtocolStringList + getActorEmailList() { return actorEmail_; } /** - * - * *
    * 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]; - * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** - * - * *
    * 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]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -465,34 +354,27 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** - * - * *
    * 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]; - * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString getActorEmailBytes(int index) { + public com.google.protobuf.ByteString + getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp earliestChangeTime_; /** - * - * *
    * 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]; * @return Whether the earliestChangeTime field is set. */ @java.lang.Override @@ -500,55 +382,37 @@ public boolean hasEarliestChangeTime() { return earliestChangeTime_ != null; } /** - * - * *
    * 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]; * @return The earliestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestChangeTime() { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } public static final int LATEST_CHANGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp latestChangeTime_; /** - * - * *
    * 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]; * @return Whether the latestChangeTime field is set. */ @java.lang.Override @@ -556,47 +420,32 @@ public boolean hasLatestChangeTime() { return latestChangeTime_ != null; } /** - * - * *
    * 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]; * @return The latestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestChangeTime() { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } /** - * - * *
    * 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]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_ = 0; /** - * - * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -605,7 +454,6 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -614,12 +462,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -628,7 +473,6 @@ public int getPageSize() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -637,15 +481,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -654,15 +497,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -671,7 +515,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -683,7 +526,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); @@ -738,27 +582,26 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < resourceType_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(resourceType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(resourceType_.get(i)); } size += dataSize; - if (!getResourceTypeList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - resourceTypeMemoizedSerializedSize = dataSize; + if (!getResourceTypeList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }resourceTypeMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < action_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(action_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(action_.get(i)); } size += dataSize; - if (!getActionList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - actionMemoizedSerializedSize = dataSize; + if (!getActionList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }actionMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -769,13 +612,16 @@ public int getSerializedSize() { size += 1 * getActorEmailList().size(); } if (earliestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEarliestChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getEarliestChangeTime()); } if (latestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLatestChangeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getLatestChangeTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pageToken_); @@ -788,29 +634,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other = - (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) obj; + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other = (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) obj; - if (!getAccount().equals(other.getAccount())) return false; - if (!getProperty().equals(other.getProperty())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; if (!resourceType_.equals(other.resourceType_)) return false; if (!action_.equals(other.action_)) return false; - if (!getActorEmailList().equals(other.getActorEmailList())) return false; + if (!getActorEmailList() + .equals(other.getActorEmailList())) return false; if (hasEarliestChangeTime() != other.hasEarliestChangeTime()) return false; if (hasEarliestChangeTime()) { - if (!getEarliestChangeTime().equals(other.getEarliestChangeTime())) return false; + if (!getEarliestChangeTime() + .equals(other.getEarliestChangeTime())) return false; } if (hasLatestChangeTime() != other.hasLatestChangeTime()) return false; if (hasLatestChangeTime()) { - if (!getLatestChangeTime().equals(other.getLatestChangeTime())) return false; + if (!getLatestChangeTime() + .equals(other.getLatestChangeTime())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -856,138 +708,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( 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.v1beta.SearchChangeHistoryEventsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - 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.v1beta.SearchChangeHistoryEventsRequest 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.v1beta.SearchChangeHistoryEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for SearchChangeHistoryEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1016,16 +859,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.getDefaultInstance(); } @java.lang.Override @@ -1039,18 +880,14 @@ public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest build( @java.lang.Override public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest buildPartial() { - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result = - new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest(this); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { resourceType_ = java.util.Collections.unmodifiableList(resourceType_); bitField0_ = (bitField0_ & ~0x00000004); @@ -1068,8 +905,7 @@ private void buildPartialRepeatedFields( result.actorEmail_ = actorEmail_; } - private void buildPartial0( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.account_ = account_; @@ -1078,14 +914,14 @@ private void buildPartial0( result.property_ = property_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.earliestChangeTime_ = - earliestChangeTimeBuilder_ == null - ? earliestChangeTime_ - : earliestChangeTimeBuilder_.build(); + result.earliestChangeTime_ = earliestChangeTimeBuilder_ == null + ? earliestChangeTime_ + : earliestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.latestChangeTime_ = - latestChangeTimeBuilder_ == null ? latestChangeTime_ : latestChangeTimeBuilder_.build(); + result.latestChangeTime_ = latestChangeTimeBuilder_ == null + ? latestChangeTime_ + : latestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.pageSize_ = pageSize_; @@ -1099,51 +935,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.SearchChangeHistoryEventsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other) { - if (other - == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other) { + if (other == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; bitField0_ |= 0x00000001; @@ -1224,96 +1055,86 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { + case 10: { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + int tmpRaw = input.readEnum(); + ensureResourceTypeIsMutable(); + resourceType_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureResourceTypeIsMutable(); resourceType_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureResourceTypeIsMutable(); - resourceType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - case 32: - { + } + input.popLimit(oldLimit); + break; + } // case 26 + case 32: { + int tmpRaw = input.readEnum(); + ensureActionIsMutable(); + action_.add(tmpRaw); + break; + } // case 32 + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureActionIsMutable(); action_.add(tmpRaw); - break; - } // case 32 - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureActionIsMutable(); - action_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureActorEmailIsMutable(); - actorEmail_.add(s); - break; - } // case 42 - case 50: - { - input.readMessage( - getEarliestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage( - getLatestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 64: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 74: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureActorEmailIsMutable(); + actorEmail_.add(s); + break; + } // case 42 + case 50: { + input.readMessage( + getEarliestChangeTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getLatestChangeTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + 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) { @@ -1323,27 +1144,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object account_ = ""; /** - * - * *
      * Required. The account resource for which to return change history resources.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -1352,23 +1168,20 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Required. The account resource for which to return change history resources.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - public com.google.protobuf.ByteString getAccountBytes() { + public com.google.protobuf.ByteString + getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); account_ = b; return b; } else { @@ -1376,39 +1189,28 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Required. The account resource for which to return change history resources.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } account_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The account resource for which to return change history resources.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAccount() { @@ -1418,23 +1220,17 @@ public Builder clearAccount() { return this; } /** - * - * *
      * Required. The account resource for which to return change history resources.
      * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000001; @@ -1444,23 +1240,19 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object property_ = ""; /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1469,24 +1261,21 @@ public java.lang.String getProperty() { } } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -1494,41 +1283,30 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProperty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } property_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearProperty() { @@ -1538,24 +1316,18 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000002; @@ -1563,8 +1335,8 @@ public Builder setPropertyBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List resourceType_ = java.util.Collections.emptyList(); - + private java.util.List resourceType_ = + java.util.Collections.emptyList(); private void ensureResourceTypeIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { resourceType_ = new java.util.ArrayList(resourceType_); @@ -1572,54 +1344,37 @@ private void ensureResourceTypeIsMutable() { } } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the resourceType. */ - public java.util.List - getResourceTypeList() { + public java.util.List getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>( - resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of resourceType. */ public int getResourceTypeCount() { return resourceType_.size(); } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -1627,17 +1382,12 @@ public com.google.analytics.admin.v1beta.ChangeHistoryResourceType getResourceTy return resourceType_converter_.convert(resourceType_.get(index)); } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The resourceType to set. * @return This builder for chaining. @@ -1653,22 +1403,16 @@ public Builder setResourceType( return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The resourceType to add. * @return This builder for chaining. */ - public Builder addResourceType( - com.google.analytics.admin.v1beta.ChangeHistoryResourceType value) { + public Builder addResourceType(com.google.analytics.admin.v1beta.ChangeHistoryResourceType value) { if (value == null) { throw new NullPointerException(); } @@ -1678,23 +1422,17 @@ public Builder addResourceType( return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The resourceType to add. * @return This builder for chaining. */ public Builder addAllResourceType( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureResourceTypeIsMutable(); for (com.google.analytics.admin.v1beta.ChangeHistoryResourceType value : values) { resourceType_.add(value.getNumber()); @@ -1703,17 +1441,12 @@ public Builder addAllResourceType( return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearResourceType() { @@ -1723,34 +1456,25 @@ public Builder clearResourceType() { return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for resourceType. */ - public java.util.List getResourceTypeValueList() { + public java.util.List + getResourceTypeValueList() { return java.util.Collections.unmodifiableList(resourceType_); } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -1758,39 +1482,30 @@ public int getResourceTypeValue(int index) { return resourceType_.get(index); } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeValue(int index, int value) { + public Builder setResourceTypeValue( + int index, int value) { ensureResourceTypeIsMutable(); resourceType_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for resourceType to add. * @return This builder for chaining. */ @@ -1801,21 +1516,17 @@ public Builder addResourceTypeValue(int value) { return this; } /** - * - * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for resourceType to add. * @return This builder for chaining. */ - public Builder addAllResourceTypeValue(java.lang.Iterable values) { + public Builder addAllResourceTypeValue( + java.lang.Iterable values) { ensureResourceTypeIsMutable(); for (int value : values) { resourceType_.add(value); @@ -1824,8 +1535,8 @@ public Builder addAllResourceTypeValue(java.lang.Iterable val return this; } - private java.util.List action_ = java.util.Collections.emptyList(); - + private java.util.List action_ = + java.util.Collections.emptyList(); private void ensureActionIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { action_ = new java.util.ArrayList(action_); @@ -1833,53 +1544,37 @@ private void ensureActionIsMutable() { } } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the action. */ public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>( - action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>(action_, action_converter_); } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of action. */ public int getActionCount() { return action_.size(); } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The action at the given index. */ @@ -1887,22 +1582,18 @@ public com.google.analytics.admin.v1beta.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction(int index, com.google.analytics.admin.v1beta.ActionType value) { + public Builder setAction( + int index, com.google.analytics.admin.v1beta.ActionType value) { if (value == null) { throw new NullPointerException(); } @@ -1912,17 +1603,12 @@ public Builder setAction(int index, com.google.analytics.admin.v1beta.ActionType return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The action to add. * @return This builder for chaining. */ @@ -1936,17 +1622,12 @@ public Builder addAction(com.google.analytics.admin.v1beta.ActionType value) { return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param values The action to add. * @return This builder for chaining. */ @@ -1960,17 +1641,12 @@ public Builder addAllAction( return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearAction() { @@ -1980,34 +1656,25 @@ public Builder clearAction() { return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for action. */ - public java.util.List getActionValueList() { + public java.util.List + getActionValueList() { return java.util.Collections.unmodifiableList(action_); } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -2015,39 +1682,30 @@ public int getActionValue(int index) { return action_.get(index); } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ - public Builder setActionValue(int index, int value) { + public Builder setActionValue( + int index, int value) { ensureActionIsMutable(); action_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for action to add. * @return This builder for chaining. */ @@ -2058,21 +1716,17 @@ public Builder addActionValue(int value) { return this; } /** - * - * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for action to add. * @return This builder for chaining. */ - public Builder addAllActionValue(java.lang.Iterable values) { + public Builder addAllActionValue( + java.lang.Iterable values) { ensureActionIsMutable(); for (int value : values) { action_.add(value); @@ -2081,52 +1735,42 @@ public Builder addAllActionValue(java.lang.Iterable values) { return this; } - private com.google.protobuf.LazyStringList actorEmail_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList actorEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureActorEmailIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * 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]; - * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList getActorEmailList() { + public com.google.protobuf.ProtocolStringList + getActorEmailList() { return actorEmail_.getUnmodifiableView(); } /** - * - * *
      * 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]; - * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** - * - * *
      * 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]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -2134,90 +1778,76 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** - * - * *
      * 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]; - * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString getActorEmailBytes(int index) { + public com.google.protobuf.ByteString + getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } /** - * - * *
      * 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]; - * * @param index The index to set the value at. * @param value The actorEmail to set. * @return This builder for chaining. */ - public Builder setActorEmail(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setActorEmail( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureActorEmailIsMutable(); actorEmail_.set(index, value); onChanged(); return this; } /** - * - * *
      * 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]; - * * @param value The actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addActorEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); return this; } /** - * - * *
      * 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]; - * * @param values The actorEmail to add. * @return This builder for chaining. */ - public Builder addAllActorEmail(java.lang.Iterable values) { + public Builder addAllActorEmail( + java.lang.Iterable values) { ensureActorEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actorEmail_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, actorEmail_); onChanged(); return this; } /** - * - * *
      * 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]; - * * @return This builder for chaining. */ public Builder clearActorEmail() { @@ -2227,21 +1857,17 @@ public Builder clearActorEmail() { return this; } /** - * - * *
      * 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]; - * * @param value The bytes of the actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addActorEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureActorEmailIsMutable(); actorEmail_.add(value); @@ -2251,58 +1877,39 @@ public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp earliestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestChangeTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the earliestChangeTime field is set. */ public boolean hasEarliestChangeTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * 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]; * @return The earliestChangeTime. */ public com.google.protobuf.Timestamp getEarliestChangeTime() { if (earliestChangeTimeBuilder_ == null) { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } else { return earliestChangeTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { @@ -2318,17 +1925,14 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestChangeTimeBuilder_ == null) { earliestChangeTime_ = builderForValue.build(); } else { @@ -2339,21 +1943,17 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * 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]; */ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && earliestChangeTime_ != null - && earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + earliestChangeTime_ != null && + earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestChangeTimeBuilder().mergeFrom(value); } else { earliestChangeTime_ = value; @@ -2366,15 +1966,11 @@ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearEarliestChangeTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2387,15 +1983,11 @@ public Builder clearEarliestChangeTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { bitField0_ |= 0x00000020; @@ -2403,48 +1995,36 @@ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { return getEarliestChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { if (earliestChangeTimeBuilder_ != null) { return earliestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return earliestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestChangeTime_; + return earliestChangeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEarliestChangeTimeFieldBuilder() { if (earliestChangeTimeBuilder_ == null) { - earliestChangeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEarliestChangeTime(), getParentForChildren(), isClean()); + earliestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEarliestChangeTime(), + getParentForChildren(), + isClean()); earliestChangeTime_ = null; } return earliestChangeTimeBuilder_; @@ -2452,58 +2032,39 @@ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { private com.google.protobuf.Timestamp latestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - latestChangeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestChangeTimeBuilder_; /** - * - * *
      * 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]; * @return Whether the latestChangeTime field is set. */ public boolean hasLatestChangeTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * 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]; * @return The latestChangeTime. */ public com.google.protobuf.Timestamp getLatestChangeTime() { if (latestChangeTimeBuilder_ == null) { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } else { return latestChangeTimeBuilder_.getMessage(); } } /** - * - * *
      * 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]; */ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { @@ -2519,17 +2080,14 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ - public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestChangeTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (latestChangeTimeBuilder_ == null) { latestChangeTime_ = builderForValue.build(); } else { @@ -2540,21 +2098,17 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builder return this; } /** - * - * *
      * 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]; */ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && latestChangeTime_ != null - && latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + latestChangeTime_ != null && + latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestChangeTimeBuilder().mergeFrom(value); } else { latestChangeTime_ = value; @@ -2567,15 +2121,11 @@ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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]; */ public Builder clearLatestChangeTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2588,15 +2138,11 @@ public Builder clearLatestChangeTime() { return this; } /** - * - * *
      * 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]; */ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { bitField0_ |= 0x00000040; @@ -2604,57 +2150,43 @@ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { return getLatestChangeTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; */ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { if (latestChangeTimeBuilder_ != null) { return latestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return latestChangeTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : latestChangeTime_; + return latestChangeTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; } } /** - * - * *
      * 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]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLatestChangeTimeFieldBuilder() { if (latestChangeTimeBuilder_ == null) { - latestChangeTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLatestChangeTime(), getParentForChildren(), isClean()); + latestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLatestChangeTime(), + getParentForChildren(), + isClean()); latestChangeTime_ = null; } return latestChangeTimeBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2663,7 +2195,6 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -2671,8 +2202,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2681,20 +2210,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2703,7 +2229,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -2715,8 +2240,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2725,13 +2248,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -2740,8 +2263,6 @@ 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
@@ -2750,14 +2271,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2765,8 +2287,6 @@ 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
@@ -2775,22 +2295,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2799,7 +2315,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2809,8 +2324,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2819,23 +2332,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @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(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2845,43 +2356,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) - private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest(); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsRequest 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; @@ -2893,8 +2402,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java index eb347d9ab3ee..cbc881b591b5 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java @@ -1,380 +1,258 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface SearchChangeHistoryEventsRequestOrBuilder - extends +public interface SearchChangeHistoryEventsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account resource for which to return change history resources.
    * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Required. The account resource for which to return change history resources.
    * 
* - * - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the resourceType. */ java.util.List getResourceTypeList(); /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of resourceType. */ int getResourceTypeCount(); /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The resourceType at the given index. */ com.google.analytics.admin.v1beta.ChangeHistoryResourceType getResourceType(int index); /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for resourceType. */ - java.util.List getResourceTypeValueList(); + java.util.List + getResourceTypeValueList(); /** - * - * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ int getResourceTypeValue(int index); /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the action. */ java.util.List getActionList(); /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of action. */ int getActionCount(); /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The action at the given index. */ com.google.analytics.admin.v1beta.ActionType getAction(int index); /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for action. */ - java.util.List getActionValueList(); + java.util.List + getActionValueList(); /** - * - * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ int getActionValue(int index); /** - * - * *
    * 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]; - * * @return A list containing the actorEmail. */ - java.util.List getActorEmailList(); + java.util.List + getActorEmailList(); /** - * - * *
    * 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]; - * * @return The count of actorEmail. */ int getActorEmailCount(); /** - * - * *
    * 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]; - * * @param index The index of the element to return. * @return The actorEmail at the given index. */ java.lang.String getActorEmail(int index); /** - * - * *
    * 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]; - * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - com.google.protobuf.ByteString getActorEmailBytes(int index); + com.google.protobuf.ByteString + getActorEmailBytes(int index); /** - * - * *
    * 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]; * @return Whether the earliestChangeTime field is set. */ boolean hasEarliestChangeTime(); /** - * - * *
    * 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]; * @return The earliestChangeTime. */ com.google.protobuf.Timestamp getEarliestChangeTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder(); /** - * - * *
    * 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]; * @return Whether the latestChangeTime field is set. */ boolean hasLatestChangeTime(); /** - * - * *
    * 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]; * @return The latestChangeTime. */ com.google.protobuf.Timestamp getLatestChangeTime(); /** - * - * *
    * 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]; */ com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder(); /** - * - * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -383,14 +261,11 @@ public interface SearchChangeHistoryEventsRequestOrBuilder
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -399,13 +274,10 @@ public interface SearchChangeHistoryEventsRequestOrBuilder
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ 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
@@ -414,8 +286,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java index 4f612e1a92a7..c915d09ca076 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Response message for SearchAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse} */ -public final class SearchChangeHistoryEventsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchChangeHistoryEventsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) SearchChangeHistoryEventsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsResponse.newBuilder() to construct. - private SearchChangeHistoryEventsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchChangeHistoryEventsResponse() { changeHistoryEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,122 +26,100 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); } public static final int CHANGE_HISTORY_EVENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List changeHistoryEvents_; /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override - public java.util.List - getChangeHistoryEventsList() { + public java.util.List getChangeHistoryEventsList() { return changeHistoryEvents_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChangeHistoryEventsOrBuilderList() { return changeHistoryEvents_; } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override public int getChangeHistoryEventsCount() { return changeHistoryEvents_.size(); } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override public com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEvents(int index) { return changeHistoryEvents_.get(index); } /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder - getChangeHistoryEventsOrBuilder(int index) { + public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( + int index) { return changeHistoryEvents_.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 @@ -169,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -201,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < changeHistoryEvents_.size(); i++) { output.writeMessage(1, changeHistoryEvents_.get(i)); } @@ -230,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < changeHistoryEvents_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, changeHistoryEvents_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, changeHistoryEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -244,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other = - (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) obj; + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other = (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) obj; - if (!getChangeHistoryEventsList().equals(other.getChangeHistoryEventsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getChangeHistoryEventsList() + .equals(other.getChangeHistoryEventsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -277,138 +237,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( 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.v1beta.SearchChangeHistoryEventsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - 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.v1beta.SearchChangeHistoryEventsResponse 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.v1beta.SearchChangeHistoryEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for SearchAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -425,16 +376,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.getDefaultInstance(); } @java.lang.Override @@ -448,18 +397,14 @@ public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse build @java.lang.Override public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse buildPartial() { - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result = - new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse(this); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { + private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { if (changeHistoryEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { changeHistoryEvents_ = java.util.Collections.unmodifiableList(changeHistoryEvents_); @@ -471,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { + private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -483,51 +427,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.SearchChangeHistoryEventsResponse) { - return mergeFrom( - (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) other); + return mergeFrom((com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other) { - if (other - == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other) { + if (other == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.getDefaultInstance()) return this; if (changeHistoryEventsBuilder_ == null) { if (!other.changeHistoryEvents_.isEmpty()) { if (changeHistoryEvents_.isEmpty()) { @@ -546,10 +485,9 @@ public Builder mergeFrom( changeHistoryEventsBuilder_ = null; changeHistoryEvents_ = other.changeHistoryEvents_; bitField0_ = (bitField0_ & ~0x00000001); - changeHistoryEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChangeHistoryEventsFieldBuilder() - : null; + changeHistoryEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChangeHistoryEventsFieldBuilder() : null; } else { changeHistoryEventsBuilder_.addAllMessages(other.changeHistoryEvents_); } @@ -586,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.analytics.admin.v1beta.ChangeHistoryEvent m = - input.readMessage( - com.google.analytics.admin.v1beta.ChangeHistoryEvent.parser(), - extensionRegistry); - if (changeHistoryEventsBuilder_ == null) { - ensureChangeHistoryEventsIsMutable(); - changeHistoryEvents_.add(m); - } else { - changeHistoryEventsBuilder_.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: + case 10: { + com.google.analytics.admin.v1beta.ChangeHistoryEvent m = + input.readMessage( + com.google.analytics.admin.v1beta.ChangeHistoryEvent.parser(), + extensionRegistry); + if (changeHistoryEventsBuilder_ == null) { + ensureChangeHistoryEventsIsMutable(); + changeHistoryEvents_.add(m); + } else { + changeHistoryEventsBuilder_.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) { @@ -622,39 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - changeHistoryEvents_ = java.util.Collections.emptyList(); - + private java.util.List changeHistoryEvents_ = + java.util.Collections.emptyList(); private void ensureChangeHistoryEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - changeHistoryEvents_ = - new java.util.ArrayList( - changeHistoryEvents_); + changeHistoryEvents_ = new java.util.ArrayList(changeHistoryEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryEvent, - com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> - changeHistoryEventsBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryEvent, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> changeHistoryEventsBuilder_; /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsList() { + public java.util.List getChangeHistoryEventsList() { if (changeHistoryEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(changeHistoryEvents_); } else { @@ -662,14 +586,11 @@ private void ensureChangeHistoryEventsIsMutable() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public int getChangeHistoryEventsCount() { if (changeHistoryEventsBuilder_ == null) { @@ -679,14 +600,11 @@ public int getChangeHistoryEventsCount() { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -696,14 +614,11 @@ public com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEven } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { @@ -720,14 +635,11 @@ public Builder setChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder builderForValue) { @@ -741,17 +653,13 @@ public Builder setChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public Builder addChangeHistoryEvents( - com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { + public Builder addChangeHistoryEvents(com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { if (changeHistoryEventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -765,14 +673,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { @@ -789,14 +694,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder builderForValue) { @@ -810,14 +712,11 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder builderForValue) { @@ -831,20 +730,18 @@ public Builder addChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder addAllChangeHistoryEvents( java.lang.Iterable values) { if (changeHistoryEventsBuilder_ == null) { ensureChangeHistoryEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changeHistoryEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changeHistoryEvents_); onChanged(); } else { changeHistoryEventsBuilder_.addAllMessages(values); @@ -852,14 +749,11 @@ public Builder addAllChangeHistoryEvents( return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder clearChangeHistoryEvents() { if (changeHistoryEventsBuilder_ == null) { @@ -872,14 +766,11 @@ public Builder clearChangeHistoryEvents() { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ public Builder removeChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -892,49 +783,39 @@ public Builder removeChangeHistoryEvents(int index) { return this; } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder - getChangeHistoryEventsBuilder(int index) { + public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder getChangeHistoryEventsBuilder( + int index) { return getChangeHistoryEventsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder - getChangeHistoryEventsOrBuilder(int index) { + public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( + int index) { if (changeHistoryEventsBuilder_ == null) { - return changeHistoryEvents_.get(index); - } else { + return changeHistoryEvents_.get(index); } else { return changeHistoryEventsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsOrBuilderList() { + public java.util.List + getChangeHistoryEventsOrBuilderList() { if (changeHistoryEventsBuilder_ != null) { return changeHistoryEventsBuilder_.getMessageOrBuilderList(); } else { @@ -942,62 +823,45 @@ public Builder removeChangeHistoryEvents(int index) { } } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder - addChangeHistoryEventsBuilder() { - return getChangeHistoryEventsFieldBuilder() - .addBuilder(com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder() { + return getChangeHistoryEventsFieldBuilder().addBuilder( + com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder - addChangeHistoryEventsBuilder(int index) { - return getChangeHistoryEventsFieldBuilder() - .addBuilder( - index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder( + int index) { + return getChangeHistoryEventsFieldBuilder().addBuilder( + index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); } /** - * - * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - public java.util.List - getChangeHistoryEventsBuilderList() { + public java.util.List + getChangeHistoryEventsBuilderList() { return getChangeHistoryEventsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryEvent, - com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> + com.google.analytics.admin.v1beta.ChangeHistoryEvent, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> getChangeHistoryEventsFieldBuilder() { if (changeHistoryEventsBuilder_ == null) { - changeHistoryEventsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryEvent, - com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, - com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder>( + changeHistoryEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.ChangeHistoryEvent, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder>( changeHistoryEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1009,21 +873,19 @@ public Builder removeChangeHistoryEvents(int index) { 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1032,22 +894,21 @@ public 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. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1055,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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(); - } + 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() { @@ -1095,31 +949,27 @@ public Builder clearNextPageToken() { 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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1129,43 +979,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) - private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse(); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsResponse 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; @@ -1177,8 +1025,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java similarity index 65% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java index 8686a73dfe20..f3a8f4299959 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java @@ -1,110 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface SearchChangeHistoryEventsResponseOrBuilder - extends +public interface SearchChangeHistoryEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - java.util.List getChangeHistoryEventsList(); + java.util.List + getChangeHistoryEventsList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEvents(int index); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ int getChangeHistoryEventsCount(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ - java.util.List + java.util.List getChangeHistoryEventsOrBuilderList(); /** - * - * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; */ com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( 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(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java index 72dd45b9ee62..146863f6db0a 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Various levels of service for Google Analytics.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.ServiceLevel} */ -public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { +public enum ServiceLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Service level not specified or invalid.
    * 
@@ -39,8 +21,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_LEVEL_UNSPECIFIED(0), /** - * - * *
    * The standard version of Google Analytics.
    * 
@@ -49,8 +29,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_ANALYTICS_STANDARD(1), /** - * - * *
    * The paid, premium version of Google Analytics.
    * 
@@ -62,8 +40,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Service level not specified or invalid.
    * 
@@ -72,8 +48,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The standard version of Google Analytics.
    * 
@@ -82,8 +56,6 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_ANALYTICS_STANDARD_VALUE = 1; /** - * - * *
    * The paid, premium version of Google Analytics.
    * 
@@ -92,6 +64,7 @@ public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_ANALYTICS_360_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static ServiceLevel valueOf(int value) { */ public static ServiceLevel forNumber(int value) { switch (value) { - case 0: - return SERVICE_LEVEL_UNSPECIFIED; - case 1: - return GOOGLE_ANALYTICS_STANDARD; - case 2: - return GOOGLE_ANALYTICS_360; - default: - return null; + case 0: return SERVICE_LEVEL_UNSPECIFIED; + case 1: return GOOGLE_ANALYTICS_STANDARD; + case 2: return GOOGLE_ANALYTICS_360; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ServiceLevel findValueByNumber(int number) { - return ServiceLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ServiceLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServiceLevel findValueByNumber(int number) { + return ServiceLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(1); } private static final ServiceLevel[] VALUES = values(); - public static ServiceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ServiceLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private ServiceLevel(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ServiceLevel) } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java index bc0f3f68c54a..2c1af477cb43 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java @@ -1,84 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateAccountRequest} */ -public final class UpdateAccountRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateAccountRequest) UpdateAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAccountRequest.newBuilder() to construct. private UpdateAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAccountRequest() {} + private UpdateAccountRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateAccountRequest.class, - com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateAccountRequest.class, com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Account account_; /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the account field is set. */ @java.lang.Override @@ -86,58 +63,41 @@ public boolean hasAccount() { return account_ != null; } /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1beta.Account getAccount() { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -145,17 +105,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -163,16 +119,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -180,7 +133,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +144,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -209,10 +162,12 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAccount()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,21 +177,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateAccountRequest other = - (com.google.analytics.admin.v1beta.UpdateAccountRequest) obj; + com.google.analytics.admin.v1beta.UpdateAccountRequest other = (com.google.analytics.admin.v1beta.UpdateAccountRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount().equals(other.getAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -263,136 +219,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( 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.v1beta.UpdateAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdateAccountRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateAccountRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateAccountRequest) com.google.analytics.admin.v1beta.UpdateAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateAccountRequest.class, - com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateAccountRequest.class, com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateAccountRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; } @java.lang.Override @@ -432,11 +381,8 @@ public com.google.analytics.admin.v1beta.UpdateAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateAccountRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateAccountRequest result = - new com.google.analytics.admin.v1beta.UpdateAccountRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdateAccountRequest result = new com.google.analytics.admin.v1beta.UpdateAccountRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -444,10 +390,14 @@ public com.google.analytics.admin.v1beta.UpdateAccountRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1beta.UpdateAccountRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); + result.account_ = accountBuilder_ == null + ? account_ + : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -455,39 +405,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateAccountReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdateAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateAccountRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateAccountRequest)other); } else { super.mergeFrom(other); return this; @@ -495,8 +444,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateAccountRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateAccountRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.UpdateAccountRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -529,25 +477,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAccountFieldBuilder().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: + case 10: { + input.readMessage( + getAccountFieldBuilder().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) { @@ -557,66 +506,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder> - accountBuilder_; + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountBuilder_; /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The account. */ public com.google.analytics.admin.v1beta.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { @@ -632,18 +561,15 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder setAccount( + com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -654,22 +580,18 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder buil return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && account_ != null - && account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + account_ != null && + account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -682,16 +604,12 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAccount() { bitField0_ = (bitField0_ & ~0x00000001); @@ -704,16 +622,12 @@ public Builder clearAccount() { return this; } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { bitField0_ |= 0x00000001; @@ -721,50 +635,38 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null - ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() - : account_; + return account_ == null ? + com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; } } /** - * - * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, - com.google.analytics.admin.v1beta.Account.Builder, - com.google.analytics.admin.v1beta.AccountOrBuilder>( - getAccount(), getParentForChildren(), isClean()); + accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( + getAccount(), + getParentForChildren(), + isClean()); account_ = null; } return accountBuilder_; @@ -772,61 +674,45 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -842,18 +728,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -864,22 +748,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -892,16 +773,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -914,16 +792,13 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -931,57 +806,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateAccountRequest) private static final com.google.analytics.admin.v1beta.UpdateAccountRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateAccountRequest(); } @@ -1005,27 +870,27 @@ public static com.google.analytics.admin.v1beta.UpdateAccountRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAccountRequest 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; @@ -1040,4 +905,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.UpdateAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java index 0fba6bf22d7b..33a934337b2d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java @@ -1,113 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateAccountRequestOrBuilder - extends +public interface UpdateAccountRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateAccountRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the account field is set. */ boolean hasAccount(); /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The account. */ com.google.analytics.admin.v1beta.Account getAccount(); /** - * - * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1beta.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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .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. 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]; - * - * + * .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. 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]; - * + * .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-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java similarity index 67% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java index 64c6f17d4297..c8f9bcddfb3d 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomDimensionRequest} */ -public final class UpdateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomDimensionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) UpdateCustomDimensionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomDimensionRequest.newBuilder() to construct. private UpdateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomDimensionRequest() {} + private UpdateCustomDimensionRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); } public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.CustomDimension customDimension_; /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } /** - * - * *
    * The CustomDimension to update
    * 
@@ -110,25 +82,19 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +102,13 @@ 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +116,13 @@ 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -200,10 +159,12 @@ public int getSerializedSize() { size = 0; if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomDimension()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest other = - (com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest other = (com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) obj; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension().equals(other.getCustomDimension())) return false; + if (!getCustomDimension() + .equals(other.getCustomDimension())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( 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.v1beta.UpdateCustomDimensionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomDimensionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) com.google.analytics.admin.v1beta.UpdateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,14 +357,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance(); } @@ -424,24 +378,23 @@ public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result = - new com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result = new com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customDimension_ = - customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); + result.customDimension_ = customDimensionBuilder_ == null + ? customDimension_ + : customDimensionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -449,39 +402,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest)other); } else { super.mergeFrom(other); return this; @@ -489,9 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest other) { - if (other - == com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance()) return this; if (other.hasCustomDimension()) { mergeCustomDimension(other.getCustomDimension()); } @@ -524,25 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCustomDimensionFieldBuilder().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: + case 10: { + input.readMessage( + getCustomDimensionFieldBuilder().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) { @@ -552,52 +503,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> - customDimensionBuilder_; + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> customDimensionBuilder_; /** - * - * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** - * - * *
      * The CustomDimension to update
      * 
@@ -618,8 +555,6 @@ public Builder setCustomDimension(com.google.analytics.admin.v1beta.CustomDimens return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -638,8 +573,6 @@ public Builder setCustomDimension( return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -648,10 +581,9 @@ public Builder setCustomDimension( */ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && customDimension_ != null - && customDimension_ - != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + customDimension_ != null && + customDimension_ != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -664,8 +596,6 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDime return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -683,8 +613,6 @@ public Builder clearCustomDimension() { return this; } /** - * - * *
      * The CustomDimension to update
      * 
@@ -697,27 +625,21 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens return getCustomDimensionFieldBuilder().getBuilder(); } /** - * - * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; */ - public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder - getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null - ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() - : customDimension_; + return customDimension_ == null ? + com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; } } /** - * - * *
      * The CustomDimension to update
      * 
@@ -725,17 +647,14 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, - com.google.analytics.admin.v1beta.CustomDimension.Builder, - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( - getCustomDimension(), getParentForChildren(), isClean()); + customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( + getCustomDimension(), + getParentForChildren(), + isClean()); customDimension_ = null; } return customDimensionBuilder_; @@ -743,61 +662,45 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * 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]; - * - * + * .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]; - * - * + * .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_; + 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -813,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -835,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -863,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -885,16 +780,13 @@ public Builder clearUpdateMask() { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -902,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; - * + * .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_; + 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -962,43 +844,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) - private static final com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomDimensionRequest 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; @@ -1010,8 +890,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java similarity index 71% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java index fc32b920cd87..66db6b7ddff0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateCustomDimensionRequestOrBuilder - extends +public interface UpdateCustomDimensionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** - * - * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * * @return The customDimension. */ com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(); /** - * - * *
    * The CustomDimension to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateCustomDimensionRequestOrBuilder com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** - * - * *
    * 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]; - * - * + * .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]; - * - * + * .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]; - * + * .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-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java index 424b57408bfb..13eb8de172e0 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomMetricRequest} */ -public final class UpdateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomMetricRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateCustomMetricRequest) UpdateCustomMetricRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomMetricRequest.newBuilder() to construct. private UpdateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomMetricRequest() {} + private UpdateCustomMetricRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); } public static final int CUSTOM_METRIC_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.CustomMetric customMetric_; /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } /** - * - * *
    * The CustomMetric to update
    * 
@@ -110,25 +82,19 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +102,13 @@ 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +116,13 @@ 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customMetric_ != null) { output.writeMessage(1, getCustomMetric()); } @@ -200,10 +159,12 @@ public int getSerializedSize() { size = 0; if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomMetric()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest other = - (com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest other = (com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) obj; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric().equals(other.getCustomMetric())) return false; + if (!getCustomMetric() + .equals(other.getCustomMetric())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( 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.v1beta.UpdateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateCustomMetricRequest) com.google.analytics.admin.v1beta.UpdateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; } @java.lang.Override @@ -423,11 +378,8 @@ public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest result = - new com.google.analytics.admin.v1beta.UpdateCustomMetricRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest result = new com.google.analytics.admin.v1beta.UpdateCustomMetricRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,11 +387,14 @@ public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest buildPartial( private void buildPartial0(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customMetric_ = - customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); + result.customMetric_ = customMetricBuilder_ == null + ? customMetric_ + : customMetricBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -447,39 +402,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateCustomMetricR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomMetricRequest)other); } else { super.mergeFrom(other); return this; @@ -487,8 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.getDefaultInstance()) return this; if (other.hasCustomMetric()) { mergeCustomMetric(other.getCustomMetric()); } @@ -521,25 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCustomMetricFieldBuilder().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: + case 10: { + input.readMessage( + getCustomMetricFieldBuilder().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) { @@ -549,52 +503,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder> - customMetricBuilder_; + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> customMetricBuilder_; /** - * - * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * * @return The customMetric. */ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** - * - * *
      * The CustomMetric to update
      * 
@@ -615,8 +555,6 @@ public Builder setCustomMetric(com.google.analytics.admin.v1beta.CustomMetric va return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -635,8 +573,6 @@ public Builder setCustomMetric( return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -645,10 +581,9 @@ public Builder setCustomMetric( */ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && customMetric_ != null - && customMetric_ - != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + customMetric_ != null && + customMetric_ != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -661,8 +596,6 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -680,8 +613,6 @@ public Builder clearCustomMetric() { return this; } /** - * - * *
      * The CustomMetric to update
      * 
@@ -694,8 +625,6 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricBui return getCustomMetricFieldBuilder().getBuilder(); } /** - * - * *
      * The CustomMetric to update
      * 
@@ -706,14 +635,11 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOr if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null - ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() - : customMetric_; + return customMetric_ == null ? + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; } } /** - * - * *
      * The CustomMetric to update
      * 
@@ -721,17 +647,14 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOr * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, - com.google.analytics.admin.v1beta.CustomMetric.Builder, - com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( - getCustomMetric(), getParentForChildren(), isClean()); + customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( + getCustomMetric(), + getParentForChildren(), + isClean()); customMetric_ = null; } return customMetricBuilder_; @@ -739,61 +662,45 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * 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]; - * - * + * .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]; - * - * + * .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_; + 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -809,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -831,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -859,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -881,16 +780,13 @@ public Builder clearUpdateMask() { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -898,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; - * + * .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_; + 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -958,12 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateCustomMetricRequest) private static final com.google.analytics.admin.v1beta.UpdateCustomMetricRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateCustomMetricRequest(); } @@ -972,27 +858,27 @@ public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomMetricRequest 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; @@ -1007,4 +893,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java index 2e3f2238afea..0901e2a99087 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateCustomMetricRequestOrBuilder - extends +public interface UpdateCustomMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateCustomMetricRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** - * - * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * * @return The customMetric. */ com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(); /** - * - * *
    * The CustomMetric to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateCustomMetricRequestOrBuilder com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** - * - * *
    * 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]; - * - * + * .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]; - * - * + * .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]; - * + * .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-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java index d1c8260dce6c..4f33279878de 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java @@ -1,85 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest} */ -public final class UpdateDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataRetentionSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) UpdateDataRetentionSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataRetentionSettingsRequest.newBuilder() to construct. - private UpdateDataRetentionSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataRetentionSettingsRequest() {} + private UpdateDataRetentionSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.DataRetentionSettings dataRetentionSettings_; /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -87,59 +63,41 @@ public boolean hasDataRetentionSettings() { return dataRetentionSettings_ != null; } /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings() { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + return dataRetentionSettings_ == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + return dataRetentionSettings_ == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -147,17 +105,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -165,16 +119,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -182,7 +133,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +144,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataRetentionSettings_ != null) { output.writeMessage(1, getDataRetentionSettings()); } @@ -211,11 +162,12 @@ public int getSerializedSize() { size = 0; if (dataRetentionSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataRetentionSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataRetentionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -225,21 +177,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other = - (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other = (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) obj; if (hasDataRetentionSettings() != other.hasDataRetentionSettings()) return false; if (hasDataRetentionSettings()) { - if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings() + .equals(other.getDataRetentionSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,138 +219,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( 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.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - 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.v1beta.UpdateDataRetentionSettingsRequest 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.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,16 +360,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -439,26 +381,23 @@ public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest buil @java.lang.Override public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result = - new com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result = new com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataRetentionSettings_ = - dataRetentionSettingsBuilder_ == null - ? dataRetentionSettings_ - : dataRetentionSettingsBuilder_.build(); + result.dataRetentionSettings_ = dataRetentionSettingsBuilder_ == null + ? dataRetentionSettings_ + : dataRetentionSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -466,51 +405,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdateDataRetentionSettingsRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other) { - if (other - == com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other) { + if (other == com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.getDefaultInstance()) return this; if (other.hasDataRetentionSettings()) { mergeDataRetentionSettings(other.getDataRetentionSettings()); } @@ -543,26 +477,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getDataRetentionSettingsFieldBuilder().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: + case 10: { + input.readMessage( + getDataRetentionSettingsFieldBuilder().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) { @@ -572,69 +506,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.DataRetentionSettings dataRetentionSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> - dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataRetentionSettings field is set. */ public boolean hasDataRetentionSettings() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataRetentionSettings. */ public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + return dataRetentionSettings_ == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } else { return dataRetentionSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDataRetentionSettings( - com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder setDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -648,16 +561,12 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1beta.DataRetentionSettings.Builder builderForValue) { @@ -671,24 +580,18 @@ public Builder setDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDataRetentionSettings( - com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && dataRetentionSettings_ != null - && dataRetentionSettings_ - != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + dataRetentionSettings_ != null && + dataRetentionSettings_ != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { getDataRetentionSettingsBuilder().mergeFrom(value); } else { dataRetentionSettings_ = value; @@ -701,16 +604,12 @@ public Builder mergeDataRetentionSettings( return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDataRetentionSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -723,69 +622,51 @@ public Builder clearDataRetentionSettings() { return this; } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder - getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { if (dataRetentionSettingsBuilder_ != null) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { - return dataRetentionSettings_ == null - ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() - : dataRetentionSettings_; + return dataRetentionSettings_ == null ? + com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; } } /** - * - * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { - dataRetentionSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, - com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( - getDataRetentionSettings(), getParentForChildren(), isClean()); + dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( + getDataRetentionSettings(), + getParentForChildren(), + isClean()); dataRetentionSettings_ = null; } return dataRetentionSettingsBuilder_; @@ -793,61 +674,45 @@ public Builder clearDataRetentionSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -863,18 +728,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -885,22 +748,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -913,16 +773,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -935,16 +792,13 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -952,57 +806,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1012,43 +856,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataRetentionSettingsRequest 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; @@ -1060,8 +902,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java similarity index 62% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java index 6ad37f6e7161..e332d951da50 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java @@ -1,114 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateDataRetentionSettingsRequestOrBuilder - extends +public interface UpdateDataRetentionSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The dataRetentionSettings. */ com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings(); /** - * - * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder - getDataRetentionSettingsOrBuilder(); + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); /** - * - * *
    * 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]; - * - * + * .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. 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]; - * - * + * .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. 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]; - * + * .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-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java index 033754bc124d..0edc36acd5e7 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataStreamRequest} */ -public final class UpdateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDataStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateDataStreamRequest) UpdateDataStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDataStreamRequest.newBuilder() to construct. private UpdateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDataStreamRequest() {} + private UpdateDataStreamRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, - com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); } public static final int DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.DataStream dataStream_; /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; - * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasDataStream() { return dataStream_ != null; } /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; - * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream getDataStream() { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } /** - * - * *
    * The DataStream to update
    * 
@@ -110,25 +82,19 @@ public com.google.analytics.admin.v1beta.DataStream getDataStream() { */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +102,13 @@ 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +116,13 @@ 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataStream_ != null) { output.writeMessage(1, getDataStream()); } @@ -200,10 +159,12 @@ public int getSerializedSize() { size = 0; if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateDataStreamRequest other = - (com.google.analytics.admin.v1beta.UpdateDataStreamRequest) obj; + com.google.analytics.admin.v1beta.UpdateDataStreamRequest other = (com.google.analytics.admin.v1beta.UpdateDataStreamRequest) obj; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream().equals(other.getDataStream())) return false; + if (!getDataStream() + .equals(other.getDataStream())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( 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.v1beta.UpdateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateDataStreamRequest) com.google.analytics.admin.v1beta.UpdateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, - com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateDataStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; } @java.lang.Override @@ -423,11 +378,8 @@ public com.google.analytics.admin.v1beta.UpdateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateDataStreamRequest result = - new com.google.analytics.admin.v1beta.UpdateDataStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdateDataStreamRequest result = new com.google.analytics.admin.v1beta.UpdateDataStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,10 +387,14 @@ public com.google.analytics.admin.v1beta.UpdateDataStreamRequest buildPartial() private void buildPartial0(com.google.analytics.admin.v1beta.UpdateDataStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null + ? dataStream_ + : dataStreamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -446,39 +402,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateDataStreamReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateDataStreamRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateDataStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -486,8 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateDataStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.UpdateDataStreamRequest.getDefaultInstance()) return this; if (other.hasDataStream()) { mergeDataStream(other.getDataStream()); } @@ -520,25 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getDataStreamFieldBuilder().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: + case 10: { + input.readMessage( + getDataStreamFieldBuilder().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) { @@ -548,52 +503,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.DataStream dataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> - dataStreamBuilder_; + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamBuilder_; /** - * - * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; - * * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; - * * @return The dataStream. */ public com.google.analytics.admin.v1beta.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** - * - * *
      * The DataStream to update
      * 
@@ -614,8 +555,6 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -634,8 +573,6 @@ public Builder setDataStream( return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -644,9 +581,9 @@ public Builder setDataStream( */ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && dataStream_ != null - && dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + dataStream_ != null && + dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -659,8 +596,6 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -678,8 +613,6 @@ public Builder clearDataStream() { return this; } /** - * - * *
      * The DataStream to update
      * 
@@ -692,8 +625,6 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** - * - * *
      * The DataStream to update
      * 
@@ -704,14 +635,11 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null - ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() - : dataStream_; + return dataStream_ == null ? + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; } } /** - * - * *
      * The DataStream to update
      * 
@@ -719,17 +647,14 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil * .google.analytics.admin.v1beta.DataStream data_stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, - com.google.analytics.admin.v1beta.DataStream.Builder, - com.google.analytics.admin.v1beta.DataStreamOrBuilder>( - getDataStream(), getParentForChildren(), isClean()); + dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + getDataStream(), + getParentForChildren(), + isClean()); dataStream_ = null; } return dataStreamBuilder_; @@ -737,61 +662,45 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * 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]; - * - * + * .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]; - * - * + * .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_; + 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -807,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -829,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -857,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -879,16 +780,13 @@ public Builder clearUpdateMask() { 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -896,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; - * + * .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_; + 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]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateDataStreamRequest) private static final com.google.analytics.admin.v1beta.UpdateDataStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateDataStreamRequest(); } @@ -970,27 +858,27 @@ public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataStreamRequest 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; @@ -1005,4 +893,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.UpdateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java similarity index 70% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java index 1d454c49d9a3..a64fd0cca041 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateDataStreamRequestOrBuilder - extends +public interface UpdateDataStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; - * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** - * - * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; - * * @return The dataStream. */ com.google.analytics.admin.v1beta.DataStream getDataStream(); /** - * - * *
    * The DataStream to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateDataStreamRequestOrBuilder com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); /** - * - * *
    * 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]; - * - * + * .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]; - * - * + * .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]; - * + * .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-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java similarity index 68% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java index f39f8099917a..393b9090ee82 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest} */ -public final class UpdateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateGoogleAdsLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) UpdateGoogleAdsLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateGoogleAdsLinkRequest.newBuilder() to construct. private UpdateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateGoogleAdsLinkRequest() {} + private UpdateGoogleAdsLinkRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } /** - * - * *
    * The GoogleAdsLink to update
    * 
@@ -110,25 +82,19 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,17 +102,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -154,16 +116,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +130,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (googleAdsLink_ != null) { output.writeMessage(1, getGoogleAdsLink()); } @@ -200,10 +159,12 @@ public int getSerializedSize() { size = 0; if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGoogleAdsLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +174,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest other = - (com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) obj; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink() + .equals(other.getGoogleAdsLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,136 +216,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( 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.v1beta.UpdateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,14 +357,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -424,24 +378,23 @@ public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result = - new com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.googleAdsLink_ = - googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = googleAdsLinkBuilder_ == null + ? googleAdsLink_ + : googleAdsLinkBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -449,39 +402,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -489,9 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest other) { - if (other - == com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance()) return this; if (other.hasGoogleAdsLink()) { mergeGoogleAdsLink(other.getGoogleAdsLink()); } @@ -524,25 +474,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGoogleAdsLinkFieldBuilder().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: + case 10: { + input.readMessage( + getGoogleAdsLinkFieldBuilder().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) { @@ -552,52 +503,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> - googleAdsLinkBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; /** - * - * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -618,8 +555,6 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -638,8 +573,6 @@ public Builder setGoogleAdsLink( return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -648,10 +581,9 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && googleAdsLink_ != null - && googleAdsLink_ - != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + googleAdsLink_ != null && + googleAdsLink_ != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -664,8 +596,6 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -683,8 +613,6 @@ public Builder clearGoogleAdsLink() { return this; } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -697,8 +625,6 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -709,14 +635,11 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null - ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() - : googleAdsLink_; + return googleAdsLink_ == null ? + com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; } } /** - * - * *
      * The GoogleAdsLink to update
      * 
@@ -724,17 +647,14 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, - com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), getParentForChildren(), isClean()); + googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), + getParentForChildren(), + isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; @@ -742,61 +662,45 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -812,18 +716,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -834,22 +736,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -862,16 +761,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -884,16 +780,13 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -901,57 +794,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -961,13 +844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest(); } @@ -976,27 +858,27 @@ public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGoogleAdsLinkRequest 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; @@ -1011,4 +893,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java similarity index 72% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java index 81e0014e26db..4bdcc3776eda 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateGoogleAdsLinkRequestOrBuilder - extends +public interface UpdateGoogleAdsLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** - * - * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * * @return The googleAdsLink. */ com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); /** - * - * *
    * The GoogleAdsLink to update
    * 
@@ -59,46 +35,35 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** - * - * *
    * 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]; - * - * + * .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. 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]; - * - * + * .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. 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]; - * + * .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-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java similarity index 59% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java index d5da3e572531..79f96ec24dd1 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java @@ -1,85 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest} */ -public final class UpdateMeasurementProtocolSecretRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateMeasurementProtocolSecretRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) UpdateMeasurementProtocolSecretRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateMeasurementProtocolSecretRequest.newBuilder() to construct. - private UpdateMeasurementProtocolSecretRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateMeasurementProtocolSecretRequest() {} + private UpdateMeasurementProtocolSecretRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder.class); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -87,55 +62,37 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -143,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -158,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
@@ -172,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (measurementProtocolSecret_ != null) { output.writeMessage(1, getMeasurementProtocolSecret()); } @@ -201,12 +153,12 @@ public int getSerializedSize() { size = 0; if (measurementProtocolSecret_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getMeasurementProtocolSecret()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMeasurementProtocolSecret()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,23 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest)) { + if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other = - (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) obj; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) - return false; + if (!getMeasurementProtocolSecret() + .equals(other.getMeasurementProtocolSecret())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -259,139 +210,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( 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.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - 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.v1beta.UpdateMeasurementProtocolSecretRequest 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.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder - .class); + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder.class); } - // Construct using - // com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.newBuilder() - private Builder() {} + // Construct using com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -410,22 +351,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - .getDefaultInstance(); + public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = - buildPartial(); + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -434,26 +372,23 @@ public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest @java.lang.Override public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = - new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result) { + private void buildPartial0(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.measurementProtocolSecret_ = - measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -461,52 +396,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdateMeasurementProtocolSecretRequest) { - return mergeFrom( - (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) other); + if (other instanceof com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) { + return mergeFrom((com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other) { - if (other - == com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other) { + if (other == com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; if (other.hasMeasurementProtocolSecret()) { mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); } @@ -539,26 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().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: + case 10: { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -568,67 +497,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> - measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret - getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -642,15 +549,11 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -664,24 +567,17 @@ public Builder setMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && measurementProtocolSecret_ != null - && measurementProtocolSecret_ - != com.google.analytics.admin.v1beta.MeasurementProtocolSecret - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + measurementProtocolSecret_ != null && + measurementProtocolSecret_ != com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -694,15 +590,11 @@ public Builder mergeMeasurementProtocolSecret( return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000001); @@ -715,66 +607,48 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder - getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null - ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() - : measurementProtocolSecret_; + return measurementProtocolSecret_ == null ? + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; } } /** - * - * *
      * Required. The measurement protocol secret to update.
      * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), getParentForChildren(), isClean()); + measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), + getParentForChildren(), + isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; @@ -782,47 +656,34 @@ public Builder clearMeasurementProtocolSecret() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -843,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -862,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -872,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -887,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -906,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -920,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -932,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -947,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -974,44 +820,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - DEFAULT_INSTANCE; - + private static final com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - getDefaultInstance() { + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMeasurementProtocolSecretRequest 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; @@ -1023,8 +866,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java similarity index 58% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java index 938c81baa9ba..73ae731e5eac 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,97 +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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateMeasurementProtocolSecretRequestOrBuilder - extends +public interface UpdateMeasurementProtocolSecretRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** - * - * *
    * Required. The measurement protocol secret to update.
    * 
* - * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder - getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java similarity index 66% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java index 75552998006c..33c01bf4aafe 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java @@ -1,85 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** - * - * *
  * Request message for UpdateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdatePropertyRequest} */ -public final class UpdatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdatePropertyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdatePropertyRequest) UpdatePropertyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdatePropertyRequest.newBuilder() to construct. private UpdatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePropertyRequest() {} + private UpdatePropertyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, - com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Property property_; /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ @java.lang.Override @@ -87,60 +64,43 @@ public boolean hasProperty() { return property_ != null; } /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1beta.Property getProperty() { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -148,17 +108,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * 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]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -166,16 +122,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -183,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -212,10 +165,12 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -225,21 +180,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdatePropertyRequest other = - (com.google.analytics.admin.v1beta.UpdatePropertyRequest) obj; + com.google.analytics.admin.v1beta.UpdatePropertyRequest other = (com.google.analytics.admin.v1beta.UpdatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,136 +222,129 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( 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.v1beta.UpdatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.admin.v1beta.UpdatePropertyRequest prototype) { + public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdatePropertyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdatePropertyRequest) com.google.analytics.admin.v1beta.UpdatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, - com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdatePropertyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto - .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; } @java.lang.Override @@ -435,11 +384,8 @@ public com.google.analytics.admin.v1beta.UpdatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdatePropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdatePropertyRequest result = - new com.google.analytics.admin.v1beta.UpdatePropertyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.analytics.admin.v1beta.UpdatePropertyRequest result = new com.google.analytics.admin.v1beta.UpdatePropertyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -447,10 +393,14 @@ public com.google.analytics.admin.v1beta.UpdatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1beta.UpdatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null + ? property_ + : propertyBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -458,39 +408,38 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdatePropertyReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.v1beta.UpdatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdatePropertyRequest) other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdatePropertyRequest)other); } else { super.mergeFrom(other); return this; @@ -498,8 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdatePropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdatePropertyRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.admin.v1beta.UpdatePropertyRequest.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -532,25 +480,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPropertyFieldBuilder().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: + case 10: { + input.readMessage( + getPropertyFieldBuilder().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) { @@ -560,69 +509,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.analytics.admin.v1beta.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> - propertyBuilder_; + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertyBuilder_; /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ public com.google.analytics.admin.v1beta.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { @@ -638,19 +567,16 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setProperty(com.google.analytics.admin.v1beta.Property.Builder builderForValue) { + public Builder setProperty( + com.google.analytics.admin.v1beta.Property.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -661,23 +587,19 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property.Builder bu return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -690,17 +612,13 @@ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -713,17 +631,13 @@ public Builder clearProperty() { return this; } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -731,52 +645,40 @@ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() - : property_; + return property_ == null ? + com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; } } /** - * - * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, - com.google.analytics.admin.v1beta.Property.Builder, - com.google.analytics.admin.v1beta.PropertyOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; @@ -784,61 +686,45 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * 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]; - * - * + * .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. 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]; - * - * + * .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_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -854,18 +740,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -876,22 +760,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * 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]; - * + * .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()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -904,16 +785,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -926,16 +804,13 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * 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]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -943,57 +818,47 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * 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]; - * + * .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_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .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> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1003,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdatePropertyRequest) private static final com.google.analytics.admin.v1beta.UpdatePropertyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdatePropertyRequest(); } @@ -1017,27 +882,27 @@ public static com.google.analytics.admin.v1beta.UpdatePropertyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePropertyRequest 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; @@ -1052,4 +917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.UpdatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java similarity index 64% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java index ae3d95295034..7d568aea53cb 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java +++ b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java @@ -1,116 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdatePropertyRequestOrBuilder - extends +public interface UpdatePropertyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdatePropertyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The property. */ com.google.analytics.admin.v1beta.Property getProperty(); /** - * - * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.analytics.admin.v1beta.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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .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. 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]; - * - * + * .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. 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]; - * + * .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-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto similarity index 100% rename from java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto rename to owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java diff --git a/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java b/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java similarity index 100% rename from java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java rename to owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java From 4968cd6f40fc89782d19234276d3946a2dd74b19 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 7 Feb 2023 23:14:37 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-analytics-admin/README.md | 6 +- .../v1alpha/AnalyticsAdminServiceClient.java | 0 .../AnalyticsAdminServiceSettings.java | 1 - .../admin/v1alpha/gapic_metadata.json | 0 .../analytics/admin/v1alpha/package-info.java | 0 .../stub/AnalyticsAdminServiceStub.java | 0 .../AnalyticsAdminServiceStubSettings.java | 0 ...cAnalyticsAdminServiceCallableFactory.java | 0 .../stub/GrpcAnalyticsAdminServiceStub.java | 1 - ...nAnalyticsAdminServiceCallableFactory.java | 0 .../HttpJsonAnalyticsAdminServiceStub.java | 0 .../v1beta/AnalyticsAdminServiceClient.java | 0 .../v1beta/AnalyticsAdminServiceSettings.java | 1 - .../admin/v1beta/gapic_metadata.json | 0 .../analytics/admin/v1beta/package-info.java | 0 .../stub/AnalyticsAdminServiceStub.java | 0 .../AnalyticsAdminServiceStubSettings.java | 0 ...cAnalyticsAdminServiceCallableFactory.java | 0 .../stub/GrpcAnalyticsAdminServiceStub.java | 1 - ...nAnalyticsAdminServiceCallableFactory.java | 0 .../HttpJsonAnalyticsAdminServiceStub.java | 0 ...alyticsAdminServiceClientHttpJsonTest.java | 0 .../AnalyticsAdminServiceClientTest.java | 0 .../v1alpha/MockAnalyticsAdminService.java | 0 .../MockAnalyticsAdminServiceImpl.java | 0 ...alyticsAdminServiceClientHttpJsonTest.java | 0 .../AnalyticsAdminServiceClientTest.java | 0 .../v1beta/MockAnalyticsAdminService.java | 0 .../v1beta/MockAnalyticsAdminServiceImpl.java | 0 .../v1alpha/AnalyticsAdminServiceGrpc.java | 11610 ++++++++++++++++ .../v1beta/AnalyticsAdminServiceGrpc.java | 6139 ++++++++ .../admin/v1alpha/AccessBetweenFilter.java | 447 +- .../v1alpha/AccessBetweenFilterOrBuilder.java | 34 +- .../admin/v1alpha/AccessDateRange.java | 397 +- .../v1alpha/AccessDateRangeOrBuilder.java | 36 +- .../admin/v1alpha/AccessDimension.java | 325 +- .../admin/v1alpha/AccessDimensionHeader.java | 328 +- .../AccessDimensionHeaderOrBuilder.java | 50 + .../v1alpha/AccessDimensionOrBuilder.java | 27 +- .../admin/v1alpha/AccessDimensionValue.java | 328 +- .../AccessDimensionValueOrBuilder.java | 27 +- .../analytics/admin/v1alpha/AccessFilter.java | 767 +- .../admin/v1alpha/AccessFilterExpression.java | 742 +- .../v1alpha/AccessFilterExpressionList.java | 438 +- .../AccessFilterExpressionListOrBuilder.java | 33 +- .../AccessFilterExpressionOrBuilder.java | 53 +- .../admin/v1alpha/AccessFilterOrBuilder.java | 59 +- .../admin/v1alpha/AccessInListFilter.java | 396 +- .../v1alpha/AccessInListFilterOrBuilder.java | 39 +- .../analytics/admin/v1alpha/AccessMetric.java | 321 +- .../admin/v1alpha/AccessMetricHeader.java | 328 +- .../v1alpha/AccessMetricHeaderOrBuilder.java | 50 + .../admin/v1alpha/AccessMetricOrBuilder.java | 27 +- .../admin/v1alpha/AccessMetricValue.java | 325 +- .../v1alpha/AccessMetricValueOrBuilder.java | 50 + .../admin/v1alpha/AccessNumericFilter.java | 508 +- .../v1alpha/AccessNumericFilterOrBuilder.java | 32 +- .../admin/v1alpha/AccessOrderBy.java | 1461 +- .../admin/v1alpha/AccessOrderByOrBuilder.java | 40 +- .../analytics/admin/v1alpha/AccessQuota.java | 868 +- .../admin/v1alpha/AccessQuotaOrBuilder.java | 73 +- .../admin/v1alpha/AccessQuotaStatus.java | 322 +- .../v1alpha/AccessQuotaStatusOrBuilder.java | 51 + .../admin/v1alpha/AccessReportProto.java | 396 + .../analytics/admin/v1alpha/AccessRow.java | 642 +- .../admin/v1alpha/AccessRowOrBuilder.java | 66 +- .../admin/v1alpha/AccessStringFilter.java | 529 +- .../v1alpha/AccessStringFilterOrBuilder.java | 36 +- .../analytics/admin/v1alpha/Account.java | 768 +- .../analytics/admin/v1alpha/AccountName.java | 0 .../admin/v1alpha/AccountOrBuilder.java | 82 +- .../admin/v1alpha/AccountSummary.java | 624 +- .../v1alpha/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 477 +- ...dgeUserDataCollectionRequestOrBuilder.java | 44 +- ...AcknowledgeUserDataCollectionResponse.java | 303 +- ...geUserDataCollectionResponseOrBuilder.java | 24 + .../analytics/admin/v1alpha/ActionType.java | 89 +- .../analytics/admin/v1alpha/ActorType.java | 89 +- .../admin/v1alpha/AnalyticsAdminProto.java | 2391 ++++ ...Video360AdvertiserLinkProposalRequest.java | 712 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...ideo360AdvertiserLinkProposalResponse.java | 829 ++ ...vertiserLinkProposalResponseOrBuilder.java | 71 + .../admin/v1alpha/ArchiveAudienceRequest.java | 356 +- .../ArchiveAudienceRequestOrBuilder.java | 54 + .../ArchiveCustomDimensionRequest.java | 379 +- ...rchiveCustomDimensionRequestOrBuilder.java | 56 + .../v1alpha/ArchiveCustomMetricRequest.java | 366 +- .../ArchiveCustomMetricRequestOrBuilder.java | 56 + .../admin/v1alpha/AttributionSettings.java | 932 +- .../v1alpha/AttributionSettingsName.java | 0 .../v1alpha/AttributionSettingsOrBuilder.java | 78 +- .../analytics/admin/v1alpha/Audience.java | 1131 +- .../AudienceDimensionOrMetricFilter.java | 4607 +++--- ...ienceDimensionOrMetricFilterOrBuilder.java | 142 +- .../admin/v1alpha/AudienceEventFilter.java | 538 +- .../v1alpha/AudienceEventFilterOrBuilder.java | 58 +- .../admin/v1alpha/AudienceEventTrigger.java | 497 +- .../AudienceEventTriggerOrBuilder.java | 41 +- .../admin/v1alpha/AudienceFilterClause.java | 678 +- .../AudienceFilterClauseOrBuilder.java | 48 +- .../v1alpha/AudienceFilterExpression.java | 927 +- .../v1alpha/AudienceFilterExpressionList.java | 560 +- ...AudienceFilterExpressionListOrBuilder.java | 51 +- .../AudienceFilterExpressionOrBuilder.java | 73 +- .../admin/v1alpha/AudienceFilterScope.java | 84 +- .../analytics/admin/v1alpha/AudienceName.java | 0 .../admin/v1alpha/AudienceOrBuilder.java | 127 +- .../admin/v1alpha/AudienceProto.java | 393 + .../admin/v1alpha/AudienceSequenceFilter.java | 1664 ++- .../AudienceSequenceFilterOrBuilder.java | 168 + .../admin/v1alpha/AudienceSimpleFilter.java | 511 +- .../AudienceSimpleFilterOrBuilder.java | 99 + .../admin/v1alpha/AuditUserLink.java | 602 +- .../admin/v1alpha/AuditUserLinkOrBuilder.java | 72 +- .../admin/v1alpha/AuditUserLinksRequest.java | 461 +- .../AuditUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/AuditUserLinksResponse.java | 484 +- .../AuditUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/BatchCreateUserLinksRequest.java | 669 +- .../BatchCreateUserLinksRequestOrBuilder.java | 76 +- .../v1alpha/BatchCreateUserLinksResponse.java | 440 +- ...BatchCreateUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchDeleteUserLinksRequest.java | 631 +- .../BatchDeleteUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchGetUserLinksRequest.java | 512 +- .../BatchGetUserLinksRequestOrBuilder.java | 69 +- .../v1alpha/BatchGetUserLinksResponse.java | 427 +- .../BatchGetUserLinksResponseOrBuilder.java | 36 +- .../v1alpha/BatchUpdateUserLinksRequest.java | 631 +- .../BatchUpdateUserLinksRequestOrBuilder.java | 73 +- .../v1alpha/BatchUpdateUserLinksResponse.java | 440 +- ...BatchUpdateUserLinksResponseOrBuilder.java | 36 +- .../analytics/admin/v1alpha/BigQueryLink.java | 842 +- .../admin/v1alpha/BigQueryLinkName.java | 0 .../admin/v1alpha/BigQueryLinkOrBuilder.java | 98 +- ...Video360AdvertiserLinkProposalRequest.java | 709 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + .../admin/v1alpha/ChangeHistoryChange.java | 3456 +++-- .../v1alpha/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1alpha/ChangeHistoryEvent.java | 730 +- .../v1alpha/ChangeHistoryEventOrBuilder.java | 71 +- .../v1alpha/ChangeHistoryResourceType.java | 180 +- .../admin/v1alpha/ConversionEvent.java | 603 +- .../admin/v1alpha/ConversionEventName.java | 0 .../v1alpha/ConversionEventOrBuilder.java | 59 +- .../admin/v1alpha/CreateAudienceRequest.java | 498 +- .../CreateAudienceRequestOrBuilder.java | 95 + .../v1alpha/CreateConversionEventRequest.java | 526 +- ...CreateConversionEventRequestOrBuilder.java | 97 + .../v1alpha/CreateCustomDimensionRequest.java | 526 +- ...CreateCustomDimensionRequestOrBuilder.java | 95 + .../v1alpha/CreateCustomMetricRequest.java | 510 +- .../CreateCustomMetricRequestOrBuilder.java | 95 + .../v1alpha/CreateDataStreamRequest.java | 498 +- .../CreateDataStreamRequestOrBuilder.java | 95 + ...Video360AdvertiserLinkProposalRequest.java | 1017 ++ ...dvertiserLinkProposalRequestOrBuilder.java | 97 + ...eDisplayVideo360AdvertiserLinkRequest.java | 647 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 97 + .../v1alpha/CreateFirebaseLinkRequest.java | 510 +- .../CreateFirebaseLinkRequestOrBuilder.java | 97 + .../v1alpha/CreateGoogleAdsLinkRequest.java | 510 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 + ...reateMeasurementProtocolSecretRequest.java | 584 +- ...urementProtocolSecretRequestOrBuilder.java | 98 + .../admin/v1alpha/CreatePropertyRequest.java | 401 +- .../CreatePropertyRequestOrBuilder.java | 69 + .../CreateSearchAds360LinkRequest.java | 536 +- ...reateSearchAds360LinkRequestOrBuilder.java | 95 + .../admin/v1alpha/CreateUserLinkRequest.java | 534 +- .../CreateUserLinkRequestOrBuilder.java | 109 + .../admin/v1alpha/CustomDimension.java | 772 +- .../admin/v1alpha/CustomDimensionName.java | 0 .../v1alpha/CustomDimensionOrBuilder.java | 79 +- .../analytics/admin/v1alpha/CustomMetric.java | 1220 +- .../admin/v1alpha/CustomMetricName.java | 0 .../admin/v1alpha/CustomMetricOrBuilder.java | 134 +- .../admin/v1alpha/DataRetentionSettings.java | 553 +- .../v1alpha/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 47 +- .../admin/v1alpha/DataSharingSettings.java | 524 +- .../v1alpha/DataSharingSettingsName.java | 0 .../v1alpha/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1alpha/DataStream.java | 2703 ++-- .../admin/v1alpha/DataStreamName.java | 0 .../admin/v1alpha/DataStreamOrBuilder.java | 135 +- .../admin/v1alpha/DeleteAccountRequest.java | 356 +- .../DeleteAccountRequestOrBuilder.java | 58 + .../v1alpha/DeleteConversionEventRequest.java | 379 +- ...DeleteConversionEventRequestOrBuilder.java | 58 + .../v1alpha/DeleteDataStreamRequest.java | 356 +- .../DeleteDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 709 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...eDisplayVideo360AdvertiserLinkRequest.java | 466 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + .../v1alpha/DeleteFirebaseLinkRequest.java | 366 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 56 + .../v1alpha/DeleteGoogleAdsLinkRequest.java | 366 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 + ...eleteMeasurementProtocolSecretRequest.java | 412 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1alpha/DeletePropertyRequest.java | 356 +- .../DeletePropertyRequestOrBuilder.java | 58 + .../DeleteSearchAds360LinkRequest.java | 379 +- ...eleteSearchAds360LinkRequestOrBuilder.java | 56 + .../admin/v1alpha/DeleteUserLinkRequest.java | 356 +- .../DeleteUserLinkRequestOrBuilder.java | 54 + .../DisplayVideo360AdvertiserLink.java | 892 +- .../DisplayVideo360AdvertiserLinkName.java | 0 ...isplayVideo360AdvertiserLinkOrBuilder.java | 93 +- ...DisplayVideo360AdvertiserLinkProposal.java | 1213 +- ...layVideo360AdvertiserLinkProposalName.java | 0 ...deo360AdvertiserLinkProposalOrBuilder.java | 137 +- .../admin/v1alpha/ExpandedDataSet.java | 1006 +- .../admin/v1alpha/ExpandedDataSetFilter.java | 1754 ++- .../ExpandedDataSetFilterExpression.java | 760 +- .../ExpandedDataSetFilterExpressionList.java | 594 +- ...dDataSetFilterExpressionListOrBuilder.java | 91 + ...andedDataSetFilterExpressionOrBuilder.java | 57 +- .../ExpandedDataSetFilterOrBuilder.java | 67 +- .../v1alpha/ExpandedDataSetOrBuilder.java | 124 +- .../admin/v1alpha/ExpandedDataSetProto.java | 186 + ...utomatedGa4ConfigurationOptOutRequest.java | 446 +- ...a4ConfigurationOptOutRequestOrBuilder.java | 27 +- ...tomatedGa4ConfigurationOptOutResponse.java | 414 +- ...4ConfigurationOptOutResponseOrBuilder.java | 38 + .../analytics/admin/v1alpha/FirebaseLink.java | 527 +- .../admin/v1alpha/FirebaseLinkName.java | 0 .../admin/v1alpha/FirebaseLinkOrBuilder.java | 53 +- .../admin/v1alpha/GetAccountRequest.java | 353 +- .../v1alpha/GetAccountRequestOrBuilder.java | 58 + .../GetAttributionSettingsRequest.java | 379 +- ...etAttributionSettingsRequestOrBuilder.java | 56 + .../admin/v1alpha/GetAudienceRequest.java | 356 +- .../v1alpha/GetAudienceRequestOrBuilder.java | 56 + .../admin/v1alpha/GetBigQueryLinkRequest.java | 356 +- .../GetBigQueryLinkRequestOrBuilder.java | 58 + .../v1alpha/GetConversionEventRequest.java | 366 +- .../GetConversionEventRequestOrBuilder.java | 58 + .../v1alpha/GetCustomDimensionRequest.java | 366 +- .../GetCustomDimensionRequestOrBuilder.java | 56 + .../admin/v1alpha/GetCustomMetricRequest.java | 356 +- .../GetCustomMetricRequestOrBuilder.java | 56 + .../GetDataRetentionSettingsRequest.java | 394 +- ...DataRetentionSettingsRequestOrBuilder.java | 60 + .../GetDataSharingSettingsRequest.java | 379 +- ...etDataSharingSettingsRequestOrBuilder.java | 58 + .../admin/v1alpha/GetDataStreamRequest.java | 356 +- .../GetDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 489 +- ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...tDisplayVideo360AdvertiserLinkRequest.java | 465 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + .../v1alpha/GetGlobalSiteTagRequest.java | 356 +- .../GetGlobalSiteTagRequestOrBuilder.java | 35 +- .../GetGoogleSignalsSettingsRequest.java | 394 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 56 + .../GetMeasurementProtocolSecretRequest.java | 398 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1alpha/GetPropertyRequest.java | 356 +- .../v1alpha/GetPropertyRequestOrBuilder.java | 58 + .../v1alpha/GetSearchAds360LinkRequest.java | 366 +- .../GetSearchAds360LinkRequestOrBuilder.java | 56 + .../admin/v1alpha/GetUserLinkRequest.java | 356 +- .../v1alpha/GetUserLinkRequestOrBuilder.java | 54 + .../admin/v1alpha/GlobalSiteTag.java | 397 +- .../admin/v1alpha/GlobalSiteTagName.java | 0 .../admin/v1alpha/GlobalSiteTagOrBuilder.java | 36 +- .../admin/v1alpha/GoogleAdsLink.java | 874 +- .../admin/v1alpha/GoogleAdsLinkName.java | 0 .../admin/v1alpha/GoogleAdsLinkOrBuilder.java | 90 +- .../admin/v1alpha/GoogleSignalsConsent.java | 77 +- .../admin/v1alpha/GoogleSignalsSettings.java | 490 +- .../v1alpha/GoogleSignalsSettingsName.java | 0 .../GoogleSignalsSettingsOrBuilder.java | 47 +- .../admin/v1alpha/GoogleSignalsState.java | 80 +- .../admin/v1alpha/IndustryCategory.java | 248 +- .../LinkProposalInitiatingProduct.java | 77 +- .../admin/v1alpha/LinkProposalState.java | 108 +- .../v1alpha/LinkProposalStatusDetails.java | 541 +- .../LinkProposalStatusDetailsOrBuilder.java | 58 +- .../v1alpha/ListAccountSummariesRequest.java | 381 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1alpha/ListAccountSummariesResponse.java | 498 +- ...ListAccountSummariesResponseOrBuilder.java | 42 +- .../admin/v1alpha/ListAccountsRequest.java | 397 +- .../v1alpha/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1alpha/ListAccountsResponse.java | 489 +- .../ListAccountsResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListAudiencesRequest.java | 461 +- .../ListAudiencesRequestOrBuilder.java | 47 +- .../admin/v1alpha/ListAudiencesResponse.java | 489 +- .../ListAudiencesResponseOrBuilder.java | 45 +- .../v1alpha/ListBigQueryLinksRequest.java | 461 +- .../ListBigQueryLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListBigQueryLinksResponse.java | 478 +- .../ListBigQueryLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListConversionEventsRequest.java | 481 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1alpha/ListConversionEventsResponse.java | 498 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomDimensionsRequest.java | 481 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomDimensionsResponse.java | 498 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomMetricsRequest.java | 461 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomMetricsResponse.java | 478 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListDataStreamsRequest.java | 461 +- .../ListDataStreamsRequestOrBuilder.java | 47 +- .../v1alpha/ListDataStreamsResponse.java | 486 +- .../ListDataStreamsResponseOrBuilder.java | 45 +- ...ideo360AdvertiserLinkProposalsRequest.java | 599 +- ...vertiserLinkProposalsRequestOrBuilder.java | 47 +- ...deo360AdvertiserLinkProposalsResponse.java | 779 +- ...ertiserLinkProposalsResponseOrBuilder.java | 119 + ...DisplayVideo360AdvertiserLinksRequest.java | 570 +- ...deo360AdvertiserLinksRequestOrBuilder.java | 47 +- ...isplayVideo360AdvertiserLinksResponse.java | 719 +- ...eo360AdvertiserLinksResponseOrBuilder.java | 69 +- .../v1alpha/ListFirebaseLinksRequest.java | 461 +- .../ListFirebaseLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListFirebaseLinksResponse.java | 478 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListGoogleAdsLinksRequest.java | 471 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListGoogleAdsLinksResponse.java | 481 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- ...ListMeasurementProtocolSecretsRequest.java | 513 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 675 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1alpha/ListPropertiesRequest.java | 471 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1alpha/ListPropertiesResponse.java | 489 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../v1alpha/ListSearchAds360LinksRequest.java | 484 +- ...ListSearchAds360LinksRequestOrBuilder.java | 47 +- .../ListSearchAds360LinksResponse.java | 575 +- ...istSearchAds360LinksResponseOrBuilder.java | 57 +- .../admin/v1alpha/ListUserLinksRequest.java | 461 +- .../ListUserLinksRequestOrBuilder.java | 47 +- .../admin/v1alpha/ListUserLinksResponse.java | 489 +- .../ListUserLinksResponseOrBuilder.java | 45 +- .../v1alpha/MeasurementProtocolSecret.java | 482 +- .../MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 45 +- .../analytics/admin/v1alpha/NumericValue.java | 403 +- .../admin/v1alpha/NumericValueOrBuilder.java | 30 +- .../analytics/admin/v1alpha/Property.java | 1476 +- .../analytics/admin/v1alpha/PropertyName.java | 0 .../admin/v1alpha/PropertyOrBuilder.java | 182 +- .../admin/v1alpha/PropertySummary.java | 525 +- .../v1alpha/PropertySummaryOrBuilder.java | 51 +- .../analytics/admin/v1alpha/PropertyType.java | 89 +- .../ProvisionAccountTicketRequest.java | 448 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 362 +- ...ovisionAccountTicketResponseOrBuilder.java | 50 + .../admin/v1alpha/ResourcesProto.java | 871 ++ .../admin/v1alpha/RunAccessReportRequest.java | 1336 +- .../RunAccessReportRequestOrBuilder.java | 133 +- .../v1alpha/RunAccessReportResponse.java | 942 +- .../RunAccessReportResponseOrBuilder.java | 91 +- .../admin/v1alpha/SearchAds360Link.java | 965 +- .../admin/v1alpha/SearchAds360LinkName.java | 0 .../v1alpha/SearchAds360LinkOrBuilder.java | 101 +- .../SearchChangeHistoryEventsRequest.java | 1410 +- ...chChangeHistoryEventsRequestOrBuilder.java | 201 +- .../SearchChangeHistoryEventsResponse.java | 613 +- ...hChangeHistoryEventsResponseOrBuilder.java | 56 +- .../analytics/admin/v1alpha/ServiceLevel.java | 82 +- ...utomatedGa4ConfigurationOptOutRequest.java | 473 +- ...a4ConfigurationOptOutRequestOrBuilder.java | 30 +- ...tomatedGa4ConfigurationOptOutResponse.java | 466 + ...4ConfigurationOptOutResponseOrBuilder.java | 24 + .../admin/v1alpha/UpdateAccountRequest.java | 529 +- .../UpdateAccountRequestOrBuilder.java | 55 +- .../UpdateAttributionSettingsRequest.java | 584 +- ...teAttributionSettingsRequestOrBuilder.java | 55 +- .../admin/v1alpha/UpdateAudienceRequest.java | 526 +- .../UpdateAudienceRequestOrBuilder.java | 55 +- .../v1alpha/UpdateCustomDimensionRequest.java | 506 +- ...UpdateCustomDimensionRequestOrBuilder.java | 43 +- .../v1alpha/UpdateCustomMetricRequest.java | 490 +- .../UpdateCustomMetricRequestOrBuilder.java | 43 +- .../UpdateDataRetentionSettingsRequest.java | 585 +- ...DataRetentionSettingsRequestOrBuilder.java | 58 +- .../v1alpha/UpdateDataStreamRequest.java | 478 +- .../UpdateDataStreamRequestOrBuilder.java | 43 +- ...eDisplayVideo360AdvertiserLinkRequest.java | 675 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 61 +- .../v1alpha/UpdateGoogleAdsLinkRequest.java | 490 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 43 +- .../UpdateGoogleSignalsSettingsRequest.java | 585 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 58 +- ...pdateMeasurementProtocolSecretRequest.java | 576 +- ...urementProtocolSecretRequestOrBuilder.java | 49 +- .../admin/v1alpha/UpdatePropertyRequest.java | 526 +- .../UpdatePropertyRequestOrBuilder.java | 55 +- .../UpdateSearchAds360LinkRequest.java | 516 +- ...pdateSearchAds360LinkRequestOrBuilder.java | 43 +- .../admin/v1alpha/UpdateUserLinkRequest.java | 401 +- .../UpdateUserLinkRequestOrBuilder.java | 66 + .../analytics/admin/v1alpha/UserLink.java | 493 +- .../analytics/admin/v1alpha/UserLinkName.java | 0 .../admin/v1alpha/UserLinkOrBuilder.java | 54 +- .../admin/v1alpha/access_report.proto | 0 .../admin/v1alpha/analytics_admin.proto | 0 .../analytics/admin/v1alpha/audience.proto | 0 .../admin/v1alpha/expanded_data_set.proto | 0 .../analytics/admin/v1alpha/resources.proto | 0 .../analytics/admin/v1beta/Account.java | 768 +- .../analytics/admin/v1beta/AccountName.java | 0 .../admin/v1beta/AccountOrBuilder.java | 82 +- .../admin/v1beta/AccountSummary.java | 617 +- .../admin/v1beta/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 470 +- ...dgeUserDataCollectionRequestOrBuilder.java | 44 +- ...AcknowledgeUserDataCollectionResponse.java | 300 +- ...geUserDataCollectionResponseOrBuilder.java | 24 + .../analytics/admin/v1beta/ActionType.java | 89 +- .../analytics/admin/v1beta/ActorType.java | 89 +- .../admin/v1beta/AnalyticsAdminProto.java | 1256 ++ .../v1beta/ArchiveCustomDimensionRequest.java | 379 +- ...rchiveCustomDimensionRequestOrBuilder.java | 56 + .../v1beta/ArchiveCustomMetricRequest.java | 366 +- .../ArchiveCustomMetricRequestOrBuilder.java | 56 + .../admin/v1beta/ChangeHistoryChange.java | 2128 ++- .../v1beta/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1beta/ChangeHistoryEvent.java | 727 +- .../v1beta/ChangeHistoryEventOrBuilder.java | 71 +- .../v1beta/ChangeHistoryResourceType.java | 145 +- .../admin/v1beta/ConversionEvent.java | 603 +- .../admin/v1beta/ConversionEventName.java | 0 .../v1beta/ConversionEventOrBuilder.java | 59 +- .../v1beta/CreateConversionEventRequest.java | 523 +- ...CreateConversionEventRequestOrBuilder.java | 97 + .../v1beta/CreateCustomDimensionRequest.java | 523 +- ...CreateCustomDimensionRequestOrBuilder.java | 95 + .../v1beta/CreateCustomMetricRequest.java | 500 +- .../CreateCustomMetricRequestOrBuilder.java | 95 + .../admin/v1beta/CreateDataStreamRequest.java | 498 +- .../CreateDataStreamRequestOrBuilder.java | 95 + .../v1beta/CreateFirebaseLinkRequest.java | 500 +- .../CreateFirebaseLinkRequestOrBuilder.java | 97 + .../v1beta/CreateGoogleAdsLinkRequest.java | 510 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 + ...reateMeasurementProtocolSecretRequest.java | 580 +- ...urementProtocolSecretRequestOrBuilder.java | 98 + .../admin/v1beta/CreatePropertyRequest.java | 404 +- .../CreatePropertyRequestOrBuilder.java | 69 + .../admin/v1beta/CustomDimension.java | 772 +- .../admin/v1beta/CustomDimensionName.java | 0 .../v1beta/CustomDimensionOrBuilder.java | 79 +- .../analytics/admin/v1beta/CustomMetric.java | 1213 +- .../admin/v1beta/CustomMetricName.java | 0 .../admin/v1beta/CustomMetricOrBuilder.java | 134 +- .../admin/v1beta/DataRetentionSettings.java | 553 +- .../v1beta/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 44 +- .../admin/v1beta/DataSharingSettings.java | 524 +- .../admin/v1beta/DataSharingSettingsName.java | 0 .../v1beta/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1beta/DataStream.java | 2700 ++-- .../admin/v1beta/DataStreamName.java | 0 .../admin/v1beta/DataStreamOrBuilder.java | 135 +- .../admin/v1beta/DeleteAccountRequest.java | 356 +- .../v1beta/DeleteAccountRequestOrBuilder.java | 58 + .../v1beta/DeleteConversionEventRequest.java | 376 +- ...DeleteConversionEventRequestOrBuilder.java | 58 + .../admin/v1beta/DeleteDataStreamRequest.java | 356 +- .../DeleteDataStreamRequestOrBuilder.java | 56 + .../v1beta/DeleteFirebaseLinkRequest.java | 356 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 56 + .../v1beta/DeleteGoogleAdsLinkRequest.java | 366 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 + ...eleteMeasurementProtocolSecretRequest.java | 408 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1beta/DeletePropertyRequest.java | 356 +- .../DeletePropertyRequestOrBuilder.java | 58 + .../analytics/admin/v1beta/FirebaseLink.java | 524 +- .../admin/v1beta/FirebaseLinkName.java | 0 .../admin/v1beta/FirebaseLinkOrBuilder.java | 53 +- .../admin/v1beta/GetAccountRequest.java | 353 +- .../v1beta/GetAccountRequestOrBuilder.java | 58 + .../v1beta/GetConversionEventRequest.java | 356 +- .../GetConversionEventRequestOrBuilder.java | 58 + .../v1beta/GetCustomDimensionRequest.java | 356 +- .../GetCustomDimensionRequestOrBuilder.java | 56 + .../admin/v1beta/GetCustomMetricRequest.java | 356 +- .../GetCustomMetricRequestOrBuilder.java | 56 + .../GetDataRetentionSettingsRequest.java | 390 +- ...DataRetentionSettingsRequestOrBuilder.java | 60 + .../v1beta/GetDataSharingSettingsRequest.java | 379 +- ...etDataSharingSettingsRequestOrBuilder.java | 58 + .../admin/v1beta/GetDataStreamRequest.java | 356 +- .../v1beta/GetDataStreamRequestOrBuilder.java | 56 + .../GetMeasurementProtocolSecretRequest.java | 395 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1beta/GetPropertyRequest.java | 353 +- .../v1beta/GetPropertyRequestOrBuilder.java | 58 + .../analytics/admin/v1beta/GoogleAdsLink.java | 870 +- .../admin/v1beta/GoogleAdsLinkName.java | 0 .../admin/v1beta/GoogleAdsLinkOrBuilder.java | 90 +- .../admin/v1beta/IndustryCategory.java | 248 +- .../v1beta/ListAccountSummariesRequest.java | 371 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1beta/ListAccountSummariesResponse.java | 494 +- ...ListAccountSummariesResponseOrBuilder.java | 45 +- .../admin/v1beta/ListAccountsRequest.java | 397 +- .../v1beta/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1beta/ListAccountsResponse.java | 489 +- .../v1beta/ListAccountsResponseOrBuilder.java | 45 +- .../v1beta/ListConversionEventsRequest.java | 471 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1beta/ListConversionEventsResponse.java | 495 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1beta/ListCustomDimensionsRequest.java | 471 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1beta/ListCustomDimensionsResponse.java | 495 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1beta/ListCustomMetricsRequest.java | 461 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1beta/ListCustomMetricsResponse.java | 466 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1beta/ListDataStreamsRequest.java | 461 +- .../ListDataStreamsRequestOrBuilder.java | 47 +- .../admin/v1beta/ListDataStreamsResponse.java | 486 +- .../ListDataStreamsResponseOrBuilder.java | 45 +- .../v1beta/ListFirebaseLinksRequest.java | 461 +- .../ListFirebaseLinksRequestOrBuilder.java | 47 +- .../v1beta/ListFirebaseLinksResponse.java | 466 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1beta/ListGoogleAdsLinksRequest.java | 461 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1beta/ListGoogleAdsLinksResponse.java | 478 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- ...ListMeasurementProtocolSecretsRequest.java | 510 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 671 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1beta/ListPropertiesRequest.java | 471 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1beta/ListPropertiesResponse.java | 489 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../v1beta/MeasurementProtocolSecret.java | 472 +- .../v1beta/MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 45 +- .../analytics/admin/v1beta/Property.java | 1476 +- .../analytics/admin/v1beta/PropertyName.java | 0 .../admin/v1beta/PropertyOrBuilder.java | 182 +- .../admin/v1beta/PropertySummary.java | 525 +- .../v1beta/PropertySummaryOrBuilder.java | 51 +- .../analytics/admin/v1beta/PropertyType.java | 89 +- .../v1beta/ProvisionAccountTicketRequest.java | 448 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 354 +- ...ovisionAccountTicketResponseOrBuilder.java | 50 + .../admin/v1beta/ResourcesProto.java | 558 + .../SearchChangeHistoryEventsRequest.java | 1410 +- ...chChangeHistoryEventsRequestOrBuilder.java | 198 +- .../SearchChangeHistoryEventsResponse.java | 607 +- ...hChangeHistoryEventsResponseOrBuilder.java | 57 +- .../analytics/admin/v1beta/ServiceLevel.java | 82 +- .../admin/v1beta/UpdateAccountRequest.java | 529 +- .../v1beta/UpdateAccountRequestOrBuilder.java | 55 +- .../v1beta/UpdateCustomDimensionRequest.java | 503 +- ...UpdateCustomDimensionRequestOrBuilder.java | 43 +- .../v1beta/UpdateCustomMetricRequest.java | 480 +- .../UpdateCustomMetricRequestOrBuilder.java | 43 +- .../UpdateDataRetentionSettingsRequest.java | 585 +- ...DataRetentionSettingsRequestOrBuilder.java | 58 +- .../admin/v1beta/UpdateDataStreamRequest.java | 478 +- .../UpdateDataStreamRequestOrBuilder.java | 43 +- .../v1beta/UpdateGoogleAdsLinkRequest.java | 490 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 43 +- ...pdateMeasurementProtocolSecretRequest.java | 572 +- ...urementProtocolSecretRequestOrBuilder.java | 49 +- .../admin/v1beta/UpdatePropertyRequest.java | 529 +- .../UpdatePropertyRequestOrBuilder.java | 55 +- .../admin/v1beta/analytics_admin.proto | 0 .../analytics/admin/v1beta/resources.proto | 0 .../AsyncAcknowledgeUserDataCollection.java | 0 .../SyncAcknowledgeUserDataCollection.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 .../archiveaudience/AsyncArchiveAudience.java | 0 .../archiveaudience/SyncArchiveAudience.java | 0 .../AsyncArchiveCustomDimension.java | 0 .../SyncArchiveCustomDimension.java | 0 ...iveCustomDimensionCustomdimensionname.java | 0 .../SyncArchiveCustomDimensionString.java | 0 .../AsyncArchiveCustomMetric.java | 0 .../SyncArchiveCustomMetric.java | 0 ...ncArchiveCustomMetricCustommetricname.java | 0 .../SyncArchiveCustomMetricString.java | 0 .../audituserlinks/AsyncAuditUserLinks.java | 0 .../AsyncAuditUserLinksPaged.java | 0 .../audituserlinks/SyncAuditUserLinks.java | 0 .../AsyncBatchCreateUserLinks.java | 0 .../SyncBatchCreateUserLinks.java | 0 .../AsyncBatchDeleteUserLinks.java | 0 .../SyncBatchDeleteUserLinks.java | 0 .../AsyncBatchGetUserLinks.java | 0 .../SyncBatchGetUserLinks.java | 0 .../AsyncBatchUpdateUserLinks.java | 0 .../SyncBatchUpdateUserLinks.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createaudience/AsyncCreateAudience.java | 0 .../createaudience/SyncCreateAudience.java | 0 ...yncCreateAudiencePropertynameAudience.java | 0 .../SyncCreateAudienceStringAudience.java | 0 .../AsyncCreateConversionEvent.java | 0 .../SyncCreateConversionEvent.java | 0 ...rsionEventPropertynameConversionevent.java | 0 ...eConversionEventStringConversionevent.java | 0 .../AsyncCreateCustomDimension.java | 0 .../SyncCreateCustomDimension.java | 0 ...mDimensionPropertynameCustomdimension.java | 0 ...eCustomDimensionStringCustomdimension.java | 0 .../AsyncCreateCustomMetric.java | 0 .../SyncCreateCustomMetric.java | 0 ...eCustomMetricPropertynameCustommetric.java | 0 ...cCreateCustomMetricStringCustommetric.java | 0 .../AsyncCreateDataStream.java | 0 .../SyncCreateDataStream.java | 0 ...reateDataStreamPropertynameDatastream.java | 0 .../SyncCreateDataStreamStringDatastream.java | 0 ...ncCreateDisplayVideo360AdvertiserLink.java | 0 ...ncCreateDisplayVideo360AdvertiserLink.java | 0 ...ertynameDisplayvideo360Advertiserlink.java | 0 ...nkStringDisplayvideo360Advertiserlink.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...Displayvideo360Advertiserlinkproposal.java | 0 ...Displayvideo360Advertiserlinkproposal.java | 0 .../AsyncCreateFirebaseLink.java | 0 .../SyncCreateFirebaseLink.java | 0 ...eFirebaseLinkPropertynameFirebaselink.java | 0 ...cCreateFirebaseLinkStringFirebaselink.java | 0 .../AsyncCreateGoogleAdsLink.java | 0 .../SyncCreateGoogleAdsLink.java | 0 ...oogleAdsLinkPropertynameGoogleadslink.java | 0 ...reateGoogleAdsLinkStringGoogleadslink.java | 0 .../AsyncCreateMeasurementProtocolSecret.java | 0 .../SyncCreateMeasurementProtocolSecret.java | 0 ...tastreamnameMeasurementprotocolsecret.java | 0 ...SecretStringMeasurementprotocolsecret.java | 0 .../createproperty/AsyncCreateProperty.java | 0 .../createproperty/SyncCreateProperty.java | 0 .../SyncCreatePropertyProperty.java | 0 .../AsyncCreateSearchAds360Link.java | 0 .../SyncCreateSearchAds360Link.java | 0 ...ds360LinkPropertynameSearchads360Link.java | 0 ...earchAds360LinkStringSearchads360Link.java | 0 .../createuserlink/AsyncCreateUserLink.java | 0 .../createuserlink/SyncCreateUserLink.java | 0 ...SyncCreateUserLinkAccountnameUserlink.java | 0 ...yncCreateUserLinkPropertynameUserlink.java | 0 .../SyncCreateUserLinkStringUserlink.java | 0 .../deleteaccount/AsyncDeleteAccount.java | 0 .../deleteaccount/SyncDeleteAccount.java | 0 .../SyncDeleteAccountAccountname.java | 0 .../SyncDeleteAccountString.java | 0 .../AsyncDeleteConversionEvent.java | 0 .../SyncDeleteConversionEvent.java | 0 ...eteConversionEventConversioneventname.java | 0 .../SyncDeleteConversionEventString.java | 0 .../AsyncDeleteDataStream.java | 0 .../SyncDeleteDataStream.java | 0 .../SyncDeleteDataStreamDatastreamname.java | 0 .../SyncDeleteDataStreamString.java | 0 ...ncDeleteDisplayVideo360AdvertiserLink.java | 0 ...ncDeleteDisplayVideo360AdvertiserLink.java | 0 ...LinkDisplayvideo360Advertiserlinkname.java | 0 ...teDisplayVideo360AdvertiserLinkString.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...layvideo360Advertiserlinkproposalname.java | 0 ...yVideo360AdvertiserLinkProposalString.java | 0 .../AsyncDeleteFirebaseLink.java | 0 .../SyncDeleteFirebaseLink.java | 0 ...yncDeleteFirebaseLinkFirebaselinkname.java | 0 .../SyncDeleteFirebaseLinkString.java | 0 .../AsyncDeleteGoogleAdsLink.java | 0 .../SyncDeleteGoogleAdsLink.java | 0 ...cDeleteGoogleAdsLinkGoogleadslinkname.java | 0 .../SyncDeleteGoogleAdsLinkString.java | 0 .../AsyncDeleteMeasurementProtocolSecret.java | 0 .../SyncDeleteMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...DeleteMeasurementProtocolSecretString.java | 0 .../deleteproperty/AsyncDeleteProperty.java | 0 .../deleteproperty/SyncDeleteProperty.java | 0 .../SyncDeletePropertyPropertyname.java | 0 .../SyncDeletePropertyString.java | 0 .../AsyncDeleteSearchAds360Link.java | 0 .../SyncDeleteSearchAds360Link.java | 0 ...eSearchAds360LinkSearchads360Linkname.java | 0 .../SyncDeleteSearchAds360LinkString.java | 0 .../deleteuserlink/AsyncDeleteUserLink.java | 0 .../deleteuserlink/SyncDeleteUserLink.java | 0 .../SyncDeleteUserLinkString.java | 0 .../SyncDeleteUserLinkUserlinkname.java | 0 ...cFetchAutomatedGa4ConfigurationOptOut.java | 0 ...cFetchAutomatedGa4ConfigurationOptOut.java | 0 .../getaccount/AsyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccountAccountname.java | 0 .../getaccount/SyncGetAccountString.java | 0 .../AsyncGetAttributionSettings.java | 0 .../SyncGetAttributionSettings.java | 0 ...butionSettingsAttributionsettingsname.java | 0 .../SyncGetAttributionSettingsString.java | 0 .../getaudience/AsyncGetAudience.java | 0 .../getaudience/SyncGetAudience.java | 0 .../SyncGetAudienceAudiencename.java | 0 .../getaudience/SyncGetAudienceString.java | 0 .../getbigquerylink/AsyncGetBigQueryLink.java | 0 .../getbigquerylink/SyncGetBigQueryLink.java | 0 .../SyncGetBigQueryLinkBigquerylinkname.java | 0 .../SyncGetBigQueryLinkString.java | 0 .../AsyncGetConversionEvent.java | 0 .../SyncGetConversionEvent.java | 0 ...GetConversionEventConversioneventname.java | 0 .../SyncGetConversionEventString.java | 0 .../AsyncGetCustomDimension.java | 0 .../SyncGetCustomDimension.java | 0 ...GetCustomDimensionCustomdimensionname.java | 0 .../SyncGetCustomDimensionString.java | 0 .../getcustommetric/AsyncGetCustomMetric.java | 0 .../getcustommetric/SyncGetCustomMetric.java | 0 .../SyncGetCustomMetricCustommetricname.java | 0 .../SyncGetCustomMetricString.java | 0 .../AsyncGetDataRetentionSettings.java | 0 .../SyncGetDataRetentionSettings.java | 0 ...tionSettingsDataretentionsettingsname.java | 0 .../SyncGetDataRetentionSettingsString.java | 0 .../AsyncGetDataSharingSettings.java | 0 .../SyncGetDataSharingSettings.java | 0 ...haringSettingsDatasharingsettingsname.java | 0 .../SyncGetDataSharingSettingsString.java | 0 .../getdatastream/AsyncGetDataStream.java | 0 .../getdatastream/SyncGetDataStream.java | 0 .../SyncGetDataStreamDatastreamname.java | 0 .../SyncGetDataStreamString.java | 0 ...AsyncGetDisplayVideo360AdvertiserLink.java | 0 .../SyncGetDisplayVideo360AdvertiserLink.java | 0 ...LinkDisplayvideo360Advertiserlinkname.java | 0 ...etDisplayVideo360AdvertiserLinkString.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...layvideo360Advertiserlinkproposalname.java | 0 ...yVideo360AdvertiserLinkProposalString.java | 0 .../AsyncGetGlobalSiteTag.java | 0 .../SyncGetGlobalSiteTag.java | 0 ...SyncGetGlobalSiteTagGlobalsitetagname.java | 0 .../SyncGetGlobalSiteTagString.java | 0 .../AsyncGetGoogleSignalsSettings.java | 0 .../SyncGetGoogleSignalsSettings.java | 0 ...nalsSettingsGooglesignalssettingsname.java | 0 .../SyncGetGoogleSignalsSettingsString.java | 0 .../AsyncGetMeasurementProtocolSecret.java | 0 .../SyncGetMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...yncGetMeasurementProtocolSecretString.java | 0 .../getproperty/AsyncGetProperty.java | 0 .../getproperty/SyncGetProperty.java | 0 .../SyncGetPropertyPropertyname.java | 0 .../getproperty/SyncGetPropertyString.java | 0 .../AsyncGetSearchAds360Link.java | 0 .../SyncGetSearchAds360Link.java | 0 ...tSearchAds360LinkSearchads360Linkname.java | 0 .../SyncGetSearchAds360LinkString.java | 0 .../getuserlink/AsyncGetUserLink.java | 0 .../getuserlink/SyncGetUserLink.java | 0 .../getuserlink/SyncGetUserLinkString.java | 0 .../SyncGetUserLinkUserlinkname.java | 0 .../listaccounts/AsyncListAccounts.java | 0 .../listaccounts/AsyncListAccountsPaged.java | 0 .../listaccounts/SyncListAccounts.java | 0 .../AsyncListAccountSummaries.java | 0 .../AsyncListAccountSummariesPaged.java | 0 .../SyncListAccountSummaries.java | 0 .../listaudiences/AsyncListAudiences.java | 0 .../AsyncListAudiencesPaged.java | 0 .../listaudiences/SyncListAudiences.java | 0 .../SyncListAudiencesPropertyname.java | 0 .../SyncListAudiencesString.java | 0 .../AsyncListBigQueryLinks.java | 0 .../AsyncListBigQueryLinksPaged.java | 0 .../SyncListBigQueryLinks.java | 0 .../SyncListBigQueryLinksPropertyname.java | 0 .../SyncListBigQueryLinksString.java | 0 .../AsyncListConversionEvents.java | 0 .../AsyncListConversionEventsPaged.java | 0 .../SyncListConversionEvents.java | 0 .../SyncListConversionEventsPropertyname.java | 0 .../SyncListConversionEventsString.java | 0 .../AsyncListCustomDimensions.java | 0 .../AsyncListCustomDimensionsPaged.java | 0 .../SyncListCustomDimensions.java | 0 .../SyncListCustomDimensionsPropertyname.java | 0 .../SyncListCustomDimensionsString.java | 0 .../AsyncListCustomMetrics.java | 0 .../AsyncListCustomMetricsPaged.java | 0 .../SyncListCustomMetrics.java | 0 .../SyncListCustomMetricsPropertyname.java | 0 .../SyncListCustomMetricsString.java | 0 .../listdatastreams/AsyncListDataStreams.java | 0 .../AsyncListDataStreamsPaged.java | 0 .../listdatastreams/SyncListDataStreams.java | 0 .../SyncListDataStreamsPropertyname.java | 0 .../SyncListDataStreamsString.java | 0 ...isplayVideo360AdvertiserLinkProposals.java | 0 ...yVideo360AdvertiserLinkProposalsPaged.java | 0 ...isplayVideo360AdvertiserLinkProposals.java | 0 ...60AdvertiserLinkProposalsPropertyname.java | 0 ...Video360AdvertiserLinkProposalsString.java | 0 ...yncListDisplayVideo360AdvertiserLinks.java | 0 ...stDisplayVideo360AdvertiserLinksPaged.java | 0 ...yncListDisplayVideo360AdvertiserLinks.java | 0 ...ayVideo360AdvertiserLinksPropertyname.java | 0 ...tDisplayVideo360AdvertiserLinksString.java | 0 .../AsyncListFirebaseLinks.java | 0 .../AsyncListFirebaseLinksPaged.java | 0 .../SyncListFirebaseLinks.java | 0 .../SyncListFirebaseLinksPropertyname.java | 0 .../SyncListFirebaseLinksString.java | 0 .../AsyncListGoogleAdsLinks.java | 0 .../AsyncListGoogleAdsLinksPaged.java | 0 .../SyncListGoogleAdsLinks.java | 0 .../SyncListGoogleAdsLinksPropertyname.java | 0 .../SyncListGoogleAdsLinksString.java | 0 .../AsyncListMeasurementProtocolSecrets.java | 0 ...ncListMeasurementProtocolSecretsPaged.java | 0 .../SyncListMeasurementProtocolSecrets.java | 0 ...surementProtocolSecretsDatastreamname.java | 0 ...cListMeasurementProtocolSecretsString.java | 0 .../listproperties/AsyncListProperties.java | 0 .../AsyncListPropertiesPaged.java | 0 .../listproperties/SyncListProperties.java | 0 .../AsyncListSearchAds360Links.java | 0 .../AsyncListSearchAds360LinksPaged.java | 0 .../SyncListSearchAds360Links.java | 0 ...SyncListSearchAds360LinksPropertyname.java | 0 .../SyncListSearchAds360LinksString.java | 0 .../listuserlinks/AsyncListUserLinks.java | 0 .../AsyncListUserLinksPaged.java | 0 .../listuserlinks/SyncListUserLinks.java | 0 .../SyncListUserLinksAccountname.java | 0 .../SyncListUserLinksPropertyname.java | 0 .../SyncListUserLinksString.java | 0 .../AsyncProvisionAccountTicket.java | 0 .../SyncProvisionAccountTicket.java | 0 .../runaccessreport/AsyncRunAccessReport.java | 0 .../runaccessreport/SyncRunAccessReport.java | 0 .../AsyncSearchChangeHistoryEvents.java | 0 .../AsyncSearchChangeHistoryEventsPaged.java | 0 .../SyncSearchChangeHistoryEvents.java | 0 ...yncSetAutomatedGa4ConfigurationOptOut.java | 0 ...yncSetAutomatedGa4ConfigurationOptOut.java | 0 .../updateaccount/AsyncUpdateAccount.java | 0 .../updateaccount/SyncUpdateAccount.java | 0 .../SyncUpdateAccountAccountFieldmask.java | 0 .../AsyncUpdateAttributionSettings.java | 0 .../SyncUpdateAttributionSettings.java | 0 ...nSettingsAttributionsettingsFieldmask.java | 0 .../updateaudience/AsyncUpdateAudience.java | 0 .../updateaudience/SyncUpdateAudience.java | 0 .../SyncUpdateAudienceAudienceFieldmask.java | 0 .../AsyncUpdateCustomDimension.java | 0 .../SyncUpdateCustomDimension.java | 0 ...stomDimensionCustomdimensionFieldmask.java | 0 .../AsyncUpdateCustomMetric.java | 0 .../SyncUpdateCustomMetric.java | 0 ...dateCustomMetricCustommetricFieldmask.java | 0 .../AsyncUpdateDataRetentionSettings.java | 0 .../SyncUpdateDataRetentionSettings.java | 0 ...ettingsDataretentionsettingsFieldmask.java | 0 .../AsyncUpdateDataStream.java | 0 .../SyncUpdateDataStream.java | 0 ...ncUpdateDataStreamDatastreamFieldmask.java | 0 ...ncUpdateDisplayVideo360AdvertiserLink.java | 0 ...ncUpdateDisplayVideo360AdvertiserLink.java | 0 ...isplayvideo360AdvertiserlinkFieldmask.java | 0 .../AsyncUpdateGoogleAdsLink.java | 0 .../SyncUpdateGoogleAdsLink.java | 0 ...teGoogleAdsLinkGoogleadslinkFieldmask.java | 0 .../AsyncUpdateGoogleSignalsSettings.java | 0 .../SyncUpdateGoogleSignalsSettings.java | 0 ...ettingsGooglesignalssettingsFieldmask.java | 0 .../AsyncUpdateMeasurementProtocolSecret.java | 0 .../SyncUpdateMeasurementProtocolSecret.java | 0 ...retMeasurementprotocolsecretFieldmask.java | 0 .../updateproperty/AsyncUpdateProperty.java | 0 .../updateproperty/SyncUpdateProperty.java | 0 .../SyncUpdatePropertyPropertyFieldmask.java | 0 .../AsyncUpdateSearchAds360Link.java | 0 .../SyncUpdateSearchAds360Link.java | 0 ...chAds360LinkSearchads360LinkFieldmask.java | 0 .../updateuserlink/AsyncUpdateUserLink.java | 0 .../updateuserlink/SyncUpdateUserLink.java | 0 .../SyncUpdateUserLinkUserlink.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../AsyncAcknowledgeUserDataCollection.java | 0 .../SyncAcknowledgeUserDataCollection.java | 0 .../AsyncArchiveCustomDimension.java | 0 .../SyncArchiveCustomDimension.java | 0 ...iveCustomDimensionCustomdimensionname.java | 0 .../SyncArchiveCustomDimensionString.java | 0 .../AsyncArchiveCustomMetric.java | 0 .../SyncArchiveCustomMetric.java | 0 ...ncArchiveCustomMetricCustommetricname.java | 0 .../SyncArchiveCustomMetricString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateConversionEvent.java | 0 .../SyncCreateConversionEvent.java | 0 ...rsionEventPropertynameConversionevent.java | 0 ...eConversionEventStringConversionevent.java | 0 .../AsyncCreateCustomDimension.java | 0 .../SyncCreateCustomDimension.java | 0 ...mDimensionPropertynameCustomdimension.java | 0 ...eCustomDimensionStringCustomdimension.java | 0 .../AsyncCreateCustomMetric.java | 0 .../SyncCreateCustomMetric.java | 0 ...eCustomMetricPropertynameCustommetric.java | 0 ...cCreateCustomMetricStringCustommetric.java | 0 .../AsyncCreateDataStream.java | 0 .../SyncCreateDataStream.java | 0 ...reateDataStreamPropertynameDatastream.java | 0 .../SyncCreateDataStreamStringDatastream.java | 0 .../AsyncCreateFirebaseLink.java | 0 .../SyncCreateFirebaseLink.java | 0 ...eFirebaseLinkPropertynameFirebaselink.java | 0 ...cCreateFirebaseLinkStringFirebaselink.java | 0 .../AsyncCreateGoogleAdsLink.java | 0 .../SyncCreateGoogleAdsLink.java | 0 ...oogleAdsLinkPropertynameGoogleadslink.java | 0 ...reateGoogleAdsLinkStringGoogleadslink.java | 0 .../AsyncCreateMeasurementProtocolSecret.java | 0 .../SyncCreateMeasurementProtocolSecret.java | 0 ...tastreamnameMeasurementprotocolsecret.java | 0 ...SecretStringMeasurementprotocolsecret.java | 0 .../createproperty/AsyncCreateProperty.java | 0 .../createproperty/SyncCreateProperty.java | 0 .../SyncCreatePropertyProperty.java | 0 .../deleteaccount/AsyncDeleteAccount.java | 0 .../deleteaccount/SyncDeleteAccount.java | 0 .../SyncDeleteAccountAccountname.java | 0 .../SyncDeleteAccountString.java | 0 .../AsyncDeleteConversionEvent.java | 0 .../SyncDeleteConversionEvent.java | 0 ...eteConversionEventConversioneventname.java | 0 .../SyncDeleteConversionEventString.java | 0 .../AsyncDeleteDataStream.java | 0 .../SyncDeleteDataStream.java | 0 .../SyncDeleteDataStreamDatastreamname.java | 0 .../SyncDeleteDataStreamString.java | 0 .../AsyncDeleteFirebaseLink.java | 0 .../SyncDeleteFirebaseLink.java | 0 ...yncDeleteFirebaseLinkFirebaselinkname.java | 0 .../SyncDeleteFirebaseLinkString.java | 0 .../AsyncDeleteGoogleAdsLink.java | 0 .../SyncDeleteGoogleAdsLink.java | 0 ...cDeleteGoogleAdsLinkGoogleadslinkname.java | 0 .../SyncDeleteGoogleAdsLinkString.java | 0 .../AsyncDeleteMeasurementProtocolSecret.java | 0 .../SyncDeleteMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...DeleteMeasurementProtocolSecretString.java | 0 .../deleteproperty/AsyncDeleteProperty.java | 0 .../deleteproperty/SyncDeleteProperty.java | 0 .../SyncDeletePropertyPropertyname.java | 0 .../SyncDeletePropertyString.java | 0 .../getaccount/AsyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccountAccountname.java | 0 .../getaccount/SyncGetAccountString.java | 0 .../AsyncGetConversionEvent.java | 0 .../SyncGetConversionEvent.java | 0 ...GetConversionEventConversioneventname.java | 0 .../SyncGetConversionEventString.java | 0 .../AsyncGetCustomDimension.java | 0 .../SyncGetCustomDimension.java | 0 ...GetCustomDimensionCustomdimensionname.java | 0 .../SyncGetCustomDimensionString.java | 0 .../getcustommetric/AsyncGetCustomMetric.java | 0 .../getcustommetric/SyncGetCustomMetric.java | 0 .../SyncGetCustomMetricCustommetricname.java | 0 .../SyncGetCustomMetricString.java | 0 .../AsyncGetDataRetentionSettings.java | 0 .../SyncGetDataRetentionSettings.java | 0 ...tionSettingsDataretentionsettingsname.java | 0 .../SyncGetDataRetentionSettingsString.java | 0 .../AsyncGetDataSharingSettings.java | 0 .../SyncGetDataSharingSettings.java | 0 ...haringSettingsDatasharingsettingsname.java | 0 .../SyncGetDataSharingSettingsString.java | 0 .../getdatastream/AsyncGetDataStream.java | 0 .../getdatastream/SyncGetDataStream.java | 0 .../SyncGetDataStreamDatastreamname.java | 0 .../SyncGetDataStreamString.java | 0 .../AsyncGetMeasurementProtocolSecret.java | 0 .../SyncGetMeasurementProtocolSecret.java | 0 ...olSecretMeasurementprotocolsecretname.java | 0 ...yncGetMeasurementProtocolSecretString.java | 0 .../getproperty/AsyncGetProperty.java | 0 .../getproperty/SyncGetProperty.java | 0 .../SyncGetPropertyPropertyname.java | 0 .../getproperty/SyncGetPropertyString.java | 0 .../listaccounts/AsyncListAccounts.java | 0 .../listaccounts/AsyncListAccountsPaged.java | 0 .../listaccounts/SyncListAccounts.java | 0 .../AsyncListAccountSummaries.java | 0 .../AsyncListAccountSummariesPaged.java | 0 .../SyncListAccountSummaries.java | 0 .../AsyncListConversionEvents.java | 0 .../AsyncListConversionEventsPaged.java | 0 .../SyncListConversionEvents.java | 0 .../SyncListConversionEventsPropertyname.java | 0 .../SyncListConversionEventsString.java | 0 .../AsyncListCustomDimensions.java | 0 .../AsyncListCustomDimensionsPaged.java | 0 .../SyncListCustomDimensions.java | 0 .../SyncListCustomDimensionsPropertyname.java | 0 .../SyncListCustomDimensionsString.java | 0 .../AsyncListCustomMetrics.java | 0 .../AsyncListCustomMetricsPaged.java | 0 .../SyncListCustomMetrics.java | 0 .../SyncListCustomMetricsPropertyname.java | 0 .../SyncListCustomMetricsString.java | 0 .../listdatastreams/AsyncListDataStreams.java | 0 .../AsyncListDataStreamsPaged.java | 0 .../listdatastreams/SyncListDataStreams.java | 0 .../SyncListDataStreamsPropertyname.java | 0 .../SyncListDataStreamsString.java | 0 .../AsyncListFirebaseLinks.java | 0 .../AsyncListFirebaseLinksPaged.java | 0 .../SyncListFirebaseLinks.java | 0 .../SyncListFirebaseLinksPropertyname.java | 0 .../SyncListFirebaseLinksString.java | 0 .../AsyncListGoogleAdsLinks.java | 0 .../AsyncListGoogleAdsLinksPaged.java | 0 .../SyncListGoogleAdsLinks.java | 0 .../SyncListGoogleAdsLinksPropertyname.java | 0 .../SyncListGoogleAdsLinksString.java | 0 .../AsyncListMeasurementProtocolSecrets.java | 0 ...ncListMeasurementProtocolSecretsPaged.java | 0 .../SyncListMeasurementProtocolSecrets.java | 0 ...surementProtocolSecretsDatastreamname.java | 0 ...cListMeasurementProtocolSecretsString.java | 0 .../listproperties/AsyncListProperties.java | 0 .../AsyncListPropertiesPaged.java | 0 .../listproperties/SyncListProperties.java | 0 .../AsyncProvisionAccountTicket.java | 0 .../SyncProvisionAccountTicket.java | 0 .../AsyncSearchChangeHistoryEvents.java | 0 .../AsyncSearchChangeHistoryEventsPaged.java | 0 .../SyncSearchChangeHistoryEvents.java | 0 .../updateaccount/AsyncUpdateAccount.java | 0 .../updateaccount/SyncUpdateAccount.java | 0 .../SyncUpdateAccountAccountFieldmask.java | 0 .../AsyncUpdateCustomDimension.java | 0 .../SyncUpdateCustomDimension.java | 0 ...stomDimensionCustomdimensionFieldmask.java | 0 .../AsyncUpdateCustomMetric.java | 0 .../SyncUpdateCustomMetric.java | 0 ...dateCustomMetricCustommetricFieldmask.java | 0 .../AsyncUpdateDataRetentionSettings.java | 0 .../SyncUpdateDataRetentionSettings.java | 0 ...ettingsDataretentionsettingsFieldmask.java | 0 .../AsyncUpdateDataStream.java | 0 .../SyncUpdateDataStream.java | 0 ...ncUpdateDataStreamDatastreamFieldmask.java | 0 .../AsyncUpdateGoogleAdsLink.java | 0 .../SyncUpdateGoogleAdsLink.java | 0 ...teGoogleAdsLinkGoogleadslinkFieldmask.java | 0 .../AsyncUpdateMeasurementProtocolSecret.java | 0 .../SyncUpdateMeasurementProtocolSecret.java | 0 ...retMeasurementprotocolsecretFieldmask.java | 0 .../updateproperty/AsyncUpdateProperty.java | 0 .../updateproperty/SyncUpdateProperty.java | 0 .../SyncUpdatePropertyPropertyFieldmask.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../v1alpha/AnalyticsAdminServiceGrpc.java | 8069 ----------- .../AccessDimensionHeaderOrBuilder.java | 29 - .../v1alpha/AccessMetricHeaderOrBuilder.java | 29 - .../v1alpha/AccessMetricValueOrBuilder.java | 29 - .../v1alpha/AccessQuotaStatusOrBuilder.java | 29 - .../admin/v1alpha/AccessReportProto.java | 350 - ...geUserDataCollectionResponseOrBuilder.java | 9 - .../admin/v1alpha/AnalyticsAdminProto.java | 2248 --- ...Video360AdvertiserLinkProposalRequest.java | 587 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkProposalResponse.java | 657 - ...vertiserLinkProposalResponseOrBuilder.java | 39 - .../ArchiveAudienceRequestOrBuilder.java | 29 - ...rchiveCustomDimensionRequestOrBuilder.java | 31 - .../ArchiveCustomMetricRequestOrBuilder.java | 31 - .../admin/v1alpha/AudienceProto.java | 333 - .../AudienceSequenceFilterOrBuilder.java | 104 - .../AudienceSimpleFilterOrBuilder.java | 58 - ...Video360AdvertiserLinkProposalRequest.java | 587 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - .../CreateAudienceRequestOrBuilder.java | 56 - ...CreateConversionEventRequestOrBuilder.java | 58 - ...CreateCustomDimensionRequestOrBuilder.java | 56 - .../CreateCustomMetricRequestOrBuilder.java | 56 - .../CreateDataStreamRequestOrBuilder.java | 56 - ...Video360AdvertiserLinkProposalRequest.java | 809 -- ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 - .../CreateFirebaseLinkRequestOrBuilder.java | 58 - .../CreateGoogleAdsLinkRequestOrBuilder.java | 56 - ...urementProtocolSecretRequestOrBuilder.java | 58 - .../CreatePropertyRequestOrBuilder.java | 39 - ...reateSearchAds360LinkRequestOrBuilder.java | 56 - .../CreateUserLinkRequestOrBuilder.java | 67 - .../DeleteAccountRequestOrBuilder.java | 33 - ...DeleteConversionEventRequestOrBuilder.java | 33 - .../DeleteDataStreamRequestOrBuilder.java | 31 - ...Video360AdvertiserLinkProposalRequest.java | 587 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 - .../DeleteFirebaseLinkRequestOrBuilder.java | 31 - .../DeleteGoogleAdsLinkRequestOrBuilder.java | 29 - ...urementProtocolSecretRequestOrBuilder.java | 33 - .../DeletePropertyRequestOrBuilder.java | 33 - ...eleteSearchAds360LinkRequestOrBuilder.java | 31 - .../DeleteUserLinkRequestOrBuilder.java | 29 - ...dDataSetFilterExpressionListOrBuilder.java | 53 - .../admin/v1alpha/ExpandedDataSetProto.java | 156 - ...4ConfigurationOptOutResponseOrBuilder.java | 19 - .../v1alpha/GetAccountRequestOrBuilder.java | 33 - ...etAttributionSettingsRequestOrBuilder.java | 31 - .../v1alpha/GetAudienceRequestOrBuilder.java | 31 - .../GetBigQueryLinkRequestOrBuilder.java | 33 - .../GetConversionEventRequestOrBuilder.java | 33 - .../GetCustomDimensionRequestOrBuilder.java | 31 - .../GetCustomMetricRequestOrBuilder.java | 31 - ...DataRetentionSettingsRequestOrBuilder.java | 35 - ...etDataSharingSettingsRequestOrBuilder.java | 33 - .../GetDataStreamRequestOrBuilder.java | 31 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 - ...GoogleSignalsSettingsRequestOrBuilder.java | 31 - ...urementProtocolSecretRequestOrBuilder.java | 33 - .../v1alpha/GetPropertyRequestOrBuilder.java | 33 - .../GetSearchAds360LinkRequestOrBuilder.java | 31 - .../v1alpha/GetUserLinkRequestOrBuilder.java | 29 - ...ertiserLinkProposalsResponseOrBuilder.java | 75 - ...ovisionAccountTicketResponseOrBuilder.java | 29 - .../admin/v1alpha/ResourcesProto.java | 733 - ...tomatedGa4ConfigurationOptOutResponse.java | 411 - ...4ConfigurationOptOutResponseOrBuilder.java | 9 - .../UpdateUserLinkRequestOrBuilder.java | 36 - .../v1beta/AnalyticsAdminServiceGrpc.java | 4375 ------ ...geUserDataCollectionResponseOrBuilder.java | 9 - .../admin/v1beta/AnalyticsAdminProto.java | 1176 -- ...rchiveCustomDimensionRequestOrBuilder.java | 31 - .../ArchiveCustomMetricRequestOrBuilder.java | 31 - ...CreateConversionEventRequestOrBuilder.java | 58 - ...CreateCustomDimensionRequestOrBuilder.java | 56 - .../CreateCustomMetricRequestOrBuilder.java | 56 - .../CreateDataStreamRequestOrBuilder.java | 56 - .../CreateFirebaseLinkRequestOrBuilder.java | 58 - .../CreateGoogleAdsLinkRequestOrBuilder.java | 56 - ...urementProtocolSecretRequestOrBuilder.java | 58 - .../CreatePropertyRequestOrBuilder.java | 39 - .../v1beta/DeleteAccountRequestOrBuilder.java | 33 - ...DeleteConversionEventRequestOrBuilder.java | 33 - .../DeleteDataStreamRequestOrBuilder.java | 31 - .../DeleteFirebaseLinkRequestOrBuilder.java | 31 - .../DeleteGoogleAdsLinkRequestOrBuilder.java | 29 - ...urementProtocolSecretRequestOrBuilder.java | 33 - .../DeletePropertyRequestOrBuilder.java | 33 - .../v1beta/GetAccountRequestOrBuilder.java | 33 - .../GetConversionEventRequestOrBuilder.java | 33 - .../GetCustomDimensionRequestOrBuilder.java | 31 - .../GetCustomMetricRequestOrBuilder.java | 31 - ...DataRetentionSettingsRequestOrBuilder.java | 35 - ...etDataSharingSettingsRequestOrBuilder.java | 33 - .../v1beta/GetDataStreamRequestOrBuilder.java | 31 - ...urementProtocolSecretRequestOrBuilder.java | 33 - .../v1beta/GetPropertyRequestOrBuilder.java | 33 - ...ovisionAccountTicketResponseOrBuilder.java | 29 - .../admin/v1beta/ResourcesProto.java | 473 - 1201 files changed, 133941 insertions(+), 80897 deletions(-) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java (99%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java (99%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java (99%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java (99%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java (100%) create mode 100644 java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java create mode 100644 java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java (67%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java (61%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java (50%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java (82%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java (81%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java (66%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java (66%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java (82%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java (66%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java (74%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java (76%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java (55%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java (69%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java (58%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java (56%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java (59%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java (61%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java (51%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java (57%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java (81%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java (57%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java (77%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java (65%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java (57%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java (61%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java (52%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java (54%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java (52%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java (61%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java (74%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java (81%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java (74%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java (81%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java (76%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java (75%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java (51%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java (55%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java (65%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java (59%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java (75%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java (53%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java (57%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java (76%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java (57%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java (79%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java (76%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java (56%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java (50%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java (51%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java (53%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java (65%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java (50%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java (79%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java (75%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java (77%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java (59%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java (52%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java (59%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java (61%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java (58%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java (53%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java (57%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java (50%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java (61%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java (76%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java (82%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java (69%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java (77%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java (73%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java (80%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java (90%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java (76%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java (84%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java (78%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java (65%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java (59%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java (65%) 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 rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java (67%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java (56%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java (58%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java (58%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java (74%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java (79%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java (73%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java (74%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java (76%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java (65%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java (56%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java (69%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java (75%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java (81%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java (75%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java (70%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java (75%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java (56%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java (70%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java (65%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java (67%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java (61%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java (75%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java (70%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java (79%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java (75%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java (69%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java (66%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java (67%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java (61%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java (67%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java (73%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java (69%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java (74%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java (73%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java (60%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java (69%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java (65%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java (63%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java (61%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java (55%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java (76%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java (82%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java (69%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java (77%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java (73%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java (66%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java (65%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java (67%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java (65%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java (67%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java (67%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java (71%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java (62%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java (70%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java (68%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java (72%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java (59%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java (58%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java (66%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java (64%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java (100%) delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 99% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java index 423c9c9c427b..d9195900e7e3 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -46,7 +46,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/package-info.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceCallableFactory.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 99% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java index 166991289549..0463c28a4973 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -183,7 +183,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/HttpJsonAnalyticsAdminServiceStub.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java similarity index 99% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java index 140c14423eeb..f485357d743f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceSettings.java @@ -39,7 +39,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protobuf.Empty; diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/package-info.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStub.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/AnalyticsAdminServiceStubSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceCallableFactory.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java similarity index 99% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java index b88a2200f655..47f5763135cb 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/GrpcAnalyticsAdminServiceStub.java @@ -112,7 +112,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceCallableFactory.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java rename to java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/HttpJsonAnalyticsAdminServiceStub.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClientTest.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminService.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/MockAnalyticsAdminServiceImpl.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClientTest.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminService.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java b/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java rename to java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/MockAnalyticsAdminServiceImpl.java 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 new file mode 100644 index 000000000000..a03aa8f3f496 --- /dev/null +++ b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,11610 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service Interface for the Analytics Admin API (GA4).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AnalyticsAdminServiceGrpc { + + private AnalyticsAdminServiceGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getGetAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAccount", + requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getGetAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getGetAccountMethod; + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAccountMethod = + getGetAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) + .build(); + } + } + } + return getGetAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse> + getListAccountsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccounts", + requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse> + getListAccountsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse> + getListAccountsMethod; + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountsMethod = + getListAccountsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) + .build(); + } + } + } + return getListAccountsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", + requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod; + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteAccountMethod = + getDeleteAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) + .build(); + } + } + } + return getDeleteAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getUpdateAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", + requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, + responseType = com.google.analytics.admin.v1alpha.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getUpdateAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account> + getUpdateAccountMethod; + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAccountMethod = + getUpdateAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) + .build(); + } + } + } + return getUpdateAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", + requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, + responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod; + if ((getProvisionAccountTicketMethod = + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getProvisionAccountTicketMethod = + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) + == null) { + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = + getProvisionAccountTicketMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ProvisionAccountTicket")) + .build(); + } + } + } + return getProvisionAccountTicketMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + getListAccountSummariesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", + requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + getListAccountSummariesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + getListAccountSummariesMethod; + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountSummariesMethod = + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) + == null) { + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = + getListAccountSummariesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) + .build(); + } + } + } + return getListAccountSummariesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getGetPropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProperty", + requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getGetPropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getGetPropertyMethod; + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getGetPropertyMethod = + getGetPropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetPropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) + .build(); + } + } + } + return getGetPropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + getListPropertiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProperties", + requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + getListPropertiesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + getListPropertiesMethod; + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + AnalyticsAdminServiceGrpc.getListPropertiesMethod = + getListPropertiesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListPropertiesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) + .build(); + } + } + } + return getListPropertiesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getCreatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateProperty", + requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getCreatePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getCreatePropertyMethod; + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getCreatePropertyMethod = + getCreatePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreatePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) + .build(); + } + } + } + return getCreatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getDeletePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", + requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getDeletePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getDeletePropertyMethod; + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getDeletePropertyMethod = + getDeletePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeletePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) + .build(); + } + } + } + return getDeletePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getUpdatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", + requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getUpdatePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property> + getUpdatePropertyMethod; + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = + getUpdatePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) + .build(); + } + } + } + return getUpdatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getGetUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUserLink", + requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getGetUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getGetUserLinkMethod; + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getGetUserLinkMethod = + getGetUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) + .build(); + } + } + } + return getGetUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + getBatchGetUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + getBatchGetUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + getBatchGetUserLinksMethod; + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = + getBatchGetUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) + .build(); + } + } + } + return getBatchGetUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + getListUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", + requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + getListUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + getListUserLinksMethod; + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getListUserLinksMethod = + getListUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) + .build(); + } + } + } + return getListUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + getAuditUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", + requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + getAuditUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + getAuditUserLinksMethod; + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { + AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = + getAuditUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AuditUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) + .build(); + } + } + } + return getAuditUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getCreateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", + requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getCreateUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getCreateUserLinkMethod; + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = + getCreateUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) + .build(); + } + } + } + return getCreateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + getBatchCreateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + getBatchCreateUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + getBatchCreateUserLinksMethod; + if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchCreateUserLinksMethod = + AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = + getBatchCreateUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) + .build(); + } + } + } + return getBatchCreateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getUpdateUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", + requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.UserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getUpdateUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink> + getUpdateUserLinkMethod; + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = + getUpdateUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) + .build(); + } + } + } + return getUpdateUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + getBatchUpdateUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + getBatchUpdateUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + getBatchUpdateUserLinksMethod; + if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchUpdateUserLinksMethod = + AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = + getBatchUpdateUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) + .build(); + } + } + } + return getBatchUpdateUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> + getDeleteUserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", + requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> + getDeleteUserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.protobuf.Empty> + getDeleteUserLinkMethod; + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = + getDeleteUserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) + .build(); + } + } + } + return getDeleteUserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> + getBatchDeleteUserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", + requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, com.google.protobuf.Empty> + getBatchDeleteUserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, + com.google.protobuf.Empty> + getBatchDeleteUserLinksMethod; + if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchDeleteUserLinksMethod = + AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = + getBatchDeleteUserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) + .build(); + } + } + } + return getBatchDeleteUserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink> + getCreateFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.FirebaseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink> + getCreateFirebaseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink> + getCreateFirebaseLinkMethod; + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = + getCreateFirebaseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) + .build(); + } + } + } + return getCreateFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", + requestType = com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod; + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = + getDeleteFirebaseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) + .build(); + } + } + } + return getDeleteFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + getListFirebaseLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", + requestType = com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + getListFirebaseLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + getListFirebaseLinksMethod; + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = + getListFirebaseLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) + .build(); + } + } + } + return getListFirebaseLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGetGlobalSiteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGlobalSiteTag", + requestType = com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, + responseType = com.google.analytics.admin.v1alpha.GlobalSiteTag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGetGlobalSiteTagMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGetGlobalSiteTagMethod; + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod = + getGetGlobalSiteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGlobalSiteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GlobalSiteTag + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetGlobalSiteTag")) + .build(); + } + } + } + return getGetGlobalSiteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getCreateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getCreateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getCreateGoogleAdsLinkMethod; + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = + getCreateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) + .build(); + } + } + } + return getCreateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod; + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = + getUpdateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleAdsLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) + .build(); + } + } + } + return getUpdateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", + requestType = com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod; + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = + getDeleteGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) + .build(); + } + } + } + return getDeleteGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", + requestType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod; + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = + getListGoogleAdsLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) + .build(); + } + } + } + return getListGoogleAdsLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings> + getGetDataSharingSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataSharingSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings> + getGetDataSharingSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings> + getGetDataSharingSettingsMethod; + if ((getGetDataSharingSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataSharingSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = + getGetDataSharingSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataSharingSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDataSharingSettings")) + .build(); + } + } + } + return getGetDataSharingSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod; + if ((getGetMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = + getGetMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetMeasurementProtocolSecret")) + .build(); + } + } + } + return getGetMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", + requestType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, + responseType = + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod; + if ((getListMeasurementProtocolSecretsMethod = + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListMeasurementProtocolSecretsMethod = + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = + getListMeasurementProtocolSecretsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListMeasurementProtocolSecretsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListMeasurementProtocolSecretsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListMeasurementProtocolSecrets")) + .build(); + } + } + } + return getListMeasurementProtocolSecretsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod; + if ((getCreateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = + getCreateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateMeasurementProtocolSecret")) + .build(); + } + } + } + return getCreateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod; + if ((getDeleteMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = + getDeleteMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteMeasurementProtocolSecret")) + .build(); + } + } + } + return getDeleteMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod; + if ((getUpdateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = + getUpdateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateMeasurementProtocolSecret")) + .build(); + } + } + } + return getUpdateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", + requestType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, + responseType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod; + if ((getAcknowledgeUserDataCollectionMethod = + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAcknowledgeUserDataCollectionMethod = + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) + == null) { + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = + getAcknowledgeUserDataCollectionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .AcknowledgeUserDataCollectionRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .AcknowledgeUserDataCollectionResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "AcknowledgeUserDataCollection")) + .build(); + } + } + } + return getAcknowledgeUserDataCollectionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", + requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod; + if ((getSearchChangeHistoryEventsMethod = + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getSearchChangeHistoryEventsMethod = + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) + == null) { + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = + getSearchChangeHistoryEventsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "SearchChangeHistoryEvents")) + .build(); + } + } + } + return getSearchChangeHistoryEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGetGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGetGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGetGoogleSignalsSettingsMethod; + if ((getGetGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = + getGetGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetGoogleSignalsSettings")) + .build(); + } + } + } + return getGetGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getUpdateGoogleSignalsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getUpdateGoogleSignalsSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getUpdateGoogleSignalsSettingsMethod; + if ((getUpdateGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleSignalsSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = + getUpdateGoogleSignalsSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateGoogleSignalsSettings")) + .build(); + } + } + } + return getUpdateGoogleSignalsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getCreateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", + requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getCreateConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getCreateConversionEventMethod; + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateConversionEventMethod = + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = + getCreateConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateConversionEvent")) + .build(); + } + } + } + return getCreateConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getGetConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", + requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, + responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getGetConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getGetConversionEventMethod; + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetConversionEventMethod = + getGetConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) + .build(); + } + } + } + return getGetConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty> + getDeleteConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", + requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty> + getDeleteConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty> + getDeleteConversionEventMethod; + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteConversionEventMethod = + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = + getDeleteConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteConversionEvent")) + .build(); + } + } + } + return getDeleteConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + getListConversionEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", + requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + getListConversionEventsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + getListConversionEventsMethod; + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListConversionEventsMethod = + AnalyticsAdminServiceGrpc.getListConversionEventsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListConversionEventsMethod = + getListConversionEventsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) + .build(); + } + } + } + return getListConversionEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getGetDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getGetDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getGetDisplayVideo360AdvertiserLinkMethod; + if ((getGetDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = + getGetDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + getListDisplayVideo360AdvertiserLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", + requestType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, + responseType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + getListDisplayVideo360AdvertiserLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + getListDisplayVideo360AdvertiserLinksMethod; + if ((getListDisplayVideo360AdvertiserLinksMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinksMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = + getListDisplayVideo360AdvertiserLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListDisplayVideo360AdvertiserLinks")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getCreateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getCreateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getCreateDisplayVideo360AdvertiserLinkMethod; + if ((getCreateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = + getCreateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = + getDeleteDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getUpdateDisplayVideo360AdvertiserLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", + requestType = + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getUpdateDisplayVideo360AdvertiserLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getUpdateDisplayVideo360AdvertiserLinkMethod; + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDisplayVideo360AdvertiserLinkMethod = + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = + getUpdateDisplayVideo360AdvertiserLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateDisplayVideo360AdvertiserLink")) + .build(); + } + } + } + return getUpdateDisplayVideo360AdvertiserLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getGetDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getGetDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getGetDisplayVideo360AdvertiserLinkProposalMethod; + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = + getGetDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .GetDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getGetDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + getListDisplayVideo360AdvertiserLinkProposalsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", + requestType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .class, + responseType = + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + getListDisplayVideo360AdvertiserLinkProposalsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + getListDisplayVideo360AdvertiserLinkProposalsMethod; + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = + getListDisplayVideo360AdvertiserLinkProposalsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListDisplayVideo360AdvertiserLinkProposals")) + .build(); + } + } + } + return getListDisplayVideo360AdvertiserLinkProposalsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCreateDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCreateDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCreateDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = + getCreateDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCreateDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty> + getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + getDeleteDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + getApproveDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + .class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + getApproveDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + getApproveDisplayVideo360AdvertiserLinkProposalMethod; + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = + getApproveDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ApproveDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getApproveDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCancelDisplayVideo360AdvertiserLinkProposalMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", + requestType = + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .class, + responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCancelDisplayVideo360AdvertiserLinkProposalMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getCancelDisplayVideo360AdvertiserLinkProposalMethod; + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) + == null) { + AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = + getCancelDisplayVideo360AdvertiserLinkProposalMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CancelDisplayVideo360AdvertiserLinkProposal")) + .build(); + } + } + } + return getCancelDisplayVideo360AdvertiserLinkProposalMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getCreateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getCreateCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getCreateCustomDimensionMethod; + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = + getCreateCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateCustomDimension")) + .build(); + } + } + } + return getCreateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getUpdateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getUpdateCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getUpdateCustomDimensionMethod; + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = + getUpdateCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateCustomDimension")) + .build(); + } + } + } + return getUpdateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + getListCustomDimensionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", + requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + getListCustomDimensionsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + getListCustomDimensionsMethod; + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomDimensionsMethod = + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = + getListCustomDimensionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) + .build(); + } + } + } + return getListCustomDimensionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod; + if ((getArchiveCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = + getArchiveCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ArchiveCustomDimension")) + .build(); + } + } + } + return getArchiveCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getGetCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", + requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getGetCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension> + getGetCustomDimensionMethod; + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = + getGetCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) + .build(); + } + } + } + return getGetCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getCreateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getCreateCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getCreateCustomMetricMethod; + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = + getCreateCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) + .build(); + } + } + } + return getCreateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getUpdateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", + requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getUpdateCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getUpdateCustomMetricMethod; + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = + getUpdateCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) + .build(); + } + } + } + return getUpdateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + getListCustomMetricsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", + requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + getListCustomMetricsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + getListCustomMetricsMethod; + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = + getListCustomMetricsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) + .build(); + } + } + } + return getListCustomMetricsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> + getArchiveCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", + requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, com.google.protobuf.Empty> + getArchiveCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, + com.google.protobuf.Empty> + getArchiveCustomMetricMethod; + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = + getArchiveCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) + .build(); + } + } + } + return getArchiveCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getGetCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", + requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getGetCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric> + getGetCustomMetricMethod; + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = + getGetCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) + .build(); + } + } + } + return getGetCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getGetDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getGetDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getGetDataRetentionSettingsMethod; + if ((getGetDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = + getGetDataRetentionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDataRetentionSettings")) + .build(); + } + } + } + return getGetDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod; + if ((getUpdateDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = + getUpdateDataRetentionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRetentionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateDataRetentionSettings")) + .build(); + } + } + } + return getUpdateDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getCreateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", + requestType = com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getCreateDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getCreateDataStreamMethod; + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = + getCreateDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) + .build(); + } + } + } + return getCreateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", + requestType = com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod; + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = + getDeleteDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) + .build(); + } + } + } + return getDeleteDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getUpdateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", + requestType = com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getUpdateDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getUpdateDataStreamMethod; + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = + getUpdateDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) + .build(); + } + } + } + return getUpdateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + getListDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", + requestType = com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + getListDataStreamsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + getListDataStreamsMethod; + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListDataStreamsMethod = + getListDataStreamsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListDataStreamsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) + .build(); + } + } + } + return getListDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getGetDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataStream", + requestType = com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getGetDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream> + getGetDataStreamMethod; + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataStreamMethod = + getGetDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) + .build(); + } + } + } + return getGetDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getGetAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAudience", + requestType = com.google.analytics.admin.v1alpha.GetAudienceRequest.class, + responseType = com.google.analytics.admin.v1alpha.Audience.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getGetAudienceMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getGetAudienceMethod; + if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAudienceMethod = + getGetAudienceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAudienceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetAudience")) + .build(); + } + } + } + return getGetAudienceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAudiencesRequest, + com.google.analytics.admin.v1alpha.ListAudiencesResponse> + getListAudiencesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAudiences", + requestType = com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAudiencesRequest, + com.google.analytics.admin.v1alpha.ListAudiencesResponse> + getListAudiencesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAudiencesRequest, + com.google.analytics.admin.v1alpha.ListAudiencesResponse> + getListAudiencesMethod; + if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { + AnalyticsAdminServiceGrpc.getListAudiencesMethod = + getListAudiencesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAudiences")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAudiencesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAudiencesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAudiences")) + .build(); + } + } + } + return getListAudiencesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getCreateAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAudience", + requestType = com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, + responseType = com.google.analytics.admin.v1alpha.Audience.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getCreateAudienceMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getCreateAudienceMethod; + if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { + AnalyticsAdminServiceGrpc.getCreateAudienceMethod = + getCreateAudienceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateAudienceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAudience")) + .build(); + } + } + } + return getCreateAudienceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getUpdateAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAudience", + requestType = com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, + responseType = com.google.analytics.admin.v1alpha.Audience.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getUpdateAudienceMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience> + getUpdateAudienceMethod; + if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAudienceMethod = + getUpdateAudienceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAudienceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAudience")) + .build(); + } + } + } + return getUpdateAudienceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, com.google.protobuf.Empty> + getArchiveAudienceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveAudience", + requestType = com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, com.google.protobuf.Empty> + getArchiveAudienceMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, com.google.protobuf.Empty> + getArchiveAudienceMethod; + if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) + == null) { + AnalyticsAdminServiceGrpc.getArchiveAudienceMethod = + getArchiveAudienceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveAudience")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveAudience")) + .build(); + } + } + } + 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> + getGetAttributionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttributionSettings", + requestType = com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings> + getGetAttributionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings> + getGetAttributionSettingsMethod; + if ((getGetAttributionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAttributionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod = + getGetAttributionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetAttributionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AttributionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetAttributionSettings")) + .build(); + } + } + } + return getGetAttributionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings> + getUpdateAttributionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAttributionSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings> + getUpdateAttributionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings> + getUpdateAttributionSettingsMethod; + if ((getUpdateAttributionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAttributionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod = + getUpdateAttributionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateAttributionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AttributionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateAttributionSettings")) + .build(); + } + } + } + return getUpdateAttributionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.RunAccessReportRequest, + com.google.analytics.admin.v1alpha.RunAccessReportResponse> + getRunAccessReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunAccessReport", + requestType = com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, + responseType = com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.RunAccessReportRequest, + com.google.analytics.admin.v1alpha.RunAccessReportResponse> + getRunAccessReportMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.RunAccessReportRequest, + com.google.analytics.admin.v1alpha.RunAccessReportResponse> + getRunAccessReportMethod; + if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) + == null) { + AnalyticsAdminServiceGrpc.getRunAccessReportMethod = + getRunAccessReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAccessReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.RunAccessReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.RunAccessReportResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("RunAccessReport")) + .build(); + } + } + } + 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 = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AnalyticsAdminServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AnalyticsAdminServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public abstract static class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAccountsMethod(), responseObserver); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getProvisionAccountTicketMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAccountSummariesMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPropertiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public void deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAuditUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchUpdateUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteUserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchDeleteUserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateFirebaseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteFirebaseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListFirebaseLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetGlobalSiteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListGoogleAdsLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataSharingSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMeasurementProtocolSecretsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAcknowledgeUserDataCollectionMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchChangeHistoryEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGoogleSignalsSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConversionEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomDimensionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getArchiveCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomMetricsMethod(), responseObserver); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getArchiveCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataStreamsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single Audience.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void getAudience( + com.google.analytics.admin.v1alpha.GetAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAudienceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Audiences on a property.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void listAudiences( + com.google.analytics.admin.v1alpha.ListAudiencesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAudiencesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an Audience.
+     * 
+ */ + public void createAudience( + com.google.analytics.admin.v1alpha.CreateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAudienceMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an Audience on a property.
+     * 
+ */ + public void updateAudience( + com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAudienceMethod(), responseObserver); + } + + /** + * + * + *
+     * Archives an Audience on a property.
+     * 
+ */ + public void archiveAudience( + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + 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); + } + + /** + * + * + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public void getAttributionSettings( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAttributionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public void updateAttributionSettings( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAttributionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public void runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + 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()) + .addMethod( + getGetAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAccountRequest, + com.google.analytics.admin.v1alpha.Account>(this, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse>( + this, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account>(this, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( + this, METHODID_PROVISION_ACCOUNT_TICKET))) + .addMethod( + getListAccountSummariesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( + this, METHODID_LIST_ACCOUNT_SUMMARIES))) + .addMethod( + getGetPropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetPropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse>( + this, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>(this, METHODID_UPDATE_PROPERTY))) + .addMethod( + getGetUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>(this, METHODID_GET_USER_LINK))) + .addMethod( + getBatchGetUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( + this, METHODID_BATCH_GET_USER_LINKS))) + .addMethod( + getListUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListUserLinksRequest, + com.google.analytics.admin.v1alpha.ListUserLinksResponse>( + this, METHODID_LIST_USER_LINKS))) + .addMethod( + getAuditUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AuditUserLinksRequest, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( + this, METHODID_AUDIT_USER_LINKS))) + .addMethod( + getCreateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_CREATE_USER_LINK))) + .addMethod( + getBatchCreateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( + this, METHODID_BATCH_CREATE_USER_LINKS))) + .addMethod( + getUpdateUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UserLink>( + this, METHODID_UPDATE_USER_LINK))) + .addMethod( + getBatchUpdateUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( + this, METHODID_BATCH_UPDATE_USER_LINKS))) + .addMethod( + getDeleteUserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_USER_LINK))) + .addMethod( + getBatchDeleteUserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, + com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_USER_LINKS))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink>( + this, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_FIREBASE_LINK))) + .addMethod( + getListFirebaseLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( + this, METHODID_LIST_FIREBASE_LINKS))) + .addMethod( + getGetGlobalSiteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, + com.google.analytics.admin.v1alpha.GlobalSiteTag>( + this, METHODID_GET_GLOBAL_SITE_TAG))) + .addMethod( + getCreateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_CREATE_GOOGLE_ADS_LINK))) + .addMethod( + getUpdateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1alpha.GoogleAdsLink>( + this, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_GOOGLE_ADS_LINK))) + .addMethod( + getListGoogleAdsLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( + this, METHODID_LIST_GOOGLE_ADS_LINKS))) + .addMethod( + getGetDataSharingSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1alpha.DataSharingSettings>( + this, METHODID_GET_DATA_SHARING_SETTINGS))) + .addMethod( + getGetMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getListMeasurementProtocolSecretsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( + this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) + .addMethod( + getCreateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getUpdateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( + this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getAcknowledgeUserDataCollectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>( + this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) + .addMethod( + getSearchChangeHistoryEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( + this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) + .addMethod( + getGetGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getUpdateGoogleSignalsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( + this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) + .addMethod( + getCreateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + this, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSION_EVENT))) + .addMethod( + getListConversionEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListConversionEventsRequest, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( + this, METHODID_LIST_CONVERSION_EVENTS))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getListDisplayVideo360AdvertiserLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getUpdateDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getGetDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .GetDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getListDisplayVideo360AdvertiserLinkProposalsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsRequest, + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse>( + this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) + .addMethod( + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse>( + this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) + .addMethod( + getCreateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_CREATE_CUSTOM_DIMENSION))) + .addMethod( + getUpdateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_UPDATE_CUSTOM_DIMENSION))) + .addMethod( + getListCustomDimensionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( + this, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) + .addMethod( + getGetCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, + com.google.analytics.admin.v1alpha.CustomDimension>( + this, METHODID_GET_CUSTOM_DIMENSION))) + .addMethod( + getCreateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_CREATE_CUSTOM_METRIC))) + .addMethod( + getUpdateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_UPDATE_CUSTOM_METRIC))) + .addMethod( + getListCustomMetricsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( + this, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_METRIC))) + .addMethod( + getGetCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetCustomMetricRequest, + com.google.analytics.admin.v1alpha.CustomMetric>( + this, METHODID_GET_CUSTOM_METRIC))) + .addMethod( + getGetDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_GET_DATA_RETENTION_SETTINGS))) + .addMethod( + getUpdateDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRetentionSettings>( + this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) + .addMethod( + getCreateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_DATA_STREAM))) + .addMethod( + getUpdateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_UPDATE_DATA_STREAM))) + .addMethod( + getListDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListDataStreamsRequest, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse>( + this, METHODID_LIST_DATA_STREAMS))) + .addMethod( + getGetDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataStreamRequest, + com.google.analytics.admin.v1alpha.DataStream>( + this, METHODID_GET_DATA_STREAM))) + .addMethod( + getGetAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>(this, METHODID_GET_AUDIENCE))) + .addMethod( + getListAudiencesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAudiencesRequest, + com.google.analytics.admin.v1alpha.ListAudiencesResponse>( + this, METHODID_LIST_AUDIENCES))) + .addMethod( + getCreateAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>(this, METHODID_CREATE_AUDIENCE))) + .addMethod( + getUpdateAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>(this, METHODID_UPDATE_AUDIENCE))) + .addMethod( + getArchiveAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + 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( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings>( + this, METHODID_GET_ATTRIBUTION_SETTINGS))) + .addMethod( + getUpdateAttributionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, + com.google.analytics.admin.v1alpha.AttributionSettings>( + this, METHODID_UPDATE_ATTRIBUTION_SETTINGS))) + .addMethod( + getRunAccessReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + 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(); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AnalyticsAdminServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public void deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public void getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public void batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public void listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public void auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public void createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public void batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public void updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public void batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public void deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public void getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public void getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public void updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public void getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public void updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public void listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public void createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public void deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public void approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public void cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single Audience.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void getAudience( + com.google.analytics.admin.v1alpha.GetAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAudienceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Audiences on a property.
+     * Audiences created before 2020 may not be supported.
+     * Default audiences will not show filter definitions.
+     * 
+ */ + public void listAudiences( + com.google.analytics.admin.v1alpha.ListAudiencesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAudiencesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an Audience.
+     * 
+ */ + public void createAudience( + com.google.analytics.admin.v1alpha.CreateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an Audience on a property.
+     * 
+ */ + public void updateAudience( + com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Archives an Audience on a property.
+     * 
+ */ + 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(getUpdateSearchAds360LinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public void getAttributionSettings( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public void updateAttributionSettings( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public void runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), + 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); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AnalyticsAdminServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account getAccount( + com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts( + com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.protobuf.Empty deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Account updateAccount( + com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property getProperty( + com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties( + com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPropertiesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property createProperty( + com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Property updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink getUserLink( + com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks( + com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink createUserLink( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.UserLink updateUserLink( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.protobuf.Empty deleteUserLink( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.FirebaseLink createFirebaseLink( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteFirebaseLink( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse listFirebaseLinks( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GlobalSiteTag getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGlobalSiteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink createGoogleAdsLink( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleAdsLink updateGoogleAdsLink( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteGoogleAdsLink( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse listGoogleAdsLinks( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataSharingSettings getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.protobuf.Empty deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent( + com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConversionEventsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getGetDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getListDisplayVideo360AdvertiserLinkProposalsMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getCreateDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getApproveDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getCancelDisplayVideo360AdvertiserLinkProposalMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomMetric( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream createDataStream( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDataStream( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream updateDataStream( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListDataStreamsResponse listDataStreams( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataStreamsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataStream getDataStream( + com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * 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( + com.google.analytics.admin.v1alpha.GetAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAudienceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * 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( + com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAudiencesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an Audience.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Audience createAudience( + com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAudienceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an Audience on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.Audience updateAudience( + com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAudienceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Archives an Audience on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveAudience( + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + 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); + } + + /** + * + * + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttributionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AttributionSettings updateAttributionSettings( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAttributionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public com.google.analytics.admin.v1alpha.RunAccessReportResponse runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { + 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); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AnalyticsAdminServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Account> + getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListAccountsResponse> + listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Account> + updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse> + provisionAccountTicket( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse> + listAccountSummaries( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListPropertiesResponse> + listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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 a GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Property> + updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about a user's link to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.UserLink> + getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse> + batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListUserLinksResponse> + listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all user links on an account or property, including implicit ones
+     * that come from effective permissions granted by groups or organization
+     * admin roles.
+     * If a returned user link does not have direct permissions, they cannot
+     * be removed from the account or property directly with the DeleteUserLink
+     * command. They have to be removed from the group/etc that gives them
+     * permissions, which is currently only usable/discoverable in the GA or GMP
+     * UIs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AuditUserLinksResponse> + auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a user link on an account or property.
+     * If the user with the specified email already has permissions on the
+     * account or property, then the user's existing permissions will be unioned
+     * with the permissions specified in the new UserLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.UserLink> + createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates information about multiple users' links to an account or property.
+     * This method is transactional. If any UserLink cannot be created, none of
+     * the UserLinks will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse> + batchCreateUserLinks( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.UserLink> + updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse> + batchUpdateUserLinks( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a user link on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchDeleteUserLinks( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.FirebaseLink> + createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse> + listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the Site Tag for the specified web stream.
+     * Site Tags are immutable singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GlobalSiteTag> + getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleAdsLink> + createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleAdsLink> + updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse> + listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataSharingSettings> + getDataSharingSettings( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + getMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse> + listMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret> + updateMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollection( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse> + searchChangeHistoryEvents( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + getGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates Google Signals settings for a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings> + updateGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ConversionEvent> + createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ConversionEvent> + getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteConversionEvent( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListConversionEventsResponse> + listConversionEvents( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Look up a single DisplayVideo360AdvertiserLink
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + getDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists all DisplayVideo360AdvertiserLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse> + listDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLink.
+     * This can only be utilized by users who have proper authorization both on
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + createDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Updates a DisplayVideo360AdvertiserLink on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + updateDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + getDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse> + listDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a DisplayVideo360AdvertiserLinkProposal.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + createDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
+     * This can only be used on cancelled proposals.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Approves a DisplayVideo360AdvertiserLinkProposal.
+     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
+     * DisplayVideo360AdvertiserLink will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse> + approveDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Cancels a DisplayVideo360AdvertiserLinkProposal.
+     * Cancelling can mean either:
+     * - 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + cancelDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomDimension> + createCustomDimension( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomDimension> + updateCustomDimension( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse> + listCustomDimensions( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + archiveCustomDimension( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomDimension> + getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomMetric> + createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomMetric> + updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse> + listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CustomMetric> + getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataRetentionSettings> + getDataRetentionSettings( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataRetentionSettings> + updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataStream> + createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataStream> + updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListDataStreamsResponse> + listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataStream> + getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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< + com.google.analytics.admin.v1alpha.Audience> + getAudience(com.google.analytics.admin.v1alpha.GetAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAudienceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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< + com.google.analytics.admin.v1alpha.ListAudiencesResponse> + listAudiences(com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAudiencesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an Audience.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Audience> + createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an Audience on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.Audience> + updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Archives an Audience on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + archiveAudience(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + 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); + } + + /** + * + * + *
+     * Lookup for a AttributionSettings singleton.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AttributionSettings> + getAttributionSettings( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates attribution settings on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AttributionSettings> + updateAttributionSettings( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a customized report of data access records. The report provides
+     * records of each time a user reads Google Analytics reporting data. Access
+     * records are retained for up to 2 years.
+     * Data Access Reports can be requested for a property. The property must be
+     * in Google Analytics 360. This method is only available to Administrators.
+     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
+     * GA4 Data API, and other products like Firebase & Admob that can retrieve
+     * data from Google Analytics through a linkage. These records don't include
+     * property configuration changes like adding a stream or changing a
+     * property's time zone. For configuration change history, see
+     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.RunAccessReportResponse> + runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * 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; + private static final int METHODID_LIST_ACCOUNTS = 1; + private static final int METHODID_DELETE_ACCOUNT = 2; + private static final int METHODID_UPDATE_ACCOUNT = 3; + private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; + private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; + private static final int METHODID_GET_PROPERTY = 6; + private static final int METHODID_LIST_PROPERTIES = 7; + private static final int METHODID_CREATE_PROPERTY = 8; + private static final int METHODID_DELETE_PROPERTY = 9; + private static final int METHODID_UPDATE_PROPERTY = 10; + private static final int METHODID_GET_USER_LINK = 11; + private static final int METHODID_BATCH_GET_USER_LINKS = 12; + private static final int METHODID_LIST_USER_LINKS = 13; + private static final int METHODID_AUDIT_USER_LINKS = 14; + private static final int METHODID_CREATE_USER_LINK = 15; + private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; + private static final int METHODID_UPDATE_USER_LINK = 17; + private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; + private static final int METHODID_DELETE_USER_LINK = 19; + private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; + private static final int METHODID_CREATE_FIREBASE_LINK = 21; + private static final int METHODID_DELETE_FIREBASE_LINK = 22; + private static final int METHODID_LIST_FIREBASE_LINKS = 23; + private static final int METHODID_GET_GLOBAL_SITE_TAG = 24; + private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 25; + private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 26; + private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 27; + private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 28; + private static final int METHODID_GET_DATA_SHARING_SETTINGS = 29; + private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 30; + private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 31; + private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 32; + private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 33; + private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 34; + private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 35; + private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 36; + private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 37; + private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 38; + private static final int METHODID_CREATE_CONVERSION_EVENT = 39; + private static final int METHODID_GET_CONVERSION_EVENT = 40; + private static final int METHODID_DELETE_CONVERSION_EVENT = 41; + private static final int METHODID_LIST_CONVERSION_EVENTS = 42; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 43; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 44; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 45; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 46; + private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 47; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 48; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 49; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 50; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 51; + private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 52; + private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 53; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 54; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 55; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 56; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 57; + private static final int METHODID_GET_CUSTOM_DIMENSION = 58; + private static final int METHODID_CREATE_CUSTOM_METRIC = 59; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 60; + private static final int METHODID_LIST_CUSTOM_METRICS = 61; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 62; + private static final int METHODID_GET_CUSTOM_METRIC = 63; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 64; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 65; + private static final int METHODID_CREATE_DATA_STREAM = 66; + private static final int METHODID_DELETE_DATA_STREAM = 67; + private static final int METHODID_UPDATE_DATA_STREAM = 68; + private static final int METHODID_LIST_DATA_STREAMS = 69; + private static final int METHODID_GET_DATA_STREAM = 70; + private static final int METHODID_GET_AUDIENCE = 71; + private static final int METHODID_LIST_AUDIENCES = 72; + 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_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, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AnalyticsAdminServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_ACCOUNT: + serviceImpl.getAccount( + (com.google.analytics.admin.v1alpha.GetAccountRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ACCOUNTS: + serviceImpl.listAccounts( + (com.google.analytics.admin.v1alpha.ListAccountsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ACCOUNT: + serviceImpl.deleteAccount( + (com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ACCOUNT: + serviceImpl.updateAccount( + (com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_PROVISION_ACCOUNT_TICKET: + serviceImpl.provisionAccountTicket( + (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>) + responseObserver); + break; + case METHODID_LIST_ACCOUNT_SUMMARIES: + serviceImpl.listAccountSummaries( + (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>) + responseObserver); + break; + case METHODID_GET_PROPERTY: + serviceImpl.getProperty( + (com.google.analytics.admin.v1alpha.GetPropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_PROPERTIES: + serviceImpl.listProperties( + (com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListPropertiesResponse>) + responseObserver); + break; + case METHODID_CREATE_PROPERTY: + serviceImpl.createProperty( + (com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PROPERTY: + serviceImpl.deleteProperty( + (com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_PROPERTY: + serviceImpl.updateProperty( + (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_USER_LINK: + serviceImpl.getUserLink( + (com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_GET_USER_LINKS: + serviceImpl.batchGetUserLinks( + (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>) + responseObserver); + break; + case METHODID_LIST_USER_LINKS: + serviceImpl.listUserLinks( + (com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListUserLinksResponse>) + responseObserver); + break; + case METHODID_AUDIT_USER_LINKS: + serviceImpl.auditUserLinks( + (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AuditUserLinksResponse>) + responseObserver); + break; + case METHODID_CREATE_USER_LINK: + serviceImpl.createUserLink( + (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_CREATE_USER_LINKS: + serviceImpl.batchCreateUserLinks( + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>) + responseObserver); + break; + case METHODID_UPDATE_USER_LINK: + serviceImpl.updateUserLink( + (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_UPDATE_USER_LINKS: + serviceImpl.batchUpdateUserLinks( + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>) + responseObserver); + break; + case METHODID_DELETE_USER_LINK: + serviceImpl.deleteUserLink( + (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_USER_LINKS: + serviceImpl.batchDeleteUserLinks( + (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_FIREBASE_LINK: + serviceImpl.createFirebaseLink( + (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_FIREBASE_LINK: + serviceImpl.deleteFirebaseLink( + (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FIREBASE_LINKS: + serviceImpl.listFirebaseLinks( + (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>) + responseObserver); + break; + case METHODID_GET_GLOBAL_SITE_TAG: + serviceImpl.getGlobalSiteTag( + (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_GOOGLE_ADS_LINK: + serviceImpl.createGoogleAdsLink( + (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_GOOGLE_ADS_LINK: + serviceImpl.updateGoogleAdsLink( + (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_GOOGLE_ADS_LINK: + serviceImpl.deleteGoogleAdsLink( + (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GOOGLE_ADS_LINKS: + serviceImpl.listGoogleAdsLinks( + (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>) + responseObserver); + break; + case METHODID_GET_DATA_SHARING_SETTINGS: + serviceImpl.getDataSharingSettings( + (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.getMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: + serviceImpl.listMeasurementProtocolSecrets( + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>) + responseObserver); + break; + case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.createMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.deleteMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.updateMeasurementProtocolSecret( + (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: + serviceImpl.acknowledgeUserDataCollection( + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>) + responseObserver); + break; + case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: + serviceImpl.searchChangeHistoryEvents( + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>) + responseObserver); + break; + case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.getGoogleSignalsSettings( + (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) + responseObserver); + break; + case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: + serviceImpl.updateGoogleSignalsSettings( + (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings>) + responseObserver); + break; + case METHODID_CREATE_CONVERSION_EVENT: + serviceImpl.createConversionEvent( + (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CONVERSION_EVENT: + serviceImpl.getConversionEvent( + (com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_CONVERSION_EVENT: + serviceImpl.deleteConversionEvent( + (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONVERSION_EVENTS: + serviceImpl.listConversionEvents( + (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListConversionEventsResponse>) + responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.getDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) + responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: + serviceImpl.listDisplayVideo360AdvertiserLinks( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinksResponse>) + responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.createDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) + responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.deleteDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: + serviceImpl.updateDisplayVideo360AdvertiserLink( + (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>) + responseObserver); + break; + case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.getDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) + responseObserver); + break; + case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: + serviceImpl.listDisplayVideo360AdvertiserLinkProposals( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse>) + responseObserver); + break; + case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.createDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) + responseObserver); + break; + case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.approveDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse>) + responseObserver); + break; + case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: + serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal( + (com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>) + responseObserver); + break; + case METHODID_CREATE_CUSTOM_DIMENSION: + serviceImpl.createCustomDimension( + (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CUSTOM_DIMENSION: + serviceImpl.updateCustomDimension( + (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CUSTOM_DIMENSIONS: + serviceImpl.listCustomDimensions( + (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>) + responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_DIMENSION: + serviceImpl.archiveCustomDimension( + (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_DIMENSION: + serviceImpl.getCustomDimension( + (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CUSTOM_METRIC: + serviceImpl.createCustomMetric( + (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CUSTOM_METRIC: + serviceImpl.updateCustomMetric( + (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CUSTOM_METRICS: + serviceImpl.listCustomMetrics( + (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>) + responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_METRIC: + serviceImpl.archiveCustomMetric( + (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_METRIC: + serviceImpl.getCustomMetric( + (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DATA_RETENTION_SETTINGS: + serviceImpl.getDataRetentionSettings( + (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DataRetentionSettings>) + responseObserver); + break; + case METHODID_UPDATE_DATA_RETENTION_SETTINGS: + serviceImpl.updateDataRetentionSettings( + (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DataRetentionSettings>) + responseObserver); + break; + case METHODID_CREATE_DATA_STREAM: + serviceImpl.createDataStream( + (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_DATA_STREAM: + serviceImpl.deleteDataStream( + (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_STREAM: + serviceImpl.updateDataStream( + (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DATA_STREAMS: + serviceImpl.listDataStreams( + (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListDataStreamsResponse>) + responseObserver); + break; + case METHODID_GET_DATA_STREAM: + serviceImpl.getDataStream( + (com.google.analytics.admin.v1alpha.GetDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_AUDIENCE: + serviceImpl.getAudience( + (com.google.analytics.admin.v1alpha.GetAudienceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AUDIENCES: + serviceImpl.listAudiences( + (com.google.analytics.admin.v1alpha.ListAudiencesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAudiencesResponse>) + responseObserver); + break; + case METHODID_CREATE_AUDIENCE: + serviceImpl.createAudience( + (com.google.analytics.admin.v1alpha.CreateAudienceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_AUDIENCE: + serviceImpl.updateAudience( + (com.google.analytics.admin.v1alpha.UpdateAudienceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ARCHIVE_AUDIENCE: + serviceImpl.archiveAudience( + (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, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_ATTRIBUTION_SETTINGS: + serviceImpl.updateAttributionSettings( + (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RUN_ACCESS_REPORT: + serviceImpl.runAccessReport( + (com.google.analytics.admin.v1alpha.RunAccessReportRequest) request, + (io.grpc.stub.StreamObserver< + 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(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AnalyticsAdminServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AnalyticsAdminService"); + } + } + + private static final class AnalyticsAdminServiceFileDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier { + AnalyticsAdminServiceFileDescriptorSupplier() {} + } + + private static final class AnalyticsAdminServiceMethodDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) + .addMethod(getGetAccountMethod()) + .addMethod(getListAccountsMethod()) + .addMethod(getDeleteAccountMethod()) + .addMethod(getUpdateAccountMethod()) + .addMethod(getProvisionAccountTicketMethod()) + .addMethod(getListAccountSummariesMethod()) + .addMethod(getGetPropertyMethod()) + .addMethod(getListPropertiesMethod()) + .addMethod(getCreatePropertyMethod()) + .addMethod(getDeletePropertyMethod()) + .addMethod(getUpdatePropertyMethod()) + .addMethod(getGetUserLinkMethod()) + .addMethod(getBatchGetUserLinksMethod()) + .addMethod(getListUserLinksMethod()) + .addMethod(getAuditUserLinksMethod()) + .addMethod(getCreateUserLinkMethod()) + .addMethod(getBatchCreateUserLinksMethod()) + .addMethod(getUpdateUserLinkMethod()) + .addMethod(getBatchUpdateUserLinksMethod()) + .addMethod(getDeleteUserLinkMethod()) + .addMethod(getBatchDeleteUserLinksMethod()) + .addMethod(getCreateFirebaseLinkMethod()) + .addMethod(getDeleteFirebaseLinkMethod()) + .addMethod(getListFirebaseLinksMethod()) + .addMethod(getGetGlobalSiteTagMethod()) + .addMethod(getCreateGoogleAdsLinkMethod()) + .addMethod(getUpdateGoogleAdsLinkMethod()) + .addMethod(getDeleteGoogleAdsLinkMethod()) + .addMethod(getListGoogleAdsLinksMethod()) + .addMethod(getGetDataSharingSettingsMethod()) + .addMethod(getGetMeasurementProtocolSecretMethod()) + .addMethod(getListMeasurementProtocolSecretsMethod()) + .addMethod(getCreateMeasurementProtocolSecretMethod()) + .addMethod(getDeleteMeasurementProtocolSecretMethod()) + .addMethod(getUpdateMeasurementProtocolSecretMethod()) + .addMethod(getAcknowledgeUserDataCollectionMethod()) + .addMethod(getSearchChangeHistoryEventsMethod()) + .addMethod(getGetGoogleSignalsSettingsMethod()) + .addMethod(getUpdateGoogleSignalsSettingsMethod()) + .addMethod(getCreateConversionEventMethod()) + .addMethod(getGetConversionEventMethod()) + .addMethod(getDeleteConversionEventMethod()) + .addMethod(getListConversionEventsMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) + .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) + .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) + .addMethod(getCreateCustomDimensionMethod()) + .addMethod(getUpdateCustomDimensionMethod()) + .addMethod(getListCustomDimensionsMethod()) + .addMethod(getArchiveCustomDimensionMethod()) + .addMethod(getGetCustomDimensionMethod()) + .addMethod(getCreateCustomMetricMethod()) + .addMethod(getUpdateCustomMetricMethod()) + .addMethod(getListCustomMetricsMethod()) + .addMethod(getArchiveCustomMetricMethod()) + .addMethod(getGetCustomMetricMethod()) + .addMethod(getGetDataRetentionSettingsMethod()) + .addMethod(getUpdateDataRetentionSettingsMethod()) + .addMethod(getCreateDataStreamMethod()) + .addMethod(getDeleteDataStreamMethod()) + .addMethod(getUpdateDataStreamMethod()) + .addMethod(getListDataStreamsMethod()) + .addMethod(getGetDataStreamMethod()) + .addMethod(getGetAudienceMethod()) + .addMethod(getListAudiencesMethod()) + .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(); + } + } + } + return result; + } +} diff --git a/java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java b/java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java new file mode 100644 index 000000000000..6c675878ae01 --- /dev/null +++ b/java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,6139 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service Interface for the Analytics Admin API (GA4).
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/admin/v1beta/analytics_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AnalyticsAdminServiceGrpc { + + private AnalyticsAdminServiceGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.admin.v1beta.AnalyticsAdminService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetAccountRequest, + com.google.analytics.admin.v1beta.Account> + getGetAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAccount", + requestType = com.google.analytics.admin.v1beta.GetAccountRequest.class, + responseType = com.google.analytics.admin.v1beta.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetAccountRequest, + com.google.analytics.admin.v1beta.Account> + getGetAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetAccountRequest, + com.google.analytics.admin.v1beta.Account> + getGetAccountMethod; + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAccountMethod = + getGetAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Account.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) + .build(); + } + } + } + return getGetAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListAccountsRequest, + com.google.analytics.admin.v1beta.ListAccountsResponse> + getListAccountsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccounts", + requestType = com.google.analytics.admin.v1beta.ListAccountsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListAccountsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListAccountsRequest, + com.google.analytics.admin.v1beta.ListAccountsResponse> + getListAccountsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListAccountsRequest, + com.google.analytics.admin.v1beta.ListAccountsResponse> + getListAccountsMethod; + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { + AnalyticsAdminServiceGrpc.getListAccountsMethod = + getListAccountsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) + .build(); + } + } + } + return getListAccountsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", + requestType = com.google.analytics.admin.v1beta.DeleteAccountRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteAccountRequest, com.google.protobuf.Empty> + getDeleteAccountMethod; + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getDeleteAccountMethod = + getDeleteAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) + .build(); + } + } + } + return getDeleteAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateAccountRequest, + com.google.analytics.admin.v1beta.Account> + getUpdateAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", + requestType = com.google.analytics.admin.v1beta.UpdateAccountRequest.class, + responseType = com.google.analytics.admin.v1beta.Account.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateAccountRequest, + com.google.analytics.admin.v1beta.Account> + getUpdateAccountMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateAccountRequest, + com.google.analytics.admin.v1beta.Account> + getUpdateAccountMethod; + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdateAccountMethod = + getUpdateAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateAccountRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Account.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) + .build(); + } + } + } + return getUpdateAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", + requestType = com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, + responseType = com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> + getProvisionAccountTicketMethod; + if ((getProvisionAccountTicketMethod = + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getProvisionAccountTicketMethod = + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) + == null) { + AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = + getProvisionAccountTicketMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ProvisionAccountTicket")) + .build(); + } + } + } + return getProvisionAccountTicketMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListAccountSummariesRequest, + com.google.analytics.admin.v1beta.ListAccountSummariesResponse> + getListAccountSummariesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", + requestType = com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, + responseType = com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListAccountSummariesRequest, + com.google.analytics.admin.v1beta.ListAccountSummariesResponse> + getListAccountSummariesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListAccountSummariesRequest, + com.google.analytics.admin.v1beta.ListAccountSummariesResponse> + getListAccountSummariesMethod; + if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccountSummariesMethod = + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) + == null) { + AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = + getListAccountSummariesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListAccountSummariesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) + .build(); + } + } + } + return getListAccountSummariesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetPropertyRequest, + com.google.analytics.admin.v1beta.Property> + getGetPropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProperty", + requestType = com.google.analytics.admin.v1beta.GetPropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetPropertyRequest, + com.google.analytics.admin.v1beta.Property> + getGetPropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetPropertyRequest, + com.google.analytics.admin.v1beta.Property> + getGetPropertyMethod; + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getGetPropertyMethod = + getGetPropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetPropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) + .build(); + } + } + } + return getGetPropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListPropertiesRequest, + com.google.analytics.admin.v1beta.ListPropertiesResponse> + getListPropertiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProperties", + requestType = com.google.analytics.admin.v1beta.ListPropertiesRequest.class, + responseType = com.google.analytics.admin.v1beta.ListPropertiesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListPropertiesRequest, + com.google.analytics.admin.v1beta.ListPropertiesResponse> + getListPropertiesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListPropertiesRequest, + com.google.analytics.admin.v1beta.ListPropertiesResponse> + getListPropertiesMethod; + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { + AnalyticsAdminServiceGrpc.getListPropertiesMethod = + getListPropertiesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListPropertiesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListPropertiesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) + .build(); + } + } + } + return getListPropertiesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreatePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getCreatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateProperty", + requestType = com.google.analytics.admin.v1beta.CreatePropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreatePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getCreatePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreatePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getCreatePropertyMethod; + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getCreatePropertyMethod = + getCreatePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreatePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) + .build(); + } + } + } + return getCreatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeletePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getDeletePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", + requestType = com.google.analytics.admin.v1beta.DeletePropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeletePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getDeletePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeletePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getDeletePropertyMethod; + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getDeletePropertyMethod = + getDeletePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeletePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) + .build(); + } + } + } + return getDeletePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdatePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getUpdatePropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", + requestType = com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, + responseType = com.google.analytics.admin.v1beta.Property.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdatePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getUpdatePropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdatePropertyRequest, + com.google.analytics.admin.v1beta.Property> + getUpdatePropertyMethod; + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { + AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = + getUpdatePropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdatePropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.Property.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) + .build(); + } + } + } + return getUpdatePropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1beta.FirebaseLink> + getCreateFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", + requestType = com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, + responseType = com.google.analytics.admin.v1beta.FirebaseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1beta.FirebaseLink> + getCreateFirebaseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1beta.FirebaseLink> + getCreateFirebaseLinkMethod; + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = + getCreateFirebaseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) + .build(); + } + } + } + return getCreateFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", + requestType = com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, com.google.protobuf.Empty> + getDeleteFirebaseLinkMethod; + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = + getDeleteFirebaseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) + .build(); + } + } + } + return getDeleteFirebaseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> + getListFirebaseLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", + requestType = com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, + responseType = com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> + getListFirebaseLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> + getListFirebaseLinksMethod; + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = + getListFirebaseLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) + .build(); + } + } + } + return getListFirebaseLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink> + getCreateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", + requestType = com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink> + getCreateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink> + getCreateGoogleAdsLinkMethod; + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = + getCreateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) + .build(); + } + } + } + return getCreateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", + requestType = com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, + responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink> + getUpdateGoogleAdsLinkMethod; + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = + getUpdateGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) + .build(); + } + } + } + return getUpdateGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", + requestType = com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, com.google.protobuf.Empty> + getDeleteGoogleAdsLinkMethod; + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = + getDeleteGoogleAdsLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) + .build(); + } + } + } + return getDeleteGoogleAdsLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", + requestType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, + responseType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> + getListGoogleAdsLinksMethod; + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = + getListGoogleAdsLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) + .build(); + } + } + } + return getListGoogleAdsLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1beta.DataSharingSettings> + getGetDataSharingSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", + requestType = com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, + responseType = com.google.analytics.admin.v1beta.DataSharingSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1beta.DataSharingSettings> + getGetDataSharingSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1beta.DataSharingSettings> + getGetDataSharingSettingsMethod; + if ((getGetDataSharingSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataSharingSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = + getGetDataSharingSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataSharingSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDataSharingSettings")) + .build(); + } + } + } + return getGetDataSharingSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getGetMeasurementProtocolSecretMethod; + if ((getGetMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = + getGetMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetMeasurementProtocolSecret")) + .build(); + } + } + } + return getGetMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", + requestType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> + getListMeasurementProtocolSecretsMethod; + if ((getListMeasurementProtocolSecretsMethod = + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListMeasurementProtocolSecretsMethod = + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = + getListMeasurementProtocolSecretsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta + .ListMeasurementProtocolSecretsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta + .ListMeasurementProtocolSecretsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListMeasurementProtocolSecrets")) + .build(); + } + } + } + return getListMeasurementProtocolSecretsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getCreateMeasurementProtocolSecretMethod; + if ((getCreateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = + getCreateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta + .CreateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateMeasurementProtocolSecret")) + .build(); + } + } + } + return getCreateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty> + getDeleteMeasurementProtocolSecretMethod; + if ((getDeleteMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = + getDeleteMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta + .DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteMeasurementProtocolSecret")) + .build(); + } + } + } + return getDeleteMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", + requestType = com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, + responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getUpdateMeasurementProtocolSecretMethod; + if ((getUpdateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateMeasurementProtocolSecretMethod = + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = + getUpdateMeasurementProtocolSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta + .UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateMeasurementProtocolSecret")) + .build(); + } + } + } + return getUpdateMeasurementProtocolSecretMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", + requestType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, + responseType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> + getAcknowledgeUserDataCollectionMethod; + if ((getAcknowledgeUserDataCollectionMethod = + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getAcknowledgeUserDataCollectionMethod = + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) + == null) { + AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = + getAcknowledgeUserDataCollectionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta + .AcknowledgeUserDataCollectionResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "AcknowledgeUserDataCollection")) + .build(); + } + } + } + return getAcknowledgeUserDataCollectionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", + requestType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, + responseType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> + getSearchChangeHistoryEventsMethod; + if ((getSearchChangeHistoryEventsMethod = + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getSearchChangeHistoryEventsMethod = + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) + == null) { + AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = + getSearchChangeHistoryEventsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "SearchChangeHistoryEvents")) + .build(); + } + } + } + return getSearchChangeHistoryEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getCreateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", + requestType = com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, + responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getCreateConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getCreateConversionEventMethod; + if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateConversionEventMethod = + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = + getCreateConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateConversionEvent")) + .build(); + } + } + } + return getCreateConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getGetConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", + requestType = com.google.analytics.admin.v1beta.GetConversionEventRequest.class, + responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getGetConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getGetConversionEventMethod; + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetConversionEventMethod = + getGetConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) + .build(); + } + } + } + return getGetConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteConversionEventRequest, com.google.protobuf.Empty> + getDeleteConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", + requestType = com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteConversionEventRequest, com.google.protobuf.Empty> + getDeleteConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteConversionEventRequest, + com.google.protobuf.Empty> + getDeleteConversionEventMethod; + if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteConversionEventMethod = + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = + getDeleteConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteConversionEvent")) + .build(); + } + } + } + return getDeleteConversionEventMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListConversionEventsRequest, + com.google.analytics.admin.v1beta.ListConversionEventsResponse> + getListConversionEventsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", + requestType = com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListConversionEventsRequest, + com.google.analytics.admin.v1beta.ListConversionEventsResponse> + getListConversionEventsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListConversionEventsRequest, + com.google.analytics.admin.v1beta.ListConversionEventsResponse> + getListConversionEventsMethod; + if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListConversionEventsMethod = + AnalyticsAdminServiceGrpc.getListConversionEventsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListConversionEventsMethod = + getListConversionEventsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListConversionEventsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListConversionEventsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) + .build(); + } + } + } + return getListConversionEventsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getCreateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", + requestType = com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getCreateCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getCreateCustomDimensionMethod; + if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = + getCreateCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateCustomDimension")) + .build(); + } + } + } + return getCreateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getUpdateCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", + requestType = com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getUpdateCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getUpdateCustomDimensionMethod; + if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = + getUpdateCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateCustomDimension")) + .build(); + } + } + } + return getUpdateCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> + getListCustomDimensionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", + requestType = com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> + getListCustomDimensionsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> + getListCustomDimensionsMethod; + if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomDimensionsMethod = + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = + getListCustomDimensionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) + .build(); + } + } + } + return getListCustomDimensionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", + requestType = com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty> + getArchiveCustomDimensionMethod; + if ((getArchiveCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomDimensionMethod = + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = + getArchiveCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ArchiveCustomDimension")) + .build(); + } + } + } + return getArchiveCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getGetCustomDimensionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", + requestType = com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomDimension.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getGetCustomDimensionMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension> + getGetCustomDimensionMethod; + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = + getGetCustomDimensionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomDimension + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) + .build(); + } + } + } + return getGetCustomDimensionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getCreateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", + requestType = com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getCreateCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getCreateCustomMetricMethod; + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = + getCreateCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) + .build(); + } + } + } + return getCreateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getUpdateCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", + requestType = com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getUpdateCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getUpdateCustomMetricMethod; + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = + getUpdateCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) + .build(); + } + } + } + return getUpdateCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListCustomMetricsRequest, + com.google.analytics.admin.v1beta.ListCustomMetricsResponse> + getListCustomMetricsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", + requestType = com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListCustomMetricsRequest, + com.google.analytics.admin.v1beta.ListCustomMetricsResponse> + getListCustomMetricsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListCustomMetricsRequest, + com.google.analytics.admin.v1beta.ListCustomMetricsResponse> + getListCustomMetricsMethod; + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = + getListCustomMetricsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomMetricsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListCustomMetricsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) + .build(); + } + } + } + return getListCustomMetricsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, com.google.protobuf.Empty> + getArchiveCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", + requestType = com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, com.google.protobuf.Empty> + getArchiveCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, com.google.protobuf.Empty> + getArchiveCustomMetricMethod; + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = + getArchiveCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) + .build(); + } + } + } + return getArchiveCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getGetCustomMetricMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", + requestType = com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, + responseType = com.google.analytics.admin.v1beta.CustomMetric.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getGetCustomMetricMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric> + getGetCustomMetricMethod; + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = + getGetCustomMetricMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetCustomMetricRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) + .build(); + } + } + } + return getGetCustomMetricMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings> + getGetDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", + requestType = com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings> + getGetDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings> + getGetDataRetentionSettingsMethod; + if ((getGetDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = + getGetDataRetentionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataRetentionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDataRetentionSettings")) + .build(); + } + } + } + return getGetDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", + requestType = com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, + responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings> + getUpdateDataRetentionSettingsMethod; + if ((getUpdateDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataRetentionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = + getUpdateDataRetentionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataRetentionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateDataRetentionSettings")) + .build(); + } + } + } + return getUpdateDataRetentionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getCreateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", + requestType = com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1beta.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getCreateDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.CreateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getCreateDataStreamMethod; + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = + getCreateDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.CreateDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) + .build(); + } + } + } + return getCreateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", + requestType = com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.DeleteDataStreamRequest, com.google.protobuf.Empty> + getDeleteDataStreamMethod; + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = + getDeleteDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DeleteDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) + .build(); + } + } + } + return getDeleteDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getUpdateDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", + requestType = com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, + responseType = com.google.analytics.admin.v1beta.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getUpdateDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getUpdateDataStreamMethod; + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = + getUpdateDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) + .build(); + } + } + } + return getUpdateDataStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListDataStreamsRequest, + com.google.analytics.admin.v1beta.ListDataStreamsResponse> + getListDataStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", + requestType = com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, + responseType = com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListDataStreamsRequest, + com.google.analytics.admin.v1beta.ListDataStreamsResponse> + getListDataStreamsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.ListDataStreamsRequest, + com.google.analytics.admin.v1beta.ListDataStreamsResponse> + getListDataStreamsMethod; + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListDataStreamsMethod = + getListDataStreamsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListDataStreamsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ListDataStreamsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) + .build(); + } + } + } + return getListDataStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getGetDataStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataStream", + requestType = com.google.analytics.admin.v1beta.GetDataStreamRequest.class, + responseType = com.google.analytics.admin.v1beta.DataStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getGetDataStreamMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.GetDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream> + getGetDataStreamMethod; + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { + AnalyticsAdminServiceGrpc.getGetDataStreamMethod = + getGetDataStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.GetDataStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) + .build(); + } + } + } + return getGetDataStreamMethod; + } + + /** 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 = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AnalyticsAdminServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AnalyticsAdminServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AnalyticsAdminServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + }; + return AnalyticsAdminServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public abstract static class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount( + com.google.analytics.admin.v1beta.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts( + com.google.analytics.admin.v1beta.ListAccountsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAccountsMethod(), responseObserver); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount( + com.google.analytics.admin.v1beta.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount( + com.google.analytics.admin.v1beta.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getProvisionAccountTicketMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAccountSummariesMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty( + com.google.analytics.admin.v1beta.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetPropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties( + com.google.analytics.admin.v1beta.ListPropertiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPropertiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty( + com.google.analytics.admin.v1beta.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public void deleteProperty( + com.google.analytics.admin.v1beta.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty( + com.google.analytics.admin.v1beta.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink( + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateFirebaseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink( + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteFirebaseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListFirebaseLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteGoogleAdsLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListGoogleAdsLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataSharingSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMeasurementProtocolSecretsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAcknowledgeUserDataCollectionMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchChangeHistoryEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent( + com.google.analytics.admin.v1beta.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent( + com.google.analytics.admin.v1beta.GetConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents( + com.google.analytics.admin.v1beta.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConversionEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomDimensionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getArchiveCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric( + com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric( + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics( + com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomMetricsMethod(), responseObserver); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getArchiveCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric( + com.google.analytics.admin.v1beta.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomMetricMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream( + com.google.analytics.admin.v1beta.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream( + com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream( + com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams( + com.google.analytics.admin.v1beta.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDataStreamsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream( + com.google.analytics.admin.v1beta.GetDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataStreamMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetAccountRequest, + com.google.analytics.admin.v1beta.Account>(this, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListAccountsRequest, + com.google.analytics.admin.v1beta.ListAccountsResponse>( + this, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteAccountRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateAccountRequest, + com.google.analytics.admin.v1beta.Account>(this, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>( + this, METHODID_PROVISION_ACCOUNT_TICKET))) + .addMethod( + getListAccountSummariesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListAccountSummariesRequest, + com.google.analytics.admin.v1beta.ListAccountSummariesResponse>( + this, METHODID_LIST_ACCOUNT_SUMMARIES))) + .addMethod( + getGetPropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetPropertyRequest, + com.google.analytics.admin.v1beta.Property>(this, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListPropertiesRequest, + com.google.analytics.admin.v1beta.ListPropertiesResponse>( + this, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreatePropertyRequest, + com.google.analytics.admin.v1beta.Property>(this, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeletePropertyRequest, + com.google.analytics.admin.v1beta.Property>(this, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdatePropertyRequest, + com.google.analytics.admin.v1beta.Property>(this, METHODID_UPDATE_PROPERTY))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1beta.FirebaseLink>( + this, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_FIREBASE_LINK))) + .addMethod( + getListFirebaseLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse>( + this, METHODID_LIST_FIREBASE_LINKS))) + .addMethod( + getCreateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink>( + this, METHODID_CREATE_GOOGLE_ADS_LINK))) + .addMethod( + getUpdateGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, + com.google.analytics.admin.v1beta.GoogleAdsLink>( + this, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_GOOGLE_ADS_LINK))) + .addMethod( + getListGoogleAdsLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse>( + this, METHODID_LIST_GOOGLE_ADS_LINKS))) + .addMethod( + getGetDataSharingSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, + com.google.analytics.admin.v1beta.DataSharingSettings>( + this, METHODID_GET_DATA_SHARING_SETTINGS))) + .addMethod( + getGetMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( + this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getListMeasurementProtocolSecretsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse>( + this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) + .addMethod( + getCreateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( + this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getUpdateMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( + this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getAcknowledgeUserDataCollectionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>( + this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) + .addMethod( + getSearchChangeHistoryEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse>( + this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) + .addMethod( + getCreateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent>( + this, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent>( + this, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteConversionEventRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_CONVERSION_EVENT))) + .addMethod( + getListConversionEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListConversionEventsRequest, + com.google.analytics.admin.v1beta.ListConversionEventsResponse>( + this, METHODID_LIST_CONVERSION_EVENTS))) + .addMethod( + getCreateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension>( + this, METHODID_CREATE_CUSTOM_DIMENSION))) + .addMethod( + getUpdateCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension>( + this, METHODID_UPDATE_CUSTOM_DIMENSION))) + .addMethod( + getListCustomDimensionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse>( + this, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) + .addMethod( + getGetCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetCustomDimensionRequest, + com.google.analytics.admin.v1beta.CustomDimension>( + this, METHODID_GET_CUSTOM_DIMENSION))) + .addMethod( + getCreateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric>( + this, METHODID_CREATE_CUSTOM_METRIC))) + .addMethod( + getUpdateCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric>( + this, METHODID_UPDATE_CUSTOM_METRIC))) + .addMethod( + getListCustomMetricsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListCustomMetricsRequest, + com.google.analytics.admin.v1beta.ListCustomMetricsResponse>( + this, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>(this, METHODID_ARCHIVE_CUSTOM_METRIC))) + .addMethod( + getGetCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetCustomMetricRequest, + com.google.analytics.admin.v1beta.CustomMetric>( + this, METHODID_GET_CUSTOM_METRIC))) + .addMethod( + getGetDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings>( + this, METHODID_GET_DATA_RETENTION_SETTINGS))) + .addMethod( + getUpdateDataRetentionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, + com.google.analytics.admin.v1beta.DataRetentionSettings>( + this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) + .addMethod( + getCreateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream>( + this, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteDataStreamRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_DATA_STREAM))) + .addMethod( + getUpdateDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream>( + this, METHODID_UPDATE_DATA_STREAM))) + .addMethod( + getListDataStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListDataStreamsRequest, + com.google.analytics.admin.v1beta.ListDataStreamsResponse>( + this, METHODID_LIST_DATA_STREAMS))) + .addMethod( + getGetDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetDataStreamRequest, + com.google.analytics.admin.v1beta.DataStream>( + this, METHODID_GET_DATA_STREAM))) + .build(); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AnalyticsAdminServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public void getAccount( + com.google.analytics.admin.v1beta.GetAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public void listAccounts( + com.google.analytics.admin.v1beta.ListAccountsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public void deleteAccount( + com.google.analytics.admin.v1beta.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public void updateAccount( + com.google.analytics.admin.v1beta.UpdateAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public void provisionAccountTicket( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public void listAccountSummaries( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public void getProperty( + com.google.analytics.admin.v1beta.GetPropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public void listProperties( + com.google.analytics.admin.v1beta.ListPropertiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public void createProperty( + com.google.analytics.admin.v1beta.CreatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public void deleteProperty( + com.google.analytics.admin.v1beta.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public void updateProperty( + com.google.analytics.admin.v1beta.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void createFirebaseLink( + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public void deleteFirebaseLink( + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public void listFirebaseLinks( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public void createGoogleAdsLink( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public void updateGoogleAdsLink( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public void deleteGoogleAdsLink( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public void listGoogleAdsLinks( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public void getDataSharingSettings( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public void getMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public void listMeasurementProtocolSecrets( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public void createMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public void deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public void updateMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public void acknowledgeUserDataCollection( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public void searchChangeHistoryEvents( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public void createConversionEvent( + com.google.analytics.admin.v1beta.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public void getConversionEvent( + com.google.analytics.admin.v1beta.GetConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public void deleteConversionEvent( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public void listConversionEvents( + com.google.analytics.admin.v1beta.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public void createCustomDimension( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public void updateCustomDimension( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public void listCustomDimensions( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public void archiveCustomDimension( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public void getCustomDimension( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public void createCustomMetric( + com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public void updateCustomMetric( + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public void listCustomMetrics( + com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public void archiveCustomMetric( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public void getCustomMetric( + com.google.analytics.admin.v1beta.GetCustomMetricRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public void getDataRetentionSettings( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public void updateDataRetentionSettings( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public void createDataStream( + com.google.analytics.admin.v1beta.CreateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public void deleteDataStream( + com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public void updateDataStream( + com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public void listDataStreams( + com.google.analytics.admin.v1beta.ListDataStreamsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public void getDataStream( + com.google.analytics.admin.v1beta.GetDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AnalyticsAdminServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Account getAccount( + com.google.analytics.admin.v1beta.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListAccountsResponse listAccounts( + com.google.analytics.admin.v1beta.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.protobuf.Empty deleteAccount( + com.google.analytics.admin.v1beta.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Account updateAccount( + com.google.analytics.admin.v1beta.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse provisionAccountTicket( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListAccountSummariesResponse listAccountSummaries( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property getProperty( + com.google.analytics.admin.v1beta.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListPropertiesResponse listProperties( + com.google.analytics.admin.v1beta.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPropertiesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property createProperty( + com.google.analytics.admin.v1beta.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property deleteProperty( + com.google.analytics.admin.v1beta.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.Property updateProperty( + com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1beta.FirebaseLink createFirebaseLink( + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteFirebaseLink( + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse listFirebaseLinks( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.analytics.admin.v1beta.GoogleAdsLink createGoogleAdsLink( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.analytics.admin.v1beta.GoogleAdsLink updateGoogleAdsLink( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.protobuf.Empty deleteGoogleAdsLink( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse listGoogleAdsLinks( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataSharingSettings getDataSharingSettings( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + listMeasurementProtocolSecrets( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + createMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.protobuf.Empty deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + updateMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + acknowledgeUserDataCollection( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + searchChangeHistoryEvents( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ConversionEvent createConversionEvent( + com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent( + com.google.analytics.admin.v1beta.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteConversionEvent( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListConversionEventsResponse listConversionEvents( + com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConversionEventsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomDimension createCustomDimension( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomDimension updateCustomDimension( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse listCustomDimensions( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomDimension( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomMetric createCustomMetric( + com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomMetric updateCustomMetric( + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListCustomMetricsResponse listCustomMetrics( + com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.protobuf.Empty archiveCustomMetric( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric( + com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataRetentionSettings updateDataRetentionSettings( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataStream createDataStream( + com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteDataStream( + com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataStream updateDataStream( + com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ListDataStreamsResponse listDataStreams( + com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDataStreamsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.analytics.admin.v1beta.DataStream getDataStream( + com.google.analytics.admin.v1beta.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataStreamMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public static final class AnalyticsAdminServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AnalyticsAdminServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AnalyticsAdminServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AnalyticsAdminServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.Account> + getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns all accounts accessible by the caller.
+     * Note that these accounts might not currently have GA4 properties.
+     * Soft-deleted (ie: "trashed") accounts are excluded by default.
+     * Returns an empty list if no relevant accounts are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListAccountsResponse> + listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted accounts.
+     * However, they can be restored using the Trash Can UI.
+     * If the accounts are not restored before the expiration time, the account
+     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
+     * UserLinks) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.Account> + updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Requests a ticket for creating an account.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse> + provisionAccountTicket( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns summaries of all accounts accessible by the caller.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListAccountSummariesResponse> + listAccountSummaries( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.Property> + getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child Properties under the specified parent Account.
+     * Only "GA4" properties will be returned.
+     * Properties will be excluded if the caller does not have access.
+     * Soft-deleted (ie: "trashed") properties are excluded by default.
+     * Returns an empty list if no relevant properties are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListPropertiesResponse> + listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an "GA4" property with the specified location and attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.Property> + createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
+     * This API does not have a method to restore soft-deleted properties.
+     * However, they can be restored using the Trash Can UI.
+     * If the properties are not restored before the expiration time, the Property
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.Property> + deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.Property> + updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.FirebaseLink> + createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a FirebaseLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists FirebaseLinks on a property.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse> + listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.GoogleAdsLink> + createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.GoogleAdsLink> + updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a GoogleAdsLink on a property
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists GoogleAdsLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse> + listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get data sharing settings on an account.
+     * Data sharing settings are singletons.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.DataSharingSettings> + getDataSharingSettings( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single "GA4" MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + getMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns child MeasurementProtocolSecrets under the specified parent
+     * Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse> + listMeasurementProtocolSecrets( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + createMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Updates a measurement protocol secret.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret> + updateMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse> + acknowledgeUserDataCollection( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse> + searchChangeHistoryEvents( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ConversionEvent> + createConversionEvent( + com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ConversionEvent> + getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a conversion event in a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteConversionEvent( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a list of conversion events in the specified parent property.
+     * Returns an empty list if no conversion events are found.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListConversionEventsResponse> + listConversionEvents( + com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.CustomDimension> + createCustomDimension( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.CustomDimension> + updateCustomDimension( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CustomDimensions on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse> + listCustomDimensions( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Archives a CustomDimension on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + archiveCustomDimension( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single CustomDimension.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.CustomDimension> + getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.CustomMetric> + createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.CustomMetric> + updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CustomMetrics on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListCustomMetricsResponse> + listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Archives a CustomMetric on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single CustomMetric.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.CustomMetric> + getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.DataRetentionSettings> + getDataRetentionSettings( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the singleton data retention settings for this property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.DataRetentionSettings> + updateDataRetentionSettings( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.DataStream> + createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataStream on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.DataStream> + updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DataStreams on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ListDataStreamsResponse> + listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single DataStream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.DataStream> + getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_ACCOUNT = 0; + private static final int METHODID_LIST_ACCOUNTS = 1; + private static final int METHODID_DELETE_ACCOUNT = 2; + private static final int METHODID_UPDATE_ACCOUNT = 3; + private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; + private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; + private static final int METHODID_GET_PROPERTY = 6; + private static final int METHODID_LIST_PROPERTIES = 7; + private static final int METHODID_CREATE_PROPERTY = 8; + private static final int METHODID_DELETE_PROPERTY = 9; + private static final int METHODID_UPDATE_PROPERTY = 10; + private static final int METHODID_CREATE_FIREBASE_LINK = 11; + private static final int METHODID_DELETE_FIREBASE_LINK = 12; + private static final int METHODID_LIST_FIREBASE_LINKS = 13; + private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 14; + private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 15; + private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 16; + private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 17; + private static final int METHODID_GET_DATA_SHARING_SETTINGS = 18; + private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 19; + private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 20; + private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 21; + private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 22; + private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 23; + private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 24; + private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 25; + private static final int METHODID_CREATE_CONVERSION_EVENT = 26; + private static final int METHODID_GET_CONVERSION_EVENT = 27; + private static final int METHODID_DELETE_CONVERSION_EVENT = 28; + private static final int METHODID_LIST_CONVERSION_EVENTS = 29; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 30; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 31; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 32; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 33; + private static final int METHODID_GET_CUSTOM_DIMENSION = 34; + private static final int METHODID_CREATE_CUSTOM_METRIC = 35; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 36; + private static final int METHODID_LIST_CUSTOM_METRICS = 37; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 38; + private static final int METHODID_GET_CUSTOM_METRIC = 39; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 40; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 41; + private static final int METHODID_CREATE_DATA_STREAM = 42; + private static final int METHODID_DELETE_DATA_STREAM = 43; + private static final int METHODID_UPDATE_DATA_STREAM = 44; + private static final int METHODID_LIST_DATA_STREAMS = 45; + private static final int METHODID_GET_DATA_STREAM = 46; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AnalyticsAdminServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_ACCOUNT: + serviceImpl.getAccount( + (com.google.analytics.admin.v1beta.GetAccountRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ACCOUNTS: + serviceImpl.listAccounts( + (com.google.analytics.admin.v1beta.ListAccountsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ACCOUNT: + serviceImpl.deleteAccount( + (com.google.analytics.admin.v1beta.DeleteAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ACCOUNT: + serviceImpl.updateAccount( + (com.google.analytics.admin.v1beta.UpdateAccountRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_PROVISION_ACCOUNT_TICKET: + serviceImpl.provisionAccountTicket( + (com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>) + responseObserver); + break; + case METHODID_LIST_ACCOUNT_SUMMARIES: + serviceImpl.listAccountSummaries( + (com.google.analytics.admin.v1beta.ListAccountSummariesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListAccountSummariesResponse>) + responseObserver); + break; + case METHODID_GET_PROPERTY: + serviceImpl.getProperty( + (com.google.analytics.admin.v1beta.GetPropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_PROPERTIES: + serviceImpl.listProperties( + (com.google.analytics.admin.v1beta.ListPropertiesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListPropertiesResponse>) + responseObserver); + break; + case METHODID_CREATE_PROPERTY: + serviceImpl.createProperty( + (com.google.analytics.admin.v1beta.CreatePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PROPERTY: + serviceImpl.deleteProperty( + (com.google.analytics.admin.v1beta.DeletePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_PROPERTY: + serviceImpl.updateProperty( + (com.google.analytics.admin.v1beta.UpdatePropertyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_FIREBASE_LINK: + serviceImpl.createFirebaseLink( + (com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_FIREBASE_LINK: + serviceImpl.deleteFirebaseLink( + (com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FIREBASE_LINKS: + serviceImpl.listFirebaseLinks( + (com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse>) + responseObserver); + break; + case METHODID_CREATE_GOOGLE_ADS_LINK: + serviceImpl.createGoogleAdsLink( + (com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_GOOGLE_ADS_LINK: + serviceImpl.updateGoogleAdsLink( + (com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_GOOGLE_ADS_LINK: + serviceImpl.deleteGoogleAdsLink( + (com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GOOGLE_ADS_LINKS: + serviceImpl.listGoogleAdsLinks( + (com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse>) + responseObserver); + break; + case METHODID_GET_DATA_SHARING_SETTINGS: + serviceImpl.getDataSharingSettings( + (com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.getMeasurementProtocolSecret( + (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: + serviceImpl.listMeasurementProtocolSecrets( + (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse>) + responseObserver); + break; + case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.createMeasurementProtocolSecret( + (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.deleteMeasurementProtocolSecret( + (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: + serviceImpl.updateMeasurementProtocolSecret( + (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret>) + responseObserver); + break; + case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: + serviceImpl.acknowledgeUserDataCollection( + (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>) + responseObserver); + break; + case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: + serviceImpl.searchChangeHistoryEvents( + (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse>) + responseObserver); + break; + case METHODID_CREATE_CONVERSION_EVENT: + serviceImpl.createConversionEvent( + (com.google.analytics.admin.v1beta.CreateConversionEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CONVERSION_EVENT: + serviceImpl.getConversionEvent( + (com.google.analytics.admin.v1beta.GetConversionEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_CONVERSION_EVENT: + serviceImpl.deleteConversionEvent( + (com.google.analytics.admin.v1beta.DeleteConversionEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONVERSION_EVENTS: + serviceImpl.listConversionEvents( + (com.google.analytics.admin.v1beta.ListConversionEventsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListConversionEventsResponse>) + responseObserver); + break; + case METHODID_CREATE_CUSTOM_DIMENSION: + serviceImpl.createCustomDimension( + (com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CUSTOM_DIMENSION: + serviceImpl.updateCustomDimension( + (com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CUSTOM_DIMENSIONS: + serviceImpl.listCustomDimensions( + (com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse>) + responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_DIMENSION: + serviceImpl.archiveCustomDimension( + (com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_DIMENSION: + serviceImpl.getCustomDimension( + (com.google.analytics.admin.v1beta.GetCustomDimensionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CUSTOM_METRIC: + serviceImpl.createCustomMetric( + (com.google.analytics.admin.v1beta.CreateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CUSTOM_METRIC: + serviceImpl.updateCustomMetric( + (com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CUSTOM_METRICS: + serviceImpl.listCustomMetrics( + (com.google.analytics.admin.v1beta.ListCustomMetricsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListCustomMetricsResponse>) + responseObserver); + break; + case METHODID_ARCHIVE_CUSTOM_METRIC: + serviceImpl.archiveCustomMetric( + (com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUSTOM_METRIC: + serviceImpl.getCustomMetric( + (com.google.analytics.admin.v1beta.GetCustomMetricRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DATA_RETENTION_SETTINGS: + serviceImpl.getDataRetentionSettings( + (com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_DATA_RETENTION_SETTINGS: + serviceImpl.updateDataRetentionSettings( + (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DATA_STREAM: + serviceImpl.createDataStream( + (com.google.analytics.admin.v1beta.CreateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_DATA_STREAM: + serviceImpl.deleteDataStream( + (com.google.analytics.admin.v1beta.DeleteDataStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_STREAM: + serviceImpl.updateDataStream( + (com.google.analytics.admin.v1beta.UpdateDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DATA_STREAMS: + serviceImpl.listDataStreams( + (com.google.analytics.admin.v1beta.ListDataStreamsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.ListDataStreamsResponse>) + responseObserver); + break; + case METHODID_GET_DATA_STREAM: + serviceImpl.getDataStream( + (com.google.analytics.admin.v1beta.GetDataStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AnalyticsAdminServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AnalyticsAdminService"); + } + } + + private static final class AnalyticsAdminServiceFileDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier { + AnalyticsAdminServiceFileDescriptorSupplier() {} + } + + private static final class AnalyticsAdminServiceMethodDescriptorSupplier + extends AnalyticsAdminServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) + .addMethod(getGetAccountMethod()) + .addMethod(getListAccountsMethod()) + .addMethod(getDeleteAccountMethod()) + .addMethod(getUpdateAccountMethod()) + .addMethod(getProvisionAccountTicketMethod()) + .addMethod(getListAccountSummariesMethod()) + .addMethod(getGetPropertyMethod()) + .addMethod(getListPropertiesMethod()) + .addMethod(getCreatePropertyMethod()) + .addMethod(getDeletePropertyMethod()) + .addMethod(getUpdatePropertyMethod()) + .addMethod(getCreateFirebaseLinkMethod()) + .addMethod(getDeleteFirebaseLinkMethod()) + .addMethod(getListFirebaseLinksMethod()) + .addMethod(getCreateGoogleAdsLinkMethod()) + .addMethod(getUpdateGoogleAdsLinkMethod()) + .addMethod(getDeleteGoogleAdsLinkMethod()) + .addMethod(getListGoogleAdsLinksMethod()) + .addMethod(getGetDataSharingSettingsMethod()) + .addMethod(getGetMeasurementProtocolSecretMethod()) + .addMethod(getListMeasurementProtocolSecretsMethod()) + .addMethod(getCreateMeasurementProtocolSecretMethod()) + .addMethod(getDeleteMeasurementProtocolSecretMethod()) + .addMethod(getUpdateMeasurementProtocolSecretMethod()) + .addMethod(getAcknowledgeUserDataCollectionMethod()) + .addMethod(getSearchChangeHistoryEventsMethod()) + .addMethod(getCreateConversionEventMethod()) + .addMethod(getGetConversionEventMethod()) + .addMethod(getDeleteConversionEventMethod()) + .addMethod(getListConversionEventsMethod()) + .addMethod(getCreateCustomDimensionMethod()) + .addMethod(getUpdateCustomDimensionMethod()) + .addMethod(getListCustomDimensionsMethod()) + .addMethod(getArchiveCustomDimensionMethod()) + .addMethod(getGetCustomDimensionMethod()) + .addMethod(getCreateCustomMetricMethod()) + .addMethod(getUpdateCustomMetricMethod()) + .addMethod(getListCustomMetricsMethod()) + .addMethod(getArchiveCustomMetricMethod()) + .addMethod(getGetCustomMetricMethod()) + .addMethod(getGetDataRetentionSettingsMethod()) + .addMethod(getUpdateDataRetentionSettingsMethod()) + .addMethod(getCreateDataStreamMethod()) + .addMethod(getDeleteDataStreamMethod()) + .addMethod(getUpdateDataStreamMethod()) + .addMethod(getListDataStreamsMethod()) + .addMethod(getGetDataStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java index d4fdc157002e..53e9bc20fd89 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilter.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * To express that the result needs to be between two numbers (inclusive).
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessBetweenFilter} */ -public final class AccessBetweenFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessBetweenFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessBetweenFilter) AccessBetweenFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessBetweenFilter.newBuilder() to construct. private AccessBetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessBetweenFilter() { - } + + private AccessBetweenFilter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessBetweenFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, + com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); } public static final int FROM_VALUE_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.NumericValue fromValue_; /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasFromValue() { return fromValue_ != null; } /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * * @return The fromValue. */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue getFromValue() { - return fromValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : fromValue_; } /** + * + * *
    * Begins with this number.
    * 
@@ -82,17 +110,22 @@ public com.google.analytics.admin.v1alpha.NumericValue getFromValue() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBuilder() { - return fromValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : fromValue_; } public static final int TO_VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.NumericValue toValue_; /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ @java.lang.Override @@ -100,18 +133,25 @@ public boolean hasToValue() { return toValue_ != null; } /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * * @return The toValue. */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue getToValue() { - return toValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : toValue_; } /** + * + * *
    * Ends with this number.
    * 
@@ -120,10 +160,13 @@ public com.google.analytics.admin.v1alpha.NumericValue getToValue() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuilder() { - return toValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : toValue_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (fromValue_ != null) { output.writeMessage(1, getFromValue()); } @@ -153,12 +195,10 @@ public int getSerializedSize() { size = 0; if (fromValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFromValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue()); } if (toValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getToValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +208,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessBetweenFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessBetweenFilter other = (com.google.analytics.admin.v1alpha.AccessBetweenFilter) obj; + com.google.analytics.admin.v1alpha.AccessBetweenFilter other = + (com.google.analytics.admin.v1alpha.AccessBetweenFilter) obj; if (hasFromValue() != other.hasFromValue()) return false; if (hasFromValue()) { - if (!getFromValue() - .equals(other.getFromValue())) return false; + if (!getFromValue().equals(other.getFromValue())) return false; } if (hasToValue() != other.hasToValue()) return false; if (hasToValue()) { - if (!getToValue() - .equals(other.getToValue())) return false; + if (!getToValue().equals(other.getToValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +249,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessBetweenFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessBetweenFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * To express that the result needs to be between two numbers (inclusive).
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessBetweenFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessBetweenFilter) com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, + com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessBetweenFilter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +397,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; } @java.lang.Override @@ -372,8 +418,11 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBetweenFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessBetweenFilter result = new com.google.analytics.admin.v1alpha.AccessBetweenFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessBetweenFilter result = + new com.google.analytics.admin.v1alpha.AccessBetweenFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -381,14 +430,10 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.AccessBetweenFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.fromValue_ = fromValueBuilder_ == null - ? fromValue_ - : fromValueBuilder_.build(); + result.fromValue_ = fromValueBuilder_ == null ? fromValue_ : fromValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.toValue_ = toValueBuilder_ == null - ? toValue_ - : toValueBuilder_.build(); + result.toValue_ = toValueBuilder_ == null ? toValue_ : toValueBuilder_.build(); } } @@ -396,38 +441,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessBetweenFilte public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessBetweenFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessBetweenFilter)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessBetweenFilter) other); } else { super.mergeFrom(other); return this; @@ -435,7 +481,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessBetweenFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) + return this; if (other.hasFromValue()) { mergeFromValue(other.getFromValue()); } @@ -468,26 +515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFromValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getToValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getFromValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getToValueFieldBuilder().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) { @@ -497,38 +543,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.NumericValue fromValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> fromValueBuilder_; + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + fromValueBuilder_; /** + * + * *
      * Begins with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ public boolean hasFromValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Begins with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * * @return The fromValue. */ public com.google.analytics.admin.v1alpha.NumericValue getFromValue() { if (fromValueBuilder_ == null) { - return fromValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : fromValue_; } else { return fromValueBuilder_.getMessage(); } } /** + * + * *
      * Begins with this number.
      * 
@@ -549,6 +609,8 @@ public Builder setFromValue(com.google.analytics.admin.v1alpha.NumericValue valu return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -567,6 +629,8 @@ public Builder setFromValue( return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -575,9 +639,9 @@ public Builder setFromValue( */ public Builder mergeFromValue(com.google.analytics.admin.v1alpha.NumericValue value) { if (fromValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - fromValue_ != null && - fromValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && fromValue_ != null + && fromValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { getFromValueBuilder().mergeFrom(value); } else { fromValue_ = value; @@ -590,6 +654,8 @@ public Builder mergeFromValue(com.google.analytics.admin.v1alpha.NumericValue va return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -607,6 +673,8 @@ public Builder clearFromValue() { return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -619,6 +687,8 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getFromValueBuild return getFromValueFieldBuilder().getBuilder(); } /** + * + * *
      * Begins with this number.
      * 
@@ -629,11 +699,14 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBu if (fromValueBuilder_ != null) { return fromValueBuilder_.getMessageOrBuilder(); } else { - return fromValue_ == null ? - com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : fromValue_; } } /** + * + * *
      * Begins with this number.
      * 
@@ -641,14 +714,17 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBu * .google.analytics.admin.v1alpha.NumericValue from_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder> getFromValueFieldBuilder() { if (fromValueBuilder_ == null) { - fromValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( - getFromValue(), - getParentForChildren(), - isClean()); + fromValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( + getFromValue(), getParentForChildren(), isClean()); fromValue_ = null; } return fromValueBuilder_; @@ -656,34 +732,47 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBu private com.google.analytics.admin.v1alpha.NumericValue toValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> toValueBuilder_; + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + toValueBuilder_; /** + * + * *
      * Ends with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ public boolean hasToValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Ends with this number.
      * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * * @return The toValue. */ public com.google.analytics.admin.v1alpha.NumericValue getToValue() { if (toValueBuilder_ == null) { - return toValue_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : toValue_; } else { return toValueBuilder_.getMessage(); } } /** + * + * *
      * Ends with this number.
      * 
@@ -704,6 +793,8 @@ public Builder setToValue(com.google.analytics.admin.v1alpha.NumericValue value) return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -722,6 +813,8 @@ public Builder setToValue( return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -730,9 +823,9 @@ public Builder setToValue( */ public Builder mergeToValue(com.google.analytics.admin.v1alpha.NumericValue value) { if (toValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - toValue_ != null && - toValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && toValue_ != null + && toValue_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { getToValueBuilder().mergeFrom(value); } else { toValue_ = value; @@ -745,6 +838,8 @@ public Builder mergeToValue(com.google.analytics.admin.v1alpha.NumericValue valu return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -762,6 +857,8 @@ public Builder clearToValue() { return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -774,6 +871,8 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getToValueBuilder return getToValueFieldBuilder().getBuilder(); } /** + * + * *
      * Ends with this number.
      * 
@@ -784,11 +883,14 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuil if (toValueBuilder_ != null) { return toValueBuilder_.getMessageOrBuilder(); } else { - return toValue_ == null ? - com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : toValue_; } } /** + * + * *
      * Ends with this number.
      * 
@@ -796,21 +898,24 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuil * .google.analytics.admin.v1alpha.NumericValue to_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder> getToValueFieldBuilder() { if (toValueBuilder_ == null) { - toValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( - getToValue(), - getParentForChildren(), - isClean()); + toValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( + getToValue(), getParentForChildren(), isClean()); toValue_ = null; } return toValueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,12 +925,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessBetweenFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessBetweenFilter) private static final com.google.analytics.admin.v1alpha.AccessBetweenFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessBetweenFilter(); } @@ -834,27 +939,27 @@ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessBetweenFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessBetweenFilter 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; @@ -869,6 +974,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessBetweenFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java index be56ee6ee67f..ddda2f22055a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBetweenFilterOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessBetweenFilterOrBuilder extends +public interface AccessBetweenFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessBetweenFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ boolean hasFromValue(); /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * * @return The fromValue. */ com.google.analytics.admin.v1alpha.NumericValue getFromValue(); /** + * + * *
    * Begins with this number.
    * 
@@ -35,24 +59,32 @@ public interface AccessBetweenFilterOrBuilder extends com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBuilder(); /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ boolean hasToValue(); /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * * @return The toValue. */ com.google.analytics.admin.v1alpha.NumericValue getToValue(); /** + * + * *
    * Ends with this number.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java index d734fdd1c680..d2cb812da0c8 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A contiguous range of days: startDate, startDate + 1, ..., endDate.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDateRange} */ -public final class AccessDateRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessDateRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDateRange) AccessDateRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessDateRange.newBuilder() to construct. private AccessDateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessDateRange() { startDate_ = ""; endDate_ = ""; @@ -26,33 +44,37 @@ private AccessDateRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessDateRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDateRange.class, com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); + com.google.analytics.admin.v1alpha.AccessDateRange.class, + com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); } public static final int START_DATE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object startDate_ = ""; /** + * + * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string start_date = 1; + * * @return The startDate. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getStartDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; } } /** + * + * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -85,16 +109,15 @@ public java.lang.String getStartDate() {
    * 
* * string start_date = 1; + * * @return The bytes for startDate. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartDateBytes() { + public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startDate_ = b; return b; } else { @@ -103,9 +126,12 @@ public java.lang.String getStartDate() { } public static final int END_DATE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object endDate_ = ""; /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -114,6 +140,7 @@ public java.lang.String getStartDate() {
    * 
* * string end_date = 2; + * * @return The endDate. */ @java.lang.Override @@ -122,14 +149,15 @@ public java.lang.String getEndDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; } } /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -138,16 +166,15 @@ public java.lang.String getEndDate() {
    * 
* * string end_date = 2; + * * @return The bytes for endDate. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndDateBytes() { + public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endDate_ = b; return b; } else { @@ -156,6 +183,7 @@ public java.lang.String getEndDate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_); } @@ -198,17 +225,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDateRange)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDateRange other = (com.google.analytics.admin.v1alpha.AccessDateRange) obj; + com.google.analytics.admin.v1alpha.AccessDateRange other = + (com.google.analytics.admin.v1alpha.AccessDateRange) obj; - if (!getStartDate() - .equals(other.getStartDate())) return false; - if (!getEndDate() - .equals(other.getEndDate())) return false; + if (!getStartDate().equals(other.getStartDate())) return false; + if (!getEndDate().equals(other.getEndDate())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,129 +256,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDateRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDateRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDateRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A contiguous range of days: startDate, startDate + 1, ..., endDate.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDateRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDateRange) com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDateRange.class, com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); + com.google.analytics.admin.v1alpha.AccessDateRange.class, + com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessDateRange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,9 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; } @java.lang.Override @@ -384,8 +416,11 @@ public com.google.analytics.admin.v1alpha.AccessDateRange build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDateRange buildPartial() { - com.google.analytics.admin.v1alpha.AccessDateRange result = new com.google.analytics.admin.v1alpha.AccessDateRange(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessDateRange result = + new com.google.analytics.admin.v1alpha.AccessDateRange(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -404,38 +439,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDateRange re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessDateRange) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessDateRange)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessDateRange) other); } else { super.mergeFrom(other); return this; @@ -443,7 +479,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDateRange other) { - if (other == com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance()) + return this; if (!other.getStartDate().isEmpty()) { startDate_ = other.startDate_; bitField0_ |= 0x00000001; @@ -480,22 +517,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - startDate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - endDate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + startDate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + endDate_ = 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) { @@ -505,10 +545,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object startDate_ = ""; /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -517,13 +560,13 @@ public Builder mergeFrom(
      * 
* * string start_date = 1; + * * @return The startDate. */ public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; @@ -532,6 +575,8 @@ public java.lang.String getStartDate() { } } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -540,15 +585,14 @@ public java.lang.String getStartDate() {
      * 
* * string start_date = 1; + * * @return The bytes for startDate. */ - public com.google.protobuf.ByteString - getStartDateBytes() { + public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startDate_ = b; return b; } else { @@ -556,6 +600,8 @@ public java.lang.String getStartDate() { } } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -564,18 +610,22 @@ public java.lang.String getStartDate() {
      * 
* * string start_date = 1; + * * @param value The startDate to set. * @return This builder for chaining. */ - public Builder setStartDate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartDate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } startDate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -584,6 +634,7 @@ public Builder setStartDate(
      * 
* * string start_date = 1; + * * @return This builder for chaining. */ public Builder clearStartDate() { @@ -593,6 +644,8 @@ public Builder clearStartDate() { return this; } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -601,12 +654,14 @@ public Builder clearStartDate() {
      * 
* * string start_date = 1; + * * @param value The bytes for startDate to set. * @return This builder for chaining. */ - public Builder setStartDateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartDateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); startDate_ = value; bitField0_ |= 0x00000001; @@ -616,6 +671,8 @@ public Builder setStartDateBytes( private java.lang.Object endDate_ = ""; /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -624,13 +681,13 @@ public Builder setStartDateBytes(
      * 
* * string end_date = 2; + * * @return The endDate. */ public java.lang.String getEndDate() { java.lang.Object ref = endDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; @@ -639,6 +696,8 @@ public java.lang.String getEndDate() { } } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -647,15 +706,14 @@ public java.lang.String getEndDate() {
      * 
* * string end_date = 2; + * * @return The bytes for endDate. */ - public com.google.protobuf.ByteString - getEndDateBytes() { + public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endDate_ = b; return b; } else { @@ -663,6 +721,8 @@ public java.lang.String getEndDate() { } } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -671,18 +731,22 @@ public java.lang.String getEndDate() {
      * 
* * string end_date = 2; + * * @param value The endDate to set. * @return This builder for chaining. */ - public Builder setEndDate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndDate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } endDate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -691,6 +755,7 @@ public Builder setEndDate(
      * 
* * string end_date = 2; + * * @return This builder for chaining. */ public Builder clearEndDate() { @@ -700,6 +765,8 @@ public Builder clearEndDate() { return this; } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -708,21 +775,23 @@ public Builder clearEndDate() {
      * 
* * string end_date = 2; + * * @param value The bytes for endDate to set. * @return This builder for chaining. */ - public Builder setEndDateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndDateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); endDate_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDateRange) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDateRange) private static final com.google.analytics.admin.v1alpha.AccessDateRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDateRange(); } @@ -746,27 +815,27 @@ public static com.google.analytics.admin.v1alpha.AccessDateRange getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDateRange 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDateRange 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; @@ -781,6 +850,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDateRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java index 608763ff4953..8c17a9debc87 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRangeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessDateRangeOrBuilder extends +public interface AccessDateRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDateRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -16,10 +34,13 @@ public interface AccessDateRangeOrBuilder extends
    * 
* * string start_date = 1; + * * @return The startDate. */ java.lang.String getStartDate(); /** + * + * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -28,12 +49,14 @@ public interface AccessDateRangeOrBuilder extends
    * 
* * string start_date = 1; + * * @return The bytes for startDate. */ - com.google.protobuf.ByteString - getStartDateBytes(); + com.google.protobuf.ByteString getStartDateBytes(); /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -42,10 +65,13 @@ public interface AccessDateRangeOrBuilder extends
    * 
* * string end_date = 2; + * * @return The endDate. */ java.lang.String getEndDate(); /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -54,8 +80,8 @@ public interface AccessDateRangeOrBuilder extends
    * 
* * string end_date = 2; + * * @return The bytes for endDate. */ - com.google.protobuf.ByteString - getEndDateBytes(); + com.google.protobuf.ByteString getEndDateBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java index cc360b682eef..3e9c7cc5b315 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Dimensions are attributes of your data. For example, the dimension
  * `userEmail` indicates the email of the user that accessed reporting data.
@@ -12,48 +29,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimension}
  */
-public final class AccessDimension extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccessDimension extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimension)
     AccessDimensionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccessDimension.newBuilder() to construct.
   private AccessDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AccessDimension() {
     dimensionName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccessDimension();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessDimension.class, com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessDimension.class,
+            com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
   }
 
   public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object dimensionName_ = "";
   /**
+   *
+   *
    * 
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** + * + * *
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -86,16 +110,15 @@ public java.lang.String getDimensionName() {
    * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -104,6 +127,7 @@ public java.lang.String getDimensionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -140,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDimension other = (com.google.analytics.admin.v1alpha.AccessDimension) obj; + com.google.analytics.admin.v1alpha.AccessDimension other = + (com.google.analytics.admin.v1alpha.AccessDimension) obj; - if (!getDimensionName() - .equals(other.getDimensionName())) return false; + if (!getDimensionName().equals(other.getDimensionName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,96 +191,103 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimension parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDimension parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Dimensions are attributes of your data. For example, the dimension
    * `userEmail` indicates the email of the user that accessed reporting data.
@@ -266,33 +296,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimension}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDimension)
       com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessDimension.class, com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessDimension.class,
+              com.google.analytics.admin.v1alpha.AccessDimension.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessDimension.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -302,9 +331,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
     }
 
     @java.lang.Override
@@ -323,8 +352,11 @@ public com.google.analytics.admin.v1alpha.AccessDimension build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessDimension buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessDimension result = new com.google.analytics.admin.v1alpha.AccessDimension(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AccessDimension result =
+          new com.google.analytics.admin.v1alpha.AccessDimension(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -340,38 +372,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDimension re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessDimension) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimension)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimension) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -379,7 +412,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDimension other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance())
+        return this;
       if (!other.getDimensionName().isEmpty()) {
         dimensionName_ = other.dimensionName_;
         bitField0_ |= 0x00000001;
@@ -411,17 +445,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              dimensionName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                dimensionName_ = 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) {
@@ -431,10 +467,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object dimensionName_ = "";
     /**
+     *
+     *
      * 
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -443,13 +482,13 @@ public Builder mergeFrom(
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -458,6 +497,8 @@ public java.lang.String getDimensionName() { } } /** + * + * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -466,15 +507,14 @@ public java.lang.String getDimensionName() {
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -482,6 +522,8 @@ public java.lang.String getDimensionName() { } } /** + * + * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -490,18 +532,22 @@ public java.lang.String getDimensionName() {
      * 
* * string dimension_name = 1; + * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimensionName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -510,6 +556,7 @@ public Builder setDimensionName(
      * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -519,6 +566,8 @@ public Builder clearDimensionName() { return this; } /** + * + * *
      * The API name of the dimension. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -527,21 +576,23 @@ public Builder clearDimensionName() {
      * 
* * string dimension_name = 1; + * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -551,12 +602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimension) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimension) private static final com.google.analytics.admin.v1alpha.AccessDimension DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimension(); } @@ -565,27 +616,27 @@ public static com.google.analytics.admin.v1alpha.AccessDimension getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDimension 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDimension 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; @@ -600,6 +651,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java index d69baabd0abb..55aa7fe5e291 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeader.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Describes a dimension column in the report. Dimensions requested in a report
  * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -13,53 +30,59 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionHeader}
  */
-public final class AccessDimensionHeader extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccessDimensionHeader extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimensionHeader)
     AccessDimensionHeaderOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccessDimensionHeader.newBuilder() to construct.
   private AccessDimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AccessDimensionHeader() {
     dimensionName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccessDimensionHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessDimensionHeader.class, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessDimensionHeader.class,
+            com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
   }
 
   public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object dimensionName_ = "";
   /**
+   *
+   *
    * 
    * The dimension's name; for example 'userEmail'.
    * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -68,29 +91,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** + * + * *
    * The dimension's name; for example 'userEmail'.
    * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -99,6 +122,7 @@ public java.lang.String getDimensionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -135,15 +158,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimensionHeader)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDimensionHeader other = (com.google.analytics.admin.v1alpha.AccessDimensionHeader) obj; + com.google.analytics.admin.v1alpha.AccessDimensionHeader other = + (com.google.analytics.admin.v1alpha.AccessDimensionHeader) obj; - if (!getDimensionName() - .equals(other.getDimensionName())) return false; + if (!getDimensionName().equals(other.getDimensionName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,96 +186,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDimensionHeader prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessDimensionHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes a dimension column in the report. Dimensions requested in a report
    * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -262,33 +293,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionHeader}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDimensionHeader)
       com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessDimensionHeader.class, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessDimensionHeader.class,
+              com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessDimensionHeader.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -298,9 +328,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
     }
 
     @java.lang.Override
@@ -319,8 +349,11 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeader build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessDimensionHeader buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessDimensionHeader result = new com.google.analytics.admin.v1alpha.AccessDimensionHeader(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AccessDimensionHeader result =
+          new com.google.analytics.admin.v1alpha.AccessDimensionHeader(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -336,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDimensionHea
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessDimensionHeader) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionHeader)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionHeader) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -375,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDimensionHeader other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance())
+        return this;
       if (!other.getDimensionName().isEmpty()) {
         dimensionName_ = other.dimensionName_;
         bitField0_ |= 0x00000001;
@@ -407,17 +442,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              dimensionName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                dimensionName_ = 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) {
@@ -427,22 +464,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object dimensionName_ = "";
     /**
+     *
+     *
      * 
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -451,20 +491,21 @@ public java.lang.String getDimensionName() { } } /** + * + * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -472,28 +513,35 @@ public java.lang.String getDimensionName() { } } /** + * + * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; + * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimensionName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -503,26 +551,30 @@ public Builder clearDimensionName() { return this; } /** + * + * *
      * The dimension's name; for example 'userEmail'.
      * 
* * string dimension_name = 1; + * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -532,12 +584,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimensionHeader) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimensionHeader) private static final com.google.analytics.admin.v1alpha.AccessDimensionHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimensionHeader(); } @@ -546,27 +598,27 @@ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDimensionHeader 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDimensionHeader 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; @@ -581,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java new file mode 100644 index 000000000000..fb114cf2fc6e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessDimensionHeaderOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimensionHeader) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The dimension's name; for example 'userEmail'.
+   * 
+ * + * string dimension_name = 1; + * + * @return The dimensionName. + */ + java.lang.String getDimensionName(); + /** + * + * + *
+   * The dimension's name; for example 'userEmail'.
+   * 
+ * + * string dimension_name = 1; + * + * @return The bytes for dimensionName. + */ + com.google.protobuf.ByteString getDimensionNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java index 57144292776b..2b8d83cdcf3b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessDimensionOrBuilder extends +public interface AccessDimensionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimension) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -16,10 +34,13 @@ public interface AccessDimensionOrBuilder extends
    * 
* * string dimension_name = 1; + * * @return The dimensionName. */ java.lang.String getDimensionName(); /** + * + * *
    * The API name of the dimension. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -28,8 +49,8 @@ public interface AccessDimensionOrBuilder extends
    * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString - getDimensionNameBytes(); + com.google.protobuf.ByteString getDimensionNameBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java index a8ad170de94b..0a9040f242e0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java @@ -1,63 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The value of a dimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionValue} */ -public final class AccessDimensionValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessDimensionValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimensionValue) AccessDimensionValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessDimensionValue.newBuilder() to construct. private AccessDimensionValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessDimensionValue() { value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessDimensionValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDimensionValue.class, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessDimensionValue.class, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; + * * @return The value. */ @java.lang.Override @@ -66,30 +89,30 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -98,6 +121,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -134,15 +157,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimensionValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessDimensionValue other = (com.google.analytics.admin.v1alpha.AccessDimensionValue) obj; + com.google.analytics.admin.v1alpha.AccessDimensionValue other = + (com.google.analytics.admin.v1alpha.AccessDimensionValue) obj; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +185,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessDimensionValue prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessDimensionValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The value of a dimension.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessDimensionValue) com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessDimensionValue.class, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessDimensionValue.class, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessDimensionValue.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; } @java.lang.Override @@ -315,8 +345,11 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValue build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDimensionValue buildPartial() { - com.google.analytics.admin.v1alpha.AccessDimensionValue result = new com.google.analytics.admin.v1alpha.AccessDimensionValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessDimensionValue result = + new com.google.analytics.admin.v1alpha.AccessDimensionValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +365,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessDimensionVal public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessDimensionValue) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionValue)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessDimensionValue) other); } else { super.mergeFrom(other); return this; @@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessDimensionValue other) { - if (other == com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()) + return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -403,17 +438,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + value_ = 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) { @@ -423,23 +460,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object value_ = ""; /** + * + * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -448,21 +488,22 @@ public java.lang.String getValue() { } } /** + * + * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -470,30 +511,37 @@ public java.lang.String getValue() { } } /** + * + * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -503,27 +551,31 @@ public Builder clearValue() { return this; } /** + * + * *
      * The dimension value. For example, this value may be 'France' for the
      * 'country' dimension.
      * 
* * string value = 1; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimensionValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimensionValue) private static final com.google.analytics.admin.v1alpha.AccessDimensionValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimensionValue(); } @@ -547,27 +599,27 @@ public static com.google.analytics.admin.v1alpha.AccessDimensionValue getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessDimensionValue 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessDimensionValue 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; @@ -582,6 +634,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessDimensionValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java similarity index 50% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java index a3b3700e8c8e..58c1e1ed8ea5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValueOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessDimensionValueOrBuilder extends +public interface AccessDimensionValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimensionValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * The dimension value. For example, this value may be 'France' for the
    * 'country' dimension.
    * 
* * string value = 1; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java index 3268858f376c..bbf6e44e175e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java @@ -1,57 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * An expression to filter dimension or metric values.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilter} */ -public final class AccessFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilter) AccessFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessFilter.newBuilder() to construct. private AccessFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessFilter() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilter.class, com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilter.class, + com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); } private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; + public enum OneFilterCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_FILTER(2), IN_LIST_FILTER(3), @@ -59,6 +80,7 @@ public enum OneFilterCase BETWEEN_FILTER(5), ONEFILTER_NOT_SET(0); private final int value; + private OneFilterCase(int value) { this.value = value; } @@ -74,32 +96,40 @@ public static OneFilterCase valueOf(int value) { public static OneFilterCase forNumber(int value) { switch (value) { - case 2: return STRING_FILTER; - case 3: return IN_LIST_FILTER; - case 4: return NUMERIC_FILTER; - case 5: return BETWEEN_FILTER; - case 0: return ONEFILTER_NOT_SET; - default: return null; + case 2: + return STRING_FILTER; + case 3: + return IN_LIST_FILTER; + case 4: + return NUMERIC_FILTER; + case 5: + return BETWEEN_FILTER; + case 0: + return ONEFILTER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneFilterCase - getOneFilterCase() { - return OneFilterCase.forNumber( - oneFilterCase_); + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); } public static final int STRING_FILTER_FIELD_NUMBER = 2; /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -107,21 +137,26 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * * @return The stringFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance(); } /** + * + * *
    * Strings related filter.
    * 
@@ -131,18 +166,21 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance(); } public static final int IN_LIST_FILTER_FIELD_NUMBER = 3; /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -150,21 +188,26 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * * @return The inListFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance(); } /** + * + * *
    * A filter for in list values.
    * 
@@ -174,18 +217,21 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance(); } public static final int NUMERIC_FILTER_FIELD_NUMBER = 4; /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -193,21 +239,26 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * * @return The numericFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance(); } /** + * + * *
    * A filter for numeric or date values.
    * 
@@ -215,20 +266,24 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder + getNumericFilterOrBuilder() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance(); } public static final int BETWEEN_FILTER_FIELD_NUMBER = 5; /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -236,21 +291,26 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * * @return The betweenFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance(); } /** + * + * *
    * A filter for two values.
    * 
@@ -258,22 +318,27 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_; } return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance(); } public static final int FIELD_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fieldName_ = ""; /** + * + * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; + * * @return The fieldName. */ @java.lang.Override @@ -282,29 +347,29 @@ public java.lang.String getFieldName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } } /** + * + * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; + * * @return The bytes for fieldName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldNameBytes() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -313,6 +378,7 @@ public java.lang.String getFieldName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,8 +390,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } @@ -354,20 +419,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (oneFilterCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_); } if (oneFilterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_); } if (oneFilterCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_); } if (oneFilterCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -377,32 +446,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessFilter other = (com.google.analytics.admin.v1alpha.AccessFilter) obj; + com.google.analytics.admin.v1alpha.AccessFilter other = + (com.google.analytics.admin.v1alpha.AccessFilter) obj; - if (!getFieldName() - .equals(other.getFieldName())) return false; + if (!getFieldName().equals(other.getFieldName())) return false; if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; switch (oneFilterCase_) { case 2: - if (!getStringFilter() - .equals(other.getStringFilter())) return false; + if (!getStringFilter().equals(other.getStringFilter())) return false; break; case 3: - if (!getInListFilter() - .equals(other.getInListFilter())) return false; + if (!getInListFilter().equals(other.getInListFilter())) return false; break; case 4: - if (!getNumericFilter() - .equals(other.getNumericFilter())) return false; + if (!getNumericFilter().equals(other.getNumericFilter())) return false; break; case 5: - if (!getBetweenFilter() - .equals(other.getBetweenFilter())) return false; + if (!getBetweenFilter().equals(other.getBetweenFilter())) return false; break; case 0: default: @@ -445,130 +510,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An expression to filter dimension or metric values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessFilter) com.google.analytics.admin.v1alpha.AccessFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilter.class, com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilter.class, + com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -592,9 +663,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; } @java.lang.Override @@ -613,8 +684,11 @@ public com.google.analytics.admin.v1alpha.AccessFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessFilter result = new com.google.analytics.admin.v1alpha.AccessFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessFilter result = + new com.google.analytics.admin.v1alpha.AccessFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -630,20 +704,16 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessFilter resul private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessFilter result) { result.oneFilterCase_ = oneFilterCase_; result.oneFilter_ = this.oneFilter_; - if (oneFilterCase_ == 2 && - stringFilterBuilder_ != null) { + if (oneFilterCase_ == 2 && stringFilterBuilder_ != null) { result.oneFilter_ = stringFilterBuilder_.build(); } - if (oneFilterCase_ == 3 && - inListFilterBuilder_ != null) { + if (oneFilterCase_ == 3 && inListFilterBuilder_ != null) { result.oneFilter_ = inListFilterBuilder_.build(); } - if (oneFilterCase_ == 4 && - numericFilterBuilder_ != null) { + if (oneFilterCase_ == 4 && numericFilterBuilder_ != null) { result.oneFilter_ = numericFilterBuilder_.build(); } - if (oneFilterCase_ == 5 && - betweenFilterBuilder_ != null) { + if (oneFilterCase_ == 5 && betweenFilterBuilder_ != null) { result.oneFilter_ = betweenFilterBuilder_.build(); } } @@ -652,38 +722,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessFilter public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilter)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilter) other); } else { super.mergeFrom(other); return this; @@ -691,32 +762,38 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) + return this; if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; bitField0_ |= 0x00000010; onChanged(); } switch (other.getOneFilterCase()) { - case STRING_FILTER: { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: { - break; - } + case STRING_FILTER: + { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: + { + mergeInListFilter(other.getInListFilter()); + break; + } + case NUMERIC_FILTER: + { + mergeNumericFilter(other.getNumericFilter()); + break; + } + case BETWEEN_FILTER: + { + mergeBetweenFilter(other.getBetweenFilter()); + break; + } + case ONEFILTER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -744,45 +821,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fieldName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - 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 - case 34: { - input.readMessage( - getNumericFilterFieldBuilder().getBuilder(), - extensionRegistry); - oneFilterCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getBetweenFilterFieldBuilder().getBuilder(), - extensionRegistry); - oneFilterCase_ = 5; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fieldName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + 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 + case 34: + { + input.readMessage(getNumericFilterFieldBuilder().getBuilder(), extensionRegistry); + oneFilterCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getBetweenFilterFieldBuilder().getBuilder(), extensionRegistry); + oneFilterCase_ = 5; + break; + } // case 42 + 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) { @@ -792,12 +867,12 @@ public Builder mergeFrom( } // finally return this; } + private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - public OneFilterCase - getOneFilterCase() { - return OneFilterCase.forNumber( - oneFilterCase_); + + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); } public Builder clearOneFilter() { @@ -810,13 +885,19 @@ public Builder clearOneFilter() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessStringFilter, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> stringFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessStringFilter, + com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, + com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> + stringFilterBuilder_; /** + * + * *
      * Strings related filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -824,11 +905,14 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** + * + * *
      * Strings related filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * * @return The stringFilter. */ @java.lang.Override @@ -846,6 +930,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() { } } /** + * + * *
      * Strings related filter.
      * 
@@ -866,6 +952,8 @@ public Builder setStringFilter(com.google.analytics.admin.v1alpha.AccessStringFi return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -884,6 +972,8 @@ public Builder setStringFilter( return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -892,10 +982,14 @@ public Builder setStringFilter( */ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AccessStringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 2 && - oneFilter_ != com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AccessStringFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 2 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AccessStringFilter.newBuilder( + (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -911,6 +1005,8 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AccessString return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -934,6 +1030,8 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -944,6 +1042,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi return getStringFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Strings related filter.
      * 
@@ -951,7 +1051,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder + getStringFilterOrBuilder() { if ((oneFilterCase_ == 2) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { @@ -962,6 +1063,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringF } } /** + * + * *
      * Strings related filter.
      * 
@@ -969,14 +1072,19 @@ public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringF * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessStringFilter, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessStringFilter, + com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, + com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 2)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance(); } - stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessStringFilter, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder>( + stringFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessStringFilter, + com.google.analytics.admin.v1alpha.AccessStringFilter.Builder, + com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_, getParentForChildren(), isClean()); @@ -988,13 +1096,19 @@ public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringF } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessInListFilter, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> inListFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessInListFilter, + com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, + com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> + inListFilterBuilder_; /** + * + * *
      * A filter for in list values.
      * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -1002,11 +1116,14 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** + * + * *
      * A filter for in list values.
      * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * * @return The inListFilter. */ @java.lang.Override @@ -1024,6 +1141,8 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() { } } /** + * + * *
      * A filter for in list values.
      * 
@@ -1044,6 +1163,8 @@ public Builder setInListFilter(com.google.analytics.admin.v1alpha.AccessInListFi return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1062,6 +1183,8 @@ public Builder setInListFilter( return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1070,10 +1193,14 @@ public Builder setInListFilter( */ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AccessInListFilter value) { if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 3 && - oneFilter_ != com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AccessInListFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 3 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AccessInListFilter.newBuilder( + (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -1089,6 +1216,8 @@ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AccessInList return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1112,6 +1241,8 @@ public Builder clearInListFilter() { return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1122,6 +1253,8 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi return getInListFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for in list values.
      * 
@@ -1129,7 +1262,8 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder + getInListFilterOrBuilder() { if ((oneFilterCase_ == 3) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { @@ -1140,6 +1274,8 @@ public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListF } } /** + * + * *
      * A filter for in list values.
      * 
@@ -1147,14 +1283,19 @@ public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListF * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessInListFilter, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessInListFilter, + com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, + com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance(); } - inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessInListFilter, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder>( + inListFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessInListFilter, + com.google.analytics.admin.v1alpha.AccessInListFilter.Builder, + com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1166,13 +1307,19 @@ public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListF } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessNumericFilter, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> numericFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessNumericFilter, + com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, + com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> + numericFilterBuilder_; /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -1180,11 +1327,14 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * * @return The numericFilter. */ @java.lang.Override @@ -1202,6 +1352,8 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1222,6 +1374,8 @@ public Builder setNumericFilter(com.google.analytics.admin.v1alpha.AccessNumeric return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1240,18 +1394,25 @@ public Builder setNumericFilter( return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ - public Builder mergeNumericFilter(com.google.analytics.admin.v1alpha.AccessNumericFilter value) { + public Builder mergeNumericFilter( + com.google.analytics.admin.v1alpha.AccessNumericFilter value) { if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 4 && - oneFilter_ != com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AccessNumericFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 4 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AccessNumericFilter.newBuilder( + (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -1267,6 +1428,8 @@ public Builder mergeNumericFilter(com.google.analytics.admin.v1alpha.AccessNumer return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1290,16 +1453,21 @@ public Builder clearNumericFilter() { return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ - public com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder getNumericFilterBuilder() { + public com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder + getNumericFilterBuilder() { return getNumericFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1307,7 +1475,8 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder getNumeric * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder + getNumericFilterOrBuilder() { if ((oneFilterCase_ == 4) && (numericFilterBuilder_ != null)) { return numericFilterBuilder_.getMessageOrBuilder(); } else { @@ -1318,6 +1487,8 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumeri } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1325,14 +1496,19 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumeri * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessNumericFilter, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessNumericFilter, + com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, + com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder> getNumericFilterFieldBuilder() { if (numericFilterBuilder_ == null) { if (!(oneFilterCase_ == 4)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance(); } - numericFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessNumericFilter, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder>( + numericFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessNumericFilter, + com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder, + com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1344,13 +1520,19 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumeri } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBetweenFilter, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> betweenFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessBetweenFilter, + com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, + com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> + betweenFilterBuilder_; /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -1358,11 +1540,14 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * * @return The betweenFilter. */ @java.lang.Override @@ -1380,6 +1565,8 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() } } /** + * + * *
      * A filter for two values.
      * 
@@ -1400,6 +1587,8 @@ public Builder setBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetween return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1418,18 +1607,25 @@ public Builder setBetweenFilter( return this; } /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ - public Builder mergeBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetweenFilter value) { + public Builder mergeBetweenFilter( + com.google.analytics.admin.v1alpha.AccessBetweenFilter value) { if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 5 && - oneFilter_ != com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AccessBetweenFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 5 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AccessBetweenFilter.newBuilder( + (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -1445,6 +1641,8 @@ public Builder mergeBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetwe return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1468,16 +1666,21 @@ public Builder clearBetweenFilter() { return this; } /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ - public com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder getBetweenFilterBuilder() { + public com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder + getBetweenFilterBuilder() { return getBetweenFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for two values.
      * 
@@ -1485,7 +1688,8 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder getBetween * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if ((oneFilterCase_ == 5) && (betweenFilterBuilder_ != null)) { return betweenFilterBuilder_.getMessageOrBuilder(); } else { @@ -1496,6 +1700,8 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetwee } } /** + * + * *
      * A filter for two values.
      * 
@@ -1503,14 +1709,19 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetwee * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBetweenFilter, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> + com.google.analytics.admin.v1alpha.AccessBetweenFilter, + com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, + com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder> getBetweenFilterFieldBuilder() { if (betweenFilterBuilder_ == null) { if (!(oneFilterCase_ == 5)) { oneFilter_ = com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance(); } - betweenFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBetweenFilter, com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder>( + betweenFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessBetweenFilter, + com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder, + com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1523,18 +1734,20 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetwee private java.lang.Object fieldName_ = ""; /** + * + * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; + * * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; @@ -1543,20 +1756,21 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; + * * @return The bytes for fieldName. */ - public com.google.protobuf.ByteString - getFieldNameBytes() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -1564,28 +1778,35 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; + * * @param value The fieldName to set. * @return This builder for chaining. */ - public Builder setFieldName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fieldName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; + * * @return This builder for chaining. */ public Builder clearFieldName() { @@ -1595,26 +1816,30 @@ public Builder clearFieldName() { return this; } /** + * + * *
      * The dimension name or metric name.
      * 
* * string field_name = 1; + * * @param value The bytes for fieldName to set. * @return This builder for chaining. */ - public Builder setFieldNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fieldName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1624,12 +1849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilter) private static final com.google.analytics.admin.v1alpha.AccessFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilter(); } @@ -1638,27 +1863,27 @@ public static com.google.analytics.admin.v1alpha.AccessFilter getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessFilter 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; @@ -1673,6 +1898,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java index 9d62bc8d8855..a7a45d579d6f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpression.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Expresses dimension or metric filters. The fields in the same expression need
  * to be either all dimensions or all metrics.
@@ -11,47 +28,50 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpression}
  */
-public final class AccessFilterExpression extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccessFilterExpression extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilterExpression)
     AccessFilterExpressionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccessFilterExpression.newBuilder() to construct.
   private AccessFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AccessFilterExpression() {
-  }
+
+  private AccessFilterExpression() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccessFilterExpression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.class, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.class,
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
   }
 
   private int oneExpressionCase_ = 0;
   private java.lang.Object oneExpression_;
+
   public enum OneExpressionCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AND_GROUP(1),
     OR_GROUP(2),
@@ -59,6 +79,7 @@ public enum OneExpressionCase
     ACCESS_FILTER(4),
     ONEEXPRESSION_NOT_SET(0);
     private final int value;
+
     private OneExpressionCase(int value) {
       this.value = value;
     }
@@ -74,32 +95,40 @@ public static OneExpressionCase valueOf(int value) {
 
     public static OneExpressionCase forNumber(int value) {
       switch (value) {
-        case 1: return AND_GROUP;
-        case 2: return OR_GROUP;
-        case 3: return NOT_EXPRESSION;
-        case 4: return ACCESS_FILTER;
-        case 0: return ONEEXPRESSION_NOT_SET;
-        default: return null;
+        case 1:
+          return AND_GROUP;
+        case 2:
+          return OR_GROUP;
+        case 3:
+          return NOT_EXPRESSION;
+        case 4:
+          return ACCESS_FILTER;
+        case 0:
+          return ONEEXPRESSION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public OneExpressionCase
-  getOneExpressionCase() {
-    return OneExpressionCase.forNumber(
-        oneExpressionCase_);
+  public OneExpressionCase getOneExpressionCase() {
+    return OneExpressionCase.forNumber(oneExpressionCase_);
   }
 
   public static final int AND_GROUP_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -107,21 +136,26 @@ public boolean hasAndGroup() { return oneExpressionCase_ == 1; } /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup() { if (oneExpressionCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
@@ -129,20 +163,24 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder + getAndGroupOrBuilder() { if (oneExpressionCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } public static final int OR_GROUP_FIELD_NUMBER = 2; /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -150,21 +188,26 @@ public boolean hasOrGroup() { return oneExpressionCase_ == 2; } /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup() { if (oneExpressionCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
@@ -172,20 +215,24 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup( * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder + getOrGroupOrBuilder() { if (oneExpressionCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } public static final int NOT_EXPRESSION_FIELD_NUMBER = 3; /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -193,21 +240,26 @@ public boolean hasNotExpression() { return oneExpressionCase_ == 3; } /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpression() { if (oneExpressionCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); } /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -215,21 +267,25 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpressio * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder + getNotExpressionOrBuilder() { if (oneExpressionCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); } public static final int ACCESS_FILTER_FIELD_NUMBER = 4; /** + * + * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * * @return Whether the accessFilter field is set. */ @java.lang.Override @@ -237,22 +293,27 @@ public boolean hasAccessFilter() { return oneExpressionCase_ == 4; } /** + * + * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * * @return The accessFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() { if (oneExpressionCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_; + return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_; } return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance(); } /** + * + * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
@@ -263,12 +324,13 @@ public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() {
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterOrBuilder() {
     if (oneExpressionCase_ == 4) {
-       return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
+      return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
     }
     return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -280,16 +342,18 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (oneExpressionCase_ == 1) {
-      output.writeMessage(1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      output.writeMessage(
+          1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 2) {
-      output.writeMessage(2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      output.writeMessage(
+          2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 3) {
-      output.writeMessage(3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
+      output.writeMessage(
+          3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
     }
     if (oneExpressionCase_ == 4) {
       output.writeMessage(4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
@@ -304,20 +368,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (oneExpressionCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
     }
     if (oneExpressionCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -327,30 +395,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.AccessFilterExpression other = (com.google.analytics.admin.v1alpha.AccessFilterExpression) obj;
+    com.google.analytics.admin.v1alpha.AccessFilterExpression other =
+        (com.google.analytics.admin.v1alpha.AccessFilterExpression) obj;
 
     if (!getOneExpressionCase().equals(other.getOneExpressionCase())) return false;
     switch (oneExpressionCase_) {
       case 1:
-        if (!getAndGroup()
-            .equals(other.getAndGroup())) return false;
+        if (!getAndGroup().equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getOrGroup()
-            .equals(other.getOrGroup())) return false;
+        if (!getOrGroup().equals(other.getOrGroup())) return false;
         break;
       case 3:
-        if (!getNotExpression()
-            .equals(other.getNotExpression())) return false;
+        if (!getNotExpression().equals(other.getNotExpression())) return false;
         break;
       case 4:
-        if (!getAccessFilter()
-            .equals(other.getAccessFilter())) return false;
+        if (!getAccessFilter().equals(other.getAccessFilter())) return false;
         break;
       case 0:
       default:
@@ -392,96 +457,104 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessFilterExpression prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.admin.v1alpha.AccessFilterExpression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Expresses dimension or metric filters. The fields in the same expression need
    * to be either all dimensions or all metrics.
@@ -489,33 +562,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpression}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessFilterExpression)
       com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessFilterExpression.class, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessFilterExpression.class,
+              com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -538,9 +610,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
     }
 
     @java.lang.Override
@@ -559,8 +631,11 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessFilterExpression buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessFilterExpression result = new com.google.analytics.admin.v1alpha.AccessFilterExpression(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AccessFilterExpression result =
+          new com.google.analytics.admin.v1alpha.AccessFilterExpression(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -570,23 +645,20 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessFilterExpres
       int from_bitField0_ = bitField0_;
     }
 
-    private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessFilterExpression result) {
+    private void buildPartialOneofs(
+        com.google.analytics.admin.v1alpha.AccessFilterExpression result) {
       result.oneExpressionCase_ = oneExpressionCase_;
       result.oneExpression_ = this.oneExpression_;
-      if (oneExpressionCase_ == 1 &&
-          andGroupBuilder_ != null) {
+      if (oneExpressionCase_ == 1 && andGroupBuilder_ != null) {
         result.oneExpression_ = andGroupBuilder_.build();
       }
-      if (oneExpressionCase_ == 2 &&
-          orGroupBuilder_ != null) {
+      if (oneExpressionCase_ == 2 && orGroupBuilder_ != null) {
         result.oneExpression_ = orGroupBuilder_.build();
       }
-      if (oneExpressionCase_ == 3 &&
-          notExpressionBuilder_ != null) {
+      if (oneExpressionCase_ == 3 && notExpressionBuilder_ != null) {
         result.oneExpression_ = notExpressionBuilder_.build();
       }
-      if (oneExpressionCase_ == 4 &&
-          accessFilterBuilder_ != null) {
+      if (oneExpressionCase_ == 4 && accessFilterBuilder_ != null) {
         result.oneExpression_ = accessFilterBuilder_.build();
       }
     }
@@ -595,38 +667,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessFilterE
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessFilterExpression) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpression)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpression) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -634,27 +707,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilterExpression other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance())
+        return this;
       switch (other.getOneExpressionCase()) {
-        case AND_GROUP: {
-          mergeAndGroup(other.getAndGroup());
-          break;
-        }
-        case OR_GROUP: {
-          mergeOrGroup(other.getOrGroup());
-          break;
-        }
-        case NOT_EXPRESSION: {
-          mergeNotExpression(other.getNotExpression());
-          break;
-        }
-        case ACCESS_FILTER: {
-          mergeAccessFilter(other.getAccessFilter());
-          break;
-        }
-        case ONEEXPRESSION_NOT_SET: {
-          break;
-        }
+        case AND_GROUP:
+          {
+            mergeAndGroup(other.getAndGroup());
+            break;
+          }
+        case OR_GROUP:
+          {
+            mergeOrGroup(other.getOrGroup());
+            break;
+          }
+        case NOT_EXPRESSION:
+          {
+            mergeNotExpression(other.getNotExpression());
+            break;
+          }
+        case ACCESS_FILTER:
+          {
+            mergeAccessFilter(other.getAccessFilter());
+            break;
+          }
+        case ONEEXPRESSION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -682,40 +761,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getAndGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              oneExpressionCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getOrGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              oneExpressionCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getNotExpressionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              oneExpressionCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getAccessFilterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              oneExpressionCase_ = 4;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getAndGroupFieldBuilder().getBuilder(), extensionRegistry);
+                oneExpressionCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getOrGroupFieldBuilder().getBuilder(), extensionRegistry);
+                oneExpressionCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getNotExpressionFieldBuilder().getBuilder(), extensionRegistry);
+                oneExpressionCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getAccessFilterFieldBuilder().getBuilder(), extensionRegistry);
+                oneExpressionCase_ = 4;
+                break;
+              } // case 34
+            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) {
@@ -725,12 +801,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int oneExpressionCase_ = 0;
     private java.lang.Object oneExpression_;
-    public OneExpressionCase
-        getOneExpressionCase() {
-      return OneExpressionCase.forNumber(
-          oneExpressionCase_);
+
+    public OneExpressionCase getOneExpressionCase() {
+      return OneExpressionCase.forNumber(oneExpressionCase_);
     }
 
     public Builder clearOneExpression() {
@@ -743,13 +819,19 @@ public Builder clearOneExpression() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> andGroupBuilder_;
+            com.google.analytics.admin.v1alpha.AccessFilterExpressionList,
+            com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder,
+            com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>
+        andGroupBuilder_;
     /**
+     *
+     *
      * 
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -757,11 +839,14 @@ public boolean hasAndGroup() { return oneExpressionCase_ == 1; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override @@ -779,13 +864,16 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup } } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ - public Builder setAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { + public Builder setAndGroup( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { if (andGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -799,6 +887,8 @@ public Builder setAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpres return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -817,18 +907,27 @@ public Builder setAndGroup( return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ - public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { + public Builder mergeAndGroup( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { if (andGroupBuilder_ == null) { - if (oneExpressionCase_ == 1 && - oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) { - oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 1 + && oneExpression_ + != com.google.analytics.admin.v1alpha.AccessFilterExpressionList + .getDefaultInstance()) { + oneExpression_ = + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder( + (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) + oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -844,6 +943,8 @@ public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpr return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -867,16 +968,21 @@ public Builder clearAndGroup() { return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder getAndGroupBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder + getAndGroupBuilder() { return getAndGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -884,7 +990,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder get * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder + getAndGroupOrBuilder() { if ((oneExpressionCase_ == 1) && (andGroupBuilder_ != null)) { return andGroupBuilder_.getMessageOrBuilder(); } else { @@ -895,6 +1002,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge } } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -902,14 +1011,20 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> getAndGroupFieldBuilder() { if (andGroupBuilder_ == null) { if (!(oneExpressionCase_ == 1)) { - oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); + oneExpression_ = + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } - andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( + andGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_, getParentForChildren(), isClean()); @@ -921,13 +1036,19 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> orGroupBuilder_; + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> + orGroupBuilder_; /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -935,11 +1056,14 @@ public boolean hasOrGroup() { return oneExpressionCase_ == 2; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override @@ -957,6 +1081,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup( } } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -977,6 +1103,8 @@ public Builder setOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpress return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -995,18 +1123,27 @@ public Builder setOrGroup( return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ - public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { + public Builder mergeOrGroup( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) { if (orGroupBuilder_ == null) { - if (oneExpressionCase_ == 2 && - oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) { - oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 2 + && oneExpression_ + != com.google.analytics.admin.v1alpha.AccessFilterExpressionList + .getDefaultInstance()) { + oneExpression_ = + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder( + (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) + oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -1022,6 +1159,8 @@ public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpre return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1045,16 +1184,21 @@ public Builder clearOrGroup() { return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder getOrGroupBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder + getOrGroupBuilder() { return getOrGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1062,7 +1206,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder get * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder + getOrGroupOrBuilder() { if ((oneExpressionCase_ == 2) && (orGroupBuilder_ != null)) { return orGroupBuilder_.getMessageOrBuilder(); } else { @@ -1073,6 +1218,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge } } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1080,14 +1227,20 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder> getOrGroupFieldBuilder() { if (orGroupBuilder_ == null) { if (!(oneExpressionCase_ == 2)) { - oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); + oneExpression_ = + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } - orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpressionList, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( + orGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpressionList, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>( (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_, getParentForChildren(), isClean()); @@ -1099,13 +1252,19 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> notExpressionBuilder_; + com.google.analytics.admin.v1alpha.AccessFilterExpression, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + notExpressionBuilder_; /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1113,11 +1272,14 @@ public boolean hasNotExpression() { return oneExpressionCase_ == 3; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override @@ -1135,13 +1297,16 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpressio } } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ - public Builder setNotExpression(com.google.analytics.admin.v1alpha.AccessFilterExpression value) { + public Builder setNotExpression( + com.google.analytics.admin.v1alpha.AccessFilterExpression value) { if (notExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1155,6 +1320,8 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.AccessFilterE return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1173,18 +1340,25 @@ public Builder setNotExpression( return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ - public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AccessFilterExpression value) { + public Builder mergeNotExpression( + com.google.analytics.admin.v1alpha.AccessFilterExpression value) { if (notExpressionBuilder_ == null) { - if (oneExpressionCase_ == 3 && - oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) { - oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder((com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 3 + && oneExpression_ + != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) { + oneExpression_ = + com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder( + (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -1200,6 +1374,8 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AccessFilte return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1223,16 +1399,21 @@ public Builder clearNotExpression() { return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getNotExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder + getNotExpressionBuilder() { return getNotExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1240,7 +1421,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getNotE * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder + getNotExpressionOrBuilder() { if ((oneExpressionCase_ == 3) && (notExpressionBuilder_ != null)) { return notExpressionBuilder_.getMessageOrBuilder(); } else { @@ -1251,6 +1433,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNot } } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1258,14 +1442,20 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNot * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpression, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> getNotExpressionFieldBuilder() { if (notExpressionBuilder_ == null) { if (!(oneExpressionCase_ == 3)) { - oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); + oneExpression_ = + com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance(); } - notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( + notExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpression, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_, getParentForChildren(), isClean()); @@ -1277,14 +1467,20 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNot } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilter, com.google.analytics.admin.v1alpha.AccessFilter.Builder, com.google.analytics.admin.v1alpha.AccessFilterOrBuilder> accessFilterBuilder_; + com.google.analytics.admin.v1alpha.AccessFilter, + com.google.analytics.admin.v1alpha.AccessFilter.Builder, + com.google.analytics.admin.v1alpha.AccessFilterOrBuilder> + accessFilterBuilder_; /** + * + * *
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
      * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * * @return Whether the accessFilter field is set. */ @java.lang.Override @@ -1292,12 +1488,15 @@ public boolean hasAccessFilter() { return oneExpressionCase_ == 4; } /** + * + * *
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
      * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * * @return The accessFilter. */ @java.lang.Override @@ -1315,6 +1514,8 @@ public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() { } } /** + * + * *
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1336,6 +1537,8 @@ public Builder setAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter v
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1355,6 +1558,8 @@ public Builder setAccessFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1364,10 +1569,14 @@ public Builder setAccessFilter(
      */
     public Builder mergeAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter value) {
       if (accessFilterBuilder_ == null) {
-        if (oneExpressionCase_ == 4 &&
-            oneExpression_ != com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) {
-          oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilter.newBuilder((com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_)
-              .mergeFrom(value).buildPartial();
+        if (oneExpressionCase_ == 4
+            && oneExpression_
+                != com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) {
+          oneExpression_ =
+              com.google.analytics.admin.v1alpha.AccessFilter.newBuilder(
+                      (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           oneExpression_ = value;
         }
@@ -1383,6 +1592,8 @@ public Builder mergeAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1407,6 +1618,8 @@ public Builder clearAccessFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1418,6 +1631,8 @@ public com.google.analytics.admin.v1alpha.AccessFilter.Builder getAccessFilterBu
       return getAccessFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1437,6 +1652,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterO
       }
     }
     /**
+     *
+     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1445,14 +1662,19 @@ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterO
      * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessFilter, com.google.analytics.admin.v1alpha.AccessFilter.Builder, com.google.analytics.admin.v1alpha.AccessFilterOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessFilter,
+            com.google.analytics.admin.v1alpha.AccessFilter.Builder,
+            com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>
         getAccessFilterFieldBuilder() {
       if (accessFilterBuilder_ == null) {
         if (!(oneExpressionCase_ == 4)) {
           oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
         }
-        accessFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilter, com.google.analytics.admin.v1alpha.AccessFilter.Builder, com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>(
+        accessFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessFilter,
+                com.google.analytics.admin.v1alpha.AccessFilter.Builder,
+                com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_,
                 getParentForChildren(),
                 isClean());
@@ -1462,9 +1684,9 @@ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterO
       onChanged();
       return accessFilterBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1474,12 +1696,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessFilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilterExpression)
   private static final com.google.analytics.admin.v1alpha.AccessFilterExpression DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilterExpression();
   }
@@ -1488,27 +1710,27 @@ public static com.google.analytics.admin.v1alpha.AccessFilterExpression getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AccessFilterExpression 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();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AccessFilterExpression 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;
@@ -1523,6 +1745,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.AccessFilterExpression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
similarity index 69%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
index b6695220bb08..a1589b3282e5 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionList.java
@@ -1,57 +1,79 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * A list of filter expressions.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpressionList} */ -public final class AccessFilterExpressionList extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessFilterExpressionList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilterExpressionList) AccessFilterExpressionListOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessFilterExpressionList.newBuilder() to construct. private AccessFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessFilterExpressionList() { expressions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessFilterExpressionList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); } public static final int EXPRESSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List expressions_; /** + * + * *
    * A list of filter expressions.
    * 
@@ -59,10 +81,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ @java.lang.Override - public java.util.List getExpressionsList() { + public java.util.List + getExpressionsList() { return expressions_; } /** + * + * *
    * A list of filter expressions.
    * 
@@ -70,11 +95,14 @@ public java.util.List * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> getExpressionsOrBuilderList() { return expressions_; } /** + * + * *
    * A list of filter expressions.
    * 
@@ -86,6 +114,8 @@ public int getExpressionsCount() { return expressions_.size(); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -97,6 +127,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions( return expressions_.get(index); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -110,6 +142,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExp } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < expressions_.size(); i++) { output.writeMessage(1, expressions_.get(i)); } @@ -136,8 +168,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < expressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, expressions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, expressions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessFilterExpressionList other = (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) obj; + com.google.analytics.admin.v1alpha.AccessFilterExpressionList other = + (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) obj; - if (!getExpressionsList() - .equals(other.getExpressionsList())) return false; + if (!getExpressionsList().equals(other.getExpressionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +208,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessFilterExpressionList prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A list of filter expressions.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpressionList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessFilterExpressionList) com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,13 +353,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionList + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance(); } @@ -336,14 +375,18 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpressionList buildPartial() { - com.google.analytics.admin.v1alpha.AccessFilterExpressionList result = new com.google.analytics.admin.v1alpha.AccessFilterExpressionList(this); + com.google.analytics.admin.v1alpha.AccessFilterExpressionList result = + new com.google.analytics.admin.v1alpha.AccessFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { if (expressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { expressions_ = java.util.Collections.unmodifiableList(expressions_); @@ -355,7 +398,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Acces } } - private void buildPartial0(com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -363,38 +407,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessFilterExpres public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessFilterExpressionList) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpressionList)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) other); } else { super.mergeFrom(other); return this; @@ -402,7 +447,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilterExpressionList other) { - if (other == com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance()) + return this; if (expressionsBuilder_ == null) { if (!other.expressions_.isEmpty()) { if (expressions_.isEmpty()) { @@ -421,9 +468,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessFilterExpressi expressionsBuilder_ = null; expressions_ = other.expressions_; bitField0_ = (bitField0_ & ~0x00000001); - expressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExpressionsFieldBuilder() : null; + expressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExpressionsFieldBuilder() + : null; } else { expressionsBuilder_.addAllMessages(other.expressions_); } @@ -455,25 +503,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccessFilterExpression m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessFilterExpression.parser(), - extensionRegistry); - if (expressionsBuilder_ == null) { - ensureExpressionsIsMutable(); - expressions_.add(m); - } else { - expressionsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.analytics.admin.v1alpha.AccessFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessFilterExpression.parser(), + extensionRegistry); + if (expressionsBuilder_ == null) { + ensureExpressionsIsMutable(); + expressions_.add(m); + } else { + expressionsBuilder_.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) { @@ -483,28 +533,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List expressions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExpressionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - expressions_ = new java.util.ArrayList(expressions_); + expressions_ = + new java.util.ArrayList( + expressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> expressionsBuilder_; + com.google.analytics.admin.v1alpha.AccessFilterExpression, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + expressionsBuilder_; /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public java.util.List getExpressionsList() { + public java.util.List + getExpressionsList() { if (expressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(expressions_); } else { @@ -512,6 +572,8 @@ public java.util.List } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -526,6 +588,8 @@ public int getExpressionsCount() { } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -540,6 +604,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions( } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -561,6 +627,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -568,7 +636,8 @@ public Builder setExpressions( * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ public Builder setExpressions( - int index, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); expressions_.set(index, builderForValue.build()); @@ -579,6 +648,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -599,6 +670,8 @@ public Builder addExpressions(com.google.analytics.admin.v1alpha.AccessFilterExp return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -620,6 +693,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -638,6 +713,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -645,7 +722,8 @@ public Builder addExpressions( * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ public Builder addExpressions( - int index, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); expressions_.add(index, builderForValue.build()); @@ -656,6 +734,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -663,11 +743,11 @@ public Builder addExpressions( * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ public Builder addAllExpressions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, expressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expressions_); onChanged(); } else { expressionsBuilder_.addAllMessages(values); @@ -675,6 +755,8 @@ public Builder addAllExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -692,6 +774,8 @@ public Builder clearExpressions() { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -709,6 +793,8 @@ public Builder removeExpressions(int index) { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -720,28 +806,34 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getExpr return getExpressionsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder + getExpressionsOrBuilder(int index) { if (expressionsBuilder_ == null) { - return expressions_.get(index); } else { + return expressions_.get(index); + } else { return expressionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public java.util.List - getExpressionsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + getExpressionsOrBuilderList() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilderList(); } else { @@ -749,17 +841,23 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExp } } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder addExpressionsBuilder() { - return getExpressionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder + addExpressionsBuilder() { + return getExpressionsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of filter expressions.
      * 
@@ -768,37 +866,44 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder addExpr */ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder addExpressionsBuilder( int index) { - return getExpressionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); + return getExpressionsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - public java.util.List - getExpressionsBuilderList() { + public java.util.List + getExpressionsBuilderList() { return getExpressionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AccessFilterExpression, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( - expressions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + expressionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessFilterExpression, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>( + expressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); expressions_ = null; } return expressionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +913,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessFilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilterExpressionList) - private static final com.google.analytics.admin.v1alpha.AccessFilterExpressionList DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AccessFilterExpressionList + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilterExpressionList(); } @@ -822,27 +928,27 @@ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessFilterExpressionList 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessFilterExpressionList 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; @@ -857,6 +963,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java index 1884ca7aaaaf..6b63116453ed 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionListOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessFilterExpressionListOrBuilder extends +public interface AccessFilterExpressionListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilterExpressionList) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - java.util.List - getExpressionsList(); + java.util.List getExpressionsList(); /** + * + * *
    * A list of filter expressions.
    * 
@@ -25,6 +44,8 @@ public interface AccessFilterExpressionListOrBuilder extends */ com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions(int index); /** + * + * *
    * A list of filter expressions.
    * 
@@ -33,15 +54,19 @@ public interface AccessFilterExpressionListOrBuilder extends */ int getExpressionsCount(); /** + * + * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; */ - java.util.List + java.util.List getExpressionsOrBuilderList(); /** + * + * *
    * A list of filter expressions.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java similarity index 82% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java index b07903300531..a0186112ff7c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessFilterExpressionOrBuilder extends +public interface AccessFilterExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilterExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ boolean hasAndGroup(); /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * * @return The andGroup. */ com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup(); /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
@@ -35,24 +59,32 @@ public interface AccessFilterExpressionOrBuilder extends com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder(); /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * * @return The orGroup. */ com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup(); /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
@@ -62,24 +94,32 @@ public interface AccessFilterExpressionOrBuilder extends com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * * @return The notExpression. */ com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpression(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -89,26 +129,34 @@ public interface AccessFilterExpressionOrBuilder extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder(); /** + * + * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * * @return Whether the accessFilter field is set. */ boolean hasAccessFilter(); /** + * + * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
    * 
* * .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * * @return The accessFilter. */ com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter(); /** + * + * *
    * A primitive filter. In the same FilterExpression, all of the filter's
    * field names need to be either all dimensions or all metrics.
@@ -118,5 +166,6 @@ public interface AccessFilterExpressionOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterOrBuilder();
 
-  public com.google.analytics.admin.v1alpha.AccessFilterExpression.OneExpressionCase getOneExpressionCase();
+  public com.google.analytics.admin.v1alpha.AccessFilterExpression.OneExpressionCase
+      getOneExpressionCase();
 }
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
index 16f6e4d99fb8..476b29c22501 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface AccessFilterOrBuilder extends
+public interface AccessFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * * @return Whether the stringFilter field is set. */ boolean hasStringFilter(); /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * * @return The stringFilter. */ com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter(); /** + * + * *
    * Strings related filter.
    * 
@@ -35,24 +59,32 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder(); /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * * @return Whether the inListFilter field is set. */ boolean hasInListFilter(); /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * * @return The inListFilter. */ com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter(); /** + * + * *
    * A filter for in list values.
    * 
@@ -62,24 +94,32 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder(); /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * * @return Whether the numericFilter field is set. */ boolean hasNumericFilter(); /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * * @return The numericFilter. */ com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter(); /** + * + * *
    * A filter for numeric or date values.
    * 
@@ -89,24 +129,32 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumericFilterOrBuilder(); /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * * @return Whether the betweenFilter field is set. */ boolean hasBetweenFilter(); /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * * @return The betweenFilter. */ com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter(); /** + * + * *
    * A filter for two values.
    * 
@@ -116,24 +164,29 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder(); /** + * + * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; + * * @return The fieldName. */ java.lang.String getFieldName(); /** + * + * *
    * The dimension name or metric name.
    * 
* * string field_name = 1; + * * @return The bytes for fieldName. */ - com.google.protobuf.ByteString - getFieldNameBytes(); + com.google.protobuf.ByteString getFieldNameBytes(); public com.google.analytics.admin.v1alpha.AccessFilter.OneFilterCase getOneFilterCase(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java index 14d5826099ff..d9d56345462e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java @@ -1,85 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The result needs to be in a list of string values.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessInListFilter} */ -public final class AccessInListFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessInListFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessInListFilter) AccessInListFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessInListFilter.newBuilder() to construct. private AccessInListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessInListFilter() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessInListFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessInListFilter.class, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessInListFilter.class, + com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList values_; /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -87,27 +115,32 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } public static final int CASE_SENSITIVE_FIELD_NUMBER = 2; private boolean caseSensitive_ = false; /** + * + * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 2; + * * @return The caseSensitive. */ @java.lang.Override @@ -116,6 +149,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,8 +161,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -153,8 +186,7 @@ public int getSerializedSize() { size += 1 * getValuesList().size(); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, caseSensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -164,17 +196,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessInListFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessInListFilter other = (com.google.analytics.admin.v1alpha.AccessInListFilter) obj; + com.google.analytics.admin.v1alpha.AccessInListFilter other = + (com.google.analytics.admin.v1alpha.AccessInListFilter) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; - if (getCaseSensitive() - != other.getCaseSensitive()) return false; + if (!getValuesList().equals(other.getValuesList())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,137 +222,143 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessInListFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessInListFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessInListFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The result needs to be in a list of string values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessInListFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessInListFilter) com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessInListFilter.class, com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessInListFilter.class, + com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessInListFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; } @java.lang.Override @@ -354,14 +391,18 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessInListFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessInListFilter result = new com.google.analytics.admin.v1alpha.AccessInListFilter(this); + com.google.analytics.admin.v1alpha.AccessInListFilter result = + new com.google.analytics.admin.v1alpha.AccessInListFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AccessInListFilter result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.AccessInListFilter result) { if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -380,38 +421,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessInListFilter public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessInListFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessInListFilter)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessInListFilter) other); } else { super.mergeFrom(other); return this; @@ -419,7 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessInListFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) + return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -459,23 +502,26 @@ public Builder mergeFrom( 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: + 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) { @@ -485,44 +531,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -530,76 +587,90 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues( - java.lang.Iterable values) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @return This builder for chaining. */ public Builder clearValues() { @@ -609,17 +680,21 @@ public Builder clearValues() { return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -627,13 +702,16 @@ public Builder addValuesBytes( return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; + * * @return The caseSensitive. */ @java.lang.Override @@ -641,27 +719,33 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; + * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -670,9 +754,9 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -682,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessInListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessInListFilter) private static final com.google.analytics.admin.v1alpha.AccessInListFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessInListFilter(); } @@ -696,27 +780,27 @@ public static com.google.analytics.admin.v1alpha.AccessInListFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessInListFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessInListFilter 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; @@ -731,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessInListFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java index 7bf9ab5ed1ba..5d6d298f8ad6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilterOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessInListFilterOrBuilder extends +public interface AccessInListFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessInListFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @return A list containing the values. */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @return The count of values. */ int getValuesCount(); /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** + * + * *
    * The list of string values. Must be non-empty.
    * 
* * repeated string values = 1; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString - getValuesBytes(int index); + com.google.protobuf.ByteString getValuesBytes(int index); /** + * + * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 2; + * * @return The caseSensitive. */ boolean getCaseSensitive(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java index 5d1d792e7219..53305427aec4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The quantitative measurements of a report. For example, the metric
  * `accessCount` is the total number of data access records.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetric}
  */
-public final class AccessMetric extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccessMetric extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetric)
     AccessMetricOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccessMetric.newBuilder() to construct.
   private AccessMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AccessMetric() {
     metricName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccessMetric();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessMetric.class, com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessMetric.class,
+            com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
   }
 
   public static final int METRIC_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object metricName_ = "";
   /**
+   *
+   *
    * 
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string metric_name = 1; + * * @return The metricName. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** + * + * *
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -85,16 +109,15 @@ public java.lang.String getMetricName() {
    * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -103,6 +126,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -139,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessMetric other = (com.google.analytics.admin.v1alpha.AccessMetric) obj; + com.google.analytics.admin.v1alpha.AccessMetric other = + (com.google.analytics.admin.v1alpha.AccessMetric) obj; - if (!getMetricName() - .equals(other.getMetricName())) return false; + if (!getMetricName().equals(other.getMetricName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,97 +189,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessMetric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The quantitative measurements of a report. For example, the metric
    * `accessCount` is the total number of data access records.
@@ -264,33 +294,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetric}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessMetric)
       com.google.analytics.admin.v1alpha.AccessMetricOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessMetric.class, com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessMetric.class,
+              com.google.analytics.admin.v1alpha.AccessMetric.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessMetric.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -300,9 +329,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
     }
 
     @java.lang.Override
@@ -321,8 +350,11 @@ public com.google.analytics.admin.v1alpha.AccessMetric build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessMetric buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessMetric result = new com.google.analytics.admin.v1alpha.AccessMetric(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AccessMetric result =
+          new com.google.analytics.admin.v1alpha.AccessMetric(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -338,38 +370,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessMetric resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessMetric) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetric)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetric) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -377,7 +410,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessMetric other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance())
+        return this;
       if (!other.getMetricName().isEmpty()) {
         metricName_ = other.metricName_;
         bitField0_ |= 0x00000001;
@@ -409,17 +443,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              metricName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                metricName_ = 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) {
@@ -429,10 +465,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object metricName_ = "";
     /**
+     *
+     *
      * 
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -441,13 +480,13 @@ public Builder mergeFrom(
      * 
* * string metric_name = 1; + * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -456,6 +495,8 @@ public java.lang.String getMetricName() { } } /** + * + * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -464,15 +505,14 @@ public java.lang.String getMetricName() {
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -480,6 +520,8 @@ public java.lang.String getMetricName() { } } /** + * + * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -488,18 +530,22 @@ public java.lang.String getMetricName() {
      * 
* * string metric_name = 1; + * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetricName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -508,6 +554,7 @@ public Builder setMetricName(
      * 
* * string metric_name = 1; + * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -517,6 +564,8 @@ public Builder clearMetricName() { return this; } /** + * + * *
      * The API name of the metric. See [Data Access
      * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -525,21 +574,23 @@ public Builder clearMetricName() {
      * 
* * string metric_name = 1; + * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -549,12 +600,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetric) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetric) private static final com.google.analytics.admin.v1alpha.AccessMetric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetric(); } @@ -563,27 +614,27 @@ public static com.google.analytics.admin.v1alpha.AccessMetric getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessMetric 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessMetric 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; @@ -598,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java index de2c87200324..ef6ac675002d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeader.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Describes a metric column in the report. Visible metrics requested in a
  * report produce column entries within rows and MetricHeaders. However,
@@ -13,53 +30,59 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricHeader}
  */
-public final class AccessMetricHeader extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccessMetricHeader extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetricHeader)
     AccessMetricHeaderOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccessMetricHeader.newBuilder() to construct.
   private AccessMetricHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AccessMetricHeader() {
     metricName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccessMetricHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessMetricHeader.class, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessMetricHeader.class,
+            com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
   }
 
   public static final int METRIC_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object metricName_ = "";
   /**
+   *
+   *
    * 
    * The metric's name; for example 'accessCount'.
    * 
* * string metric_name = 1; + * * @return The metricName. */ @java.lang.Override @@ -68,29 +91,29 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** + * + * *
    * The metric's name; for example 'accessCount'.
    * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -99,6 +122,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -135,15 +158,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetricHeader)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessMetricHeader other = (com.google.analytics.admin.v1alpha.AccessMetricHeader) obj; + com.google.analytics.admin.v1alpha.AccessMetricHeader other = + (com.google.analytics.admin.v1alpha.AccessMetricHeader) obj; - if (!getMetricName() - .equals(other.getMetricName())) return false; + if (!getMetricName().equals(other.getMetricName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,96 +186,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessMetricHeader prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessMetricHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes a metric column in the report. Visible metrics requested in a
    * report produce column entries within rows and MetricHeaders. However,
@@ -262,33 +293,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricHeader}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessMetricHeader)
       com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessMetricHeader.class, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessMetricHeader.class,
+              com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessMetricHeader.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -298,9 +328,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
     }
 
     @java.lang.Override
@@ -319,8 +349,11 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessMetricHeader buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessMetricHeader result = new com.google.analytics.admin.v1alpha.AccessMetricHeader(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AccessMetricHeader result =
+          new com.google.analytics.admin.v1alpha.AccessMetricHeader(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -336,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessMetricHeader
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessMetricHeader) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricHeader)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricHeader) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -375,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessMetricHeader other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance())
+        return this;
       if (!other.getMetricName().isEmpty()) {
         metricName_ = other.metricName_;
         bitField0_ |= 0x00000001;
@@ -407,17 +442,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              metricName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                metricName_ = 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) {
@@ -427,22 +464,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object metricName_ = "";
     /**
+     *
+     *
      * 
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; + * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -451,20 +491,21 @@ public java.lang.String getMetricName() { } } /** + * + * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -472,28 +513,35 @@ public java.lang.String getMetricName() { } } /** + * + * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; + * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetricName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; + * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -503,26 +551,30 @@ public Builder clearMetricName() { return this; } /** + * + * *
      * The metric's name; for example 'accessCount'.
      * 
* * string metric_name = 1; + * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -532,12 +584,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetricHeader) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetricHeader) private static final com.google.analytics.admin.v1alpha.AccessMetricHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetricHeader(); } @@ -546,27 +598,27 @@ public static com.google.analytics.admin.v1alpha.AccessMetricHeader getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessMetricHeader 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessMetricHeader 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; @@ -581,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessMetricHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java new file mode 100644 index 000000000000..9446c1b7351d --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessMetricHeaderOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricHeader) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The metric's name; for example 'accessCount'.
+   * 
+ * + * string metric_name = 1; + * + * @return The metricName. + */ + java.lang.String getMetricName(); + /** + * + * + *
+   * The metric's name; for example 'accessCount'.
+   * 
+ * + * string metric_name = 1; + * + * @return The bytes for metricName. + */ + com.google.protobuf.ByteString getMetricNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java index 998619c47c06..1bca388890ed 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessMetricOrBuilder extends +public interface AccessMetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetric) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -16,10 +34,13 @@ public interface AccessMetricOrBuilder extends
    * 
* * string metric_name = 1; + * * @return The metricName. */ java.lang.String getMetricName(); /** + * + * *
    * The API name of the metric. See [Data Access
    * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
@@ -28,8 +49,8 @@ public interface AccessMetricOrBuilder extends
    * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - com.google.protobuf.ByteString - getMetricNameBytes(); + com.google.protobuf.ByteString getMetricNameBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java index 2bdffbef8745..a10f205c959b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java @@ -1,62 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The value of a metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricValue} */ -public final class AccessMetricValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessMetricValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetricValue) AccessMetricValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessMetricValue.newBuilder() to construct. private AccessMetricValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessMetricValue() { value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessMetricValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessMetricValue.class, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessMetricValue.class, + com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
    * The measurement value. For example, this value may be '13'.
    * 
* * string value = 1; + * * @return The value. */ @java.lang.Override @@ -65,29 +88,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * The measurement value. For example, this value may be '13'.
    * 
* * string value = 1; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -96,6 +119,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } @@ -132,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetricValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessMetricValue other = (com.google.analytics.admin.v1alpha.AccessMetricValue) obj; + com.google.analytics.admin.v1alpha.AccessMetricValue other = + (com.google.analytics.admin.v1alpha.AccessMetricValue) obj; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +183,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessMetricValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessMetricValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The value of a metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessMetricValue) com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessMetricValue.class, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); + com.google.analytics.admin.v1alpha.AccessMetricValue.class, + com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessMetricValue.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; } @java.lang.Override @@ -313,8 +342,11 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessMetricValue buildPartial() { - com.google.analytics.admin.v1alpha.AccessMetricValue result = new com.google.analytics.admin.v1alpha.AccessMetricValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessMetricValue result = + new com.google.analytics.admin.v1alpha.AccessMetricValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +362,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessMetricValue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessMetricValue) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricValue)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessMetricValue) other); } else { super.mergeFrom(other); return this; @@ -369,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessMetricValue other) { - if (other == com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance()) + return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -401,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + value_ = 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) { @@ -421,22 +457,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object value_ = ""; /** + * + * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -445,20 +484,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -466,28 +506,35 @@ public java.lang.String getValue() { } } /** + * + * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -497,26 +544,30 @@ public Builder clearValue() { return this; } /** + * + * *
      * The measurement value. For example, this value may be '13'.
      * 
* * string value = 1; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +577,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetricValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetricValue) private static final com.google.analytics.admin.v1alpha.AccessMetricValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetricValue(); } @@ -540,27 +591,27 @@ public static com.google.analytics.admin.v1alpha.AccessMetricValue getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessMetricValue 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessMetricValue 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; @@ -575,6 +626,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessMetricValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java new file mode 100644 index 000000000000..5be521730eb3 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessMetricValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricValue) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The measurement value. For example, this value may be '13'.
+   * 
+ * + * string value = 1; + * + * @return The value. + */ + java.lang.String getValue(); + /** + * + * + *
+   * The measurement value. For example, this value may be '13'.
+   * 
+ * + * string value = 1; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java index d1233fc057bb..f8993cded9d0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Filters for numeric or date values.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessNumericFilter} */ -public final class AccessNumericFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessNumericFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessNumericFilter) AccessNumericFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessNumericFilter.newBuilder() to construct. private AccessNumericFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessNumericFilter() { operation_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessNumericFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessNumericFilter.class, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessNumericFilter.class, + com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); } /** + * + * *
    * The operation applied to a numeric filter.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AccessNumericFilter.Operation} */ - public enum Operation - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operation implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -66,6 +88,8 @@ public enum Operation */ OPERATION_UNSPECIFIED(0), /** + * + * *
      * Equal
      * 
@@ -74,6 +98,8 @@ public enum Operation */ EQUAL(1), /** + * + * *
      * Less than
      * 
@@ -82,6 +108,8 @@ public enum Operation */ LESS_THAN(2), /** + * + * *
      * Less than or equal
      * 
@@ -90,6 +118,8 @@ public enum Operation */ LESS_THAN_OR_EQUAL(3), /** + * + * *
      * Greater than
      * 
@@ -98,6 +128,8 @@ public enum Operation */ GREATER_THAN(4), /** + * + * *
      * Greater than or equal
      * 
@@ -109,6 +141,8 @@ public enum Operation ; /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +151,8 @@ public enum Operation */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Equal
      * 
@@ -125,6 +161,8 @@ public enum Operation */ public static final int EQUAL_VALUE = 1; /** + * + * *
      * Less than
      * 
@@ -133,6 +171,8 @@ public enum Operation */ public static final int LESS_THAN_VALUE = 2; /** + * + * *
      * Less than or equal
      * 
@@ -141,6 +181,8 @@ public enum Operation */ public static final int LESS_THAN_OR_EQUAL_VALUE = 3; /** + * + * *
      * Greater than
      * 
@@ -149,6 +191,8 @@ public enum Operation */ public static final int GREATER_THAN_VALUE = 4; /** + * + * *
      * Greater than or equal
      * 
@@ -157,7 +201,6 @@ public enum Operation */ public static final int GREATER_THAN_OR_EQUAL_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -182,52 +225,57 @@ public static Operation valueOf(int value) { */ public static Operation forNumber(int value) { switch (value) { - case 0: return OPERATION_UNSPECIFIED; - case 1: return EQUAL; - case 2: return LESS_THAN; - case 3: return LESS_THAN_OR_EQUAL; - case 4: return GREATER_THAN; - case 5: return GREATER_THAN_OR_EQUAL; - default: return null; + case 0: + return OPERATION_UNSPECIFIED; + case 1: + return EQUAL; + case 2: + return LESS_THAN; + case 3: + return LESS_THAN_OR_EQUAL; + case 4: + return GREATER_THAN; + case 5: + return GREATER_THAN_OR_EQUAL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Operation> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operation findValueByNumber(int number) { - return Operation.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operation findValueByNumber(int number) { + return Operation.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDescriptor() + .getEnumTypes() + .get(0); } private static final Operation[] VALUES = values(); - public static Operation valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -247,37 +295,51 @@ private Operation(int value) { public static final int OPERATION_FIELD_NUMBER = 1; private int operation_ = 0; /** + * + * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override public int getOperationValue() { + @java.lang.Override + public int getOperationValue() { return operation_; } /** + * + * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @return The operation. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() { - com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); - return result == null ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() { + com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = + com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); + return result == null + ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.NumericValue value_; /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -285,18 +347,25 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; + * * @return The value. */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue getValue() { - return value_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : value_; } /** + * + * *
    * A numeric value or a date value.
    * 
@@ -305,10 +374,13 @@ public com.google.analytics.admin.v1alpha.NumericValue getValue() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilder() { - return value_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : value_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,9 +392,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (operation_ != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (operation_ + != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED + .getNumber()) { output.writeEnum(1, operation_); } if (value_ != null) { @@ -337,13 +410,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operation_ != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, operation_); + if (operation_ + != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -353,18 +426,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessNumericFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessNumericFilter other = (com.google.analytics.admin.v1alpha.AccessNumericFilter) obj; + com.google.analytics.admin.v1alpha.AccessNumericFilter other = + (com.google.analytics.admin.v1alpha.AccessNumericFilter) obj; if (operation_ != other.operation_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -389,129 +462,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessNumericFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessNumericFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Filters for numeric or date values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessNumericFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessNumericFilter) com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessNumericFilter.class, com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessNumericFilter.class, + com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessNumericFilter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +606,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; } @java.lang.Override @@ -547,8 +627,11 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessNumericFilter result = new com.google.analytics.admin.v1alpha.AccessNumericFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessNumericFilter result = + new com.google.analytics.admin.v1alpha.AccessNumericFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -559,9 +642,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessNumericFilte result.operation_ = operation_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = valueBuilder_ == null - ? value_ - : valueBuilder_.build(); + result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); } } @@ -569,38 +650,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessNumericFilte public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessNumericFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessNumericFilter)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessNumericFilter) other); } else { super.mergeFrom(other); return this; @@ -608,7 +690,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessNumericFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) + return this; if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } @@ -641,24 +724,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - operation_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + operation_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getValueFieldBuilder().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) { @@ -668,26 +752,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int operation_ = 0; /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override public int getOperationValue() { + @java.lang.Override + public int getOperationValue() { return operation_; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ @@ -698,28 +790,38 @@ public Builder setOperationValue(int value) { return this; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @return The operation. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() { - com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); - return result == null ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result = + com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.forNumber(operation_); + return result == null + ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED + : result; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation value) { + public Builder setOperation( + com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation value) { if (value == null) { throw new NullPointerException(); } @@ -729,11 +831,14 @@ public Builder setOperation(com.google.analytics.admin.v1alpha.AccessNumericFilt return this; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @return This builder for chaining. */ public Builder clearOperation() { @@ -745,34 +850,47 @@ public Builder clearOperation() { private com.google.analytics.admin.v1alpha.NumericValue value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> valueBuilder_; + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + valueBuilder_; /** + * + * *
      * A numeric value or a date value.
      * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * A numeric value or a date value.
      * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; + * * @return The value. */ public com.google.analytics.admin.v1alpha.NumericValue getValue() { if (valueBuilder_ == null) { - return value_ == null ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : value_; } else { return valueBuilder_.getMessage(); } } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -793,6 +911,8 @@ public Builder setValue(com.google.analytics.admin.v1alpha.NumericValue value) { return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -811,6 +931,8 @@ public Builder setValue( return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -819,9 +941,9 @@ public Builder setValue( */ public Builder mergeValue(com.google.analytics.admin.v1alpha.NumericValue value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - value_ != null && - value_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && value_ != null + && value_ != com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -834,6 +956,8 @@ public Builder mergeValue(com.google.analytics.admin.v1alpha.NumericValue value) return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -851,6 +975,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -863,6 +989,8 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getValueBuilder() return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -873,11 +1001,14 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilde if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance() + : value_; } } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -885,21 +1016,24 @@ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilde * .google.analytics.admin.v1alpha.NumericValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.NumericValue, com.google.analytics.admin.v1alpha.NumericValue.Builder, com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.NumericValue, + com.google.analytics.admin.v1alpha.NumericValue.Builder, + com.google.analytics.admin.v1alpha.NumericValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -909,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessNumericFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessNumericFilter) private static final com.google.analytics.admin.v1alpha.AccessNumericFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessNumericFilter(); } @@ -923,27 +1057,27 @@ public static com.google.analytics.admin.v1alpha.AccessNumericFilter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessNumericFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessNumericFilter 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; @@ -958,6 +1092,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessNumericFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java index f58677ada113..6b0de81d27d6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilterOrBuilder.java @@ -1,50 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessNumericFilterOrBuilder extends +public interface AccessNumericFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessNumericFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** + * + * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * * @return The operation. */ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation(); /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1alpha.NumericValue value = 2; + * * @return The value. */ com.google.analytics.admin.v1alpha.NumericValue getValue(); /** + * + * *
    * A numeric value or a date value.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java index 0f2203529f60..8fc0abfa5c79 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Order bys define how rows will be sorted in the response. For example,
  * ordering rows by descending access count is one ordering, and ordering rows
@@ -12,121 +29,136 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy}
  */
-public final class AccessOrderBy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccessOrderBy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy)
     AccessOrderByOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccessOrderBy.newBuilder() to construct.
   private AccessOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AccessOrderBy() {
-  }
+
+  private AccessOrderBy() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccessOrderBy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessOrderBy.class,
+            com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
   }
 
-  public interface MetricOrderByOrBuilder extends
+  public interface MetricOrderByOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The metricName. */ java.lang.String getMetricName(); /** + * + * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - com.google.protobuf.ByteString - getMetricNameBytes(); + com.google.protobuf.ByteString getMetricNameBytes(); } /** + * + * *
    * Sorts by metric values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy} */ - public static final class MetricOrderBy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MetricOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) MetricOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricOrderBy.newBuilder() to construct. private MetricOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetricOrderBy() { metricName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); } public static final int METRIC_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object metricName_ = ""; /** + * + * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The metricName. */ @java.lang.Override @@ -135,29 +167,29 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** + * + * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -166,6 +198,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -202,15 +234,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other = (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) obj; + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other = + (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) obj; - if (!getMetricName() - .equals(other.getMetricName())) return false; + if (!getMetricName().equals(other.getMetricName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,87 +262,94 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -320,39 +359,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sorts by metric values.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -362,13 +403,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } @@ -383,13 +425,17 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy buildPartial() { - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result = new com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result = + new com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.metricName_ = metricName_; @@ -400,46 +446,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy.Metr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other) { - if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other) { + if (other + == com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance()) + return this; if (!other.getMetricName().isEmpty()) { metricName_ = other.metricName_; bitField0_ |= 0x00000001; @@ -471,17 +523,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - metricName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + metricName_ = 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) { @@ -491,22 +545,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object metricName_ = ""; /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -515,20 +572,21 @@ public java.lang.String getMetricName() { } } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -536,28 +594,35 @@ public java.lang.String getMetricName() { } } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetricName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -567,23 +632,28 @@ public Builder clearMetricName() { return this; } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); metricName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -596,41 +666,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) - private static final com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy(); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -642,71 +715,90 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DimensionOrderByOrBuilder extends + public interface DimensionOrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ java.lang.String getDimensionName(); /** + * + * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString - getDimensionNameBytes(); + com.google.protobuf.ByteString getDimensionNameBytes(); /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The enum numeric value on the wire for orderType. */ int getOrderTypeValue(); /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The orderType. */ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType getOrderType(); } /** + * + * *
    * Sorts by dimension values.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy} */ - public static final class DimensionOrderBy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DimensionOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) DimensionOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DimensionOrderBy.newBuilder() to construct. private DimensionOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DimensionOrderBy() { dimensionName_ = ""; orderType_ = 0; @@ -714,39 +806,43 @@ private DimensionOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DimensionOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); } /** + * + * *
      * Rule to order the string dimension values by.
      * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType} */ - public enum OrderType - implements com.google.protobuf.ProtocolMessageEnum { + public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -755,6 +851,8 @@ public enum OrderType */ ORDER_TYPE_UNSPECIFIED(0), /** + * + * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -764,6 +862,8 @@ public enum OrderType
        */
       ALPHANUMERIC(1),
       /**
+       *
+       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -773,6 +873,8 @@ public enum OrderType
        */
       CASE_INSENSITIVE_ALPHANUMERIC(2),
       /**
+       *
+       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -787,6 +889,8 @@ public enum OrderType
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified.
        * 
@@ -795,6 +899,8 @@ public enum OrderType */ public static final int ORDER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -804,6 +910,8 @@ public enum OrderType
        */
       public static final int ALPHANUMERIC_VALUE = 1;
       /**
+       *
+       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -813,6 +921,8 @@ public enum OrderType
        */
       public static final int CASE_INSENSITIVE_ALPHANUMERIC_VALUE = 2;
       /**
+       *
+       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -824,7 +934,6 @@ public enum OrderType
        */
       public static final int NUMERIC_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -849,50 +958,53 @@ public static OrderType valueOf(int value) {
        */
       public static OrderType forNumber(int value) {
         switch (value) {
-          case 0: return ORDER_TYPE_UNSPECIFIED;
-          case 1: return ALPHANUMERIC;
-          case 2: return CASE_INSENSITIVE_ALPHANUMERIC;
-          case 3: return NUMERIC;
-          default: return null;
+          case 0:
+            return ORDER_TYPE_UNSPECIFIED;
+          case 1:
+            return ALPHANUMERIC;
+          case 2:
+            return CASE_INSENSITIVE_ALPHANUMERIC;
+          case 3:
+            return NUMERIC;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          OrderType> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public OrderType findValueByNumber(int number) {
-                return OrderType.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public OrderType findValueByNumber(int number) {
+              return OrderType.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final OrderType[] VALUES = values();
 
-      public static OrderType valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OrderType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -910,14 +1022,18 @@ private OrderType(int value) {
     }
 
     public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object dimensionName_ = "";
     /**
+     *
+     *
      * 
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -926,29 +1042,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** + * + * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -959,30 +1075,48 @@ public java.lang.String getDimensionName() { public static final int ORDER_TYPE_FIELD_NUMBER = 2; private int orderType_ = 0; /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override public int getOrderTypeValue() { + @java.lang.Override + public int getOrderTypeValue() { return orderType_; } /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The orderType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType getOrderType() { - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber(orderType_); - return result == null ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType + getOrderType() { + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber( + orderType_); + return result == null + ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -994,12 +1128,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } - if (orderType_ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { + if (orderType_ + != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType + .ORDER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, orderType_); } getUnknownFields().writeTo(output); @@ -1014,9 +1150,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_); } - if (orderType_ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, orderType_); + if (orderType_ + != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType + .ORDER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, orderType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1026,15 +1164,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other = (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) obj; + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other = + (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) obj; - if (!getDimensionName() - .equals(other.getDimensionName())) return false; + if (!getDimensionName().equals(other.getDimensionName())) return false; if (orderType_ != other.orderType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1057,87 +1195,95 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1147,39 +1293,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sorts by dimension values.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1190,14 +1339,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } @java.lang.Override @@ -1211,13 +1362,17 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy build() @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy buildPartial() { - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result = new com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result = + new com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dimensionName_ = dimensionName_; @@ -1231,46 +1386,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy.Dime public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other) { - if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other) { + if (other + == com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + .getDefaultInstance()) return this; if (!other.getDimensionName().isEmpty()) { dimensionName_ = other.dimensionName_; bitField0_ |= 0x00000001; @@ -1305,22 +1467,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - dimensionName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - orderType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + dimensionName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + orderType_ = input.readEnum(); + 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) { @@ -1330,22 +1495,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object dimensionName_ = ""; /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -1354,20 +1522,21 @@ public java.lang.String getDimensionName() { } } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -1375,28 +1544,35 @@ public java.lang.String getDimensionName() { } } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimensionName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } dimensionName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -1406,17 +1582,21 @@ public Builder clearDimensionName() { return this; } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); dimensionName_ = value; bitField0_ |= 0x00000001; @@ -1426,22 +1606,33 @@ public Builder setDimensionNameBytes( private int orderType_ = 0; /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override public int getOrderTypeValue() { + @java.lang.Override + public int getOrderTypeValue() { return orderType_; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @param value The enum numeric value on the wire for orderType to set. * @return This builder for chaining. */ @@ -1452,28 +1643,45 @@ public Builder setOrderTypeValue(int value) { return this; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The orderType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType getOrderType() { - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber(orderType_); - return result == null ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType + getOrderType() { + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result = + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.forNumber( + orderType_); + return result == null + ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType + .UNRECOGNIZED + : result; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @param value The orderType to set. * @return This builder for chaining. */ - public Builder setOrderType(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType value) { + public Builder setOrderType( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType value) { if (value == null) { throw new NullPointerException(); } @@ -1483,11 +1691,16 @@ public Builder setOrderType(com.google.analytics.admin.v1alpha.AccessOrderBy.Dim return this; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return This builder for chaining. */ public Builder clearOrderType() { @@ -1496,6 +1709,7 @@ public Builder clearOrderType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1508,41 +1722,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) - private static final com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy(); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -1554,21 +1771,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int oneOrderByCase_ = 0; private java.lang.Object oneOrderBy_; + public enum OneOrderByCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { METRIC(1), DIMENSION(2), ONEORDERBY_NOT_SET(0); private final int value; + private OneOrderByCase(int value) { this.value = value; } @@ -1584,30 +1804,36 @@ public static OneOrderByCase valueOf(int value) { public static OneOrderByCase forNumber(int value) { switch (value) { - case 1: return METRIC; - case 2: return DIMENSION; - case 0: return ONEORDERBY_NOT_SET; - default: return null; + case 1: + return METRIC; + case 2: + return DIMENSION; + case 0: + return ONEORDERBY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneOrderByCase - getOneOrderByCase() { - return OneOrderByCase.forNumber( - oneOrderByCase_); + public OneOrderByCase getOneOrderByCase() { + return OneOrderByCase.forNumber(oneOrderByCase_); } public static final int METRIC_FIELD_NUMBER = 1; /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ @java.lang.Override @@ -1615,21 +1841,26 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } /** + * + * *
    * Sorts results by a metric's values.
    * 
@@ -1637,20 +1868,24 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric( * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder + getMetricOrBuilder() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } public static final int DIMENSION_FIELD_NUMBER = 2; /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ @java.lang.Override @@ -1658,21 +1893,26 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDimension() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } /** + * + * *
    * Sorts results by a dimension's values.
    * 
@@ -1680,9 +1920,10 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDime * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder + getDimensionOrBuilder() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } @@ -1690,12 +1931,15 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilde public static final int DESC_FIELD_NUMBER = 3; private boolean desc_ = false; /** + * + * *
    * If true, sorts by descending order. If false or unspecified, sorts in
    * ascending order.
    * 
* * bool desc = 3; + * * @return The desc. */ @java.lang.Override @@ -1704,6 +1948,7 @@ public boolean getDesc() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1715,13 +1960,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneOrderByCase_ == 1) { - output.writeMessage(1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); + output.writeMessage( + 1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - output.writeMessage(2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); + output.writeMessage( + 2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); } if (desc_ != false) { output.writeBool(3, desc_); @@ -1736,16 +1982,17 @@ public int getSerializedSize() { size = 0; if (oneOrderByCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_); } if (desc_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, desc_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, desc_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1755,24 +2002,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessOrderBy other = (com.google.analytics.admin.v1alpha.AccessOrderBy) obj; + com.google.analytics.admin.v1alpha.AccessOrderBy other = + (com.google.analytics.admin.v1alpha.AccessOrderBy) obj; - if (getDesc() - != other.getDesc()) return false; + if (getDesc() != other.getDesc()) return false; if (!getOneOrderByCase().equals(other.getOneOrderByCase())) return false; switch (oneOrderByCase_) { case 1: - if (!getMetric() - .equals(other.getMetric())) return false; + if (!getMetric().equals(other.getMetric())) return false; break; case 2: - if (!getDimension() - .equals(other.getDimension())) return false; + if (!getDimension().equals(other.getDimension())) return false; break; case 0: default: @@ -1789,8 +2034,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DESC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDesc()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesc()); switch (oneOrderByCase_) { case 1: hash = (37 * hash) + METRIC_FIELD_NUMBER; @@ -1808,97 +2052,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessOrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Order bys define how rows will be sorted in the response. For example,
    * ordering rows by descending access count is one ordering, and ordering rows
@@ -1907,33 +2158,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessOrderBy)
       com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessOrderBy.class, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessOrderBy.class,
+              com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessOrderBy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1951,9 +2201,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
     }
 
     @java.lang.Override
@@ -1972,8 +2222,11 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessOrderBy buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessOrderBy result = new com.google.analytics.admin.v1alpha.AccessOrderBy(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AccessOrderBy result =
+          new com.google.analytics.admin.v1alpha.AccessOrderBy(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1989,12 +2242,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessOrderBy resu
     private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessOrderBy result) {
       result.oneOrderByCase_ = oneOrderByCase_;
       result.oneOrderBy_ = this.oneOrderBy_;
-      if (oneOrderByCase_ == 1 &&
-          metricBuilder_ != null) {
+      if (oneOrderByCase_ == 1 && metricBuilder_ != null) {
         result.oneOrderBy_ = metricBuilder_.build();
       }
-      if (oneOrderByCase_ == 2 &&
-          dimensionBuilder_ != null) {
+      if (oneOrderByCase_ == 2 && dimensionBuilder_ != null) {
         result.oneOrderBy_ = dimensionBuilder_.build();
       }
     }
@@ -2003,38 +2254,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessOrderBy
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessOrderBy) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessOrderBy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2042,22 +2294,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessOrderBy other) {
-      if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance())
+        return this;
       if (other.getDesc() != false) {
         setDesc(other.getDesc());
       }
       switch (other.getOneOrderByCase()) {
-        case METRIC: {
-          mergeMetric(other.getMetric());
-          break;
-        }
-        case DIMENSION: {
-          mergeDimension(other.getDimension());
-          break;
-        }
-        case ONEORDERBY_NOT_SET: {
-          break;
-        }
+        case METRIC:
+          {
+            mergeMetric(other.getMetric());
+            break;
+          }
+        case DIMENSION:
+          {
+            mergeDimension(other.getDimension());
+            break;
+          }
+        case ONEORDERBY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2085,31 +2341,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getMetricFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              oneOrderByCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getDimensionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              oneOrderByCase_ = 2;
-              break;
-            } // case 18
-            case 24: {
-              desc_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry);
+                oneOrderByCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getDimensionFieldBuilder().getBuilder(), extensionRegistry);
+                oneOrderByCase_ = 2;
+                break;
+              } // case 18
+            case 24:
+              {
+                desc_ = 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) {
@@ -2119,12 +2375,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int oneOrderByCase_ = 0;
     private java.lang.Object oneOrderBy_;
-    public OneOrderByCase
-        getOneOrderByCase() {
-      return OneOrderByCase.forNumber(
-          oneOrderByCase_);
+
+    public OneOrderByCase getOneOrderByCase() {
+      return OneOrderByCase.forNumber(oneOrderByCase_);
     }
 
     public Builder clearOneOrderBy() {
@@ -2137,13 +2393,19 @@ public Builder clearOneOrderBy() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder> metricBuilder_;
+            com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy,
+            com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder,
+            com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>
+        metricBuilder_;
     /**
+     *
+     *
      * 
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ @java.lang.Override @@ -2151,11 +2413,14 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ @java.lang.Override @@ -2173,6 +2438,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric( } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2193,6 +2460,8 @@ public Builder setMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.Metric return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2211,18 +2480,26 @@ public Builder setMetric( return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ - public Builder mergeMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy value) { + public Builder mergeMetric( + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy value) { if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1 && - oneOrderBy_ != com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance()) { - oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.newBuilder((com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_) - .mergeFrom(value).buildPartial(); + if (oneOrderByCase_ == 1 + && oneOrderBy_ + != com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy + .getDefaultInstance()) { + oneOrderBy_ = + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.newBuilder( + (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_) + .mergeFrom(value) + .buildPartial(); } else { oneOrderBy_ = value; } @@ -2238,6 +2515,8 @@ public Builder mergeMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.Metr return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2261,16 +2540,21 @@ public Builder clearMetric() { return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder getMetricBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder + getMetricBuilder() { return getMetricFieldBuilder().getBuilder(); } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2278,7 +2562,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder ge * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder + getMetricOrBuilder() { if ((oneOrderByCase_ == 1) && (metricBuilder_ != null)) { return metricBuilder_.getMessageOrBuilder(); } else { @@ -2289,6 +2574,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder g } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2296,14 +2583,20 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder g * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder> + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder> getMetricFieldBuilder() { if (metricBuilder_ == null) { if (!(oneOrderByCase_ == 1)) { - oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); + oneOrderBy_ = + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } - metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>( + metricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>( (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_, getParentForChildren(), isClean()); @@ -2315,13 +2608,19 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder g } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> dimensionBuilder_; + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> + dimensionBuilder_; /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ @java.lang.Override @@ -2329,11 +2628,14 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ @java.lang.Override @@ -2342,22 +2644,27 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDime if (oneOrderByCase_ == 2) { return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } else { if (oneOrderByCase_ == 2) { return dimensionBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public Builder setDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { + public Builder setDimension( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2371,6 +2678,8 @@ public Builder setDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.Dim return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2389,18 +2698,27 @@ public Builder setDimension( return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public Builder mergeDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { + public Builder mergeDimension( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2 && - oneOrderBy_ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance()) { - oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder((com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_) - .mergeFrom(value).buildPartial(); + if (oneOrderByCase_ == 2 + && oneOrderBy_ + != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + .getDefaultInstance()) { + oneOrderBy_ = + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder( + (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) + oneOrderBy_) + .mergeFrom(value) + .buildPartial(); } else { oneOrderBy_ = value; } @@ -2416,6 +2734,8 @@ public Builder mergeDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.D return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2439,16 +2759,21 @@ public Builder clearDimension() { return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder getDimensionBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder + getDimensionBuilder() { return getDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2456,17 +2781,21 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder + getDimensionOrBuilder() { if ((oneOrderByCase_ == 2) && (dimensionBuilder_ != null)) { return dimensionBuilder_.getMessageOrBuilder(); } else { if (oneOrderByCase_ == 2) { return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } - return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2474,14 +2803,21 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilde * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder> getDimensionFieldBuilder() { if (dimensionBuilder_ == null) { if (!(oneOrderByCase_ == 2)) { - oneOrderBy_ = com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + oneOrderBy_ = + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } - dimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder>( + dimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder>( (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_, getParentForChildren(), isClean()); @@ -2492,14 +2828,17 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilde return dimensionBuilder_; } - private boolean desc_ ; + private boolean desc_; /** + * + * *
      * If true, sorts by descending order. If false or unspecified, sorts in
      * ascending order.
      * 
* * bool desc = 3; + * * @return The desc. */ @java.lang.Override @@ -2507,29 +2846,35 @@ public boolean getDesc() { return desc_; } /** + * + * *
      * If true, sorts by descending order. If false or unspecified, sorts in
      * ascending order.
      * 
* * bool desc = 3; + * * @param value The desc to set. * @return This builder for chaining. */ public Builder setDesc(boolean value) { - + desc_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If true, sorts by descending order. If false or unspecified, sorts in
      * ascending order.
      * 
* * bool desc = 3; + * * @return This builder for chaining. */ public Builder clearDesc() { @@ -2538,9 +2883,9 @@ public Builder clearDesc() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2550,12 +2895,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy) private static final com.google.analytics.admin.v1alpha.AccessOrderBy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy(); } @@ -2564,27 +2909,27 @@ public static com.google.analytics.admin.v1alpha.AccessOrderBy getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessOrderBy 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessOrderBy 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; @@ -2599,6 +2944,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java index bd6f92caec98..cba2edcadbf4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderByOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessOrderByOrBuilder extends +public interface AccessOrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessOrderBy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ boolean hasMetric(); /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric(); /** + * + * *
    * Sorts results by a metric's values.
    * 
@@ -35,39 +59,51 @@ public interface AccessOrderByOrBuilder extends com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ boolean hasDimension(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDimension(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; */ - com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder(); + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder + getDimensionOrBuilder(); /** + * + * *
    * If true, sorts by descending order. If false or unspecified, sorts in
    * ascending order.
    * 
* * bool desc = 3; + * * @return The desc. */ boolean getDesc(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java index 0d179620cb69..a2c783737845 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Current state of all quotas for this Analytics property. If any quota for a
  * property is exhausted, all requests to that property will return Resource
@@ -12,52 +29,56 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuota}
  */
-public final class AccessQuota extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccessQuota extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessQuota)
     AccessQuotaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccessQuota.newBuilder() to construct.
   private AccessQuota(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AccessQuota() {
-  }
+
+  private AccessQuota() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccessQuota();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AccessReportProto
+        .internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccessQuota.class, com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
+            com.google.analytics.admin.v1alpha.AccessQuota.class,
+            com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
   }
 
   public static final int TOKENS_PER_DAY_FIELD_NUMBER = 1;
   private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerDay_;
   /**
+   *
+   *
    * 
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * * @return Whether the tokensPerDay field is set. */ @java.lang.Override @@ -65,19 +86,26 @@ public boolean hasTokensPerDay() { return tokensPerDay_ != null; } /** + * + * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() { - return tokensPerDay_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_; + return tokensPerDay_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerDay_; } /** + * + * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
@@ -87,12 +115,16 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() {
    */
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder() {
-    return tokensPerDay_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_;
+    return tokensPerDay_ == null
+        ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+        : tokensPerDay_;
   }
 
   public static final int TOKENS_PER_HOUR_FIELD_NUMBER = 2;
   private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerHour_;
   /**
+   *
+   *
    * 
    * Properties can use 50,000 tokens per hour. An API request consumes a single
    * number of tokens, and that number is deducted from all of the hourly,
@@ -100,6 +132,7 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; + * * @return Whether the tokensPerHour field is set. */ @java.lang.Override @@ -107,6 +140,8 @@ public boolean hasTokensPerHour() { return tokensPerHour_ != null; } /** + * + * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
    * number of tokens, and that number is deducted from all of the hourly,
@@ -114,13 +149,18 @@ public boolean hasTokensPerHour() {
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour() { - return tokensPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; + return tokensPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerHour_; } /** + * + * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
    * number of tokens, and that number is deducted from all of the hourly,
@@ -131,17 +171,22 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour() {
    */
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder() {
-    return tokensPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_;
+    return tokensPerHour_ == null
+        ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+        : tokensPerHour_;
   }
 
   public static final int CONCURRENT_REQUESTS_FIELD_NUMBER = 3;
   private com.google.analytics.admin.v1alpha.AccessQuotaStatus concurrentRequests_;
   /**
+   *
+   *
    * 
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ @java.lang.Override @@ -149,18 +194,25 @@ public boolean hasConcurrentRequests() { return concurrentRequests_ != null; } /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests() { - return concurrentRequests_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
@@ -168,19 +220,26 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequest * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { - return concurrentRequests_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder + getConcurrentRequestsOrBuilder() { + return concurrentRequests_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 4; private com.google.analytics.admin.v1alpha.AccessQuotaStatus serverErrorsPerProjectPerHour_; /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return Whether the serverErrorsPerProjectPerHour field is set. */ @java.lang.Override @@ -188,34 +247,48 @@ public boolean hasServerErrorsPerProjectPerHour() { return serverErrorsPerProjectPerHour_ != null; } /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return The serverErrorsPerProjectPerHour. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder + getServerErrorsPerProjectPerHourOrBuilder() { + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : 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
@@ -224,6 +297,7 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerEr
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * * @return Whether the tokensPerProjectPerHour field is set. */ @java.lang.Override @@ -231,6 +305,8 @@ 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
@@ -239,13 +315,18 @@ public boolean hasTokensPerProjectPerHour() {
    * 
* * .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_; + 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
@@ -256,11 +337,15 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerProjectP
    * .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_;
+  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
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -272,8 +357,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tokensPerDay_ != null) {
       output.writeMessage(1, getTokensPerDay());
     }
@@ -299,24 +383,22 @@ public int getSerializedSize() {
 
     size = 0;
     if (tokensPerDay_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTokensPerDay());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTokensPerDay());
     }
     if (tokensPerHour_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getTokensPerHour());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTokensPerHour());
     }
     if (concurrentRequests_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getConcurrentRequests());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConcurrentRequests());
     }
     if (serverErrorsPerProjectPerHour_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getServerErrorsPerProjectPerHour());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, getServerErrorsPerProjectPerHour());
     }
     if (tokensPerProjectPerHour_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getTokensPerProjectPerHour());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTokensPerProjectPerHour());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -326,37 +408,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessQuota)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.AccessQuota other = (com.google.analytics.admin.v1alpha.AccessQuota) obj;
+    com.google.analytics.admin.v1alpha.AccessQuota other =
+        (com.google.analytics.admin.v1alpha.AccessQuota) obj;
 
     if (hasTokensPerDay() != other.hasTokensPerDay()) return false;
     if (hasTokensPerDay()) {
-      if (!getTokensPerDay()
-          .equals(other.getTokensPerDay())) return false;
+      if (!getTokensPerDay().equals(other.getTokensPerDay())) return false;
     }
     if (hasTokensPerHour() != other.hasTokensPerHour()) return false;
     if (hasTokensPerHour()) {
-      if (!getTokensPerHour()
-          .equals(other.getTokensPerHour())) return false;
+      if (!getTokensPerHour().equals(other.getTokensPerHour())) return false;
     }
     if (hasConcurrentRequests() != other.hasConcurrentRequests()) return false;
     if (hasConcurrentRequests()) {
-      if (!getConcurrentRequests()
-          .equals(other.getConcurrentRequests())) return false;
+      if (!getConcurrentRequests().equals(other.getConcurrentRequests())) return false;
     }
-    if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) return false;
+    if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour())
+      return false;
     if (hasServerErrorsPerProjectPerHour()) {
-      if (!getServerErrorsPerProjectPerHour()
-          .equals(other.getServerErrorsPerProjectPerHour())) return false;
+      if (!getServerErrorsPerProjectPerHour().equals(other.getServerErrorsPerProjectPerHour()))
+        return false;
     }
     if (hasTokensPerProjectPerHour() != other.hasTokensPerProjectPerHour()) return false;
     if (hasTokensPerProjectPerHour()) {
-      if (!getTokensPerProjectPerHour()
-          .equals(other.getTokensPerProjectPerHour())) return false;
+      if (!getTokensPerProjectPerHour().equals(other.getTokensPerProjectPerHour())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -394,97 +474,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.AccessQuota parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.AccessQuota parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessQuota prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Current state of all quotas for this Analytics property. If any quota for a
    * property is exhausted, all requests to that property will return Resource
@@ -493,33 +580,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuota}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessQuota)
       com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccessQuota.class, com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
+              com.google.analytics.admin.v1alpha.AccessQuota.class,
+              com.google.analytics.admin.v1alpha.AccessQuota.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccessQuota.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -553,9 +639,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AccessReportProto
+          .internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
     }
 
     @java.lang.Override
@@ -574,8 +660,11 @@ public com.google.analytics.admin.v1alpha.AccessQuota build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccessQuota buildPartial() {
-      com.google.analytics.admin.v1alpha.AccessQuota result = new com.google.analytics.admin.v1alpha.AccessQuota(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AccessQuota result =
+          new com.google.analytics.admin.v1alpha.AccessQuota(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -583,29 +672,30 @@ public com.google.analytics.admin.v1alpha.AccessQuota buildPartial() {
     private void buildPartial0(com.google.analytics.admin.v1alpha.AccessQuota result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.tokensPerDay_ = tokensPerDayBuilder_ == null
-            ? tokensPerDay_
-            : tokensPerDayBuilder_.build();
+        result.tokensPerDay_ =
+            tokensPerDayBuilder_ == null ? tokensPerDay_ : tokensPerDayBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.tokensPerHour_ = tokensPerHourBuilder_ == null
-            ? tokensPerHour_
-            : tokensPerHourBuilder_.build();
+        result.tokensPerHour_ =
+            tokensPerHourBuilder_ == null ? tokensPerHour_ : tokensPerHourBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.concurrentRequests_ = concurrentRequestsBuilder_ == null
-            ? concurrentRequests_
-            : concurrentRequestsBuilder_.build();
+        result.concurrentRequests_ =
+            concurrentRequestsBuilder_ == null
+                ? concurrentRequests_
+                : concurrentRequestsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.serverErrorsPerProjectPerHour_ = serverErrorsPerProjectPerHourBuilder_ == null
-            ? serverErrorsPerProjectPerHour_
-            : serverErrorsPerProjectPerHourBuilder_.build();
+        result.serverErrorsPerProjectPerHour_ =
+            serverErrorsPerProjectPerHourBuilder_ == null
+                ? serverErrorsPerProjectPerHour_
+                : serverErrorsPerProjectPerHourBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.tokensPerProjectPerHour_ = tokensPerProjectPerHourBuilder_ == null
-            ? tokensPerProjectPerHour_
-            : tokensPerProjectPerHourBuilder_.build();
+        result.tokensPerProjectPerHour_ =
+            tokensPerProjectPerHourBuilder_ == null
+                ? tokensPerProjectPerHour_
+                : tokensPerProjectPerHourBuilder_.build();
       }
     }
 
@@ -613,38 +703,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessQuota result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessQuota) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuota)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuota) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -694,47 +785,46 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTokensPerDayFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTokensPerHourFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getConcurrentRequestsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getTokensPerProjectPerHourFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTokensPerDayFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTokensPerHourFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getConcurrentRequestsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(
+                    getTokensPerProjectPerHourFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            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) {
@@ -744,40 +834,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerDay_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> tokensPerDayBuilder_;
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+        tokensPerDayBuilder_;
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * * @return Whether the tokensPerDay field is set. */ public boolean hasTokensPerDay() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() { if (tokensPerDayBuilder_ == null) { - return tokensPerDay_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_; + return tokensPerDay_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerDay_; } else { return tokensPerDayBuilder_.getMessage(); } } /** + * + * *
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -799,6 +903,8 @@ public Builder setTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaSta
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -818,6 +924,8 @@ public Builder setTokensPerDay(
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -827,9 +935,10 @@ public Builder setTokensPerDay(
      */
     public Builder mergeTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
       if (tokensPerDayBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          tokensPerDay_ != null &&
-          tokensPerDay_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && tokensPerDay_ != null
+            && tokensPerDay_
+                != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) {
           getTokensPerDayBuilder().mergeFrom(value);
         } else {
           tokensPerDay_ = value;
@@ -842,6 +951,8 @@ public Builder mergeTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaS
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -860,6 +971,8 @@ public Builder clearTokensPerDay() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -873,6 +986,8 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
       return getTokensPerDayFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -880,15 +995,19 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
      *
      * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
      */
-    public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+        getTokensPerDayOrBuilder() {
       if (tokensPerDayBuilder_ != null) {
         return tokensPerDayBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerDay_ == null ?
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_;
+        return tokensPerDay_ == null
+            ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+            : tokensPerDay_;
       }
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -897,14 +1016,17 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe
      * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
         getTokensPerDayFieldBuilder() {
       if (tokensPerDayBuilder_ == null) {
-        tokensPerDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
-                getTokensPerDay(),
-                getParentForChildren(),
-                isClean());
+        tokensPerDayBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+                com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+                com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
+                getTokensPerDay(), getParentForChildren(), isClean());
         tokensPerDay_ = null;
       }
       return tokensPerDayBuilder_;
@@ -912,8 +1034,13 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe
 
     private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerHour_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> tokensPerHourBuilder_;
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+        tokensPerHourBuilder_;
     /**
+     *
+     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -921,12 +1048,15 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; + * * @return Whether the tokensPerHour field is set. */ public boolean hasTokensPerHour() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -934,16 +1064,21 @@ public boolean hasTokensPerHour() {
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour() { if (tokensPerHourBuilder_ == null) { - return tokensPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; + return tokensPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : tokensPerHour_; } else { return tokensPerHourBuilder_.getMessage(); } } /** + * + * *
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -966,6 +1101,8 @@ public Builder setTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuotaSt
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -986,6 +1123,8 @@ public Builder setTokensPerHour(
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -996,9 +1135,10 @@ public Builder setTokensPerHour(
      */
     public Builder mergeTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
       if (tokensPerHourBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          tokensPerHour_ != null &&
-          tokensPerHour_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && tokensPerHour_ != null
+            && tokensPerHour_
+                != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) {
           getTokensPerHourBuilder().mergeFrom(value);
         } else {
           tokensPerHour_ = value;
@@ -1011,6 +1151,8 @@ public Builder mergeTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuota
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -1030,6 +1172,8 @@ public Builder clearTokensPerHour() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -1044,6 +1188,8 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
       return getTokensPerHourFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -1052,15 +1198,19 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
      *
      * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
      */
-    public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+        getTokensPerHourOrBuilder() {
       if (tokensPerHourBuilder_ != null) {
         return tokensPerHourBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerHour_ == null ?
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_;
+        return tokensPerHour_ == null
+            ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+            : tokensPerHour_;
       }
     }
     /**
+     *
+     *
      * 
      * Properties can use 50,000 tokens per hour. An API request consumes a single
      * number of tokens, and that number is deducted from all of the hourly,
@@ -1070,14 +1220,17 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe
      * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
         getTokensPerHourFieldBuilder() {
       if (tokensPerHourBuilder_ == null) {
-        tokensPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
-                getTokensPerHour(),
-                getParentForChildren(),
-                isClean());
+        tokensPerHourBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+                com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+                com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
+                getTokensPerHour(), getParentForChildren(), isClean());
         tokensPerHour_ = null;
       }
       return tokensPerHourBuilder_;
@@ -1085,41 +1238,55 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe
 
     private com.google.analytics.admin.v1alpha.AccessQuotaStatus concurrentRequests_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> concurrentRequestsBuilder_;
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+        concurrentRequestsBuilder_;
     /**
+     *
+     *
      * 
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ public boolean hasConcurrentRequests() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests() { if (concurrentRequestsBuilder_ == null) { - return concurrentRequests_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } else { return concurrentRequestsBuilder_.getMessage(); } } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public Builder setConcurrentRequests(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder setConcurrentRequests( + com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (concurrentRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1133,6 +1300,8 @@ public Builder setConcurrentRequests(com.google.analytics.admin.v1alpha.AccessQu return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1151,17 +1320,21 @@ public Builder setConcurrentRequests( return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public Builder mergeConcurrentRequests(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder mergeConcurrentRequests( + com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (concurrentRequestsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - concurrentRequests_ != null && - concurrentRequests_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && concurrentRequests_ != null + && concurrentRequests_ + != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { getConcurrentRequestsBuilder().mergeFrom(value); } else { concurrentRequests_ = value; @@ -1174,6 +1347,8 @@ public Builder mergeConcurrentRequests(com.google.analytics.admin.v1alpha.Access return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1191,33 +1366,42 @@ public Builder clearConcurrentRequests() { return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getConcurrentRequestsBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder + getConcurrentRequestsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getConcurrentRequestsFieldBuilder().getBuilder(); } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder + getConcurrentRequestsOrBuilder() { if (concurrentRequestsBuilder_ != null) { return concurrentRequestsBuilder_.getMessageOrBuilder(); } else { - return concurrentRequests_ == null ? - com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1225,14 +1409,17 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurre * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> getConcurrentRequestsFieldBuilder() { if (concurrentRequestsBuilder_ == null) { - concurrentRequestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( - getConcurrentRequests(), - getParentForChildren(), - isClean()); + concurrentRequestsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( + getConcurrentRequests(), getParentForChildren(), isClean()); concurrentRequests_ = null; } return concurrentRequestsBuilder_; @@ -1240,44 +1427,64 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurre private com.google.analytics.admin.v1alpha.AccessQuotaStatus serverErrorsPerProjectPerHour_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> serverErrorsPerProjectPerHourBuilder_; + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + serverErrorsPerProjectPerHourBuilder_; /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return Whether the serverErrorsPerProjectPerHour field is set. */ public boolean hasServerErrorsPerProjectPerHour() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return The serverErrorsPerProjectPerHour. */ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } else { return serverErrorsPerProjectPerHourBuilder_.getMessage(); } } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public Builder setServerErrorsPerProjectPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder setServerErrorsPerProjectPerHour( + com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1291,12 +1498,16 @@ public Builder setServerErrorsPerProjectPerHour(com.google.analytics.admin.v1alp return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ public Builder setServerErrorsPerProjectPerHour( com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) { @@ -1310,18 +1521,24 @@ public Builder setServerErrorsPerProjectPerHour( return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder mergeServerErrorsPerProjectPerHour( + com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - serverErrorsPerProjectPerHour_ != null && - serverErrorsPerProjectPerHour_ != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && serverErrorsPerProjectPerHour_ != null + && serverErrorsPerProjectPerHour_ + != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { getServerErrorsPerProjectPerHourBuilder().mergeFrom(value); } else { serverErrorsPerProjectPerHour_ = value; @@ -1334,12 +1551,16 @@ public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.admin.v1a return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ public Builder clearServerErrorsPerProjectPerHour() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1352,51 +1573,69 @@ public Builder clearServerErrorsPerProjectPerHour() { return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getServerErrorsPerProjectPerHourBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder + getServerErrorsPerProjectPerHourBuilder() { bitField0_ |= 0x00000008; onChanged(); return getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(); } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { + public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder + getServerErrorsPerProjectPerHourOrBuilder() { if (serverErrorsPerProjectPerHourBuilder_ != null) { return serverErrorsPerProjectPerHourBuilder_.getMessageOrBuilder(); } else { - return serverErrorsPerProjectPerHour_ == null ? - com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder> getServerErrorsPerProjectPerHourFieldBuilder() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuotaStatus, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( - getServerErrorsPerProjectPerHour(), - getParentForChildren(), - isClean()); + serverErrorsPerProjectPerHourBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuotaStatus, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>( + getServerErrorsPerProjectPerHour(), getParentForChildren(), isClean()); serverErrorsPerProjectPerHour_ = null; } return serverErrorsPerProjectPerHourBuilder_; @@ -1404,8 +1643,13 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerEr 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_; + 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
@@ -1413,13 +1657,17 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerEr
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .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
@@ -1427,17 +1675,23 @@ public boolean hasTokensPerProjectPerHour() {
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .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_; + 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
@@ -1445,9 +1699,11 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerProjectP
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public Builder setTokensPerProjectPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + public Builder setTokensPerProjectPerHour( + com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { if (tokensPerProjectPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1461,6 +1717,8 @@ public Builder setTokensPerProjectPerHour(com.google.analytics.admin.v1alpha.Acc 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
@@ -1468,7 +1726,8 @@ public Builder setTokensPerProjectPerHour(com.google.analytics.admin.v1alpha.Acc
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ public Builder setTokensPerProjectPerHour( com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) { @@ -1482,6 +1741,8 @@ public Builder setTokensPerProjectPerHour( 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
@@ -1489,13 +1750,16 @@ public Builder setTokensPerProjectPerHour(
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public Builder mergeTokensPerProjectPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) { + 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()) { + if (((bitField0_ & 0x00000010) != 0) + && tokensPerProjectPerHour_ != null + && tokensPerProjectPerHour_ + != com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) { getTokensPerProjectPerHourBuilder().mergeFrom(value); } else { tokensPerProjectPerHour_ = value; @@ -1508,6 +1772,8 @@ public Builder mergeTokensPerProjectPerHour(com.google.analytics.admin.v1alpha.A 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
@@ -1515,7 +1781,8 @@ public Builder mergeTokensPerProjectPerHour(com.google.analytics.admin.v1alpha.A
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ public Builder clearTokensPerProjectPerHour() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1528,6 +1795,8 @@ public Builder clearTokensPerProjectPerHour() { 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
@@ -1535,14 +1804,18 @@ public Builder clearTokensPerProjectPerHour() {
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPerProjectPerHourBuilder() { + 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
@@ -1550,17 +1823,22 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPer
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder() { + 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_; + 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
@@ -1568,24 +1846,28 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPe
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .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> + 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()); + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1595,12 +1877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessQuota) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessQuota) private static final com.google.analytics.admin.v1alpha.AccessQuota DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessQuota(); } @@ -1609,27 +1891,27 @@ public static com.google.analytics.admin.v1alpha.AccessQuota getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessQuota 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessQuota 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; @@ -1644,6 +1926,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessQuota getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 82% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaOrBuilder.java index 76682a8534e8..092bbe8d945e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessQuotaOrBuilder extends +public interface AccessQuotaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessQuota) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * * @return Whether the tokensPerDay field is set. */ boolean hasTokensPerDay(); /** + * + * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay(); /** + * + * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
@@ -38,6 +62,8 @@ public interface AccessQuotaOrBuilder extends
   com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder();
 
   /**
+   *
+   *
    * 
    * Properties can use 50,000 tokens per hour. An API request consumes a single
    * number of tokens, and that number is deducted from all of the hourly,
@@ -45,10 +71,13 @@ public interface AccessQuotaOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; + * * @return Whether the tokensPerHour field is set. */ boolean hasTokensPerHour(); /** + * + * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
    * number of tokens, and that number is deducted from all of the hourly,
@@ -56,10 +85,13 @@ public interface AccessQuotaOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour(); /** + * + * *
    * Properties can use 50,000 tokens per hour. An API request consumes a single
    * number of tokens, and that number is deducted from all of the hourly,
@@ -71,24 +103,32 @@ public interface AccessQuotaOrBuilder extends
   com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder();
 
   /**
+   *
+   *
    * 
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ boolean hasConcurrentRequests(); /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests(); /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
@@ -98,36 +138,50 @@ public interface AccessQuotaOrBuilder extends com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder(); /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return Whether the serverErrorsPerProjectPerHour field is set. */ boolean hasServerErrorsPerProjectPerHour(); /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return The serverErrorsPerProjectPerHour. */ com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour(); /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder(); + 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
@@ -136,10 +190,13 @@ public interface AccessQuotaOrBuilder extends
    * 
* * .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
@@ -148,10 +205,13 @@ public interface AccessQuotaOrBuilder extends
    * 
* * .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
@@ -161,5 +221,6 @@ public interface AccessQuotaOrBuilder extends
    *
    * .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;
    */
-  com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder();
+  com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+      getTokensPerProjectPerHourOrBuilder();
 }
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java
similarity index 66%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java
index e16c45ec0d10..53bbef9c102f 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java
@@ -1,60 +1,81 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * Current state for a particular quota group.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuotaStatus} */ -public final class AccessQuotaStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessQuotaStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessQuotaStatus) AccessQuotaStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessQuotaStatus.newBuilder() to construct. private AccessQuotaStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AccessQuotaStatus() { - } + + private AccessQuotaStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessQuotaStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); + com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); } public static final int CONSUMED_FIELD_NUMBER = 1; private int consumed_ = 0; /** + * + * *
    * Quota consumed by this request.
    * 
* * int32 consumed = 1; + * * @return The consumed. */ @java.lang.Override @@ -65,11 +86,14 @@ public int getConsumed() { public static final int REMAINING_FIELD_NUMBER = 2; private int remaining_ = 0; /** + * + * *
    * Quota remaining after this request.
    * 
* * int32 remaining = 2; + * * @return The remaining. */ @java.lang.Override @@ -78,6 +102,7 @@ public int getRemaining() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -89,8 +114,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (consumed_ != 0) { output.writeInt32(1, consumed_); } @@ -107,12 +131,10 @@ public int getSerializedSize() { size = 0; if (consumed_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, consumed_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, consumed_); } if (remaining_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, remaining_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, remaining_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,17 +144,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessQuotaStatus)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessQuotaStatus other = (com.google.analytics.admin.v1alpha.AccessQuotaStatus) obj; + com.google.analytics.admin.v1alpha.AccessQuotaStatus other = + (com.google.analytics.admin.v1alpha.AccessQuotaStatus) obj; - if (getConsumed() - != other.getConsumed()) return false; - if (getRemaining() - != other.getRemaining()) return false; + if (getConsumed() != other.getConsumed()) return false; + if (getRemaining() != other.getRemaining()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,129 +175,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessQuotaStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Current state for a particular quota group.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuotaStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessQuotaStatus) com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); + com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessQuotaStatus.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -287,9 +314,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; } @java.lang.Override @@ -308,8 +335,11 @@ public com.google.analytics.admin.v1alpha.AccessQuotaStatus build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaStatus buildPartial() { - com.google.analytics.admin.v1alpha.AccessQuotaStatus result = new com.google.analytics.admin.v1alpha.AccessQuotaStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessQuotaStatus result = + new com.google.analytics.admin.v1alpha.AccessQuotaStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +358,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessQuotaStatus public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessQuotaStatus) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuotaStatus)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessQuotaStatus) other); } else { super.mergeFrom(other); return this; @@ -367,7 +398,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessQuotaStatus other) { - if (other == com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()) + return this; if (other.getConsumed() != 0) { setConsumed(other.getConsumed()); } @@ -400,22 +432,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - consumed_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - remaining_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + consumed_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + remaining_ = input.readInt32(); + 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) { @@ -425,15 +460,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int consumed_ ; + private int consumed_; /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @return The consumed. */ @java.lang.Override @@ -441,27 +480,33 @@ public int getConsumed() { return consumed_; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @param value The consumed to set. * @return This builder for chaining. */ public Builder setConsumed(int value) { - + consumed_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @return This builder for chaining. */ public Builder clearConsumed() { @@ -471,13 +516,16 @@ public Builder clearConsumed() { return this; } - private int remaining_ ; + private int remaining_; /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @return The remaining. */ @java.lang.Override @@ -485,27 +533,33 @@ public int getRemaining() { return remaining_; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @param value The remaining to set. * @return This builder for chaining. */ public Builder setRemaining(int value) { - + remaining_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @return This builder for chaining. */ public Builder clearRemaining() { @@ -514,9 +568,9 @@ public Builder clearRemaining() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +580,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessQuotaStatus) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessQuotaStatus) private static final com.google.analytics.admin.v1alpha.AccessQuotaStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessQuotaStatus(); } @@ -540,27 +594,27 @@ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessQuotaStatus 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessQuotaStatus 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; @@ -575,6 +629,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessQuotaStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java new file mode 100644 index 000000000000..b8cd28483676 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public interface AccessQuotaStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessQuotaStatus) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Quota consumed by this request.
+   * 
+ * + * int32 consumed = 1; + * + * @return The consumed. + */ + int getConsumed(); + + /** + * + * + *
+   * Quota remaining after this request.
+   * 
+ * + * int32 remaining = 2; + * + * @return The remaining. + */ + int getRemaining(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java new file mode 100644 index 000000000000..cbcf53eb9c12 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java @@ -0,0 +1,396 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/access_report.proto + +package com.google.analytics.admin.v1alpha; + +public final class AccessReportProto { + private AccessReportProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/analytics/admin/v1alpha/access_" + + "report.proto\022\036google.analytics.admin.v1a" + + "lpha\")\n\017AccessDimension\022\026\n\016dimension_nam" + + "e\030\001 \001(\t\"#\n\014AccessMetric\022\023\n\013metric_name\030\001" + + " \001(\t\"7\n\017AccessDateRange\022\022\n\nstart_date\030\001 " + + "\001(\t\022\020\n\010end_date\030\002 \001(\t\"\344\002\n\026AccessFilterEx" + + "pression\022O\n\tand_group\030\001 \001(\0132:.google.ana" + + "lytics.admin.v1alpha.AccessFilterExpress" + + "ionListH\000\022N\n\010or_group\030\002 \001(\0132:.google.ana" + + "lytics.admin.v1alpha.AccessFilterExpress" + + "ionListH\000\022P\n\016not_expression\030\003 \001(\01326.goog" + + "le.analytics.admin.v1alpha.AccessFilterE" + + "xpressionH\000\022E\n\raccess_filter\030\004 \001(\0132,.goo" + + "gle.analytics.admin.v1alpha.AccessFilter" + + "H\000B\020\n\016one_expression\"i\n\032AccessFilterExpr" + + "essionList\022K\n\013expressions\030\001 \003(\01326.google" + + ".analytics.admin.v1alpha.AccessFilterExp" + + "ression\"\351\002\n\014AccessFilter\022K\n\rstring_filte" + + "r\030\002 \001(\01322.google.analytics.admin.v1alpha" + + ".AccessStringFilterH\000\022L\n\016in_list_filter\030" + + "\003 \001(\01322.google.analytics.admin.v1alpha.A" + + "ccessInListFilterH\000\022M\n\016numeric_filter\030\004 " + + "\001(\01323.google.analytics.admin.v1alpha.Acc" + + "essNumericFilterH\000\022M\n\016between_filter\030\005 \001" + + "(\01323.google.analytics.admin.v1alpha.Acce" + + "ssBetweenFilterH\000\022\022\n\nfield_name\030\001 \001(\tB\014\n" + + "\none_filter\"\225\002\n\022AccessStringFilter\022P\n\nma" + + "tch_type\030\001 \001(\0162<.google.analytics.admin." + + "v1alpha.AccessStringFilter.MatchType\022\r\n\005" + + "value\030\002 \001(\t\022\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n\t" + + "MatchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n" + + "\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020\003" + + "\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTI" + + "AL_REGEXP\020\006\"<\n\022AccessInListFilter\022\016\n\006val" + + "ues\030\001 \003(\t\022\026\n\016case_sensitive\030\002 \001(\010\"\254\002\n\023Ac" + + "cessNumericFilter\022P\n\toperation\030\001 \001(\0162=.g" + + "oogle.analytics.admin.v1alpha.AccessNume" + + "ricFilter.Operation\022;\n\005value\030\002 \001(\0132,.goo" + + "gle.analytics.admin.v1alpha.NumericValue" + + "\"\205\001\n\tOperation\022\031\n\025OPERATION_UNSPECIFIED\020" + + "\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n\022LESS_THAN" + + "_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022\031\n\025GREATER" + + "_THAN_OR_EQUAL\020\005\"\227\001\n\023AccessBetweenFilter" + + "\022@\n\nfrom_value\030\001 \001(\0132,.google.analytics." + + "admin.v1alpha.NumericValue\022>\n\010to_value\030\002" + + " \001(\0132,.google.analytics.admin.v1alpha.Nu" + + "mericValue\"J\n\014NumericValue\022\025\n\013int64_valu" + + "e\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone" + + "_value\"\355\003\n\rAccessOrderBy\022M\n\006metric\030\001 \001(\013" + + "2;.google.analytics.admin.v1alpha.Access" + + "OrderBy.MetricOrderByH\000\022S\n\tdimension\030\002 \001" + + "(\0132>.google.analytics.admin.v1alpha.Acce" + + "ssOrderBy.DimensionOrderByH\000\022\014\n\004desc\030\003 \001" + + "(\010\032$\n\rMetricOrderBy\022\023\n\013metric_name\030\001 \001(\t" + + "\032\363\001\n\020DimensionOrderBy\022\026\n\016dimension_name\030" + + "\001 \001(\t\022\\\n\norder_type\030\002 \001(\0162H.google.analy" + + "tics.admin.v1alpha.AccessOrderBy.Dimensi" + + "onOrderBy.OrderType\"i\n\tOrderType\022\032\n\026ORDE" + + "R_TYPE_UNSPECIFIED\020\000\022\020\n\014ALPHANUMERIC\020\001\022!" + + "\n\035CASE_INSENSITIVE_ALPHANUMERIC\020\002\022\013\n\007NUM" + + "ERIC\020\003B\016\n\014one_order_by\"/\n\025AccessDimensio" + + "nHeader\022\026\n\016dimension_name\030\001 \001(\t\")\n\022Acces" + + "sMetricHeader\022\023\n\013metric_name\030\001 \001(\t\"\245\001\n\tA" + + "ccessRow\022N\n\020dimension_values\030\001 \003(\01324.goo" + + "gle.analytics.admin.v1alpha.AccessDimens" + + "ionValue\022H\n\rmetric_values\030\002 \003(\01321.google" + + ".analytics.admin.v1alpha.AccessMetricVal" + + "ue\"%\n\024AccessDimensionValue\022\r\n\005value\030\001 \001(" + + "\t\"\"\n\021AccessMetricValue\022\r\n\005value\030\001 \001(\t\"\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" + + "le.analytics.admin.v1alpha.AccessQuotaSt" + + "atus\022N\n\023concurrent_requests\030\003 \001(\01321.goog" + + "le.analytics.admin.v1alpha.AccessQuotaSt" + + "atus\022]\n\"server_errors_per_project_per_ho" + + "ur\030\004 \001(\01321.google.analytics.admin.v1alph" + + "a.AccessQuotaStatus\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( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor, + new java.lang.String[] { + "DimensionName", + }); + internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor, + new java.lang.String[] { + "MetricName", + }); + internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor, + new java.lang.String[] { + "StartDate", "EndDate", + }); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor, + new java.lang.String[] { + "AndGroup", "OrGroup", "NotExpression", "AccessFilter", "OneExpression", + }); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor, + new java.lang.String[] { + "Expressions", + }); + internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor, + new java.lang.String[] { + "StringFilter", + "InListFilter", + "NumericFilter", + "BetweenFilter", + "FieldName", + "OneFilter", + }); + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor, + new java.lang.String[] { + "MatchType", "Value", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor, + new java.lang.String[] { + "Values", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor, + new java.lang.String[] { + "Operation", "Value", + }); + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor, + new java.lang.String[] { + "FromValue", "ToValue", + }); + internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor, + new java.lang.String[] { + "Int64Value", "DoubleValue", "OneValue", + }); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor, + new java.lang.String[] { + "Metric", "Dimension", "Desc", "OneOrderBy", + }); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor = + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor, + new java.lang.String[] { + "MetricName", + }); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor = + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor, + new java.lang.String[] { + "DimensionName", "OrderType", + }); + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor, + new java.lang.String[] { + "DimensionName", + }); + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor, + new java.lang.String[] { + "MetricName", + }); + internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor, + new java.lang.String[] { + "DimensionValues", "MetricValues", + }); + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor, + new java.lang.String[] { + "Value", + }); + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor, + new java.lang.String[] { + "Value", + }); + internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor, + new java.lang.String[] { + "TokensPerDay", + "TokensPerHour", + "ConcurrentRequests", + "ServerErrorsPerProjectPerHour", + "TokensPerProjectPerHour", + }); + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor, + new java.lang.String[] { + "Consumed", "Remaining", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java index 60d169fc2056..c63a9a37007e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Access report data for each row.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessRow} */ -public final class AccessRow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessRow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessRow) AccessRowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessRow.newBuilder() to construct. private AccessRow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessRow() { dimensionValues_ = java.util.Collections.emptyList(); metricValues_ = java.util.Collections.emptyList(); @@ -26,99 +44,120 @@ private AccessRow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessRow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessRow.class, com.google.analytics.admin.v1alpha.AccessRow.Builder.class); + com.google.analytics.admin.v1alpha.AccessRow.class, + com.google.analytics.admin.v1alpha.AccessRow.Builder.class); } public static final int DIMENSION_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dimensionValues_; /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ @java.lang.Override - public java.util.List getDimensionValuesList() { + public java.util.List + getDimensionValuesList() { return dimensionValues_; } /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getDimensionValuesOrBuilderList() { return dimensionValues_; } /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ @java.lang.Override public int getDimensionValuesCount() { return dimensionValues_.size(); } /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index) { return dimensionValues_.get(index); } /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder + getDimensionValuesOrBuilder(int index) { return dimensionValues_.get(index); } public static final int METRIC_VALUES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List metricValues_; /** + * + * *
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -127,10 +166,13 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimen
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
   @java.lang.Override
-  public java.util.List getMetricValuesList() {
+  public java.util.List
+      getMetricValuesList() {
     return metricValues_;
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -139,11 +181,13 @@ public java.util.List getM
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricValuesOrBuilderList() {
     return metricValues_;
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -156,6 +200,8 @@ public int getMetricValuesCount() {
     return metricValues_.size();
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -168,6 +214,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int
     return metricValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -182,6 +230,7 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -193,8 +242,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < dimensionValues_.size(); i++) {
       output.writeMessage(1, dimensionValues_.get(i));
     }
@@ -211,12 +259,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < dimensionValues_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, dimensionValues_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i));
     }
     for (int i = 0; i < metricValues_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, metricValues_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricValues_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -226,17 +272,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessRow)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.AccessRow other = (com.google.analytics.admin.v1alpha.AccessRow) obj;
+    com.google.analytics.admin.v1alpha.AccessRow other =
+        (com.google.analytics.admin.v1alpha.AccessRow) obj;
 
-    if (!getDimensionValuesList()
-        .equals(other.getDimensionValuesList())) return false;
-    if (!getMetricValuesList()
-        .equals(other.getMetricValuesList())) return false;
+    if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false;
+    if (!getMetricValuesList().equals(other.getMetricValuesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -261,130 +306,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.AccessRow parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.AccessRow parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessRow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Access report data for each row.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessRow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessRow) com.google.analytics.admin.v1alpha.AccessRowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessRow.class, com.google.analytics.admin.v1alpha.AccessRow.Builder.class); + com.google.analytics.admin.v1alpha.AccessRow.class, + com.google.analytics.admin.v1alpha.AccessRow.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessRow.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +458,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; } @java.lang.Override @@ -428,9 +479,12 @@ public com.google.analytics.admin.v1alpha.AccessRow build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessRow buildPartial() { - com.google.analytics.admin.v1alpha.AccessRow result = new com.google.analytics.admin.v1alpha.AccessRow(this); + com.google.analytics.admin.v1alpha.AccessRow result = + new com.google.analytics.admin.v1alpha.AccessRow(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -464,38 +518,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessRow result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessRow) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessRow)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessRow) other); } else { super.mergeFrom(other); return this; @@ -522,9 +577,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessRow other) { dimensionValuesBuilder_ = null; dimensionValues_ = other.dimensionValues_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionValuesFieldBuilder() : null; + dimensionValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionValuesFieldBuilder() + : null; } else { dimensionValuesBuilder_.addAllMessages(other.dimensionValues_); } @@ -548,9 +604,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessRow other) { metricValuesBuilder_ = null; metricValues_ = other.metricValues_; bitField0_ = (bitField0_ & ~0x00000002); - metricValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricValuesFieldBuilder() : null; + metricValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricValuesFieldBuilder() + : null; } else { metricValuesBuilder_.addAllMessages(other.metricValues_); } @@ -582,38 +639,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccessDimensionValue m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDimensionValue.parser(), - extensionRegistry); - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.add(m); - } else { - dimensionValuesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1alpha.AccessMetricValue m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessMetricValue.parser(), - extensionRegistry); - if (metricValuesBuilder_ == null) { - ensureMetricValuesIsMutable(); - metricValues_.add(m); - } else { - metricValuesBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.analytics.admin.v1alpha.AccessDimensionValue m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDimensionValue.parser(), + extensionRegistry); + if (dimensionValuesBuilder_ == null) { + ensureDimensionValuesIsMutable(); + dimensionValues_.add(m); + } else { + dimensionValuesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1alpha.AccessMetricValue m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessMetricValue.parser(), + extensionRegistry); + if (metricValuesBuilder_ == null) { + ensureMetricValuesIsMutable(); + metricValues_.add(m); + } else { + metricValuesBuilder_.addMessage(m); + } + 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) { @@ -623,29 +683,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List dimensionValues_ = - java.util.Collections.emptyList(); + private java.util.List + dimensionValues_ = java.util.Collections.emptyList(); + private void ensureDimensionValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = new java.util.ArrayList(dimensionValues_); + dimensionValues_ = + new java.util.ArrayList( + dimensionValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionValue, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> dimensionValuesBuilder_; + com.google.analytics.admin.v1alpha.AccessDimensionValue, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, + com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> + dimensionValuesBuilder_; /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public java.util.List getDimensionValuesList() { + public java.util.List + getDimensionValuesList() { if (dimensionValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionValues_); } else { @@ -653,12 +724,15 @@ public java.util.List g } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public int getDimensionValuesCount() { if (dimensionValuesBuilder_ == null) { @@ -668,12 +742,15 @@ public int getDimensionValuesCount() { } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index) { if (dimensionValuesBuilder_ == null) { @@ -683,12 +760,15 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValue } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder setDimensionValues( int index, com.google.analytics.admin.v1alpha.AccessDimensionValue value) { @@ -705,15 +785,19 @@ public Builder setDimensionValues( return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder setDimensionValues( - int index, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); dimensionValues_.set(index, builderForValue.build()); @@ -724,14 +808,18 @@ public Builder setDimensionValues( return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public Builder addDimensionValues(com.google.analytics.admin.v1alpha.AccessDimensionValue value) { + public Builder addDimensionValues( + com.google.analytics.admin.v1alpha.AccessDimensionValue value) { if (dimensionValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -745,12 +833,15 @@ public Builder addDimensionValues(com.google.analytics.admin.v1alpha.AccessDimen return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder addDimensionValues( int index, com.google.analytics.admin.v1alpha.AccessDimensionValue value) { @@ -767,12 +858,15 @@ public Builder addDimensionValues( return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder addDimensionValues( com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { @@ -786,15 +880,19 @@ public Builder addDimensionValues( return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder addDimensionValues( - int index, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); dimensionValues_.add(index, builderForValue.build()); @@ -805,19 +903,22 @@ public Builder addDimensionValues( return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder addAllDimensionValues( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensionValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_); onChanged(); } else { dimensionValuesBuilder_.addAllMessages(values); @@ -825,12 +926,15 @@ public Builder addAllDimensionValues( return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder clearDimensionValues() { if (dimensionValuesBuilder_ == null) { @@ -843,12 +947,15 @@ public Builder clearDimensionValues() { return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ public Builder removeDimensionValues(int index) { if (dimensionValuesBuilder_ == null) { @@ -861,42 +968,53 @@ public Builder removeDimensionValues(int index) { return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder getDimensionValuesBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder + getDimensionValuesBuilder(int index) { return getDimensionValuesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder + getDimensionValuesOrBuilder(int index) { if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); } else { + return dimensionValues_.get(index); + } else { return dimensionValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public java.util.List - getDimensionValuesOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> + getDimensionValuesOrBuilderList() { if (dimensionValuesBuilder_ != null) { return dimensionValuesBuilder_.getMessageOrBuilderList(); } else { @@ -904,48 +1022,65 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimen } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder addDimensionValuesBuilder() { - return getDimensionValuesFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder + addDimensionValuesBuilder() { + return getDimensionValuesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder addDimensionValuesBuilder( - int index) { - return getDimensionValuesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder + addDimensionValuesBuilder(int index) { + return getDimensionValuesFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance()); } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - public java.util.List - getDimensionValuesBuilderList() { + public java.util.List + getDimensionValuesBuilderList() { return getDimensionValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionValue, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> + com.google.analytics.admin.v1alpha.AccessDimensionValue, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, + com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder> getDimensionValuesFieldBuilder() { if (dimensionValuesBuilder_ == null) { - dimensionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionValue, com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder>( + dimensionValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessDimensionValue, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder, + com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder>( dimensionValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -956,18 +1091,26 @@ public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder addDimens } private java.util.List metricValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metricValues_ = new java.util.ArrayList(metricValues_); + metricValues_ = + new java.util.ArrayList( + metricValues_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessMetricValue, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder> metricValuesBuilder_; + com.google.analytics.admin.v1alpha.AccessMetricValue, + com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, + com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder> + metricValuesBuilder_; /** + * + * *
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -975,7 +1118,8 @@ private void ensureMetricValuesIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
-    public java.util.List getMetricValuesList() {
+    public java.util.List
+        getMetricValuesList() {
       if (metricValuesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(metricValues_);
       } else {
@@ -983,6 +1127,8 @@ public java.util.List getM
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -998,6 +1144,8 @@ public int getMetricValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1013,6 +1161,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1035,6 +1185,8 @@ public Builder setMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1054,6 +1206,8 @@ public Builder setMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1075,6 +1229,8 @@ public Builder addMetricValues(com.google.analytics.admin.v1alpha.AccessMetricVa
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1097,6 +1253,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1116,6 +1274,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1135,6 +1295,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1146,8 +1308,7 @@ public Builder addAllMetricValues(
         java.lang.Iterable values) {
       if (metricValuesBuilder_ == null) {
         ensureMetricValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricValues_);
         onChanged();
       } else {
         metricValuesBuilder_.addAllMessages(values);
@@ -1155,6 +1316,8 @@ public Builder addAllMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1173,6 +1336,8 @@ public Builder clearMetricValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1191,6 +1356,8 @@ public Builder removeMetricValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1203,6 +1370,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder getMetricVal
       return getMetricValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1213,11 +1382,14 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder getMetricVal
     public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(
         int index) {
       if (metricValuesBuilder_ == null) {
-        return metricValues_.get(index);  } else {
+        return metricValues_.get(index);
+      } else {
         return metricValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1225,8 +1397,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
-    public java.util.List 
-         getMetricValuesOrBuilderList() {
+    public java.util.List
+        getMetricValuesOrBuilderList() {
       if (metricValuesBuilder_ != null) {
         return metricValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1234,6 +1406,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1242,10 +1416,12 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
     public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricValuesBuilder() {
-      return getMetricValuesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
+      return getMetricValuesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1255,10 +1431,13 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricVal
      */
     public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricValuesBuilder(
         int index) {
-      return getMetricValuesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
+      return getMetricValuesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1266,27 +1445,30 @@ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricVal
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
      */
-    public java.util.List 
-         getMetricValuesBuilderList() {
+    public java.util.List
+        getMetricValuesBuilderList() {
       return getMetricValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessMetricValue, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessMetricValue,
+            com.google.analytics.admin.v1alpha.AccessMetricValue.Builder,
+            com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>
         getMetricValuesFieldBuilder() {
       if (metricValuesBuilder_ == null) {
-        metricValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessMetricValue, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder, com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>(
-                metricValues_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        metricValuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessMetricValue,
+                com.google.analytics.admin.v1alpha.AccessMetricValue.Builder,
+                com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>(
+                metricValues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         metricValues_ = null;
       }
       return metricValuesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1296,12 +1478,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessRow)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessRow)
   private static final com.google.analytics.admin.v1alpha.AccessRow DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessRow();
   }
@@ -1310,27 +1492,27 @@ public static com.google.analytics.admin.v1alpha.AccessRow getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AccessRow 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();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AccessRow 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;
@@ -1345,6 +1527,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.AccessRow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
index b67313fba599..7c4bb2520499 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRowOrBuilder.java
@@ -1,62 +1,94 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface AccessRowOrBuilder extends
+public interface AccessRowOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessRow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - java.util.List - getDimensionValuesList(); + java.util.List getDimensionValuesList(); /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index); /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ int getDimensionValuesCount(); /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ - java.util.List + java.util.List getDimensionValuesOrBuilderList(); /** + * + * *
    * List of dimension values. These values are in the same order as specified
    * in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * */ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder( int index); /** + * + * *
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -64,9 +96,10 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
-  java.util.List 
-      getMetricValuesList();
+  java.util.List getMetricValuesList();
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -76,6 +109,8 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    */
   com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int index);
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -85,6 +120,8 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    */
   int getMetricValuesCount();
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -92,9 +129,11 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
-  java.util.List 
+  java.util.List
       getMetricValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -102,6 +141,5 @@ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionVal
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
    */
-  com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
similarity index 68%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
index 6e5b00ff69e0..2c531d2db4e1 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/access_report.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * The filter for strings.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessStringFilter} */ -public final class AccessStringFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessStringFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessStringFilter) AccessStringFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessStringFilter.newBuilder() to construct. private AccessStringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessStringFilter() { matchType_ = 0; value_ = ""; @@ -26,39 +44,43 @@ private AccessStringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessStringFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessStringFilter.class, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessStringFilter.class, + com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); } /** + * + * *
    * The match type of a string filter.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AccessStringFilter.MatchType} */ - public enum MatchType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified
      * 
@@ -67,6 +89,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
      * Exact match of the string value.
      * 
@@ -75,6 +99,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
      * Begins with the string value.
      * 
@@ -83,6 +109,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
      * Ends with the string value.
      * 
@@ -91,6 +119,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
      * Contains the string value.
      * 
@@ -99,6 +129,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
      * Full match for the regular expression with the string value.
      * 
@@ -107,6 +139,8 @@ public enum MatchType */ FULL_REGEXP(5), /** + * + * *
      * Partial match for the regular expression with the string value.
      * 
@@ -118,6 +152,8 @@ public enum MatchType ; /** + * + * *
      * Unspecified
      * 
@@ -126,6 +162,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Exact match of the string value.
      * 
@@ -134,6 +172,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
      * Begins with the string value.
      * 
@@ -142,6 +182,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
      * Ends with the string value.
      * 
@@ -150,6 +192,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
      * Contains the string value.
      * 
@@ -158,6 +202,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
      * Full match for the regular expression with the string value.
      * 
@@ -166,6 +212,8 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; /** + * + * *
      * Partial match for the regular expression with the string value.
      * 
@@ -174,7 +222,6 @@ public enum MatchType */ public static final int PARTIAL_REGEXP_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -199,53 +246,59 @@ public static MatchType valueOf(int value) { */ public static MatchType forNumber(int value) { switch (value) { - case 0: return MATCH_TYPE_UNSPECIFIED; - case 1: return EXACT; - case 2: return BEGINS_WITH; - case 3: return ENDS_WITH; - case 4: return CONTAINS; - case 5: return FULL_REGEXP; - case 6: return PARTIAL_REGEXP; - default: return null; + case 0: + return MATCH_TYPE_UNSPECIFIED; + case 1: + return EXACT; + case 2: + return BEGINS_WITH; + case 3: + return ENDS_WITH; + case 4: + return CONTAINS; + case 5: + return FULL_REGEXP; + case 6: + return PARTIAL_REGEXP; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MatchType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchType findValueByNumber(int number) { - return MatchType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessStringFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessStringFilter.getDescriptor() + .getEnumTypes() + .get(0); } private static final MatchType[] VALUES = values(); - public static MatchType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -265,38 +318,53 @@ private MatchType(int value) { public static final int MATCH_TYPE_FIELD_NUMBER = 1; private int matchType_ = 0; /** + * + * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override public int getMatchTypeValue() { + @java.lang.Override + public int getMatchTypeValue() { return matchType_; } /** + * + * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @return The matchType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() { + com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = + com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
    * The string value used for the matching.
    * 
* * string value = 2; + * * @return The value. */ @java.lang.Override @@ -305,29 +373,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * The string value used for the matching.
    * 
* * string value = 2; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -338,11 +406,14 @@ public java.lang.String getValue() { public static final int CASE_SENSITIVE_FIELD_NUMBER = 3; private boolean caseSensitive_ = false; /** + * + * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 3; + * * @return The caseSensitive. */ @java.lang.Override @@ -351,6 +422,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -362,9 +434,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (matchType_ != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (matchType_ + != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -382,16 +455,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, matchType_); + if (matchType_ + != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, caseSensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -401,18 +474,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessStringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessStringFilter other = (com.google.analytics.admin.v1alpha.AccessStringFilter) obj; + com.google.analytics.admin.v1alpha.AccessStringFilter other = + (com.google.analytics.admin.v1alpha.AccessStringFilter) obj; if (matchType_ != other.matchType_) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (getCaseSensitive() - != other.getCaseSensitive()) return false; + if (!getValue().equals(other.getValue())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -429,137 +501,143 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessStringFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessStringFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AccessStringFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The filter for strings.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessStringFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessStringFilter) com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessStringFilter.class, com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); + com.google.analytics.admin.v1alpha.AccessStringFilter.class, + com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessStringFilter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +649,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; } @java.lang.Override @@ -592,8 +670,11 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter buildPartial() { - com.google.analytics.admin.v1alpha.AccessStringFilter result = new com.google.analytics.admin.v1alpha.AccessStringFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessStringFilter result = + new com.google.analytics.admin.v1alpha.AccessStringFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -615,38 +696,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccessStringFilter public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccessStringFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessStringFilter)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessStringFilter) other); } else { super.mergeFrom(other); return this; @@ -654,7 +736,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessStringFilter other) { - if (other == com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) + return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -692,27 +775,31 @@ public Builder mergeFrom( 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: + 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) { @@ -722,26 +809,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int matchType_ = 0; /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override public int getMatchTypeValue() { + @java.lang.Override + public int getMatchTypeValue() { return matchType_; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @param value The enum numeric value on the wire for matchType to set. * @return This builder for chaining. */ @@ -752,28 +847,38 @@ public Builder setMatchTypeValue(int value) { return this; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @return The matchType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result = + com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED + : result; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @param value The matchType to set. * @return This builder for chaining. */ - public Builder setMatchType(com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType value) { + public Builder setMatchType( + com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } @@ -783,11 +888,14 @@ public Builder setMatchType(com.google.analytics.admin.v1alpha.AccessStringFilte return this; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @return This builder for chaining. */ public Builder clearMatchType() { @@ -799,18 +907,20 @@ public Builder clearMatchType() { private java.lang.Object value_ = ""; /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -819,20 +929,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -840,28 +951,35 @@ public java.lang.String getValue() { } } /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -871,17 +989,21 @@ public Builder clearValue() { return this; } /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -889,13 +1011,16 @@ public Builder setValueBytes( return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; + * * @return The caseSensitive. */ @java.lang.Override @@ -903,27 +1028,33 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; + * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -932,9 +1063,9 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -944,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessStringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessStringFilter) private static final com.google.analytics.admin.v1alpha.AccessStringFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessStringFilter(); } @@ -958,27 +1089,27 @@ public static com.google.analytics.admin.v1alpha.AccessStringFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessStringFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessStringFilter 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; @@ -993,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessStringFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java index 22033296b3a4..668d1e561cdb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilterOrBuilder.java @@ -1,57 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface AccessStringFilterOrBuilder extends +public interface AccessStringFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessStringFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @return The enum numeric value on the wire for matchType. */ int getMatchTypeValue(); /** + * + * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * * @return The matchType. */ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType(); /** + * + * *
    * The string value used for the matching.
    * 
* * string value = 2; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * The string value used for the matching.
    * 
* * string value = 2; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
    * If true, the string value is case sensitive.
    * 
* * bool case_sensitive = 3; + * * @return The caseSensitive. */ boolean getCaseSensitive(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java index 9df649d8553b..56f93d453c8b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Account.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Google Analytics account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Account} */ -public final class Account extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Account extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Account) AccountOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Account.newBuilder() to construct. private Account(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Account() { name_ = ""; displayName_ = ""; @@ -27,33 +45,37 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Account(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_Account_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Account.class, com.google.analytics.admin.v1alpha.Account.Builder.class); + com.google.analytics.admin.v1alpha.Account.class, + com.google.analytics.admin.v1alpha.Account.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,11 +127,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -116,11 +143,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -128,11 +159,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -142,11 +176,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -154,11 +192,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -166,11 +208,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -178,14 +223,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -194,29 +243,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -225,14 +274,18 @@ public java.lang.String getDisplayName() { } public static final int REGION_CODE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object regionCode_ = ""; /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The regionCode. */ @java.lang.Override @@ -241,29 +294,29 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -274,12 +327,15 @@ public java.lang.String getRegionCode() { public static final int DELETED_FIELD_NUMBER = 6; private boolean deleted_ = false; /** + * + * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -288,6 +344,7 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -332,12 +388,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); @@ -346,8 +400,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, regionCode_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, deleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, deleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -357,31 +410,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.Account)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.Account other = (com.google.analytics.admin.v1alpha.Account) obj; + com.google.analytics.admin.v1alpha.Account other = + (com.google.analytics.admin.v1alpha.Account) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getRegionCode() - .equals(other.getRegionCode())) return false; - if (getDeleted() - != other.getDeleted()) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; + if (getDeleted() != other.getDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -408,137 +456,142 @@ public int hashCode() { hash = (37 * hash) + REGION_CODE_FIELD_NUMBER; hash = (53 * hash) + getRegionCode().hashCode(); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.Account parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.Account parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Account parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Account parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Account parseFrom( 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.Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Account parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Account parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Account parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Account parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.Account parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Account parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Account parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Account parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.Account prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a Google Analytics account.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Account} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.Account) com.google.analytics.admin.v1alpha.AccountOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Account.class, com.google.analytics.admin.v1alpha.Account.Builder.class); + com.google.analytics.admin.v1alpha.Account.class, + com.google.analytics.admin.v1alpha.Account.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.Account.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Account_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Account_descriptor; } @java.lang.Override @@ -582,8 +635,11 @@ public com.google.analytics.admin.v1alpha.Account build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Account buildPartial() { - com.google.analytics.admin.v1alpha.Account result = new com.google.analytics.admin.v1alpha.Account(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.Account result = + new com.google.analytics.admin.v1alpha.Account(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -594,14 +650,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Account result) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.displayName_ = displayName_; @@ -618,38 +670,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Account result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.Account) { - return mergeFrom((com.google.analytics.admin.v1alpha.Account)other); + return mergeFrom((com.google.analytics.admin.v1alpha.Account) other); } else { super.mergeFrom(other); return this; @@ -708,46 +761,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - regionCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - deleted_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + regionCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + deleted_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -757,10 +813,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -768,13 +827,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -783,6 +842,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -790,15 +851,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -806,6 +866,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -813,18 +875,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 account.
      * Format: accounts/{account}
@@ -832,6 +898,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -841,6 +908,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -848,12 +917,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -863,39 +934,58 @@ public Builder setNameBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -911,14 +1001,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -929,17 +1022,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -952,11 +1049,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -969,11 +1070,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -981,36 +1086,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1018,39 +1135,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1066,14 +1202,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1084,17 +1223,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1107,11 +1250,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1124,11 +1271,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1136,36 +1287,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1173,18 +1336,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1193,20 +1358,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1214,28 +1380,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1245,17 +1418,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -1265,18 +1442,20 @@ public Builder setDisplayNameBytes( private java.lang.Object regionCode_ = ""; /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1285,20 +1464,21 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1306,28 +1486,35 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } regionCode_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @return This builder for chaining. */ public Builder clearRegionCode() { @@ -1337,17 +1524,21 @@ public Builder clearRegionCode() { return this; } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); regionCode_ = value; bitField0_ |= 0x00000010; @@ -1355,14 +1546,17 @@ public Builder setRegionCodeBytes( return this; } - private boolean deleted_ ; + private boolean deleted_; /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -1370,29 +1564,35 @@ public boolean getDeleted() { return deleted_; } /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -1401,9 +1601,9 @@ public Builder clearDeleted() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1413,12 +1613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.Account) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.Account) private static final com.google.analytics.admin.v1alpha.Account DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.Account(); } @@ -1427,27 +1627,27 @@ public static com.google.analytics.admin.v1alpha.Account getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Account 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Account 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; @@ -1462,6 +1662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java index 9f1c370c1261..9aae2948cfe0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountOrBuilder extends +public interface AccountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Account) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -15,10 +33,13 @@ public interface AccountOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -26,112 +47,147 @@ public interface AccountOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ boolean getDeleted(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java index 4ef4a43f1cdc..bfd6cbcd9a68 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummary.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A virtual resource representing an overview of an account and
  * all its child GA4 properties.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AccountSummary}
  */
-public final class AccountSummary extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccountSummary extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccountSummary)
     AccountSummaryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccountSummary.newBuilder() to construct.
   private AccountSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AccountSummary() {
     name_ = "";
     account_ = "";
@@ -29,33 +47,37 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_AccountSummary_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AccountSummary.class, com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
+            com.google.analytics.admin.v1alpha.AccountSummary.class,
+            com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -63,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -71,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -86,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,9 +127,12 @@ public java.lang.String getName() { } public static final int ACCOUNT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -114,6 +140,7 @@ public java.lang.String getName() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ @java.lang.Override @@ -122,14 +149,15 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -137,16 +165,15 @@ public java.lang.String getAccount() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -155,14 +182,18 @@ public java.lang.String getAccount() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -171,29 +202,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -202,9 +233,12 @@ public java.lang.String getDisplayName() { } public static final int PROPERTY_SUMMARIES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List propertySummaries_; /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -212,10 +246,13 @@ public java.lang.String getDisplayName() { * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List getPropertySummariesList() { + public java.util.List + getPropertySummariesList() { return propertySummaries_; } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -223,11 +260,13 @@ public java.util.List getPro * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List + public java.util.List getPropertySummariesOrBuilderList() { return propertySummaries_; } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -239,6 +278,8 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -250,6 +291,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i return propertySummaries_.get(index); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -263,6 +306,7 @@ public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -307,8 +350,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } for (int i = 0; i < propertySummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, propertySummaries_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, propertySummaries_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,21 +361,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AccountSummary)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccountSummary other = (com.google.analytics.admin.v1alpha.AccountSummary) obj; + com.google.analytics.admin.v1alpha.AccountSummary other = + (com.google.analytics.admin.v1alpha.AccountSummary) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAccount() - .equals(other.getAccount())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getPropertySummariesList() - .equals(other.getPropertySummariesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getPropertySummariesList().equals(other.getPropertySummariesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -360,96 +400,103 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( 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.AccountSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccountSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccountSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A virtual resource representing an overview of an account and
    * all its child GA4 properties.
@@ -457,33 +504,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AccountSummary}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccountSummary)
       com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AccountSummary.class, com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
+              com.google.analytics.admin.v1alpha.AccountSummary.class,
+              com.google.analytics.admin.v1alpha.AccountSummary.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AccountSummary.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -502,9 +548,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor;
     }
 
     @java.lang.Override
@@ -523,14 +569,18 @@ public com.google.analytics.admin.v1alpha.AccountSummary build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AccountSummary buildPartial() {
-      com.google.analytics.admin.v1alpha.AccountSummary result = new com.google.analytics.admin.v1alpha.AccountSummary(this);
+      com.google.analytics.admin.v1alpha.AccountSummary result =
+          new com.google.analytics.admin.v1alpha.AccountSummary(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AccountSummary result) {
+    private void buildPartialRepeatedFields(
+        com.google.analytics.admin.v1alpha.AccountSummary result) {
       if (propertySummariesBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           propertySummaries_ = java.util.Collections.unmodifiableList(propertySummaries_);
@@ -559,38 +609,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AccountSummary res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AccountSummary) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AccountSummary)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AccountSummary) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -598,7 +649,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccountSummary other) {
-      if (other == com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -632,9 +684,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccountSummary other
             propertySummariesBuilder_ = null;
             propertySummaries_ = other.propertySummaries_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            propertySummariesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPropertySummariesFieldBuilder() : null;
+            propertySummariesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPropertySummariesFieldBuilder()
+                    : null;
           } else {
             propertySummariesBuilder_.addAllMessages(other.propertySummaries_);
           }
@@ -666,40 +719,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              account_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              com.google.analytics.admin.v1alpha.PropertySummary m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.PropertySummary.parser(),
-                      extensionRegistry);
-              if (propertySummariesBuilder_ == null) {
-                ensurePropertySummariesIsMutable();
-                propertySummaries_.add(m);
-              } else {
-                propertySummariesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                account_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.analytics.admin.v1alpha.PropertySummary m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.PropertySummary.parser(),
+                        extensionRegistry);
+                if (propertySummariesBuilder_ == null) {
+                  ensurePropertySummariesIsMutable();
+                  propertySummaries_.add(m);
+                } else {
+                  propertySummariesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            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) {
@@ -709,10 +767,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -720,13 +781,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -735,6 +796,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -742,15 +805,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -758,6 +820,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -765,18 +829,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -784,6 +852,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -793,6 +862,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -800,12 +871,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -815,6 +888,8 @@ public Builder setNameBytes( private java.lang.Object account_ = ""; /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -822,13 +897,13 @@ public Builder setNameBytes(
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -837,6 +912,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -844,15 +921,14 @@ public java.lang.String getAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for account. */ - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -860,6 +936,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -867,18 +945,22 @@ public java.lang.String getAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } account_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -886,6 +968,7 @@ public Builder setAccount(
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -895,6 +978,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -902,12 +987,14 @@ public Builder clearAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000002; @@ -917,18 +1004,20 @@ public Builder setAccountBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -937,20 +1026,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -958,28 +1048,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -989,17 +1086,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1008,25 +1109,34 @@ public Builder setDisplayNameBytes( } private java.util.List propertySummaries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePropertySummariesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - propertySummaries_ = new java.util.ArrayList(propertySummaries_); + propertySummaries_ = + new java.util.ArrayList( + propertySummaries_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> propertySummariesBuilder_; + com.google.analytics.admin.v1alpha.PropertySummary, + com.google.analytics.admin.v1alpha.PropertySummary.Builder, + com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> + propertySummariesBuilder_; /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List getPropertySummariesList() { + public java.util.List + getPropertySummariesList() { if (propertySummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(propertySummaries_); } else { @@ -1034,6 +1144,8 @@ public java.util.List getPro } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1048,6 +1160,8 @@ public int getPropertySummariesCount() { } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1062,6 +1176,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1083,6 +1199,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1101,6 +1219,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1121,6 +1241,8 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1alpha.PropertyS return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1142,6 +1264,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1160,6 +1284,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1178,6 +1304,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1188,8 +1316,7 @@ public Builder addAllPropertySummaries( java.lang.Iterable values) { if (propertySummariesBuilder_ == null) { ensurePropertySummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, propertySummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, propertySummaries_); onChanged(); } else { propertySummariesBuilder_.addAllMessages(values); @@ -1197,6 +1324,8 @@ public Builder addAllPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1214,6 +1343,8 @@ public Builder clearPropertySummaries() { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1231,6 +1362,8 @@ public Builder removePropertySummaries(int index) { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1242,28 +1375,33 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder getPropertySum return getPropertySummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySummariesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder + getPropertySummariesOrBuilder(int index) { if (propertySummariesBuilder_ == null) { - return propertySummaries_.get(index); } else { + return propertySummaries_.get(index); + } else { return propertySummariesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesOrBuilderList() { + public java.util.List + getPropertySummariesOrBuilderList() { if (propertySummariesBuilder_ != null) { return propertySummariesBuilder_.getMessageOrBuilderList(); } else { @@ -1271,17 +1409,22 @@ public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySu } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySummariesBuilder() { - return getPropertySummariesFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.PropertySummary.Builder + addPropertySummariesBuilder() { + return getPropertySummariesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1290,26 +1433,35 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySum */ public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySummariesBuilder( int index) { - return getPropertySummariesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); + return getPropertySummariesFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()); } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesBuilderList() { + public java.util.List + getPropertySummariesBuilderList() { return getPropertySummariesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> + com.google.analytics.admin.v1alpha.PropertySummary, + com.google.analytics.admin.v1alpha.PropertySummary.Builder, + com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder> getPropertySummariesFieldBuilder() { if (propertySummariesBuilder_ == null) { - propertySummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.PropertySummary, com.google.analytics.admin.v1alpha.PropertySummary.Builder, com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder>( + propertySummariesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.PropertySummary, + com.google.analytics.admin.v1alpha.PropertySummary.Builder, + com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder>( propertySummaries_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1318,9 +1470,9 @@ public com.google.analytics.admin.v1alpha.PropertySummary.Builder addPropertySum } return propertySummariesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1330,12 +1482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccountSummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccountSummary) private static final com.google.analytics.admin.v1alpha.AccountSummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccountSummary(); } @@ -1344,27 +1496,27 @@ public static com.google.analytics.admin.v1alpha.AccountSummary getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccountSummary 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccountSummary 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; @@ -1379,6 +1531,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccountSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java similarity index 76% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java index 7e3379d5b602..bc3b45fe750b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccountSummaryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AccountSummaryOrBuilder extends +public interface AccountSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccountSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -15,10 +33,13 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -26,12 +47,14 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -39,10 +62,13 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -50,41 +76,49 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List - getPropertySummariesList(); + java.util.List getPropertySummariesList(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -93,6 +127,8 @@ public interface AccountSummaryOrBuilder extends */ com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(int index); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -101,15 +137,19 @@ public interface AccountSummaryOrBuilder extends */ int getPropertySummariesCount(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; */ - java.util.List + java.util.List getPropertySummariesOrBuilderList(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequest.java index 90318f06778e..9d170d2a57d7 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest} */ -public final class AcknowledgeUserDataCollectionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcknowledgeUserDataCollectionRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) AcknowledgeUserDataCollectionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionRequest.newBuilder() to construct. - private AcknowledgeUserDataCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AcknowledgeUserDataCollectionRequest() { property_ = ""; acknowledgement_ = ""; @@ -26,38 +46,45 @@ private AcknowledgeUserDataCollectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_AcknowledgeUserDataCollectionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder.class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ @java.lang.Override @@ -66,29 +93,31 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -97,9 +126,12 @@ public java.lang.String getProperty() { } public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object acknowledgement_ = ""; /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the
    * terms of user data collection.
@@ -111,6 +143,7 @@ public java.lang.String getProperty() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ @java.lang.Override @@ -119,14 +152,15 @@ public java.lang.String getAcknowledgement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; } } /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the
    * terms of user data collection.
@@ -138,16 +172,15 @@ public java.lang.String getAcknowledgement() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for acknowledgement. */ @java.lang.Override - public com.google.protobuf.ByteString - getAcknowledgementBytes() { + public com.google.protobuf.ByteString getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -156,6 +189,7 @@ public java.lang.String getAcknowledgement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -198,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) obj; + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other = + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getAcknowledgement() - .equals(other.getAcknowledgement())) return false; + if (!getProperty().equals(other.getProperty())) return false; + if (!getAcknowledgement().equals(other.getAcknowledgement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,129 +262,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( 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.AcknowledgeUserDataCollectionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest 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.AcknowledgeUserDataCollectionRequest + 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.AcknowledgeUserDataCollectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder.class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,19 +405,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest build() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -384,13 +429,17 @@ public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest b @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest buildPartial() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result = + new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -404,46 +453,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AcknowledgeUserDat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AcknowledgeUserDataCollectionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other) { - if (other == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest other) { + if (other + == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + .getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -480,22 +535,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - acknowledgement_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + acknowledgement_ = 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) { @@ -505,22 +563,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -529,20 +592,23 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -550,28 +616,39 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -581,17 +658,23 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -601,6 +684,8 @@ public Builder setPropertyBytes( private java.lang.Object acknowledgement_ = ""; /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -612,13 +697,13 @@ public Builder setPropertyBytes(
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ public java.lang.String getAcknowledgement() { java.lang.Object ref = acknowledgement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; @@ -627,6 +712,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -638,15 +725,14 @@ public java.lang.String getAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for acknowledgement. */ - public com.google.protobuf.ByteString - getAcknowledgementBytes() { + public com.google.protobuf.ByteString getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -654,6 +740,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -665,18 +753,22 @@ public java.lang.String getAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgement( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAcknowledgement(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -688,6 +780,7 @@ public Builder setAcknowledgement(
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAcknowledgement() { @@ -697,6 +790,8 @@ public Builder clearAcknowledgement() { return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -708,21 +803,23 @@ public Builder clearAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAcknowledgementBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,41 +829,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) - private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest(); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionRequest 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; @@ -778,9 +878,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionRequestOrBuilder.java index 66837207c912..df9fdf11af01 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AcknowledgeUserDataCollectionRequestOrBuilder extends +public interface AcknowledgeUserDataCollectionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the
    * terms of user data collection.
@@ -39,10 +66,13 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder extends
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ java.lang.String getAcknowledgement(); /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the
    * terms of user data collection.
@@ -54,8 +84,8 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder extends
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for acknowledgement. */ - com.google.protobuf.ByteString - getAcknowledgementBytes(); + com.google.protobuf.ByteString getAcknowledgementBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java similarity index 55% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java index 770dbcd43ac8..f84c754abbba 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponse.java @@ -1,53 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse} */ -public final class AcknowledgeUserDataCollectionResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcknowledgeUserDataCollectionResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) AcknowledgeUserDataCollectionResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionResponse.newBuilder() to construct. - private AcknowledgeUserDataCollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AcknowledgeUserDataCollectionResponse() { - } + + private AcknowledgeUserDataCollectionResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_AcknowledgeUserDataCollectionResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder.class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +80,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +98,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other = (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) obj; + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other = + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +124,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( 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.AcknowledgeUserDataCollectionResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse 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.AcknowledgeUserDataCollectionResponse + 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.AcknowledgeUserDataCollectionResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder.class); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,19 +264,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse build() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = buildPartial(); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -253,7 +288,8 @@ public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse @java.lang.Override public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse buildPartial() { - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(this); + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse result = + new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(this); onBuilt(); return result; } @@ -262,46 +298,52 @@ public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AcknowledgeUserDataCollectionResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse)other); + if (other + instanceof com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other) { - if (other == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse other) { + if (other + == com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +370,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -343,9 +386,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,41 +398,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) - private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse(); } - public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionResponse 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; @@ -401,9 +447,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java new file mode 100644 index 000000000000..d67a9c5590e8 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.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 AcknowledgeUserDataCollectionResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java index 833f11734574..bdd4ca5b1a0c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActionType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Types of actions that may change a resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ActionType} */ -public enum ActionType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Action type unknown or not specified.
    * 
@@ -21,6 +39,8 @@ public enum ActionType */ ACTION_TYPE_UNSPECIFIED(0), /** + * + * *
    * Resource was created in this change.
    * 
@@ -29,6 +49,8 @@ public enum ActionType */ CREATED(1), /** + * + * *
    * Resource was updated in this change.
    * 
@@ -37,6 +59,8 @@ public enum ActionType */ UPDATED(2), /** + * + * *
    * Resource was deleted in this change.
    * 
@@ -48,6 +72,8 @@ public enum ActionType ; /** + * + * *
    * Action type unknown or not specified.
    * 
@@ -56,6 +82,8 @@ public enum ActionType */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource was created in this change.
    * 
@@ -64,6 +92,8 @@ public enum ActionType */ public static final int CREATED_VALUE = 1; /** + * + * *
    * Resource was updated in this change.
    * 
@@ -72,6 +102,8 @@ public enum ActionType */ public static final int UPDATED_VALUE = 2; /** + * + * *
    * Resource was deleted in this change.
    * 
@@ -80,7 +112,6 @@ public enum ActionType */ public static final int DELETED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: return ACTION_TYPE_UNSPECIFIED; - case 1: return CREATED; - case 2: return UPDATED; - case 3: return DELETED; - default: return null; + case 0: + return ACTION_TYPE_UNSPECIFIED; + case 1: + return CREATED; + case 2: + return UPDATED; + case 3: + return DELETED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ActionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActionType findValueByNumber(int number) { + return ActionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(3); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -164,4 +196,3 @@ private ActionType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActionType) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java index 3ec53b37e2b0..b34ddadc6f76 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ActorType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Different kinds of actors that can make changes to Google Analytics
  * resources.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.ActorType}
  */
-public enum ActorType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ActorType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Unknown or unspecified actor type.
    * 
@@ -22,6 +40,8 @@ public enum ActorType */ ACTOR_TYPE_UNSPECIFIED(0), /** + * + * *
    * Changes made by the user specified in actor_email.
    * 
@@ -30,6 +50,8 @@ public enum ActorType */ USER(1), /** + * + * *
    * Changes made by the Google Analytics system.
    * 
@@ -38,6 +60,8 @@ public enum ActorType */ SYSTEM(2), /** + * + * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -49,6 +73,8 @@ public enum ActorType ; /** + * + * *
    * Unknown or unspecified actor type.
    * 
@@ -57,6 +83,8 @@ public enum ActorType */ public static final int ACTOR_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Changes made by the user specified in actor_email.
    * 
@@ -65,6 +93,8 @@ public enum ActorType */ public static final int USER_VALUE = 1; /** + * + * *
    * Changes made by the Google Analytics system.
    * 
@@ -73,6 +103,8 @@ public enum ActorType */ public static final int SYSTEM_VALUE = 2; /** + * + * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -81,7 +113,6 @@ public enum ActorType */ public static final int SUPPORT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,50 +137,51 @@ public static ActorType valueOf(int value) { */ public static ActorType forNumber(int value) { switch (value) { - case 0: return ACTOR_TYPE_UNSPECIFIED; - case 1: return USER; - case 2: return SYSTEM; - case 3: return SUPPORT; - default: return null; + case 0: + return ACTOR_TYPE_UNSPECIFIED; + case 1: + return USER; + case 2: + return SYSTEM; + case 3: + return SUPPORT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ActorType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActorType findValueByNumber(int number) { - return ActorType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActorType findValueByNumber(int number) { + return ActorType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final ActorType[] VALUES = values(); - public static ActorType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -165,4 +197,3 @@ private ActorType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ActorType) } - 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 new file mode 100644 index 000000000000..ef15bf56be6b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java @@ -0,0 +1,2391 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 final class AnalyticsAdminProto { + private AnalyticsAdminProto() {} + + 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_RunAccessReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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 + internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/analytics/admin/v1alpha/analyti" + + "cs_admin.proto\022\036google.analytics.admin.v" + + "1alpha\0322google/analytics/admin/v1alpha/a" + + "ccess_report.proto\032-google/analytics/adm" + + "in/v1alpha/audience.proto\032.google/analyt" + + "ics/admin/v1alpha/resources.proto\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032\033google/pro" + + "tobuf/empty.proto\032 google/protobuf/field" + + "_mask.proto\032\037google/protobuf/timestamp.p" + + "roto\"\244\004\n\026RunAccessReportRequest\022\016\n\006entit" + + "y\030\001 \001(\t\022C\n\ndimensions\030\002 \003(\0132/.google.ana" + + "lytics.admin.v1alpha.AccessDimension\022=\n\007" + + "metrics\030\003 \003(\0132,.google.analytics.admin.v" + + "1alpha.AccessMetric\022D\n\013date_ranges\030\004 \003(\013" + + "2/.google.analytics.admin.v1alpha.Access" + + "DateRange\022P\n\020dimension_filter\030\005 \001(\01326.go" + + "ogle.analytics.admin.v1alpha.AccessFilte" + + "rExpression\022M\n\rmetric_filter\030\006 \001(\01326.goo" + + "gle.analytics.admin.v1alpha.AccessFilter" + + "Expression\022\016\n\006offset\030\007 \001(\003\022\r\n\005limit\030\010 \001(" + + "\003\022\021\n\ttime_zone\030\t \001(\t\022@\n\torder_bys\030\n \003(\0132" + + "-.google.analytics.admin.v1alpha.AccessO" + + "rderBy\022\033\n\023return_entity_quota\030\013 \001(\010\"\277\002\n\027" + + "RunAccessReportResponse\022P\n\021dimension_hea" + + "ders\030\001 \003(\01325.google.analytics.admin.v1al" + + "pha.AccessDimensionHeader\022J\n\016metric_head" + + "ers\030\002 \003(\01322.google.analytics.admin.v1alp" + + "ha.AccessMetricHeader\0227\n\004rows\030\003 \003(\0132).go" + + "ogle.analytics.admin.v1alpha.AccessRow\022\021" + + "\n\trow_count\030\004 \001(\005\022:\n\005quota\030\005 \001(\0132+.googl" + + "e.analytics.admin.v1alpha.AccessQuota\"P\n" + + "\021GetAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'" + + "\n%analyticsadmin.googleapis.com/Account\"" + + "R\n\023ListAccountsRequest\022\021\n\tpage_size\030\001 \001(" + + "\005\022\022\n\npage_token\030\002 \001(\t\022\024\n\014show_deleted\030\003 " + + "\001(\010\"j\n\024ListAccountsResponse\0229\n\010accounts\030" + + "\001 \003(\0132\'.google.analytics.admin.v1alpha.A" + + "ccount\022\027\n\017next_page_token\030\002 \001(\t\"S\n\024Delet" + + "eAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a" + + "nalyticsadmin.googleapis.com/Account\"\213\001\n" + + "\024UpdateAccountRequest\022=\n\007account\030\001 \001(\0132\'" + + ".google.analytics.admin.v1alpha.AccountB" + + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMaskB\003\340A\002\"o\n\035ProvisionAccountTi" + + "cketRequest\0228\n\007account\030\001 \001(\0132\'.google.an" + + "alytics.admin.v1alpha.Account\022\024\n\014redirec" + + "t_uri\030\002 \001(\t\";\n\036ProvisionAccountTicketRes" + + "ponse\022\031\n\021account_ticket_id\030\001 \001(\t\"R\n\022GetP" + + "ropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&an" + + "alyticsadmin.googleapis.com/Property\"i\n\025" + + "ListPropertiesRequest\022\023\n\006filter\030\001 \001(\tB\003\340" + + "A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\022\024\n\014show_deleted\030\004 \001(\010\"o\n\026ListPropertie" + + "sResponse\022<\n\nproperties\030\001 \003(\0132(.google.a" + + "nalytics.admin.v1alpha.Property\022\027\n\017next_" + + "page_token\030\002 \001(\t\"\216\001\n\025UpdatePropertyReque" + + "st\022?\n\010property\030\001 \001(\0132(.google.analytics." + + "admin.v1alpha.PropertyB\003\340A\002\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"X\n\025CreatePropertyRequest\022?\n\010property\030\001" + + " \001(\0132(.google.analytics.admin.v1alpha.Pr" + + "opertyB\003\340A\002\"U\n\025DeletePropertyRequest\022<\n\004" + + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" + + "eapis.com/Property\"R\n\022GetUserLinkRequest" + + "\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.g" + + "oogleapis.com/UserLink\"\231\001\n\030BatchGetUserL" + + "inksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&ana" + + "lyticsadmin.googleapis.com/UserLink\022=\n\005n" + + "ames\030\002 \003(\tB.\340A\002\372A(\n&analyticsadmin.googl" + + "eapis.com/UserLink\"Y\n\031BatchGetUserLinksR" + + "esponse\022<\n\nuser_links\030\001 \003(\0132(.google.ana" + + "lytics.admin.v1alpha.UserLink\"}\n\024ListUse" + + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" + + "nalyticsadmin.googleapis.com/UserLink\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025" + + "ListUserLinksResponse\022<\n\nuser_links\030\001 \003(" + + "\0132(.google.analytics.admin.v1alpha.UserL" + + "ink\022\027\n\017next_page_token\030\002 \001(\t\"~\n\025AuditUse" + + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" + + "nalyticsadmin.googleapis.com/UserLink\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026" + + "AuditUserLinksResponse\022A\n\nuser_links\030\001 \003" + + "(\0132-.google.analytics.admin.v1alpha.Audi" + + "tUserLink\022\027\n\017next_page_token\030\002 \001(\t\"\267\001\n\025C" + + "reateUserLinkRequest\022>\n\006parent\030\001 \001(\tB.\340A" + + "\002\372A(\022&analyticsadmin.googleapis.com/User" + + "Link\022\034\n\017notify_new_user\030\002 \001(\010B\003\340A\001\022@\n\tus" + + "er_link\030\003 \001(\0132(.google.analytics.admin.v" + + "1alpha.UserLinkB\003\340A\002\"\312\001\n\033BatchCreateUser" + + "LinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&an" + + "alyticsadmin.googleapis.com/UserLink\022\035\n\020" + + "notify_new_users\030\002 \001(\010B\003\340A\001\022L\n\010requests\030" + + "\003 \003(\01325.google.analytics.admin.v1alpha.C" + + "reateUserLinkRequestB\003\340A\002\"\\\n\034BatchCreate" + + "UserLinksResponse\022<\n\nuser_links\030\001 \003(\0132(." + + "google.analytics.admin.v1alpha.UserLink\"" + + "Y\n\025UpdateUserLinkRequest\022@\n\tuser_link\030\001 " + + "\001(\0132(.google.analytics.admin.v1alpha.Use" + + "rLinkB\003\340A\002\"\253\001\n\033BatchUpdateUserLinksReque" + + "st\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadm" + + "in.googleapis.com/UserLink\022L\n\010requests\030\002" + + " \003(\01325.google.analytics.admin.v1alpha.Up" + + "dateUserLinkRequestB\003\340A\002\"\\\n\034BatchUpdateU" + + "serLinksResponse\022<\n\nuser_links\030\001 \003(\0132(.g" + + "oogle.analytics.admin.v1alpha.UserLink\"U" + + "\n\025DeleteUserLinkRequest\022<\n\004name\030\001 \001(\tB.\340" + + "A\002\372A(\n&analyticsadmin.googleapis.com/Use" + + "rLink\"\253\001\n\033BatchDeleteUserLinksRequest\022>\n" + + "\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.go" + + "ogleapis.com/UserLink\022L\n\010requests\030\002 \003(\0132" + + "5.google.analytics.admin.v1alpha.DeleteU" + + "serLinkRequestB\003\340A\002\"\251\001\n\031CreateFirebaseLi" + + "nkRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analy" + + "ticsadmin.googleapis.com/FirebaseLink\022H\n" + + "\rfirebase_link\030\002 \001(\0132,.google.analytics." + + "admin.v1alpha.FirebaseLinkB\003\340A\002\"]\n\031Delet" + + "eFirebaseLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + + "A,\n*analyticsadmin.googleapis.com/Fireba" + + "seLink\"\205\001\n\030ListFirebaseLinksRequest\022B\n\006p" + + "arent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.goog" + + "leapis.com/FirebaseLink\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListFirebaseLi" + + "nksResponse\022D\n\016firebase_links\030\001 \003(\0132,.go" + + "ogle.analytics.admin.v1alpha.FirebaseLin" + + "k\022\027\n\017next_page_token\030\002 \001(\t\"\\\n\027GetGlobalS" + + "iteTagRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+ana" + + "lyticsadmin.googleapis.com/GlobalSiteTag" + + "\"\256\001\n\032CreateGoogleAdsLinkRequest\022C\n\006paren" + + "t\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.googleap" + + "is.com/GoogleAdsLink\022K\n\017google_ads_link\030" + + "\002 \001(\0132-.google.analytics.admin.v1alpha.G" + + "oogleAdsLinkB\003\340A\002\"\232\001\n\032UpdateGoogleAdsLin" + + "kRequest\022F\n\017google_ads_link\030\001 \001(\0132-.goog" + + "le.analytics.admin.v1alpha.GoogleAdsLink" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" + + "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" + + "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" + + "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" + + "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"~\n\032ListGoogleAdsLinksResponse\022" + + "G\n\020google_ads_links\030\001 \003(\0132-.google.analy" + + "tics.admin.v1alpha.GoogleAdsLink\022\027\n\017next" + + "_page_token\030\002 \001(\t\"h\n\035GetDataSharingSetti" + + "ngsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyt" + + "icsadmin.googleapis.com/DataSharingSetti" + + "ngs\"D\n\033ListAccountSummariesRequest\022\021\n\tpa" + + "ge_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034Li" + + "stAccountSummariesResponse\022I\n\021account_su" + + "mmaries\030\001 \003(\0132..google.analytics.admin.v" + + "1alpha.AccountSummary\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\206\001\n$AcknowledgeUserDataCollection" + + "Request\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analy" + + "ticsadmin.googleapis.com/Property\022\034\n\017ack" + + "nowledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUs" + + "erDataCollectionResponse\"\203\004\n SearchChang" + + "eHistoryEventsRequest\022>\n\007account\030\001 \001(\tB-" + + "\340A\002\372A\'\n%analyticsadmin.googleapis.com/Ac" + + "count\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analyti" + + "csadmin.googleapis.com/Property\022U\n\rresou" + + "rce_type\030\003 \003(\01629.google.analytics.admin." + + "v1alpha.ChangeHistoryResourceTypeB\003\340A\001\022?" + + "\n\006action\030\004 \003(\0162*.google.analytics.admin." + + "v1alpha.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005" + + " \003(\tB\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\001\022;\n\022late" + + "st_change_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n" + + "\npage_token\030\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeH" + + "istoryEventsResponse\022Q\n\025change_history_e" + + "vents\030\001 \003(\01322.google.analytics.admin.v1a" + + "lpha.ChangeHistoryEvent\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"t\n#GetMeasurementProtocolSecret" + + "Request\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analytics" + + "admin.googleapis.com/MeasurementProtocol" + + "Secret\"\336\001\n&CreateMeasurementProtocolSecr" + + "etRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analy" + + "ticsadmin.googleapis.com/MeasurementProt" + + "ocolSecret\022c\n\033measurement_protocol_secre" + + "t\030\002 \001(\01329.google.analytics.admin.v1alpha" + + ".MeasurementProtocolSecretB\003\340A\002\"w\n&Delet" + + "eMeasurementProtocolSecretRequest\022M\n\004nam" + + "e\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.googleap" + + "is.com/MeasurementProtocolSecret\"\276\001\n&Upd" + + "ateMeasurementProtocolSecretRequest\022c\n\033m" + + "easurement_protocol_secret\030\001 \001(\01329.googl" + + "e.analytics.admin.v1alpha.MeasurementPro" + + "tocolSecretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032." + + "google.protobuf.FieldMask\"\237\001\n%ListMeasur" + + "ementProtocolSecretsRequest\022O\n\006parent\030\001 " + + "\001(\tB?\340A\002\372A9\0227analyticsadmin.googleapis.c" + + "om/MeasurementProtocolSecret\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\242\001\n&ListMeas" + + "urementProtocolSecretsResponse\022_\n\034measur" + + "ement_protocol_secrets\030\001 \003(\01329.google.an" + + "alytics.admin.v1alpha.MeasurementProtoco" + + "lSecret\022\027\n\017next_page_token\030\002 \001(\t\"l\n\037GetG" + + "oogleSignalsSettingsRequest\022I\n\004name\030\001 \001(" + + "\tB;\340A\002\372A5\n3analyticsadmin.googleapis.com" + + "/GoogleSignalsSettings\"\267\001\n\"UpdateGoogleS" + + "ignalsSettingsRequest\022[\n\027google_signals_" + + "settings\030\001 \001(\01325.google.analytics.admin." + + "v1alpha.GoogleSignalsSettingsB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"\265\001\n\034CreateConversionEventReques" + + "t\022N\n\020conversion_event\030\001 \001(\0132/.google.ana" + + "lytics.admin.v1alpha.ConversionEventB\003\340A" + + "\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/\022-analyticsadmi" + + "n.googleapis.com/ConversionEvent\"`\n\031GetC" + + "onversionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + + "\372A/\n-analyticsadmin.googleapis.com/Conve" + + "rsionEvent\"c\n\034DeleteConversionEventReque" + + "st\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin" + + ".googleapis.com/ConversionEvent\"\213\001\n\033List" + + "ConversionEventsRequest\022E\n\006parent\030\001 \001(\tB" + + "5\340A\002\372A/\022-analyticsadmin.googleapis.com/C" + + "onversionEvent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\"\203\001\n\034ListConversionEventsRe" + + "sponse\022J\n\021conversion_events\030\001 \003(\0132/.goog" + + "le.analytics.admin.v1alpha.ConversionEve" + + "nt\022\027\n\017next_page_token\030\002 \001(\t\"|\n\'GetDispla" + + "yVideo360AdvertiserLinkRequest\022Q\n\004name\030\001" + + " \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis." + + "com/DisplayVideo360AdvertiserLink\"\247\001\n)Li" + + "stDisplayVideo360AdvertiserLinksRequest\022" + + "S\n\006parent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin." + + "googleapis.com/DisplayVideo360Advertiser" + + "Link\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + + "\001(\t\"\260\001\n*ListDisplayVideo360AdvertiserLin" + + "ksResponse\022i\n\"display_video_360_advertis" + + "er_links\030\001 \003(\0132=.google.analytics.admin." + + "v1alpha.DisplayVideo360AdvertiserLink\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\360\001\n*CreateDisplay" + + "Video360AdvertiserLinkRequest\022S\n\006parent\030" + + "\001 \001(\tBC\340A\002\372A=\022;analyticsadmin.googleapis" + + ".com/DisplayVideo360AdvertiserLink\022m\n!di" + + "splay_video_360_advertiser_link\030\002 \001(\0132=." + + "google.analytics.admin.v1alpha.DisplayVi" + + "deo360AdvertiserLinkB\003\340A\002\"\177\n*DeleteDispl" + + "ayVideo360AdvertiserLinkRequest\022Q\n\004name\030" + + "\001 \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis" + + ".com/DisplayVideo360AdvertiserLink\"\314\001\n*U" + + "pdateDisplayVideo360AdvertiserLinkReques" + + "t\022h\n!display_video_360_advertiser_link\030\001" + + " \001(\0132=.google.analytics.admin.v1alpha.Di" + + "splayVideo360AdvertiserLink\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"\214\001\n/GetDisplayVideo360AdvertiserLinkPr" + + "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana" + + "lyticsadmin.googleapis.com/DisplayVideo3" + + "60AdvertiserLinkProposal\"\267\001\n1ListDisplay" + + "Video360AdvertiserLinkProposalsRequest\022[" + + "\n\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.g" + + "oogleapis.com/DisplayVideo360AdvertiserL" + + "inkProposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"\311\001\n2ListDisplayVideo360Advert" + + "iserLinkProposalsResponse\022z\n+display_vid" + + "eo_360_advertiser_link_proposals\030\001 \003(\0132E" + + ".google.analytics.admin.v1alpha.DisplayV" + + "ideo360AdvertiserLinkProposal\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\221\002\n2CreateDisplayVideo360" + + "AdvertiserLinkProposalRequest\022[\n\006parent\030" + + "\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis" + + ".com/DisplayVideo360AdvertiserLinkPropos" + + "al\022~\n*display_video_360_advertiser_link_" + + "proposal\030\002 \001(\0132E.google.analytics.admin." + + "v1alpha.DisplayVideo360AdvertiserLinkPro" + + "posalB\003\340A\002\"\217\001\n2DeleteDisplayVideo360Adve" + + "rtiserLinkProposalRequest\022Y\n\004name\030\001 \001(\tB" + + "K\340A\002\372AE\nCanalyticsadmin.googleapis.com/D" + + "isplayVideo360AdvertiserLinkProposal\"\220\001\n" + + "3ApproveDisplayVideo360AdvertiserLinkPro" + + "posalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanal" + + "yticsadmin.googleapis.com/DisplayVideo36" + + "0AdvertiserLinkProposal\"\240\001\n4ApproveDispl" + + "ayVideo360AdvertiserLinkProposalResponse" + + "\022h\n!display_video_360_advertiser_link\030\001 " + + "\001(\0132=.google.analytics.admin.v1alpha.Dis" + + "playVideo360AdvertiserLink\"\217\001\n2CancelDis" + + "playVideo360AdvertiserLinkProposalReques" + + "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." + + "googleapis.com/DisplayVideo360Advertiser" + + "LinkProposal\"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/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" + + "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" + + "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" + + "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.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" + + "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( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(), + com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(), + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor, + new java.lang.String[] { + "Entity", + "Dimensions", + "Metrics", + "DateRanges", + "DimensionFilter", + "MetricFilter", + "Offset", + "Limit", + "TimeZone", + "OrderBys", + "ReturnEntityQuota", + }); + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor, + new java.lang.String[] { + "DimensionHeaders", "MetricHeaders", "Rows", "RowCount", "Quota", + }); + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor, + new java.lang.String[] { + "PageSize", "PageToken", "ShowDeleted", + }); + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor, + new java.lang.String[] { + "Accounts", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor, + new java.lang.String[] { + "Account", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor, + new java.lang.String[] { + "Account", "RedirectUri", + }); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor, + new java.lang.String[] { + "AccountTicketId", + }); + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor, + new java.lang.String[] { + "Filter", "PageSize", "PageToken", "ShowDeleted", + }); + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor, + new java.lang.String[] { + "Properties", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor, + new java.lang.String[] { + "Property", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor, + new java.lang.String[] { + "Property", + }); + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "Names", + }); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", + }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "NotifyNewUser", "UserLink", + }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "NotifyNewUsers", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", + }); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, + new java.lang.String[] { + "UserLink", + }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, + new java.lang.String[] { + "UserLinks", + }); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "FirebaseLink", + }); + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor, + new java.lang.String[] { + "FirebaseLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "GoogleAdsLink", + }); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { + "GoogleAdsLink", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor, + new java.lang.String[] { + "GoogleAdsLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor, + new java.lang.String[] { + "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor, + new java.lang.String[] { + "AccountSummaries", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor, + new java.lang.String[] { + "Property", "Acknowledgement", + }); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor, + new java.lang.String[] { + "Account", + "Property", + "ResourceType", + "Action", + "ActorEmail", + "EarliestChangeTime", + "LatestChangeTime", + "PageSize", + "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor, + new java.lang.String[] { + "ChangeHistoryEvents", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "Parent", "MeasurementProtocolSecret", + }); + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "MeasurementProtocolSecret", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, + new java.lang.String[] { + "MeasurementProtocolSecrets", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor, + new java.lang.String[] { + "GoogleSignalsSettings", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, + new java.lang.String[] { + "ConversionEvent", "Parent", + }); + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor, + new java.lang.String[] { + "ConversionEvents", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor, + new java.lang.String[] { + "DisplayVideo360AdvertiserLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "DisplayVideo360AdvertiserLink", + }); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor, + new java.lang.String[] { + "DisplayVideo360AdvertiserLink", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor, + new java.lang.String[] { + "DisplayVideo360AdvertiserLinkProposals", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(69); + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { + "Parent", "DisplayVideo360AdvertiserLinkProposal", + }); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(70); + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(71); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor = + getDescriptor().getMessageTypes().get(72); + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor, + new java.lang.String[] { + "DisplayVideo360AdvertiserLink", + }); + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, + new java.lang.String[] { + "Name", + }); + 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, + new java.lang.String[] { + "Parent", "CustomDimension", + }); + internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor = + 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, + new java.lang.String[] { + "CustomDimension", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor = + 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, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor = + 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, + new java.lang.String[] { + "CustomDimensions", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { + "Parent", "CustomMetric", + }); + internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { + "CustomMetric", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor = + 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, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor = + 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, + new java.lang.String[] { + "CustomMetrics", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor = + 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, + new java.lang.String[] { + "DataRetentionSettings", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor = + 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, + new java.lang.String[] { + "Parent", "DataStream", + }); + internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor = + 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, + new java.lang.String[] { + "DataStream", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor = + 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, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor = + 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, + new java.lang.String[] { + "DataStreams", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor = + 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, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor = + 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, + new java.lang.String[] { + "Audiences", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor = + 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, + new java.lang.String[] { + "Parent", "Audience", + }); + internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor = + 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, + new java.lang.String[] { + "Audience", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor = + 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, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor = + 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); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(); + com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.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/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..f00200890567 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,712 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest other = + (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + parseFrom( + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + build() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + buildPartial() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + result = + new com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + other) { + if (other + == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + .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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + ApproveDisplayVideo360AdvertiserLinkProposalRequest> + PARSER = + new com.google.protobuf.AbstractParser< + ApproveDisplayVideo360AdvertiserLinkProposalRequest>() { + @java.lang.Override + public ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..db4a482890e4 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.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 ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java new file mode 100644 index 000000000000..3053f7f4223f --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java @@ -0,0 +1,829 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} + */ +public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. + private ApproveDisplayVideo360AdvertiserLinkProposalResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ApproveDisplayVideo360AdvertiserLinkProposalResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); + } + + @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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + .class, + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + .Builder.class); + } + + public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 1; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + displayVideo360AdvertiserLink_; + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + @java.lang.Override + public boolean hasDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ != null; + } + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return The displayVideo360AdvertiserLink. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; + } + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; + } + + 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 (displayVideo360AdvertiserLink_ != null) { + output.writeMessage(1, getDisplayVideo360AdvertiserLink()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (displayVideo360AdvertiserLink_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getDisplayVideo360AdvertiserLink()); + } + 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse other = + (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + obj; + + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) + return false; + if (hasDisplayVideo360AdvertiserLink()) { + if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) + 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 (hasDisplayVideo360AdvertiserLink()) { + hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; + hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + parseFrom( + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + 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 + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse + 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, + com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse.Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + displayVideo360AdvertiserLink_ = null; + if (displayVideo360AdvertiserLinkBuilder_ != null) { + displayVideo360AdvertiserLinkBuilder_.dispose(); + displayVideo360AdvertiserLinkBuilder_ = 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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + build() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + buildPartial() { + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + result = + new com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.displayVideo360AdvertiserLink_ = + displayVideo360AdvertiserLinkBuilder_ == null + ? displayVideo360AdvertiserLink_ + : displayVideo360AdvertiserLinkBuilder_.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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + other) { + if (other + == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + .getDefaultInstance()) return this; + if (other.hasDisplayVideo360AdvertiserLink()) { + mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); + } + 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( + getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), extensionRegistry); + 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 com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + displayVideo360AdvertiserLink_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + displayVideo360AdvertiserLinkBuilder_; + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + public boolean hasDisplayVideo360AdvertiserLink() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return The displayVideo360AdvertiserLink. + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; + } else { + return displayVideo360AdvertiserLinkBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + public Builder setDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + displayVideo360AdvertiserLink_ = value; + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + public Builder setDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLink_ = builderForValue.build(); + } else { + displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + public Builder mergeDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && displayVideo360AdvertiserLink_ != null + && displayVideo360AdvertiserLink_ + != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance()) { + getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); + } else { + displayVideo360AdvertiserLink_ = value; + } + } else { + displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + public Builder clearDisplayVideo360AdvertiserLink() { + bitField0_ = (bitField0_ & ~0x00000001); + displayVideo360AdvertiserLink_ = null; + if (displayVideo360AdvertiserLinkBuilder_ != null) { + displayVideo360AdvertiserLinkBuilder_.dispose(); + displayVideo360AdvertiserLinkBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + getDisplayVideo360AdvertiserLinkBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { + if (displayVideo360AdvertiserLinkBuilder_ != null) { + return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); + } else { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; + } + } + /** + * + * + *
+     * The DisplayVideo360AdvertiserLink created as a result of approving the
+     * proposal.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + getDisplayVideo360AdvertiserLinkFieldBuilder() { + if (displayVideo360AdvertiserLinkBuilder_ == null) { + displayVideo360AdvertiserLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + getDisplayVideo360AdvertiserLink(), getParentForChildren(), isClean()); + displayVideo360AdvertiserLink_ = null; + } + return displayVideo360AdvertiserLinkBuilder_; + } + + @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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + private static final com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse(); + } + + public static com.google.analytics.admin.v1alpha + .ApproveDisplayVideo360AdvertiserLinkProposalResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + ApproveDisplayVideo360AdvertiserLinkProposalResponse> + PARSER = + new com.google.protobuf.AbstractParser< + ApproveDisplayVideo360AdvertiserLinkProposalResponse>() { + @java.lang.Override + public ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java new file mode 100644 index 000000000000..3bdcd0ef8cff --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * The DisplayVideo360AdvertiserLink created as a result of approving the
+   * proposal.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java index 3b30ad3369ef..d39651f18f37 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ArchiveAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveAudienceRequest} */ -public final class ArchiveAudienceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArchiveAudienceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveAudienceRequest) ArchiveAudienceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArchiveAudienceRequest.newBuilder() to construct. private ArchiveAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArchiveAudienceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArchiveAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ArchiveAudienceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Example format: properties/1234/audiences/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234/audiences/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ArchiveAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest other = (com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) obj; + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest other = + (com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( 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.ArchiveAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ArchiveAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveAudienceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ArchiveAudienceRequest) com.google.analytics.admin.v1alpha.ArchiveAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.analytics.admin.v1alpha.ArchiveAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ArchiveAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest result = new com.google.analytics.admin.v1alpha.ArchiveAudienceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest result = + new com.google.analytics.admin.v1alpha.ArchiveAudienceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveAudienceReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ArchiveAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveAudienceRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveAudienceRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( 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: + 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) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +557,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ArchiveAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ArchiveAudienceRequest) private static final com.google.analytics.admin.v1alpha.ArchiveAudienceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ArchiveAudienceRequest(); } @@ -540,27 +606,27 @@ public static com.google.analytics.admin.v1alpha.ArchiveAudienceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveAudienceRequest 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; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ArchiveAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java new file mode 100644 index 000000000000..ecf25c7092b8 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ArchiveAudienceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveAudienceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234/audiences/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: properties/1234/audiences/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java index c979c734d11f..6ec443f74596 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ArchiveCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest} */ -public final class ArchiveCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArchiveCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) ArchiveCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArchiveCustomDimensionRequest.newBuilder() to construct. private ArchiveCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArchiveCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArchiveCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ArchiveCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other = + (com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( 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.ArchiveCustomDimensionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ArchiveCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +371,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveCustomDimen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ArchiveCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +446,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +468,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +498,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +523,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +567,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +603,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest(); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomDimensionRequest 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; @@ -579,9 +651,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..08faf12cc9ee --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.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 ArchiveCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java index 0176174c8c1f..5f2e59be1971 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ArchiveCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomMetricRequest} */ -public final class ArchiveCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArchiveCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) ArchiveCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArchiveCustomMetricRequest.newBuilder() to construct. private ArchiveCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArchiveCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArchiveCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ArchiveCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest other = (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest other = + (com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( 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.ArchiveCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ArchiveCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ArchiveCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result = new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ArchiveCustomMetri public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ArchiveCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +411,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +445,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +467,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +497,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +522,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +566,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +602,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest(); } @@ -547,27 +617,27 @@ public static com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomMetricRequest 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; @@ -582,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..f7d638fca7b3 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.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 ArchiveCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettings.java index 61d054cd73ff..47754e22e787 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The attribution settings used for a given property. This is a singleton
  * resource.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AttributionSettings}
  */
-public final class AttributionSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AttributionSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AttributionSettings)
     AttributionSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AttributionSettings.newBuilder() to construct.
   private AttributionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AttributionSettings() {
     name_ = "";
     acquisitionConversionEventLookbackWindow_ = 0;
@@ -29,41 +47,47 @@ private AttributionSettings() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttributionSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_AttributionSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AttributionSettings.class, com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
+            com.google.analytics.admin.v1alpha.AttributionSettings.class,
+            com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * How far back in time events should be considered for inclusion in a
    * converting path which leads to the first install of an app or the first
    * visit to a site.
    * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow} */ public enum AcquisitionConversionEventLookbackWindow implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Lookback window size unspecified.
      * 
@@ -72,6 +96,8 @@ public enum AcquisitionConversionEventLookbackWindow */ ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED(0), /** + * + * *
      * 7-day lookback window.
      * 
@@ -80,6 +106,8 @@ public enum AcquisitionConversionEventLookbackWindow */ ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS(1), /** + * + * *
      * 30-day lookback window.
      * 
@@ -91,6 +119,8 @@ public enum AcquisitionConversionEventLookbackWindow ; /** + * + * *
      * Lookback window size unspecified.
      * 
@@ -99,6 +129,8 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 7-day lookback window.
      * 
@@ -107,6 +139,8 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS_VALUE = 1; /** + * + * *
      * 30-day lookback window.
      * 
@@ -115,7 +149,6 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -140,10 +173,14 @@ public static AcquisitionConversionEventLookbackWindow valueOf(int value) { */ public static AcquisitionConversionEventLookbackWindow forNumber(int value) { switch (value) { - case 0: return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - case 1: return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS; - case 2: return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; - default: return null; + case 0: + return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + case 1: + return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS; + case 2: + return ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; + default: + return null; } } @@ -151,29 +188,33 @@ public static AcquisitionConversionEventLookbackWindow forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< - AcquisitionConversionEventLookbackWindow> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AcquisitionConversionEventLookbackWindow findValueByNumber(int number) { - return AcquisitionConversionEventLookbackWindow.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + AcquisitionConversionEventLookbackWindow> + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap< + AcquisitionConversionEventLookbackWindow>() { + public AcquisitionConversionEventLookbackWindow findValueByNumber(int number) { + return AcquisitionConversionEventLookbackWindow.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final AcquisitionConversionEventLookbackWindow[] VALUES = values(); @@ -181,8 +222,7 @@ public AcquisitionConversionEventLookbackWindow findValueByNumber(int number) { public static AcquisitionConversionEventLookbackWindow valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -200,17 +240,22 @@ private AcquisitionConversionEventLookbackWindow(int value) { } /** + * + * *
    * How far back in time events should be considered for inclusion in a
    * converting path for all conversions other than first app install/first site
    * visit.
    * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow} */ public enum OtherConversionEventLookbackWindow implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Lookback window size unspecified.
      * 
@@ -219,6 +264,8 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED(0), /** + * + * *
      * 30-day lookback window.
      * 
@@ -227,6 +274,8 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS(1), /** + * + * *
      * 60-day lookback window.
      * 
@@ -235,6 +284,8 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS(2), /** + * + * *
      * 90-day lookback window.
      * 
@@ -246,6 +297,8 @@ public enum OtherConversionEventLookbackWindow ; /** + * + * *
      * Lookback window size unspecified.
      * 
@@ -254,6 +307,8 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 30-day lookback window.
      * 
@@ -262,6 +317,8 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS_VALUE = 1; /** + * + * *
      * 60-day lookback window.
      * 
@@ -270,6 +327,8 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS_VALUE = 2; /** + * + * *
      * 90-day lookback window.
      * 
@@ -278,7 +337,6 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -303,11 +361,16 @@ public static OtherConversionEventLookbackWindow valueOf(int value) { */ public static OtherConversionEventLookbackWindow forNumber(int value) { switch (value) { - case 0: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - case 1: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; - case 2: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS; - case 3: return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS; - default: return null; + case 0: + return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + case 1: + return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS; + case 2: + return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS; + case 3: + return OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS; + default: + return null; } } @@ -315,29 +378,32 @@ public static OtherConversionEventLookbackWindow forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< - OtherConversionEventLookbackWindow> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OtherConversionEventLookbackWindow findValueByNumber(int number) { - return OtherConversionEventLookbackWindow.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + OtherConversionEventLookbackWindow> + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OtherConversionEventLookbackWindow findValueByNumber(int number) { + return OtherConversionEventLookbackWindow.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor() + .getEnumTypes() + .get(1); } private static final OtherConversionEventLookbackWindow[] VALUES = values(); @@ -345,8 +411,7 @@ public OtherConversionEventLookbackWindow findValueByNumber(int number) { public static OtherConversionEventLookbackWindow valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -364,16 +429,20 @@ private OtherConversionEventLookbackWindow(int value) { } /** + * + * *
    * The reporting attribution model used to calculate conversion credit in this
    * property's reports.
    * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel} */ - public enum ReportingAttributionModel - implements com.google.protobuf.ProtocolMessageEnum { + public enum ReportingAttributionModel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Reporting attribution model unspecified.
      * 
@@ -382,6 +451,8 @@ public enum ReportingAttributionModel */ REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED(0), /** + * + * *
      * Data-driven attribution distributes credit for the conversion based on
      * data for each conversion event. Each Data-driven model is specific to
@@ -392,6 +463,8 @@ public enum ReportingAttributionModel
      */
     CROSS_CHANNEL_DATA_DRIVEN(1),
     /**
+     *
+     *
      * 
      * Ignores direct traffic and attributes 100% of the conversion value to the
      * last channel that the customer clicked through (or engaged view through
@@ -402,6 +475,8 @@ public enum ReportingAttributionModel
      */
     CROSS_CHANNEL_LAST_CLICK(2),
     /**
+     *
+     *
      * 
      * Gives all credit for the conversion to the first channel that a customer
      * clicked (or engaged view through for YouTube) before converting.
@@ -411,6 +486,8 @@ public enum ReportingAttributionModel
      */
     CROSS_CHANNEL_FIRST_CLICK(3),
     /**
+     *
+     *
      * 
      * Distributes the credit for the conversion equally across all the channels
      * a customer clicked (or engaged view through for YouTube) before
@@ -421,6 +498,8 @@ public enum ReportingAttributionModel
      */
     CROSS_CHANNEL_LINEAR(4),
     /**
+     *
+     *
      * 
      * Attributes 40% credit to the first and last interaction, and the
      * remaining 20% credit is distributed evenly to the middle interactions.
@@ -430,6 +509,8 @@ public enum ReportingAttributionModel
      */
     CROSS_CHANNEL_POSITION_BASED(5),
     /**
+     *
+     *
      * 
      * Gives more credit to the touchpoints that happened closer in time to
      * the conversion.
@@ -439,6 +520,8 @@ public enum ReportingAttributionModel
      */
     CROSS_CHANNEL_TIME_DECAY(6),
     /**
+     *
+     *
      * 
      * Attributes 100% of the conversion value to the last Google Ads channel
      * that the customer clicked through before converting.
@@ -451,6 +534,8 @@ public enum ReportingAttributionModel
     ;
 
     /**
+     *
+     *
      * 
      * Reporting attribution model unspecified.
      * 
@@ -459,6 +544,8 @@ public enum ReportingAttributionModel */ public static final int REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data-driven attribution distributes credit for the conversion based on
      * data for each conversion event. Each Data-driven model is specific to
@@ -469,6 +556,8 @@ public enum ReportingAttributionModel
      */
     public static final int CROSS_CHANNEL_DATA_DRIVEN_VALUE = 1;
     /**
+     *
+     *
      * 
      * Ignores direct traffic and attributes 100% of the conversion value to the
      * last channel that the customer clicked through (or engaged view through
@@ -479,6 +568,8 @@ public enum ReportingAttributionModel
      */
     public static final int CROSS_CHANNEL_LAST_CLICK_VALUE = 2;
     /**
+     *
+     *
      * 
      * Gives all credit for the conversion to the first channel that a customer
      * clicked (or engaged view through for YouTube) before converting.
@@ -488,6 +579,8 @@ public enum ReportingAttributionModel
      */
     public static final int CROSS_CHANNEL_FIRST_CLICK_VALUE = 3;
     /**
+     *
+     *
      * 
      * Distributes the credit for the conversion equally across all the channels
      * a customer clicked (or engaged view through for YouTube) before
@@ -498,6 +591,8 @@ public enum ReportingAttributionModel
      */
     public static final int CROSS_CHANNEL_LINEAR_VALUE = 4;
     /**
+     *
+     *
      * 
      * Attributes 40% credit to the first and last interaction, and the
      * remaining 20% credit is distributed evenly to the middle interactions.
@@ -507,6 +602,8 @@ public enum ReportingAttributionModel
      */
     public static final int CROSS_CHANNEL_POSITION_BASED_VALUE = 5;
     /**
+     *
+     *
      * 
      * Gives more credit to the touchpoints that happened closer in time to
      * the conversion.
@@ -516,6 +613,8 @@ public enum ReportingAttributionModel
      */
     public static final int CROSS_CHANNEL_TIME_DECAY_VALUE = 6;
     /**
+     *
+     *
      * 
      * Attributes 100% of the conversion value to the last Google Ads channel
      * that the customer clicked through before converting.
@@ -525,7 +624,6 @@ public enum ReportingAttributionModel
      */
     public static final int ADS_PREFERRED_LAST_CLICK_VALUE = 7;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -550,15 +648,24 @@ public static ReportingAttributionModel valueOf(int value) {
      */
     public static ReportingAttributionModel forNumber(int value) {
       switch (value) {
-        case 0: return REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED;
-        case 1: return CROSS_CHANNEL_DATA_DRIVEN;
-        case 2: return CROSS_CHANNEL_LAST_CLICK;
-        case 3: return CROSS_CHANNEL_FIRST_CLICK;
-        case 4: return CROSS_CHANNEL_LINEAR;
-        case 5: return CROSS_CHANNEL_POSITION_BASED;
-        case 6: return CROSS_CHANNEL_TIME_DECAY;
-        case 7: return ADS_PREFERRED_LAST_CLICK;
-        default: return null;
+        case 0:
+          return REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED;
+        case 1:
+          return CROSS_CHANNEL_DATA_DRIVEN;
+        case 2:
+          return CROSS_CHANNEL_LAST_CLICK;
+        case 3:
+          return CROSS_CHANNEL_FIRST_CLICK;
+        case 4:
+          return CROSS_CHANNEL_LINEAR;
+        case 5:
+          return CROSS_CHANNEL_POSITION_BASED;
+        case 6:
+          return CROSS_CHANNEL_TIME_DECAY;
+        case 7:
+          return ADS_PREFERRED_LAST_CLICK;
+        default:
+          return null;
       }
     }
 
@@ -566,29 +673,31 @@ public static ReportingAttributionModel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ReportingAttributionModel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ReportingAttributionModel findValueByNumber(int number) {
-              return ReportingAttributionModel.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ReportingAttributionModel findValueByNumber(int number) {
+                return ReportingAttributionModel.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor().getEnumTypes().get(2);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor()
+          .getEnumTypes()
+          .get(2);
     }
 
     private static final ReportingAttributionModel[] VALUES = values();
@@ -596,8 +705,7 @@ public ReportingAttributionModel findValueByNumber(int number) {
     public static ReportingAttributionModel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -615,9 +723,12 @@ private ReportingAttributionModel(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -625,6 +736,7 @@ private ReportingAttributionModel(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -633,14 +745,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -648,16 +761,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -668,62 +780,104 @@ public java.lang.String getName() { public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_FIELD_NUMBER = 2; private int acquisitionConversionEventLookbackWindow_ = 0; /** + * + * *
    * Required. The lookback window configuration for acquisition conversion
    * events. The default window size is 30 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. */ - @java.lang.Override public int getAcquisitionConversionEventLookbackWindowValue() { + @java.lang.Override + public int getAcquisitionConversionEventLookbackWindowValue() { return acquisitionConversionEventLookbackWindow_; } /** + * + * *
    * Required. The lookback window configuration for acquisition conversion
    * events. The default window size is 30 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The acquisitionConversionEventLookbackWindow. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.forNumber(acquisitionConversionEventLookbackWindow_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow + getAcquisitionConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow + result = + com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow.forNumber( + acquisitionConversionEventLookbackWindow_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow.UNRECOGNIZED + : result; } public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_FIELD_NUMBER = 3; private int otherConversionEventLookbackWindow_ = 0; /** + * + * *
    * Required. The lookback window for all other, non-acquisition conversion
    * events. The default window size is 90 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for otherConversionEventLookbackWindow. */ - @java.lang.Override public int getOtherConversionEventLookbackWindowValue() { + @java.lang.Override + public int getOtherConversionEventLookbackWindowValue() { return otherConversionEventLookbackWindow_; } /** + * + * *
    * Required. The lookback window for all other, non-acquisition conversion
    * events. The default window size is 90 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The otherConversionEventLookbackWindow. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.forNumber(otherConversionEventLookbackWindow_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + getOtherConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + result = + com.google.analytics.admin.v1alpha.AttributionSettings + .OtherConversionEventLookbackWindow.forNumber(otherConversionEventLookbackWindow_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + .UNRECOGNIZED + : result; } public static final int REPORTING_ATTRIBUTION_MODEL_FIELD_NUMBER = 4; private int reportingAttributionModel_ = 0; /** + * + * *
    * Required. The reporting attribution model used to calculate conversion
    * credit in this property's reports.
@@ -732,13 +886,19 @@ public java.lang.String getName() {
    * revenue data. User and session data will be unaffected.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for reportingAttributionModel. */ - @java.lang.Override public int getReportingAttributionModelValue() { + @java.lang.Override + public int getReportingAttributionModelValue() { return reportingAttributionModel_; } /** + * + * *
    * Required. The reporting attribution model used to calculate conversion
    * credit in this property's reports.
@@ -747,15 +907,26 @@ public java.lang.String getName() {
    * revenue data. User and session data will be unaffected.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportingAttributionModel. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel getReportingAttributionModel() { - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.forNumber(reportingAttributionModel_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + getReportingAttributionModel() { + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.forNumber( + reportingAttributionModel_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -767,18 +938,27 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (acquisitionConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { + if (acquisitionConversionEventLookbackWindow_ + != com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow + .ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, acquisitionConversionEventLookbackWindow_); } - if (otherConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { + if (otherConversionEventLookbackWindow_ + != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + .OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED + .getNumber()) { output.writeEnum(3, otherConversionEventLookbackWindow_); } - if (reportingAttributionModel_ != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED.getNumber()) { + if (reportingAttributionModel_ + != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + .REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED + .getNumber()) { output.writeEnum(4, reportingAttributionModel_); } getUnknownFields().writeTo(output); @@ -793,17 +973,28 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (acquisitionConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, acquisitionConversionEventLookbackWindow_); - } - if (otherConversionEventLookbackWindow_ != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, otherConversionEventLookbackWindow_); - } - if (reportingAttributionModel_ != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, reportingAttributionModel_); + if (acquisitionConversionEventLookbackWindow_ + != com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow + .ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, acquisitionConversionEventLookbackWindow_); + } + if (otherConversionEventLookbackWindow_ + != com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + .OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 3, otherConversionEventLookbackWindow_); + } + if (reportingAttributionModel_ + != com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + .REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, reportingAttributionModel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -813,17 +1004,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AttributionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AttributionSettings other = (com.google.analytics.admin.v1alpha.AttributionSettings) obj; + com.google.analytics.admin.v1alpha.AttributionSettings other = + (com.google.analytics.admin.v1alpha.AttributionSettings) obj; - if (!getName() - .equals(other.getName())) return false; - if (acquisitionConversionEventLookbackWindow_ != other.acquisitionConversionEventLookbackWindow_) return false; - if (otherConversionEventLookbackWindow_ != other.otherConversionEventLookbackWindow_) return false; + if (!getName().equals(other.getName())) return false; + if (acquisitionConversionEventLookbackWindow_ + != other.acquisitionConversionEventLookbackWindow_) return false; + if (otherConversionEventLookbackWindow_ != other.otherConversionEventLookbackWindow_) + return false; if (reportingAttributionModel_ != other.reportingAttributionModel_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -850,96 +1043,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( 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.AttributionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AttributionSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AttributionSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AttributionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AttributionSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AttributionSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The attribution settings used for a given property. This is a singleton
    * resource.
@@ -947,33 +1148,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AttributionSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AttributionSettings)
       com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_AttributionSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AttributionSettings.class, com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
+              com.google.analytics.admin.v1alpha.AttributionSettings.class,
+              com.google.analytics.admin.v1alpha.AttributionSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AttributionSettings.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -986,9 +1186,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor;
     }
 
     @java.lang.Override
@@ -1007,8 +1207,11 @@ public com.google.analytics.admin.v1alpha.AttributionSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AttributionSettings buildPartial() {
-      com.google.analytics.admin.v1alpha.AttributionSettings result = new com.google.analytics.admin.v1alpha.AttributionSettings(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AttributionSettings result =
+          new com.google.analytics.admin.v1alpha.AttributionSettings(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1019,7 +1222,8 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AttributionSetting
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.acquisitionConversionEventLookbackWindow_ = acquisitionConversionEventLookbackWindow_;
+        result.acquisitionConversionEventLookbackWindow_ =
+            acquisitionConversionEventLookbackWindow_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.otherConversionEventLookbackWindow_ = otherConversionEventLookbackWindow_;
@@ -1033,38 +1237,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AttributionSetting
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AttributionSettings) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AttributionSettings)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AttributionSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1072,17 +1277,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AttributionSettings other) {
-      if (other == com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       if (other.acquisitionConversionEventLookbackWindow_ != 0) {
-        setAcquisitionConversionEventLookbackWindowValue(other.getAcquisitionConversionEventLookbackWindowValue());
+        setAcquisitionConversionEventLookbackWindowValue(
+            other.getAcquisitionConversionEventLookbackWindowValue());
       }
       if (other.otherConversionEventLookbackWindow_ != 0) {
-        setOtherConversionEventLookbackWindowValue(other.getOtherConversionEventLookbackWindowValue());
+        setOtherConversionEventLookbackWindowValue(
+            other.getOtherConversionEventLookbackWindowValue());
       }
       if (other.reportingAttributionModel_ != 0) {
         setReportingAttributionModelValue(other.getReportingAttributionModelValue());
@@ -1113,32 +1321,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              acquisitionConversionEventLookbackWindow_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              otherConversionEventLookbackWindow_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              reportingAttributionModel_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                acquisitionConversionEventLookbackWindow_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                otherConversionEventLookbackWindow_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                reportingAttributionModel_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            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) {
@@ -1148,10 +1361,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1159,13 +1375,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1174,6 +1390,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1181,15 +1399,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1197,6 +1414,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1204,18 +1423,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1223,6 +1446,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1232,6 +1456,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1239,12 +1465,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1254,25 +1482,37 @@ public Builder setNameBytes( private int acquisitionConversionEventLookbackWindow_ = 0; /** + * + * *
      * Required. The lookback window configuration for acquisition conversion
      * events. The default window size is 30 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. */ - @java.lang.Override public int getAcquisitionConversionEventLookbackWindowValue() { + @java.lang.Override + public int getAcquisitionConversionEventLookbackWindowValue() { return acquisitionConversionEventLookbackWindow_; } /** + * + * *
      * Required. The lookback window configuration for acquisition conversion
      * events. The default window size is 30 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param value The enum numeric value on the wire for acquisitionConversionEventLookbackWindow to set. + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enum numeric value on the wire for acquisitionConversionEventLookbackWindow + * to set. * @return This builder for chaining. */ public Builder setAcquisitionConversionEventLookbackWindowValue(int value) { @@ -1282,30 +1522,53 @@ public Builder setAcquisitionConversionEventLookbackWindowValue(int value) { return this; } /** + * + * *
      * Required. The lookback window configuration for acquisition conversion
      * events. The default window size is 30 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The acquisitionConversionEventLookbackWindow. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.forNumber(acquisitionConversionEventLookbackWindow_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow + getAcquisitionConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow + result = + com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow.forNumber( + acquisitionConversionEventLookbackWindow_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The lookback window configuration for acquisition conversion
      * events. The default window size is 30 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The acquisitionConversionEventLookbackWindow to set. * @return This builder for chaining. */ - public Builder setAcquisitionConversionEventLookbackWindow(com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow value) { + public Builder setAcquisitionConversionEventLookbackWindow( + com.google.analytics.admin.v1alpha.AttributionSettings + .AcquisitionConversionEventLookbackWindow + value) { if (value == null) { throw new NullPointerException(); } @@ -1315,12 +1578,17 @@ public Builder setAcquisitionConversionEventLookbackWindow(com.google.analytics. return this; } /** + * + * *
      * Required. The lookback window configuration for acquisition conversion
      * events. The default window size is 30 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearAcquisitionConversionEventLookbackWindow() { @@ -1332,25 +1600,37 @@ public Builder clearAcquisitionConversionEventLookbackWindow() { private int otherConversionEventLookbackWindow_ = 0; /** + * + * *
      * Required. The lookback window for all other, non-acquisition conversion
      * events. The default window size is 90 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for otherConversionEventLookbackWindow. */ - @java.lang.Override public int getOtherConversionEventLookbackWindowValue() { + @java.lang.Override + public int getOtherConversionEventLookbackWindowValue() { return otherConversionEventLookbackWindow_; } /** + * + * *
      * Required. The lookback window for all other, non-acquisition conversion
      * events. The default window size is 90 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param value The enum numeric value on the wire for otherConversionEventLookbackWindow to set. + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enum numeric value on the wire for otherConversionEventLookbackWindow to + * set. * @return This builder for chaining. */ public Builder setOtherConversionEventLookbackWindowValue(int value) { @@ -1360,30 +1640,50 @@ public Builder setOtherConversionEventLookbackWindowValue(int value) { return this; } /** + * + * *
      * Required. The lookback window for all other, non-acquisition conversion
      * events. The default window size is 90 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The otherConversionEventLookbackWindow. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow() { - com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow result = com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.forNumber(otherConversionEventLookbackWindow_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + getOtherConversionEventLookbackWindow() { + com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + result = + com.google.analytics.admin.v1alpha.AttributionSettings + .OtherConversionEventLookbackWindow.forNumber( + otherConversionEventLookbackWindow_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings + .OtherConversionEventLookbackWindow.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The lookback window for all other, non-acquisition conversion
      * events. The default window size is 90 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The otherConversionEventLookbackWindow to set. * @return This builder for chaining. */ - public Builder setOtherConversionEventLookbackWindow(com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow value) { + public Builder setOtherConversionEventLookbackWindow( + com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + value) { if (value == null) { throw new NullPointerException(); } @@ -1393,12 +1693,17 @@ public Builder setOtherConversionEventLookbackWindow(com.google.analytics.admin. return this; } /** + * + * *
      * Required. The lookback window for all other, non-acquisition conversion
      * events. The default window size is 90 days.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearOtherConversionEventLookbackWindow() { @@ -1410,6 +1715,8 @@ public Builder clearOtherConversionEventLookbackWindow() { private int reportingAttributionModel_ = 0; /** + * + * *
      * Required. The reporting attribution model used to calculate conversion
      * credit in this property's reports.
@@ -1418,13 +1725,19 @@ public Builder clearOtherConversionEventLookbackWindow() {
      * revenue data. User and session data will be unaffected.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for reportingAttributionModel. */ - @java.lang.Override public int getReportingAttributionModelValue() { + @java.lang.Override + public int getReportingAttributionModelValue() { return reportingAttributionModel_; } /** + * + * *
      * Required. The reporting attribution model used to calculate conversion
      * credit in this property's reports.
@@ -1433,7 +1746,10 @@ public Builder clearOtherConversionEventLookbackWindow() {
      * revenue data. User and session data will be unaffected.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for reportingAttributionModel to set. * @return This builder for chaining. */ @@ -1444,6 +1760,8 @@ public Builder setReportingAttributionModelValue(int value) { return this; } /** + * + * *
      * Required. The reporting attribution model used to calculate conversion
      * credit in this property's reports.
@@ -1452,15 +1770,26 @@ public Builder setReportingAttributionModelValue(int value) {
      * revenue data. User and session data will be unaffected.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportingAttributionModel. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel getReportingAttributionModel() { - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.forNumber(reportingAttributionModel_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + getReportingAttributionModel() { + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel result = + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + .forNumber(reportingAttributionModel_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The reporting attribution model used to calculate conversion
      * credit in this property's reports.
@@ -1469,11 +1798,15 @@ public com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributi
      * revenue data. User and session data will be unaffected.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The reportingAttributionModel to set. * @return This builder for chaining. */ - public Builder setReportingAttributionModel(com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel value) { + public Builder setReportingAttributionModel( + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel value) { if (value == null) { throw new NullPointerException(); } @@ -1483,6 +1816,8 @@ public Builder setReportingAttributionModel(com.google.analytics.admin.v1alpha.A return this; } /** + * + * *
      * Required. The reporting attribution model used to calculate conversion
      * credit in this property's reports.
@@ -1491,7 +1826,10 @@ public Builder setReportingAttributionModel(com.google.analytics.admin.v1alpha.A
      * revenue data. User and session data will be unaffected.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearReportingAttributionModel() { @@ -1500,9 +1838,9 @@ public Builder clearReportingAttributionModel() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1512,12 +1850,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AttributionSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AttributionSettings) private static final com.google.analytics.admin.v1alpha.AttributionSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AttributionSettings(); } @@ -1526,27 +1864,27 @@ public static com.google.analytics.admin.v1alpha.AttributionSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttributionSettings 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttributionSettings 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; @@ -1561,6 +1899,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AttributionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AttributionSettingsOrBuilder.java index 09f168bf7efb..903141020ef6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AttributionSettingsOrBuilder extends +public interface AttributionSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AttributionSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -15,10 +33,13 @@ public interface AttributionSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this attribution settings resource.
    * Format: properties/{property_id}/attributionSettings
@@ -26,54 +47,78 @@ public interface AttributionSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The lookback window configuration for acquisition conversion
    * events. The default window size is 30 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. */ int getAcquisitionConversionEventLookbackWindowValue(); /** + * + * *
    * Required. The lookback window configuration for acquisition conversion
    * events. The default window size is 30 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The acquisitionConversionEventLookbackWindow. */ - com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow(); + com.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow + getAcquisitionConversionEventLookbackWindow(); /** + * + * *
    * Required. The lookback window for all other, non-acquisition conversion
    * events. The default window size is 90 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for otherConversionEventLookbackWindow. */ int getOtherConversionEventLookbackWindowValue(); /** + * + * *
    * Required. The lookback window for all other, non-acquisition conversion
    * events. The default window size is 90 days.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The otherConversionEventLookbackWindow. */ - com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow(); + com.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + getOtherConversionEventLookbackWindow(); /** + * + * *
    * Required. The reporting attribution model used to calculate conversion
    * credit in this property's reports.
@@ -82,11 +127,16 @@ public interface AttributionSettingsOrBuilder extends
    * revenue data. User and session data will be unaffected.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for reportingAttributionModel. */ int getReportingAttributionModelValue(); /** + * + * *
    * Required. The reporting attribution model used to calculate conversion
    * credit in this property's reports.
@@ -95,8 +145,12 @@ public interface AttributionSettingsOrBuilder extends
    * revenue data. User and session data will be unaffected.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The reportingAttributionModel. */ - com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel getReportingAttributionModel(); + com.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + getReportingAttributionModel(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Audience.java index 8d9f2b2118ac..90719e099779 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a GA4 Audience.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Audience} */ -public final class Audience extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Audience extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Audience) AudienceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Audience.newBuilder() to construct. private Audience(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Audience() { name_ = ""; displayName_ = ""; @@ -29,30 +47,33 @@ private Audience() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Audience(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_Audience_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Audience.class, com.google.analytics.admin.v1alpha.Audience.Builder.class); + com.google.analytics.admin.v1alpha.Audience.class, + com.google.analytics.admin.v1alpha.Audience.Builder.class); } /** + * + * *
    * Specifies how long an exclusion lasts for users that meet the exclusion
    * filter.
@@ -60,9 +81,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode}
    */
-  public enum AudienceExclusionDurationMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AudienceExclusionDurationMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -71,6 +93,8 @@ public enum AudienceExclusionDurationMode */ AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED(0), /** + * + * *
      * Exclude users from the Audience during periods when they meet the
      * filter clause.
@@ -80,6 +104,8 @@ public enum AudienceExclusionDurationMode
      */
     EXCLUDE_TEMPORARILY(1),
     /**
+     *
+     *
      * 
      * Exclude users from the Audience if they've ever met the filter clause.
      * 
@@ -91,6 +117,8 @@ public enum AudienceExclusionDurationMode ; /** + * + * *
      * Not specified.
      * 
@@ -99,6 +127,8 @@ public enum AudienceExclusionDurationMode */ public static final int AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Exclude users from the Audience during periods when they meet the
      * filter clause.
@@ -108,6 +138,8 @@ public enum AudienceExclusionDurationMode
      */
     public static final int EXCLUDE_TEMPORARILY_VALUE = 1;
     /**
+     *
+     *
      * 
      * Exclude users from the Audience if they've ever met the filter clause.
      * 
@@ -116,7 +148,6 @@ public enum AudienceExclusionDurationMode */ public static final int EXCLUDE_PERMANENTLY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -141,10 +172,14 @@ public static AudienceExclusionDurationMode valueOf(int value) { */ public static AudienceExclusionDurationMode forNumber(int value) { switch (value) { - case 0: return AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED; - case 1: return EXCLUDE_TEMPORARILY; - case 2: return EXCLUDE_PERMANENTLY; - default: return null; + case 0: + return AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED; + case 1: + return EXCLUDE_TEMPORARILY; + case 2: + return EXCLUDE_PERMANENTLY; + default: + return null; } } @@ -152,28 +187,28 @@ public static AudienceExclusionDurationMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AudienceExclusionDurationMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AudienceExclusionDurationMode findValueByNumber(int number) { - return AudienceExclusionDurationMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AudienceExclusionDurationMode findValueByNumber(int number) { + return AudienceExclusionDurationMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.Audience.getDescriptor().getEnumTypes().get(0); } @@ -182,8 +217,7 @@ public AudienceExclusionDurationMode findValueByNumber(int number) { public static AudienceExclusionDurationMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,15 +235,19 @@ private AudienceExclusionDurationMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The resource name for this Audience resource.
    * Format: properties/{propertyId}/audiences/{audienceId}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -218,30 +256,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The resource name for this Audience resource.
    * Format: properties/{propertyId}/audiences/{audienceId}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -250,14 +288,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. The display name of the Audience.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -266,29 +308,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. The display name of the Audience.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -297,14 +339,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Required. The description of the Audience.
    * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ @java.lang.Override @@ -313,29 +359,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Required. The description of the Audience.
    * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -346,12 +392,17 @@ public java.lang.String getDescription() { public static final int MEMBERSHIP_DURATION_DAYS_FIELD_NUMBER = 4; private int membershipDurationDays_ = 0; /** + * + * *
    * 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]; + * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The membershipDurationDays. */ @java.lang.Override @@ -362,12 +413,15 @@ public int getMembershipDurationDays() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 5; private boolean adsPersonalizationEnabled_ = false; /** + * + * *
    * 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]; + * * @return The adsPersonalizationEnabled. */ @java.lang.Override @@ -378,12 +432,17 @@ public boolean getAdsPersonalizationEnabled() { public static final int EVENT_TRIGGER_FIELD_NUMBER = 6; private com.google.analytics.admin.v1alpha.AudienceEventTrigger eventTrigger_; /** + * + * *
    * 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.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the eventTrigger field is set. */ @java.lang.Override @@ -391,120 +450,173 @@ public boolean hasEventTrigger() { return eventTrigger_ != null; } /** + * + * *
    * 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.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The eventTrigger. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger getEventTrigger() { - return eventTrigger_ == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; + return eventTrigger_ == null + ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() + : eventTrigger_; } /** + * + * *
    * 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.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEventTriggerOrBuilder() { - return eventTrigger_ == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; + public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder + getEventTriggerOrBuilder() { + return eventTrigger_ == null + ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() + : eventTrigger_; } public static final int EXCLUSION_DURATION_MODE_FIELD_NUMBER = 7; private int exclusionDurationMode_ = 0; /** + * + * *
    * 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.
    * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for exclusionDurationMode. */ - @java.lang.Override public int getExclusionDurationModeValue() { + @java.lang.Override + public int getExclusionDurationModeValue() { return exclusionDurationMode_; } /** + * + * *
    * 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.
    * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The exclusionDurationMode. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode getExclusionDurationMode() { - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber(exclusionDurationMode_); - return result == null ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode + getExclusionDurationMode() { + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber( + exclusionDurationMode_); + return result == null + ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED + : result; } public static final int FILTER_CLAUSES_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private java.util.List filterClauses_; /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public java.util.List getFilterClausesList() { + public java.util.List + getFilterClausesList() { return filterClauses_; } /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public java.util.List + public java.util.List getFilterClausesOrBuilderList() { return filterClauses_; } /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override public int getFilterClausesCount() { return filterClauses_.size(); } /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses(int index) { return filterClauses_.get(index); } /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilterClausesOrBuilder( @@ -513,6 +625,7 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilte } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -524,8 +637,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -544,7 +656,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (eventTrigger_ != null) { output.writeMessage(6, getEventTrigger()); } - if (exclusionDurationMode_ != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED.getNumber()) { + if (exclusionDurationMode_ + != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode + .AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, exclusionDurationMode_); } for (int i = 0; i < filterClauses_.size(); i++) { @@ -569,24 +684,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (membershipDurationDays_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, membershipDurationDays_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, membershipDurationDays_); } if (adsPersonalizationEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, adsPersonalizationEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, adsPersonalizationEnabled_); } if (eventTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getEventTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEventTrigger()); } - if (exclusionDurationMode_ != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, exclusionDurationMode_); + if (exclusionDurationMode_ + != com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode + .AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, exclusionDurationMode_); } for (int i = 0; i < filterClauses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, filterClauses_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, filterClauses_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -596,31 +709,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.Audience)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.Audience other = (com.google.analytics.admin.v1alpha.Audience) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getMembershipDurationDays() - != other.getMembershipDurationDays()) return false; - if (getAdsPersonalizationEnabled() - != other.getAdsPersonalizationEnabled()) return false; + com.google.analytics.admin.v1alpha.Audience other = + (com.google.analytics.admin.v1alpha.Audience) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getMembershipDurationDays() != other.getMembershipDurationDays()) return false; + if (getAdsPersonalizationEnabled() != other.getAdsPersonalizationEnabled()) return false; if (hasEventTrigger() != other.hasEventTrigger()) return false; if (hasEventTrigger()) { - if (!getEventTrigger() - .equals(other.getEventTrigger())) return false; + if (!getEventTrigger().equals(other.getEventTrigger())) return false; } if (exclusionDurationMode_ != other.exclusionDurationMode_) return false; - if (!getFilterClausesList() - .equals(other.getFilterClausesList())) return false; + if (!getFilterClausesList().equals(other.getFilterClausesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -641,8 +748,7 @@ public int hashCode() { hash = (37 * hash) + MEMBERSHIP_DURATION_DAYS_FIELD_NUMBER; hash = (53 * hash) + getMembershipDurationDays(); hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAdsPersonalizationEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAdsPersonalizationEnabled()); if (hasEventTrigger()) { hash = (37 * hash) + EVENT_TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getEventTrigger().hashCode(); @@ -658,130 +764,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.Audience parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.Audience parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom( 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.Audience parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Audience parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.Audience parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Audience parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Audience parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.Audience prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a GA4 Audience.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Audience} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.Audience) com.google.analytics.admin.v1alpha.AudienceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_Audience_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Audience.class, com.google.analytics.admin.v1alpha.Audience.Builder.class); + com.google.analytics.admin.v1alpha.Audience.class, + com.google.analytics.admin.v1alpha.Audience.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.Audience.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -808,9 +920,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_Audience_descriptor; } @java.lang.Override @@ -829,9 +941,12 @@ public com.google.analytics.admin.v1alpha.Audience build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Audience buildPartial() { - com.google.analytics.admin.v1alpha.Audience result = new com.google.analytics.admin.v1alpha.Audience(this); + com.google.analytics.admin.v1alpha.Audience result = + new com.google.analytics.admin.v1alpha.Audience(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -866,9 +981,8 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Audience result) { result.adsPersonalizationEnabled_ = adsPersonalizationEnabled_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.eventTrigger_ = eventTriggerBuilder_ == null - ? eventTrigger_ - : eventTriggerBuilder_.build(); + result.eventTrigger_ = + eventTriggerBuilder_ == null ? eventTrigger_ : eventTriggerBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.exclusionDurationMode_ = exclusionDurationMode_; @@ -879,38 +993,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Audience result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.Audience) { - return mergeFrom((com.google.analytics.admin.v1alpha.Audience)other); + return mergeFrom((com.google.analytics.admin.v1alpha.Audience) other); } else { super.mergeFrom(other); return this; @@ -964,9 +1079,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.Audience other) { filterClausesBuilder_ = null; filterClauses_ = other.filterClauses_; bitField0_ = (bitField0_ & ~0x00000080); - filterClausesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilterClausesFieldBuilder() : null; + filterClausesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilterClausesFieldBuilder() + : null; } else { filterClausesBuilder_.addAllMessages(other.filterClauses_); } @@ -998,62 +1114,69 @@ public Builder mergeFrom( 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 32: { - membershipDurationDays_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - adsPersonalizationEnabled_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - input.readMessage( - getEventTriggerFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - exclusionDurationMode_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - com.google.analytics.admin.v1alpha.AudienceFilterClause m = - input.readMessage( - com.google.analytics.admin.v1alpha.AudienceFilterClause.parser(), - extensionRegistry); - if (filterClausesBuilder_ == null) { - ensureFilterClausesIsMutable(); - filterClauses_.add(m); - } else { - filterClausesBuilder_.addMessage(m); - } - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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 32: + { + membershipDurationDays_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + adsPersonalizationEnabled_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + input.readMessage(getEventTriggerFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + exclusionDurationMode_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + com.google.analytics.admin.v1alpha.AudienceFilterClause m = + input.readMessage( + com.google.analytics.admin.v1alpha.AudienceFilterClause.parser(), + extensionRegistry); + if (filterClausesBuilder_ == null) { + ensureFilterClausesIsMutable(); + filterClauses_.add(m); + } else { + filterClausesBuilder_.addMessage(m); + } + 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) { @@ -1063,23 +1186,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1088,21 +1214,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1110,30 +1237,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * 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(); } + 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 Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1143,18 +1277,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this Audience resource.
      * Format: properties/{propertyId}/audiences/{audienceId}
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1164,18 +1302,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. The display name of the Audience.
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1184,20 +1324,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the Audience.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1205,28 +1346,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the Audience.
      * 
* * 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(); } + 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 Audience.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1236,17 +1384,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. The display name of the Audience.
      * 
* * 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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1256,18 +1408,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1276,20 +1430,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1297,28 +1452,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1328,17 +1490,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Required. The description of the Audience.
      * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1346,14 +1512,19 @@ public Builder setDescriptionBytes( return this; } - private int membershipDurationDays_ ; + private int membershipDurationDays_; /** + * + * *
      * 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]; + * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The membershipDurationDays. */ @java.lang.Override @@ -1361,29 +1532,39 @@ public int getMembershipDurationDays() { return membershipDurationDays_; } /** + * + * *
      * 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]; + * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The membershipDurationDays to set. * @return This builder for chaining. */ public Builder setMembershipDurationDays(int value) { - + membershipDurationDays_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * 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]; + * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearMembershipDurationDays() { @@ -1393,14 +1574,18 @@ public Builder clearMembershipDurationDays() { return this; } - private boolean adsPersonalizationEnabled_ ; + private boolean adsPersonalizationEnabled_; /** + * + * *
      * 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]; + * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The adsPersonalizationEnabled. */ @java.lang.Override @@ -1408,29 +1593,37 @@ public boolean getAdsPersonalizationEnabled() { return adsPersonalizationEnabled_; } /** + * + * *
      * 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]; + * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The adsPersonalizationEnabled to set. * @return This builder for chaining. */ public Builder setAdsPersonalizationEnabled(boolean value) { - + adsPersonalizationEnabled_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * 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]; + * bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearAdsPersonalizationEnabled() { @@ -1442,42 +1635,61 @@ public Builder clearAdsPersonalizationEnabled() { private com.google.analytics.admin.v1alpha.AudienceEventTrigger eventTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventTrigger, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> eventTriggerBuilder_; + com.google.analytics.admin.v1alpha.AudienceEventTrigger, + com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, + com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> + eventTriggerBuilder_; /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the eventTrigger field is set. */ public boolean hasEventTrigger() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The eventTrigger. */ public com.google.analytics.admin.v1alpha.AudienceEventTrigger getEventTrigger() { if (eventTriggerBuilder_ == null) { - return eventTrigger_ == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; + return eventTrigger_ == null + ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() + : eventTrigger_; } else { return eventTriggerBuilder_.getMessage(); } } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEventTrigger(com.google.analytics.admin.v1alpha.AudienceEventTrigger value) { if (eventTriggerBuilder_ == null) { @@ -1493,12 +1705,16 @@ public Builder setEventTrigger(com.google.analytics.admin.v1alpha.AudienceEventT return this; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEventTrigger( com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder builderForValue) { @@ -1512,18 +1728,24 @@ public Builder setEventTrigger( return this; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEventTrigger(com.google.analytics.admin.v1alpha.AudienceEventTrigger value) { + public Builder mergeEventTrigger( + com.google.analytics.admin.v1alpha.AudienceEventTrigger value) { if (eventTriggerBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - eventTrigger_ != null && - eventTrigger_ != com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && eventTrigger_ != null + && eventTrigger_ + != com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) { getEventTriggerBuilder().mergeFrom(value); } else { eventTrigger_ = value; @@ -1536,12 +1758,16 @@ public Builder mergeEventTrigger(com.google.analytics.admin.v1alpha.AudienceEven return this; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEventTrigger() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1554,51 +1780,69 @@ public Builder clearEventTrigger() { return this; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder getEventTriggerBuilder() { + public com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder + getEventTriggerBuilder() { bitField0_ |= 0x00000020; onChanged(); return getEventTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEventTriggerOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder + getEventTriggerOrBuilder() { if (eventTriggerBuilder_ != null) { return eventTriggerBuilder_.getMessageOrBuilder(); } else { - return eventTrigger_ == null ? - com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() : eventTrigger_; + return eventTrigger_ == null + ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance() + : eventTrigger_; } } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventTrigger, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> + com.google.analytics.admin.v1alpha.AudienceEventTrigger, + com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, + com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder> getEventTriggerFieldBuilder() { if (eventTriggerBuilder_ == null) { - eventTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventTrigger, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder>( - getEventTrigger(), - getParentForChildren(), - isClean()); + eventTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceEventTrigger, + com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder, + com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder>( + getEventTrigger(), getParentForChildren(), isClean()); eventTrigger_ = null; } return eventTriggerBuilder_; @@ -1606,26 +1850,37 @@ public com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEvent private int exclusionDurationMode_ = 0; /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for exclusionDurationMode. */ - @java.lang.Override public int getExclusionDurationModeValue() { + @java.lang.Override + public int getExclusionDurationModeValue() { return exclusionDurationMode_; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for exclusionDurationMode to set. * @return This builder for chaining. */ @@ -1636,32 +1891,48 @@ public Builder setExclusionDurationModeValue(int value) { return this; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The exclusionDurationMode. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode getExclusionDurationMode() { - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber(exclusionDurationMode_); - return result == null ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode + getExclusionDurationMode() { + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode result = + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.forNumber( + exclusionDurationMode_); + return result == null + ? com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode.UNRECOGNIZED + : result; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The exclusionDurationMode to set. * @return This builder for chaining. */ - public Builder setExclusionDurationMode(com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode value) { + public Builder setExclusionDurationMode( + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode value) { if (value == null) { throw new NullPointerException(); } @@ -1671,13 +1942,18 @@ public Builder setExclusionDurationMode(com.google.analytics.admin.v1alpha.Audie return this; } /** + * + * *
      * 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.
      * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearExclusionDurationMode() { @@ -1688,26 +1964,37 @@ public Builder clearExclusionDurationMode() { } private java.util.List filterClauses_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilterClausesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - filterClauses_ = new java.util.ArrayList(filterClauses_); + filterClauses_ = + new java.util.ArrayList( + filterClauses_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterClause, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> filterClausesBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterClause, + com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> + filterClausesBuilder_; /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List getFilterClausesList() { + public java.util.List + getFilterClausesList() { if (filterClausesBuilder_ == null) { return java.util.Collections.unmodifiableList(filterClauses_); } else { @@ -1715,12 +2002,16 @@ public java.util.List g } } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public int getFilterClausesCount() { if (filterClausesBuilder_ == null) { @@ -1730,12 +2021,16 @@ public int getFilterClausesCount() { } } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses(int index) { if (filterClausesBuilder_ == null) { @@ -1745,12 +2040,16 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses( } } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setFilterClauses( int index, com.google.analytics.admin.v1alpha.AudienceFilterClause value) { @@ -1767,15 +2066,20 @@ public Builder setFilterClauses( return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setFilterClauses( - int index, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); filterClauses_.set(index, builderForValue.build()); @@ -1786,12 +2090,16 @@ public Builder setFilterClauses( return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterClauses(com.google.analytics.admin.v1alpha.AudienceFilterClause value) { if (filterClausesBuilder_ == null) { @@ -1807,12 +2115,16 @@ public Builder addFilterClauses(com.google.analytics.admin.v1alpha.AudienceFilte return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterClauses( int index, com.google.analytics.admin.v1alpha.AudienceFilterClause value) { @@ -1829,12 +2141,16 @@ public Builder addFilterClauses( return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterClauses( com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { @@ -1848,15 +2164,20 @@ public Builder addFilterClauses( return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterClauses( - int index, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder builderForValue) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); filterClauses_.add(index, builderForValue.build()); @@ -1867,19 +2188,23 @@ public Builder addFilterClauses( return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addAllFilterClauses( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filterClauses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filterClauses_); onChanged(); } else { filterClausesBuilder_.addAllMessages(values); @@ -1887,12 +2212,16 @@ public Builder addAllFilterClauses( return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder clearFilterClauses() { if (filterClausesBuilder_ == null) { @@ -1905,12 +2234,16 @@ public Builder clearFilterClauses() { return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder removeFilterClauses(int index) { if (filterClausesBuilder_ == null) { @@ -1923,42 +2256,56 @@ public Builder removeFilterClauses(int index) { return this; } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder getFilterClausesBuilder( int index) { return getFilterClausesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilterClausesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder + getFilterClausesOrBuilder(int index) { if (filterClausesBuilder_ == null) { - return filterClauses_.get(index); } else { + return filterClauses_.get(index); + } else { return filterClausesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List - getFilterClausesOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> + getFilterClausesOrBuilderList() { if (filterClausesBuilder_ != null) { return filterClausesBuilder_.getMessageOrBuilderList(); } else { @@ -1966,48 +2313,68 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilte } } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder addFilterClausesBuilder() { - return getFilterClausesFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder + addFilterClausesBuilder() { + return getFilterClausesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder addFilterClausesBuilder( int index) { - return getFilterClausesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); + return getFilterClausesFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()); } /** + * + * *
      * Required. Immutable. Unordered list. Filter clauses that define the
      * Audience. All clauses will be AND’ed together.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List - getFilterClausesBuilderList() { + public java.util.List + getFilterClausesBuilderList() { return getFilterClausesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterClause, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterClause, + com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> getFilterClausesFieldBuilder() { if (filterClausesBuilder_ == null) { - filterClausesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterClause, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder>( + filterClausesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterClause, + com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder>( filterClauses_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -2016,9 +2383,9 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder addFilter } return filterClausesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2028,12 +2395,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.Audience) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.Audience) private static final com.google.analytics.admin.v1alpha.Audience DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.Audience(); } @@ -2042,27 +2409,27 @@ public static com.google.analytics.admin.v1alpha.Audience getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Audience 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Audience 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; @@ -2077,6 +2444,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Audience getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 56% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilter.java index a3da73e26477..022daafa7a48 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,123 +1,167 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A specific filter for a single dimension or metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter} */ -public final class AudienceDimensionOrMetricFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AudienceDimensionOrMetricFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) AudienceDimensionOrMetricFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudienceDimensionOrMetricFilter.newBuilder() to construct. - private AudienceDimensionOrMetricFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AudienceDimensionOrMetricFilter( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AudienceDimensionOrMetricFilter() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudienceDimensionOrMetricFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); } - public interface StringFilterOrBuilder extends + public interface StringFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The match type for the string filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType getMatchType(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
      * Optional. If true, the match is case-sensitive. If false, the match is
      * case-insensitive.
      * 
* * 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.AudienceDimensionOrMetricFilter.StringFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter} */ - public static final class StringFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StringFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) StringFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringFilter.newBuilder() to construct. private StringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StringFilter() { matchType_ = 0; value_ = ""; @@ -125,39 +169,45 @@ private StringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .Builder.class); } /** + * + * *
      * The match type for the string filter.
      * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType} */ - public enum MatchType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified
        * 
@@ -166,6 +216,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
        * Exact match of the string value.
        * 
@@ -174,6 +226,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
        * Begins with the string value.
        * 
@@ -182,6 +236,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
        * Ends with the string value.
        * 
@@ -190,6 +246,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
        * Contains the string value.
        * 
@@ -198,6 +256,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
        * Full regular expression matches with the string value.
        * 
@@ -209,6 +269,8 @@ public enum MatchType ; /** + * + * *
        * Unspecified
        * 
@@ -217,6 +279,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Exact match of the string value.
        * 
@@ -225,6 +289,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
        * Begins with the string value.
        * 
@@ -233,6 +299,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
        * Ends with the string value.
        * 
@@ -241,6 +309,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
        * Contains the string value.
        * 
@@ -249,6 +319,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
        * Full regular expression matches with the string value.
        * 
@@ -257,7 +329,6 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -282,52 +353,58 @@ public static MatchType valueOf(int value) { */ public static MatchType forNumber(int value) { switch (value) { - case 0: return MATCH_TYPE_UNSPECIFIED; - case 1: return EXACT; - case 2: return BEGINS_WITH; - case 3: return ENDS_WITH; - case 4: return CONTAINS; - case 5: return FULL_REGEXP; - default: return null; + case 0: + return MATCH_TYPE_UNSPECIFIED; + case 1: + return EXACT; + case 2: + return BEGINS_WITH; + case 3: + return ENDS_WITH; + case 4: + return CONTAINS; + case 5: + return FULL_REGEXP; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MatchType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchType findValueByNumber(int number) { - return MatchType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDescriptor() + .getEnumTypes() + .get(0); } private static final MatchType[] VALUES = values(); - public static MatchType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -347,38 +424,61 @@ private MatchType(int value) { 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.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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() { + @java.lang.Override + public int getMatchTypeValue() { return matchType_; } /** + * + * *
      * Required. The match type for the string filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType + result = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 @@ -387,29 +487,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
      * 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() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -420,12 +520,15 @@ public java.lang.String getValue() { 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.
      * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -434,6 +537,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -445,9 +549,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (matchType_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (matchType_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .MatchType.MATCH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -465,16 +571,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, matchType_); + if (matchType_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -484,18 +591,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other = + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) obj; if (matchType_ != other.matchType_) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (getCaseSensitive() - != other.getCaseSensitive()) return false; + if (!getValue().equals(other.getValue())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -512,95 +620,107 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -610,39 +730,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -654,19 +780,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -674,14 +804,20 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.String } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchType_ = matchType_; @@ -698,46 +834,56 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionO public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other) { - if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance()) return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -775,27 +921,31 @@ public Builder mergeFrom( 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: + 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) { @@ -805,26 +955,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int matchType_ = 0; /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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() { + @java.lang.Override + public int getMatchTypeValue() { return matchType_; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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. */ @@ -835,28 +997,48 @@ public Builder setMatchTypeValue(int value) { return this; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType + result = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .MatchType.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter.MatchType value) { + public Builder setMatchType( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType + value) { if (value == null) { throw new NullPointerException(); } @@ -866,11 +1048,16 @@ public Builder setMatchType(com.google.analytics.admin.v1alpha.AudienceDimension return this; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMatchType() { @@ -882,18 +1069,20 @@ public Builder clearMatchType() { 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -902,20 +1091,21 @@ public 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. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -923,28 +1113,35 @@ public java.lang.String getValue() { } } /** + * + * *
        * 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(); } + 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() { @@ -954,17 +1151,21 @@ public Builder clearValue() { 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(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -972,14 +1173,17 @@ public Builder setValueBytes( return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -987,29 +1191,35 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * 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.
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -1018,6 +1228,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1030,41 +1241,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .StringFilter + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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(); - } - }; + 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; @@ -1076,152 +1292,181 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InListFilterOrBuilder extends + public interface InListFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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(); + 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); + com.google.protobuf.ByteString getValuesBytes(int index); /** + * + * *
      * Optional. If true, the match is case-sensitive. If false, the match is
      * case-insensitive.
      * 
* * 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.AudienceDimensionOrMetricFilter.InListFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter} */ - public static final class InListFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InListFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) InListFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InListFilter.newBuilder() to construct. private InListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InListFilter() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InListFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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() { + 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. */ @@ -1229,29 +1474,34 @@ 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) { + 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.
      * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -1260,6 +1510,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1271,8 +1522,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -1297,8 +1547,7 @@ public int getSerializedSize() { size += 1 * getValuesList().size(); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, caseSensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1308,17 +1557,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other = + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; - if (getCaseSensitive() - != other.getCaseSensitive()) return false; + if (!getValuesList().equals(other.getValuesList())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1335,95 +1585,107 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1433,39 +1695,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter for a string dimension that matches a particular list of options.
      * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1477,19 +1745,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1497,15 +1769,21 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InList } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter(this); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter( + this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -1513,7 +1791,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Audie result.values_ = values_; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.caseSensitive_ = caseSensitive_; @@ -1524,46 +1803,56 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionO public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other) { - if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance()) return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -1603,23 +1892,26 @@ public Builder mergeFrom( 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: + 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) { @@ -1629,47 +1921,58 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * 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() { + 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. */ @@ -1677,81 +1980,95 @@ 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) { + 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(); } + 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(); } + 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) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); return this; } /** + * + * *
        * 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() { @@ -1761,18 +2078,22 @@ public Builder clearValues() { 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(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -1780,14 +2101,17 @@ public Builder addValuesBytes( return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -1795,29 +2119,35 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
        * 
* * 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.
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -1826,6 +2156,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1838,41 +2169,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .InListFilter + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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(); - } - }; + 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; @@ -1884,109 +2220,132 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NumericValueOrBuilder extends + public interface NumericValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Integer value.
      * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
      * Integer value.
      * 
* * int64 int64_value = 1; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
      * Double value.
      * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
      * Double value.
      * 
* * double double_value = 2; + * * @return The doubleValue. */ double getDoubleValue(); - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.OneValueCase getOneValueCase(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .OneValueCase + getOneValueCase(); } /** + * + * *
    * To represent a number.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} */ - public static final class NumericValue extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NumericValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) NumericValueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericValue.newBuilder() to construct. private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NumericValue() { - } + + private NumericValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NumericValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; + public enum OneValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), DOUBLE_VALUE(2), ONEVALUE_NOT_SET(0); private final int value; + private OneValueCase(int value) { this.value = value; } @@ -2002,30 +2361,36 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: return INT64_VALUE; - case 2: return DOUBLE_VALUE; - case 0: return ONEVALUE_NOT_SET; - default: return null; + case 1: + return INT64_VALUE; + case 2: + return DOUBLE_VALUE; + case 0: + return ONEVALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** + * + * *
      * Integer value.
      * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -2033,11 +2398,14 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
      * Integer value.
      * 
* * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -2050,11 +2418,14 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** + * + * *
      * Double value.
      * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -2062,11 +2433,14 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
      * Double value.
      * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -2078,6 +2452,7 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2089,15 +2464,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneValueCase_ == 1) { - output.writeInt64( - 1, (long)((java.lang.Long) oneValue_)); + output.writeInt64(1, (long) ((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) oneValue_)); + output.writeDouble(2, (double) ((java.lang.Double) oneValue_)); } getUnknownFields().writeTo(output); } @@ -2109,14 +2481,14 @@ public int getSerializedSize() { size = 0; if (oneValueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 1, (long)((java.lang.Long) oneValue_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) oneValue_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, (double) ((java.lang.Double) oneValue_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2126,23 +2498,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other = + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 0: default: @@ -2161,13 +2534,14 @@ public int hashCode() { switch (oneValueCase_) { case 1: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); break; case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 0: default: @@ -2177,88 +2551,101 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2268,39 +2655,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * To represent a number.
      * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2311,19 +2704,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2331,19 +2728,26 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Numeri } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue result) { result.oneValueCase_ = oneValueCase_; result.oneValue_ = this.oneValue_; } @@ -2352,58 +2756,71 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceDimen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other) { - if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: { - break; - } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case ONEVALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2431,22 +2848,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - oneValue_ = input.readInt64(); - oneValueCase_ = 1; - break; - } // case 8 - case 17: { - oneValue_ = input.readDouble(); - oneValueCase_ = 2; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + oneValue_ = input.readInt64(); + oneValueCase_ = 1; + break; + } // case 8 + case 17: + { + oneValue_ = input.readDouble(); + oneValueCase_ = 2; + break; + } // case 17 + 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) { @@ -2456,12 +2876,12 @@ public Builder mergeFrom( } // finally return this; } + private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public Builder clearOneValue() { @@ -2474,22 +2894,28 @@ public Builder clearOneValue() { private int bitField0_; /** + * + * *
        * Integer value.
        * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
        * Integer value.
        * 
* * int64 int64_value = 1; + * * @return The int64Value. */ public long getInt64Value() { @@ -2499,27 +2925,33 @@ public long getInt64Value() { return 0L; } /** + * + * *
        * Integer value.
        * 
* * int64 int64_value = 1; + * * @param value The int64Value to set. * @return This builder for chaining. */ public Builder setInt64Value(long value) { - + oneValueCase_ = 1; oneValue_ = value; onChanged(); return this; } /** + * + * *
        * Integer value.
        * 
* * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -2532,22 +2964,28 @@ public Builder clearInt64Value() { } /** + * + * *
        * Double value.
        * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
        * Double value.
        * 
* * double double_value = 2; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -2557,27 +2995,33 @@ public double getDoubleValue() { return 0D; } /** + * + * *
        * Double value.
        * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ public Builder setDoubleValue(double value) { - + oneValueCase_ = 2; oneValue_ = value; onChanged(); return this; } /** + * + * *
        * Double value.
        * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -2588,6 +3032,7 @@ public Builder clearDoubleValue() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2600,41 +3045,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValue + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -2646,117 +3096,155 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NumericFilterOrBuilder extends + public interface NumericFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The operation applied to a numeric filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** + * + * *
      * Required. The operation applied to a numeric filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The operation. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation + getOperation(); /** + * + * *
      * Required. The numeric or date value to match against.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
      * Required. The numeric or date value to match against.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The value. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getValue(); /** + * + * *
      * Required. The numeric or date value to match against.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder + getValueOrBuilder(); } /** + * + * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} */ - public static final class NumericFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NumericFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) NumericFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericFilter.newBuilder() to construct. private NumericFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NumericFilter() { operation_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NumericFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Builder.class); } /** + * + * *
      * The operation applied to a numeric filter.
      * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation} */ - public enum Operation - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operation implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -2765,6 +3253,8 @@ public enum Operation */ OPERATION_UNSPECIFIED(0), /** + * + * *
        * Equal.
        * 
@@ -2773,6 +3263,8 @@ public enum Operation */ EQUAL(1), /** + * + * *
        * Less than.
        * 
@@ -2781,6 +3273,8 @@ public enum Operation */ LESS_THAN(2), /** + * + * *
        * Greater than.
        * 
@@ -2792,6 +3286,8 @@ public enum Operation ; /** + * + * *
        * Unspecified.
        * 
@@ -2800,6 +3296,8 @@ public enum Operation */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Equal.
        * 
@@ -2808,6 +3306,8 @@ public enum Operation */ public static final int EQUAL_VALUE = 1; /** + * + * *
        * Less than.
        * 
@@ -2816,6 +3316,8 @@ public enum Operation */ public static final int LESS_THAN_VALUE = 2; /** + * + * *
        * Greater than.
        * 
@@ -2824,7 +3326,6 @@ public enum Operation */ public static final int GREATER_THAN_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2849,50 +3350,54 @@ public static Operation valueOf(int value) { */ public static Operation forNumber(int value) { switch (value) { - case 0: return OPERATION_UNSPECIFIED; - case 1: return EQUAL; - case 2: return LESS_THAN; - case 4: return GREATER_THAN; - default: return null; + case 0: + return OPERATION_UNSPECIFIED; + case 1: + return EQUAL; + case 2: + return LESS_THAN; + case 4: + return GREATER_THAN; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Operation> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operation findValueByNumber(int number) { - return Operation.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operation findValueByNumber(int number) { + return Operation.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDescriptor() + .getEnumTypes() + .get(0); } private static final Operation[] VALUES = values(); - public static Operation valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2912,37 +3417,62 @@ private Operation(int value) { public static final int OPERATION_FIELD_NUMBER = 1; private int operation_ = 0; /** + * + * *
      * Required. The operation applied to a numeric filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override public int getOperationValue() { + @java.lang.Override + public int getOperationValue() { return operation_; } /** + * + * *
      * Required. The operation applied to a numeric filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The operation. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.forNumber(operation_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation + getOperation() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation + result = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation.forNumber(operation_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value_; /** + * + * *
      * Required. The numeric or date value to match against.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the value field is set. */ @java.lang.Override @@ -2950,30 +3480,48 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
      * Required. The numeric or date value to match against.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The value. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getValue() { - return value_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getValue() { + return value_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : value_; } /** + * + * *
      * Required. The numeric or date value to match against.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder() { - return value_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder + getValueOrBuilder() { + return value_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : value_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2985,9 +3533,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (operation_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (operation_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation.OPERATION_UNSPECIFIED + .getNumber()) { output.writeEnum(1, operation_); } if (value_ != null) { @@ -3002,13 +3552,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operation_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, operation_); + if (operation_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation.OPERATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3018,18 +3569,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other = + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) obj; if (operation_ != other.operation_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3053,88 +3606,102 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + 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.AudienceDimensionOrMetricFilter.NumericFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter 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.AudienceDimensionOrMetricFilter.NumericFilter + 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.AudienceDimensionOrMetricFilter.NumericFilter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3144,39 +3711,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3191,19 +3764,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3211,22 +3788,26 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Numeri } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.operation_ = operation_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = valueBuilder_ == null - ? value_ - : valueBuilder_.build(); + result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); } } @@ -3234,46 +3815,56 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionO public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other) { - if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance()) return this; if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } @@ -3306,24 +3897,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - operation_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + operation_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getValueFieldBuilder().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) { @@ -3333,26 +3925,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int operation_ = 0; /** + * + * *
        * Required. The operation applied to a numeric filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override public int getOperationValue() { + @java.lang.Override + public int getOperationValue() { return operation_; } /** + * + * *
        * Required. The operation applied to a numeric filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ @@ -3363,28 +3967,48 @@ public Builder setOperationValue(int value) { return this; } /** + * + * *
        * Required. The operation applied to a numeric filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The operation. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation result = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.forNumber(operation_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation + getOperation() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation + result = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation.forNumber(operation_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Operation.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The operation applied to a numeric filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation value) { + public Builder setOperation( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation + value) { if (value == null) { throw new NullPointerException(); } @@ -3394,11 +4018,16 @@ public Builder setOperation(com.google.analytics.admin.v1alpha.AudienceDimension return this; } /** + * + * *
        * Required. The operation applied to a numeric filter.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearOperation() { @@ -3408,43 +4037,68 @@ public Builder clearOperation() { return this; } - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> valueBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder> + valueBuilder_; /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The value. */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getValue() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getValue() { if (valueBuilder_ == null) { - return value_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : value_; } else { return valueBuilder_.getMessage(); } } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder setValue( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3458,14 +4112,19 @@ public Builder setValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMe return this; } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder + builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -3476,17 +4135,24 @@ public Builder setValue( return this; } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder mergeValue( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - value_ != null && - value_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && value_ != null + && value_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -3499,11 +4165,15 @@ public Builder mergeValue(com.google.analytics.admin.v1alpha.AudienceDimensionOr return this; } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); @@ -3516,52 +4186,76 @@ public Builder clearValue() { return this; } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder getValueBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder + getValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder + getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : value_; } } /** + * + * *
        * Required. The numeric or date value to match against.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder>(getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3574,41 +4268,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericFilter + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -3620,123 +4319,166 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BetweenFilterOrBuilder extends + public interface BetweenFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Begins with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fromValue field is set. */ boolean hasFromValue(); /** + * + * *
      * Required. Begins with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fromValue. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getFromValue(); /** + * + * *
      * Required. Begins with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getFromValueOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder + getFromValueOrBuilder(); /** + * + * *
      * Required. Ends with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the toValue field is set. */ boolean hasToValue(); /** + * + * *
      * Required. Ends with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The toValue. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getToValue(); /** + * + * *
      * Required. Ends with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getToValueOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder + getToValueOrBuilder(); } /** + * + * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} */ - public static final class BetweenFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BetweenFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) BetweenFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BetweenFilter.newBuilder() to construct. private BetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BetweenFilter() { - } + + private BetweenFilter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BetweenFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .Builder.class); } public static final int FROM_VALUE_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue fromValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + fromValue_; /** + * + * *
      * Required. Begins with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fromValue field is set. */ @java.lang.Override @@ -3744,37 +4486,60 @@ public boolean hasFromValue() { return fromValue_ != null; } /** + * + * *
      * Required. Begins with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fromValue. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getFromValue() { - return fromValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getFromValue() { + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : fromValue_; } /** + * + * *
      * Required. Begins with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getFromValueOrBuilder() { - return fromValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder + getFromValueOrBuilder() { + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : fromValue_; } public static final int TO_VALUE_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue toValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + toValue_; /** + * + * *
      * Required. Ends with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the toValue field is set. */ @java.lang.Override @@ -3782,30 +4547,48 @@ public boolean hasToValue() { return toValue_ != null; } /** + * + * *
      * Required. Ends with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The toValue. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getToValue() { - return toValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getToValue() { + return toValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : toValue_; } /** + * + * *
      * Required. Ends with this number, inclusive.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getToValueOrBuilder() { - return toValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder + getToValueOrBuilder() { + return toValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : toValue_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3817,8 +4600,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (fromValue_ != null) { output.writeMessage(1, getFromValue()); } @@ -3835,12 +4617,10 @@ public int getSerializedSize() { size = 0; if (fromValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFromValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue()); } if (toValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getToValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3850,22 +4630,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other = + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) obj; if (hasFromValue() != other.hasFromValue()) return false; if (hasFromValue()) { - if (!getFromValue() - .equals(other.getFromValue())) return false; + if (!getFromValue().equals(other.getFromValue())) return false; } if (hasToValue() != other.hasToValue()) return false; if (hasToValue()) { - if (!getToValue() - .equals(other.getToValue())) return false; + if (!getToValue().equals(other.getToValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3891,88 +4672,102 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + 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.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter 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.AudienceDimensionOrMetricFilter.BetweenFilter + 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.AudienceDimensionOrMetricFilter.BetweenFilter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3982,40 +4777,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4034,19 +4835,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter build() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + build() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4054,24 +4859,26 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Betwee } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + buildPartial() { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.fromValue_ = fromValueBuilder_ == null - ? fromValue_ - : fromValueBuilder_.build(); + result.fromValue_ = fromValueBuilder_ == null ? fromValue_ : fromValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.toValue_ = toValueBuilder_ == null - ? toValue_ - : toValueBuilder_.build(); + result.toValue_ = toValueBuilder_ == null ? toValue_ : toValueBuilder_.build(); } } @@ -4079,46 +4886,56 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionO public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other) { - if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance()) return this; if (other.hasFromValue()) { mergeFromValue(other.getFromValue()); } @@ -4151,26 +4968,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFromValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getToValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getFromValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getToValueFieldBuilder().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) { @@ -4180,45 +4996,71 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue fromValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + fromValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> fromValueBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder> + fromValueBuilder_; /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fromValue field is set. */ public boolean hasFromValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fromValue. */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getFromValue() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getFromValue() { if (fromValueBuilder_ == null) { - return fromValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : fromValue_; } else { return fromValueBuilder_.getMessage(); } } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFromValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder setFromValue( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (fromValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4232,14 +5074,19 @@ public Builder setFromValue(com.google.analytics.admin.v1alpha.AudienceDimension return this; } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFromValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder + builderForValue) { if (fromValueBuilder_ == null) { fromValue_ = builderForValue.build(); } else { @@ -4250,17 +5097,24 @@ public Builder setFromValue( return this; } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeFromValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder mergeFromValue( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (fromValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - fromValue_ != null && - fromValue_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && fromValue_ != null + && fromValue_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance()) { getFromValueBuilder().mergeFrom(value); } else { fromValue_ = value; @@ -4273,11 +5127,15 @@ public Builder mergeFromValue(com.google.analytics.admin.v1alpha.AudienceDimensi return this; } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFromValue() { bitField0_ = (bitField0_ & ~0x00000001); @@ -4290,90 +5148,138 @@ public Builder clearFromValue() { return this; } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder getFromValueBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder + getFromValueBuilder() { bitField0_ |= 0x00000001; onChanged(); return getFromValueFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getFromValueOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder + getFromValueOrBuilder() { if (fromValueBuilder_ != null) { return fromValueBuilder_.getMessageOrBuilder(); } else { - return fromValue_ == null ? - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : fromValue_; } } /** + * + * *
        * Required. Begins with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder> getFromValueFieldBuilder() { if (fromValueBuilder_ == null) { - fromValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder>( - getFromValue(), - getParentForChildren(), - isClean()); + fromValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder>(getFromValue(), getParentForChildren(), isClean()); fromValue_ = null; } return fromValueBuilder_; } - private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue toValue_; + private com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + toValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> toValueBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder> + toValueBuilder_; /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the toValue field is set. */ public boolean hasToValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The toValue. */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue getToValue() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + getToValue() { if (toValueBuilder_ == null) { - return toValue_ == null ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : toValue_; } else { return toValueBuilder_.getMessage(); } } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setToValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder setToValue( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (toValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4387,14 +5293,19 @@ public Builder setToValue(com.google.analytics.admin.v1alpha.AudienceDimensionOr return this; } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setToValue( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder + builderForValue) { if (toValueBuilder_ == null) { toValue_ = builderForValue.build(); } else { @@ -4405,17 +5316,24 @@ public Builder setToValue( return this; } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeToValue(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { + public Builder mergeToValue( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value) { if (toValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - toValue_ != null && - toValue_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && toValue_ != null + && toValue_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance()) { getToValueBuilder().mergeFrom(value); } else { toValue_ = value; @@ -4428,11 +5346,15 @@ public Builder mergeToValue(com.google.analytics.admin.v1alpha.AudienceDimension return this; } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearToValue() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4445,52 +5367,76 @@ public Builder clearToValue() { return this; } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder getToValueBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder + getToValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getToValueFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder getToValueOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder + getToValueOrBuilder() { if (toValueBuilder_ != null) { return toValueBuilder_.getMessageOrBuilder(); } else { - return toValue_ == null ? - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .getDefaultInstance() + : toValue_; } } /** + * + * *
        * Required. Ends with this number, inclusive.
        * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder> getToValueFieldBuilder() { if (toValueBuilder_ == null) { - toValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueOrBuilder>( - getToValue(), - getParentForChildren(), - isClean()); + toValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericValueOrBuilder>(getToValue(), getParentForChildren(), isClean()); toValue_ = null; } return toValueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4503,41 +5449,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .BetweenFilter + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BetweenFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BetweenFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -4549,16 +5500,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; + public enum OneFilterCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_FILTER(2), IN_LIST_FILTER(3), @@ -4566,6 +5519,7 @@ public enum OneFilterCase BETWEEN_FILTER(5), ONEFILTER_NOT_SET(0); private final int value; + private OneFilterCase(int value) { this.value = value; } @@ -4581,32 +5535,42 @@ public static OneFilterCase valueOf(int value) { public static OneFilterCase forNumber(int value) { switch (value) { - case 2: return STRING_FILTER; - case 3: return IN_LIST_FILTER; - case 4: return NUMERIC_FILTER; - case 5: return BETWEEN_FILTER; - case 0: return ONEFILTER_NOT_SET; - default: return null; + case 2: + return STRING_FILTER; + case 3: + return IN_LIST_FILTER; + case 4: + return NUMERIC_FILTER; + case 5: + return BETWEEN_FILTER; + case 0: + return ONEFILTER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneFilterCase - getOneFilterCase() { - return OneFilterCase.forNumber( - oneFilterCase_); + public 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.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -4614,43 +5578,63 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * * @return The stringFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getStringFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + getStringFilter() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance(); } /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder + getStringFilterOrBuilder() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -4658,44 +5642,64 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * * @return The inListFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getInListFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + getInListFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance(); } /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder + getInListFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance(); } public static final int NUMERIC_FILTER_FIELD_NUMBER = 4; /** + * + * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -4703,43 +5707,63 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** + * + * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * * @return The numericFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getNumericFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + getNumericFilter() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance(); } /** + * + * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder + getNumericFilterOrBuilder() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance(); } public static final int BETWEEN_FILTER_FIELD_NUMBER = 5; /** + * + * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -4747,46 +5771,67 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** + * + * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * * @return The betweenFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getBetweenFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + getBetweenFilter() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance(); } /** + * + * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance(); } public static final int FIELD_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fieldName_ = ""; /** + * + * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fieldName. */ @java.lang.Override @@ -4795,29 +5840,31 @@ public java.lang.String getFieldName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } } /** + * + * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for fieldName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldNameBytes() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -4828,6 +5875,8 @@ public java.lang.String getFieldName() { public static final int AT_ANY_POINT_IN_TIME_FIELD_NUMBER = 6; private boolean atAnyPointInTime_ = false; /** + * + * *
    * 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
@@ -4838,6 +5887,7 @@ public java.lang.String getFieldName() {
    * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The atAnyPointInTime. */ @java.lang.Override @@ -4848,6 +5898,8 @@ public boolean getAtAnyPointInTime() { public static final int IN_ANY_N_DAY_PERIOD_FIELD_NUMBER = 7; private int inAnyNDayPeriod_ = 0; /** + * + * *
    * 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
@@ -4860,6 +5912,7 @@ public boolean getAtAnyPointInTime() {
    * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The inAnyNDayPeriod. */ @java.lang.Override @@ -4868,6 +5921,7 @@ public int getInAnyNDayPeriod() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4879,22 +5933,33 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } if (oneFilterCase_ == 2) { - output.writeMessage(2, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_); + output.writeMessage( + 2, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + oneFilter_); } if (oneFilterCase_ == 3) { - output.writeMessage(3, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_); + output.writeMessage( + 3, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + oneFilter_); } if (oneFilterCase_ == 4) { - output.writeMessage(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_); + output.writeMessage( + 4, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + oneFilter_); } if (oneFilterCase_ == 5) { - output.writeMessage(5, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_); + output.writeMessage( + 5, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + oneFilter_); } if (atAnyPointInTime_ != false) { output.writeBool(6, atAnyPointInTime_); @@ -4915,28 +5980,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (oneFilterCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + oneFilter_); } if (oneFilterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + oneFilter_); } if (oneFilterCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + oneFilter_); } if (oneFilterCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + oneFilter_); } if (atAnyPointInTime_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, atAnyPointInTime_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, atAnyPointInTime_); } if (inAnyNDayPeriod_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, inAnyNDayPeriod_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, inAnyNDayPeriod_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4946,36 +6021,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other = (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) obj; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other = + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) obj; - if (!getFieldName() - .equals(other.getFieldName())) return false; - if (getAtAnyPointInTime() - != other.getAtAnyPointInTime()) return false; - if (getInAnyNDayPeriod() - != other.getInAnyNDayPeriod()) return false; + if (!getFieldName().equals(other.getFieldName())) return false; + if (getAtAnyPointInTime() != other.getAtAnyPointInTime()) return false; + if (getInAnyNDayPeriod() != other.getInAnyNDayPeriod()) return false; if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; switch (oneFilterCase_) { case 2: - if (!getStringFilter() - .equals(other.getStringFilter())) return false; + if (!getStringFilter().equals(other.getStringFilter())) return false; break; case 3: - if (!getInListFilter() - .equals(other.getInListFilter())) return false; + if (!getInListFilter().equals(other.getInListFilter())) return false; break; case 4: - if (!getNumericFilter() - .equals(other.getNumericFilter())) return false; + if (!getNumericFilter().equals(other.getNumericFilter())) return false; break; case 5: - if (!getBetweenFilter() - .equals(other.getBetweenFilter())) return false; + if (!getBetweenFilter().equals(other.getBetweenFilter())) return false; break; case 0: default: @@ -4994,8 +6063,7 @@ public int hashCode() { hash = (37 * hash) + FIELD_NAME_FIELD_NUMBER; hash = (53 * hash) + getFieldName().hashCode(); hash = (37 * hash) + AT_ANY_POINT_IN_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAtAnyPointInTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAtAnyPointInTime()); hash = (37 * hash) + IN_ANY_N_DAY_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getInAnyNDayPeriod(); switch (oneFilterCase_) { @@ -5024,129 +6092,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( 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.AudienceDimensionOrMetricFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter 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.AudienceDimensionOrMetricFilter + 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.AudienceDimensionOrMetricFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A specific filter for a single dimension or metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.class, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5172,14 +6249,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .getDefaultInstance(); } @java.lang.Override @@ -5193,14 +6272,18 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter build( @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter buildPartial() { - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result = + new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000010) != 0)) { result.fieldName_ = fieldName_; @@ -5213,23 +6296,20 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceDimensionO } } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter result) { result.oneFilterCase_ = oneFilterCase_; result.oneFilter_ = this.oneFilter_; - if (oneFilterCase_ == 2 && - stringFilterBuilder_ != null) { + if (oneFilterCase_ == 2 && stringFilterBuilder_ != null) { result.oneFilter_ = stringFilterBuilder_.build(); } - if (oneFilterCase_ == 3 && - inListFilterBuilder_ != null) { + if (oneFilterCase_ == 3 && inListFilterBuilder_ != null) { result.oneFilter_ = inListFilterBuilder_.build(); } - if (oneFilterCase_ == 4 && - numericFilterBuilder_ != null) { + if (oneFilterCase_ == 4 && numericFilterBuilder_ != null) { result.oneFilter_ = numericFilterBuilder_.build(); } - if (oneFilterCase_ == 5 && - betweenFilterBuilder_ != null) { + if (oneFilterCase_ == 5 && betweenFilterBuilder_ != null) { result.oneFilter_ = betweenFilterBuilder_.build(); } } @@ -5238,46 +6318,51 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceDimen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceDimensionOrMetricFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other) { - if (other == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .getDefaultInstance()) return this; if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; bitField0_ |= 0x00000010; @@ -5290,25 +6375,30 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceDimensionOrM setInAnyNDayPeriod(other.getInAnyNDayPeriod()); } switch (other.getOneFilterCase()) { - case STRING_FILTER: { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: { - break; - } + case STRING_FILTER: + { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: + { + mergeInListFilter(other.getInListFilter()); + break; + } + case NUMERIC_FILTER: + { + mergeNumericFilter(other.getNumericFilter()); + break; + } + case BETWEEN_FILTER: + { + mergeBetweenFilter(other.getBetweenFilter()); + break; + } + case ONEFILTER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -5336,55 +6426,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fieldName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - 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 - case 34: { - input.readMessage( - getNumericFilterFieldBuilder().getBuilder(), - extensionRegistry); - oneFilterCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getBetweenFilterFieldBuilder().getBuilder(), - extensionRegistry); - oneFilterCase_ = 5; - break; - } // case 42 - case 48: { - atAnyPointInTime_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - inAnyNDayPeriod_ = input.readInt32(); - bitField0_ |= 0x00000040; - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fieldName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + 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 + case 34: + { + input.readMessage(getNumericFilterFieldBuilder().getBuilder(), extensionRegistry); + oneFilterCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getBetweenFilterFieldBuilder().getBuilder(), extensionRegistry); + oneFilterCase_ = 5; + break; + } // case 42 + case 48: + { + atAnyPointInTime_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + inAnyNDayPeriod_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + 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) { @@ -5394,12 +6484,12 @@ public Builder mergeFrom( } // finally return this; } + private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - public OneFilterCase - getOneFilterCase() { - return OneFilterCase.forNumber( - oneFilterCase_); + + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); } public Builder clearOneFilter() { @@ -5412,13 +6502,22 @@ public Builder clearOneFilter() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder> stringFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .StringFilterOrBuilder> + stringFilterBuilder_; /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -5426,35 +6525,49 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * * @return The stringFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getStringFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + getStringFilter() { if (stringFilterBuilder_ == null) { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance(); } else { if (oneFilterCase_ == 2) { return stringFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ - public Builder setStringFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { + public Builder setStringFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { if (stringFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5468,14 +6581,19 @@ public Builder setStringFilter(com.google.analytics.admin.v1alpha.AudienceDimens return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ public Builder setStringFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder + builderForValue) { if (stringFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -5486,18 +6604,31 @@ public Builder setStringFilter( return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ - public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { + public Builder mergeStringFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 2 && - oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 2 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .newBuilder( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .StringFilter) + oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -5513,11 +6644,15 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AudienceDime return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ public Builder clearStringFilter() { if (stringFilterBuilder_ == null) { @@ -5536,50 +6671,77 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder getStringFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder + getStringFilterBuilder() { return getStringFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder + getStringFilterOrBuilder() { if ((oneFilterCase_ == 2) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .StringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 2)) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.getDefaultInstance(); + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .getDefaultInstance(); } - stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) oneFilter_, + stringFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .StringFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter) + oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -5590,14 +6752,23 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.String } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder> inListFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .InListFilterOrBuilder> + inListFilterBuilder_; /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -5605,37 +6776,51 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * * @return The inListFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getInListFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + getInListFilter() { if (inListFilterBuilder_ == null) { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance(); } else { if (oneFilterCase_ == 3) { return inListFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ - public Builder setInListFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { + public Builder setInListFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { if (inListFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5649,15 +6834,20 @@ public Builder setInListFilter(com.google.analytics.admin.v1alpha.AudienceDimens return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ public Builder setInListFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder + builderForValue) { if (inListFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -5668,19 +6858,32 @@ public Builder setInListFilter( return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ - public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { + public Builder mergeInListFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter value) { if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 3 && - oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 3 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .newBuilder( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .InListFilter) + oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -5696,12 +6899,16 @@ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AudienceDime return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ public Builder clearInListFilter() { if (inListFilterBuilder_ == null) { @@ -5720,53 +6927,80 @@ public Builder clearInListFilter() { return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder getInListFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder + getInListFilterBuilder() { return getInListFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder + getInListFilterOrBuilder() { if ((oneFilterCase_ == 3) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .InListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.getDefaultInstance(); + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .getDefaultInstance(); } - inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) oneFilter_, + inListFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .InListFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter) + oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -5777,13 +7011,23 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InList } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder> numericFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericFilterOrBuilder> + numericFilterBuilder_; /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -5791,35 +7035,49 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * * @return The numericFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getNumericFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + getNumericFilter() { if (numericFilterBuilder_ == null) { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance(); } else { if (oneFilterCase_ == 4) { return numericFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ - public Builder setNumericFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { + public Builder setNumericFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { if (numericFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5833,14 +7091,19 @@ public Builder setNumericFilter(com.google.analytics.admin.v1alpha.AudienceDimen return this; } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ public Builder setNumericFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder + builderForValue) { if (numericFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -5851,18 +7114,31 @@ public Builder setNumericFilter( return this; } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ - public Builder mergeNumericFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { + public Builder mergeNumericFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter value) { if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 4 && - oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 4 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .newBuilder( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericFilter) + oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -5878,11 +7154,15 @@ public Builder mergeNumericFilter(com.google.analytics.admin.v1alpha.AudienceDim return this; } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ public Builder clearNumericFilter() { if (numericFilterBuilder_ == null) { @@ -5901,50 +7181,78 @@ public Builder clearNumericFilter() { return this; } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder getNumericFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder + getNumericFilterBuilder() { return getNumericFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder + getNumericFilterOrBuilder() { if ((oneFilterCase_ == 4) && (numericFilterBuilder_ != null)) { return numericFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for numeric or date values on a dimension or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericFilterOrBuilder> getNumericFilterFieldBuilder() { if (numericFilterBuilder_ == null) { if (!(oneFilterCase_ == 4)) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.getDefaultInstance(); + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .getDefaultInstance(); } - numericFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) oneFilter_, + numericFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .NumericFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter) + oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -5955,14 +7263,24 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Numeri } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder> betweenFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .BetweenFilterOrBuilder> + betweenFilterBuilder_; /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -5970,37 +7288,51 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * * @return The betweenFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getBetweenFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + getBetweenFilter() { if (betweenFilterBuilder_ == null) { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance(); } else { if (oneFilterCase_ == 5) { return betweenFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ - public Builder setBetweenFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { + public Builder setBetweenFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { if (betweenFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6014,15 +7346,20 @@ public Builder setBetweenFilter(com.google.analytics.admin.v1alpha.AudienceDimen return this; } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ public Builder setBetweenFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder + builderForValue) { if (betweenFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -6033,19 +7370,32 @@ public Builder setBetweenFilter( return this; } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ - public Builder mergeBetweenFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { + public Builder mergeBetweenFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter value) { if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 5 && - oneFilter_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 5 + && oneFilter_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .newBuilder( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .BetweenFilter) + oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -6061,12 +7411,16 @@ public Builder mergeBetweenFilter(com.google.analytics.admin.v1alpha.AudienceDim return this; } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ public Builder clearBetweenFilter() { if (betweenFilterBuilder_ == null) { @@ -6085,53 +7439,81 @@ public Builder clearBetweenFilter() { return this; } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder getBetweenFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder + getBetweenFilterBuilder() { return getBetweenFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if ((oneFilterCase_ == 5) && (betweenFilterBuilder_ != null)) { return betweenFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for numeric or date values between certain values on a dimension
      * or metric.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .BetweenFilterOrBuilder> getBetweenFilterFieldBuilder() { if (betweenFilterBuilder_ == null) { if (!(oneFilterCase_ == 5)) { - oneFilter_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.getDefaultInstance(); + oneFilter_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .getDefaultInstance(); } - betweenFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) oneFilter_, + betweenFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + .Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .BetweenFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter) + oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -6143,18 +7525,22 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Betwee private java.lang.Object fieldName_ = ""; /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; @@ -6163,20 +7549,23 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for fieldName. */ - public com.google.protobuf.ByteString - getFieldNameBytes() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -6184,28 +7573,39 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The fieldName to set. * @return This builder for chaining. */ - public Builder setFieldName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fieldName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearFieldName() { @@ -6215,17 +7615,23 @@ public Builder clearFieldName() { return this; } /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter.
      * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @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(); } + public Builder setFieldNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fieldName_ = value; bitField0_ |= 0x00000010; @@ -6233,8 +7639,10 @@ public Builder setFieldNameBytes( return this; } - private boolean atAnyPointInTime_ ; + private boolean atAnyPointInTime_; /** + * + * *
      * 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
@@ -6245,6 +7653,7 @@ public Builder setFieldNameBytes(
      * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The atAnyPointInTime. */ @java.lang.Override @@ -6252,6 +7661,8 @@ public boolean getAtAnyPointInTime() { return atAnyPointInTime_; } /** + * + * *
      * 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
@@ -6262,17 +7673,20 @@ public boolean getAtAnyPointInTime() {
      * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The atAnyPointInTime to set. * @return This builder for chaining. */ public Builder setAtAnyPointInTime(boolean value) { - + atAnyPointInTime_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * 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
@@ -6283,6 +7697,7 @@ public Builder setAtAnyPointInTime(boolean value) {
      * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAtAnyPointInTime() { @@ -6292,8 +7707,10 @@ public Builder clearAtAnyPointInTime() { return this; } - private int inAnyNDayPeriod_ ; + private int inAnyNDayPeriod_; /** + * + * *
      * 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
@@ -6306,6 +7723,7 @@ public Builder clearAtAnyPointInTime() {
      * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The inAnyNDayPeriod. */ @java.lang.Override @@ -6313,6 +7731,8 @@ public int getInAnyNDayPeriod() { return inAnyNDayPeriod_; } /** + * + * *
      * 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
@@ -6325,17 +7745,20 @@ public int getInAnyNDayPeriod() {
      * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The inAnyNDayPeriod to set. * @return This builder for chaining. */ public Builder setInAnyNDayPeriod(int value) { - + inAnyNDayPeriod_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * 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
@@ -6348,6 +7771,7 @@ public Builder setInAnyNDayPeriod(int value) {
      * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearInAnyNDayPeriod() { @@ -6356,9 +7780,9 @@ public Builder clearInAnyNDayPeriod() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6368,41 +7792,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) - private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter(); } - public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceDimensionOrMetricFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceDimensionOrMetricFilter 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; @@ -6414,9 +7840,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceDimensionOrMetricFilterOrBuilder.java index d8e4895d8a39..077e30ffcc0d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,147 +1,236 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceDimensionOrMetricFilterOrBuilder extends +public interface AudienceDimensionOrMetricFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * * @return The stringFilter. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter getStringFilter(); /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder getStringFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterOrBuilder + getStringFilterOrBuilder(); /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * * @return The inListFilter. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter getInListFilter(); /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder getInListFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterOrBuilder + getInListFilterOrBuilder(); /** + * + * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * * @return Whether the numericFilter field is set. */ boolean hasNumericFilter(); /** + * + * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * * @return The numericFilter. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter getNumericFilter(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + getNumericFilter(); /** + * + * *
    * A filter for numeric or date values on a dimension or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder getNumericFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterOrBuilder + getNumericFilterOrBuilder(); /** + * + * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * * @return Whether the betweenFilter field is set. */ boolean hasBetweenFilter(); /** + * + * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * * @return The betweenFilter. */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter getBetweenFilter(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + getBetweenFilter(); /** + * + * *
    * A filter for numeric or date values between certain values on a dimension
    * or metric.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder getBetweenFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterOrBuilder + getBetweenFilterOrBuilder(); /** + * + * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fieldName. */ java.lang.String getFieldName(); /** + * + * *
    * Required. Immutable. The dimension name or metric name to filter.
    * 
* - * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for fieldName. */ - com.google.protobuf.ByteString - getFieldNameBytes(); + 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
@@ -152,11 +241,14 @@ public interface AudienceDimensionOrMetricFilterOrBuilder extends
    * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The atAnyPointInTime. */ 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
@@ -169,9 +261,11 @@ public interface AudienceDimensionOrMetricFilterOrBuilder extends
    * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The inAnyNDayPeriod. */ int getInAnyNDayPeriod(); - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.OneFilterCase getOneFilterCase(); + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.OneFilterCase + getOneFilterCase(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilter.java index 3f05c4da34cd..d7f64b0fd3f4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A filter that matches events of a single event name. If an event parameter
  * is specified, only the subset of events that match both the single event name
@@ -12,53 +29,61 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventFilter}
  */
-public final class AudienceEventFilter extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AudienceEventFilter extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceEventFilter)
     AudienceEventFilterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AudienceEventFilter.newBuilder() to construct.
   private AudienceEventFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AudienceEventFilter() {
     eventName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AudienceEventFilter();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceEventFilter.class, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceEventFilter.class,
+            com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
   }
 
   public static final int EVENT_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object eventName_ = "";
   /**
+   *
+   *
    * 
    * Required. Immutable. The name of the event to match against.
    * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The eventName. */ @java.lang.Override @@ -67,29 +92,31 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** + * + * *
    * Required. Immutable. The name of the event to match against.
    * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -98,8 +125,11 @@ public java.lang.String getEventName() { } public static final int EVENT_PARAMETER_FILTER_EXPRESSION_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.AudienceFilterExpression eventParameterFilterExpression_; + private com.google.analytics.admin.v1alpha.AudienceFilterExpression + eventParameterFilterExpression_; /** + * + * *
    * Optional. If specified, this filter matches events that match both the
    * single event name and the parameter filter expressions. AudienceEventFilter
@@ -110,7 +140,10 @@ public java.lang.String getEventName() {
    * will be considered; all the other filters will be ignored.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the eventParameterFilterExpression field is set. */ @java.lang.Override @@ -118,6 +151,8 @@ public boolean hasEventParameterFilterExpression() { return eventParameterFilterExpression_ != null; } /** + * + * *
    * Optional. If specified, this filter matches events that match both the
    * single event name and the parameter filter expressions. AudienceEventFilter
@@ -128,14 +163,22 @@ public boolean hasEventParameterFilterExpression() {
    * will be considered; all the other filters will be ignored.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The eventParameterFilterExpression. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParameterFilterExpression() { - return eventParameterFilterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpression + getEventParameterFilterExpression() { + return eventParameterFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : eventParameterFilterExpression_; } /** + * + * *
    * Optional. If specified, this filter matches events that match both the
    * single event name and the parameter filter expressions. AudienceEventFilter
@@ -146,14 +189,20 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParam
    * will be considered; all the other filters will be ignored.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder() { - return eventParameterFilterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getEventParameterFilterExpressionOrBuilder() { + return eventParameterFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : eventParameterFilterExpression_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventName_); } @@ -186,8 +234,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventName_); } if (eventParameterFilterExpression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEventParameterFilterExpression()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getEventParameterFilterExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,19 +246,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceEventFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceEventFilter other = (com.google.analytics.admin.v1alpha.AudienceEventFilter) obj; + com.google.analytics.admin.v1alpha.AudienceEventFilter other = + (com.google.analytics.admin.v1alpha.AudienceEventFilter) obj; - if (!getEventName() - .equals(other.getEventName())) return false; - if (hasEventParameterFilterExpression() != other.hasEventParameterFilterExpression()) return false; + if (!getEventName().equals(other.getEventName())) return false; + if (hasEventParameterFilterExpression() != other.hasEventParameterFilterExpression()) + return false; if (hasEventParameterFilterExpression()) { - if (!getEventParameterFilterExpression() - .equals(other.getEventParameterFilterExpression())) return false; + if (!getEventParameterFilterExpression().equals(other.getEventParameterFilterExpression())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -234,96 +284,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( 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.AudienceEventFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceEventFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceEventFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceEventFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A filter that matches events of a single event name. If an event parameter
    * is specified, only the subset of events that match both the single event name
@@ -332,33 +390,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventFilter}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceEventFilter)
       com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceEventFilter.class, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceEventFilter.class,
+              com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceEventFilter.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -373,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor;
     }
 
     @java.lang.Override
@@ -394,8 +451,11 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceEventFilter buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceEventFilter result = new com.google.analytics.admin.v1alpha.AudienceEventFilter(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AudienceEventFilter result =
+          new com.google.analytics.admin.v1alpha.AudienceEventFilter(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -406,9 +466,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceEventFilte
         result.eventName_ = eventName_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.eventParameterFilterExpression_ = eventParameterFilterExpressionBuilder_ == null
-            ? eventParameterFilterExpression_
-            : eventParameterFilterExpressionBuilder_.build();
+        result.eventParameterFilterExpression_ =
+            eventParameterFilterExpressionBuilder_ == null
+                ? eventParameterFilterExpression_
+                : eventParameterFilterExpressionBuilder_.build();
       }
     }
 
@@ -416,38 +477,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceEventFilte
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceEventFilter) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventFilter)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventFilter) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -455,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceEventFilter other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance())
+        return this;
       if (!other.getEventName().isEmpty()) {
         eventName_ = other.eventName_;
         bitField0_ |= 0x00000001;
@@ -490,24 +553,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              eventName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEventParameterFilterExpressionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                eventName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getEventParameterFilterExpressionFieldBuilder().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) {
@@ -517,22 +583,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object eventName_ = "";
     /**
+     *
+     *
      * 
      * Required. Immutable. The name of the event to match against.
      * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -541,20 +612,23 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -562,28 +636,39 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } eventName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearEventName() { @@ -593,17 +678,23 @@ public Builder clearEventName() { return this; } /** + * + * *
      * Required. Immutable. The name of the event to match against.
      * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000001; @@ -611,10 +702,16 @@ public Builder setEventNameBytes( return this; } - private com.google.analytics.admin.v1alpha.AudienceFilterExpression eventParameterFilterExpression_; + private com.google.analytics.admin.v1alpha.AudienceFilterExpression + eventParameterFilterExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> eventParameterFilterExpressionBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + eventParameterFilterExpressionBuilder_; /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -625,13 +722,18 @@ public Builder setEventNameBytes(
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the eventParameterFilterExpression field is set. */ public boolean hasEventParameterFilterExpression() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -642,17 +744,25 @@ public boolean hasEventParameterFilterExpression() {
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The eventParameterFilterExpression. */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParameterFilterExpression() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression + getEventParameterFilterExpression() { if (eventParameterFilterExpressionBuilder_ == null) { - return eventParameterFilterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; + return eventParameterFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : eventParameterFilterExpression_; } else { return eventParameterFilterExpressionBuilder_.getMessage(); } } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -663,9 +773,12 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParam
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEventParameterFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder setEventParameterFilterExpression( + com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (eventParameterFilterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,6 +792,8 @@ public Builder setEventParameterFilterExpression(com.google.analytics.admin.v1al return this; } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -689,7 +804,9 @@ public Builder setEventParameterFilterExpression(com.google.analytics.admin.v1al
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEventParameterFilterExpression( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -703,6 +820,8 @@ public Builder setEventParameterFilterExpression( return this; } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -713,13 +832,18 @@ public Builder setEventParameterFilterExpression(
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEventParameterFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder mergeEventParameterFilterExpression( + com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (eventParameterFilterExpressionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - eventParameterFilterExpression_ != null && - eventParameterFilterExpression_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && eventParameterFilterExpression_ != null + && eventParameterFilterExpression_ + != com.google.analytics.admin.v1alpha.AudienceFilterExpression + .getDefaultInstance()) { getEventParameterFilterExpressionBuilder().mergeFrom(value); } else { eventParameterFilterExpression_ = value; @@ -732,6 +856,8 @@ public Builder mergeEventParameterFilterExpression(com.google.analytics.admin.v1 return this; } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -742,7 +868,9 @@ public Builder mergeEventParameterFilterExpression(com.google.analytics.admin.v1
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEventParameterFilterExpression() { bitField0_ = (bitField0_ & ~0x00000002); @@ -755,6 +883,8 @@ public Builder clearEventParameterFilterExpression() { return this; } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -765,14 +895,19 @@ public Builder clearEventParameterFilterExpression() {
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getEventParameterFilterExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder + getEventParameterFilterExpressionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getEventParameterFilterExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -783,17 +918,23 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getEv
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getEventParameterFilterExpressionOrBuilder() { if (eventParameterFilterExpressionBuilder_ != null) { return eventParameterFilterExpressionBuilder_.getMessageOrBuilder(); } else { - return eventParameterFilterExpression_ == null ? - com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : eventParameterFilterExpression_; + return eventParameterFilterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : eventParameterFilterExpression_; } } /** + * + * *
      * Optional. If specified, this filter matches events that match both the
      * single event name and the parameter filter expressions. AudienceEventFilter
@@ -804,24 +945,29 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getE
      * will be considered; all the other filters will be ignored.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getEventParameterFilterExpressionFieldBuilder() { if (eventParameterFilterExpressionBuilder_ == null) { - eventParameterFilterExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( - getEventParameterFilterExpression(), - getParentForChildren(), - isClean()); + eventParameterFilterExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + getEventParameterFilterExpression(), getParentForChildren(), isClean()); eventParameterFilterExpression_ = null; } return eventParameterFilterExpressionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -831,12 +977,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceEventFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceEventFilter) private static final com.google.analytics.admin.v1alpha.AudienceEventFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceEventFilter(); } @@ -845,27 +991,27 @@ public static com.google.analytics.admin.v1alpha.AudienceEventFilter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceEventFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceEventFilter 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; @@ -880,6 +1026,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceEventFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventFilterOrBuilder.java index 81646f575440..86d02a2faad2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceEventFilterOrBuilder extends +public interface AudienceEventFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceEventFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Immutable. The name of the event to match against.
    * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The eventName. */ java.lang.String getEventName(); /** + * + * *
    * Required. Immutable. The name of the event to match against.
    * 
* - * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for eventName. */ - com.google.protobuf.ByteString - getEventNameBytes(); + 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
@@ -38,11 +65,16 @@ public interface AudienceEventFilterOrBuilder extends
    * will be considered; all the other filters will be ignored.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the eventParameterFilterExpression field is set. */ boolean hasEventParameterFilterExpression(); /** + * + * *
    * Optional. If specified, this filter matches events that match both the
    * single event name and the parameter filter expressions. AudienceEventFilter
@@ -53,11 +85,16 @@ public interface AudienceEventFilterOrBuilder extends
    * will be considered; all the other filters will be ignored.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The eventParameterFilterExpression. */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getEventParameterFilterExpression(); /** + * + * *
    * Optional. If specified, this filter matches events that match both the
    * single event name and the parameter filter expressions. AudienceEventFilter
@@ -68,7 +105,10 @@ public interface AudienceEventFilterOrBuilder extends
    * will be considered; all the other filters will be ignored.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getEventParameterFilterExpressionOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java index d8f3d427ab8d..9d73ad9d8348 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTrigger.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Specifies an event to log when a user joins the Audience.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventTrigger} */ -public final class AudienceEventTrigger extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AudienceEventTrigger extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceEventTrigger) AudienceEventTriggerOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudienceEventTrigger.newBuilder() to construct. private AudienceEventTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AudienceEventTrigger() { eventName_ = ""; logCondition_ = 0; @@ -26,39 +44,43 @@ private AudienceEventTrigger() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudienceEventTrigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); + com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, + com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); } /** + * + * *
    * Determines when to log the event.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition} */ - public enum LogCondition - implements com.google.protobuf.ProtocolMessageEnum { + public enum LogCondition implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Log condition is not specified.
      * 
@@ -67,6 +89,8 @@ public enum LogCondition */ LOG_CONDITION_UNSPECIFIED(0), /** + * + * *
      * The event should be logged only when a user is joined.
      * 
@@ -75,6 +99,8 @@ public enum LogCondition */ AUDIENCE_JOINED(1), /** + * + * *
      * The event should be logged whenever the Audience condition is met, even
      * if the user is already a member of the Audience.
@@ -87,6 +113,8 @@ public enum LogCondition
     ;
 
     /**
+     *
+     *
      * 
      * Log condition is not specified.
      * 
@@ -95,6 +123,8 @@ public enum LogCondition */ public static final int LOG_CONDITION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The event should be logged only when a user is joined.
      * 
@@ -103,6 +133,8 @@ public enum LogCondition */ public static final int AUDIENCE_JOINED_VALUE = 1; /** + * + * *
      * The event should be logged whenever the Audience condition is met, even
      * if the user is already a member of the Audience.
@@ -112,7 +144,6 @@ public enum LogCondition
      */
     public static final int AUDIENCE_MEMBERSHIP_RENEWED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -137,49 +168,51 @@ public static LogCondition valueOf(int value) {
      */
     public static LogCondition forNumber(int value) {
       switch (value) {
-        case 0: return LOG_CONDITION_UNSPECIFIED;
-        case 1: return AUDIENCE_JOINED;
-        case 2: return AUDIENCE_MEMBERSHIP_RENEWED;
-        default: return null;
+        case 0:
+          return LOG_CONDITION_UNSPECIFIED;
+        case 1:
+          return AUDIENCE_JOINED;
+        case 2:
+          return AUDIENCE_MEMBERSHIP_RENEWED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        LogCondition> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public LogCondition findValueByNumber(int number) {
-              return LogCondition.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public LogCondition findValueByNumber(int number) {
+            return LogCondition.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final LogCondition[] VALUES = values();
 
-    public static LogCondition valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static LogCondition valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -197,14 +230,18 @@ private LogCondition(int value) {
   }
 
   public static final int EVENT_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object eventName_ = "";
   /**
+   *
+   *
    * 
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventName. */ @java.lang.Override @@ -213,29 +250,29 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** + * + * *
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -246,30 +283,47 @@ public java.lang.String getEventName() { public static final int LOG_CONDITION_FIELD_NUMBER = 2; private int logCondition_ = 0; /** + * + * *
    * Required. When to log the event.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for logCondition. */ - @java.lang.Override public int getLogConditionValue() { + @java.lang.Override + public int getLogConditionValue() { return logCondition_; } /** + * + * *
    * Required. When to log the event.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The logCondition. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition() { - com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber(logCondition_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition() { + com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = + com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber( + logCondition_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,12 +335,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventName_); } - if (logCondition_ != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.LOG_CONDITION_UNSPECIFIED.getNumber()) { + if (logCondition_ + != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition + .LOG_CONDITION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, logCondition_); } getUnknownFields().writeTo(output); @@ -301,9 +357,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventName_); } - if (logCondition_ != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.LOG_CONDITION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, logCondition_); + if (logCondition_ + != com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition + .LOG_CONDITION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, logCondition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,15 +371,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceEventTrigger)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceEventTrigger other = (com.google.analytics.admin.v1alpha.AudienceEventTrigger) obj; + com.google.analytics.admin.v1alpha.AudienceEventTrigger other = + (com.google.analytics.admin.v1alpha.AudienceEventTrigger) obj; - if (!getEventName() - .equals(other.getEventName())) return false; + if (!getEventName().equals(other.getEventName())) return false; if (logCondition_ != other.logCondition_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -344,129 +402,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( 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.AudienceEventTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceEventTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceEventTrigger prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceEventTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifies an event to log when a user joins the Audience.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceEventTrigger} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceEventTrigger) com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); + com.google.analytics.admin.v1alpha.AudienceEventTrigger.class, + com.google.analytics.admin.v1alpha.AudienceEventTrigger.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AudienceEventTrigger.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; } @java.lang.Override @@ -498,8 +563,11 @@ public com.google.analytics.admin.v1alpha.AudienceEventTrigger build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger buildPartial() { - com.google.analytics.admin.v1alpha.AudienceEventTrigger result = new com.google.analytics.admin.v1alpha.AudienceEventTrigger(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AudienceEventTrigger result = + new com.google.analytics.admin.v1alpha.AudienceEventTrigger(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -518,38 +586,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceEventTrigg public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceEventTrigger) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventTrigger)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceEventTrigger) other); } else { super.mergeFrom(other); return this; @@ -557,7 +626,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceEventTrigger other) { - if (other == com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AudienceEventTrigger.getDefaultInstance()) + return this; if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; bitField0_ |= 0x00000001; @@ -592,22 +662,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - eventName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - logCondition_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + eventName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + logCondition_ = input.readEnum(); + 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) { @@ -617,22 +690,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object eventName_ = ""; /** + * + * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -641,20 +717,21 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -662,28 +739,35 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } eventName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEventName() { @@ -693,17 +777,21 @@ public Builder clearEventName() { return this; } /** + * + * *
      * Required. The event name that will be logged.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000001; @@ -713,22 +801,33 @@ public Builder setEventNameBytes( private int logCondition_ = 0; /** + * + * *
      * Required. When to log the event.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for logCondition. */ - @java.lang.Override public int getLogConditionValue() { + @java.lang.Override + public int getLogConditionValue() { return logCondition_; } /** + * + * *
      * Required. When to log the event.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for logCondition to set. * @return This builder for chaining. */ @@ -739,28 +838,43 @@ public Builder setLogConditionValue(int value) { return this; } /** + * + * *
      * Required. When to log the event.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The logCondition. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition() { - com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber(logCondition_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition result = + com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.forNumber( + logCondition_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition.UNRECOGNIZED + : result; } /** + * + * *
      * Required. When to log the event.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The logCondition to set. * @return This builder for chaining. */ - public Builder setLogCondition(com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition value) { + public Builder setLogCondition( + com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition value) { if (value == null) { throw new NullPointerException(); } @@ -770,11 +884,16 @@ public Builder setLogCondition(com.google.analytics.admin.v1alpha.AudienceEventT return this; } /** + * + * *
      * Required. When to log the event.
      * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearLogCondition() { @@ -783,9 +902,9 @@ public Builder clearLogCondition() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,12 +914,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceEventTrigger) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceEventTrigger) private static final com.google.analytics.admin.v1alpha.AudienceEventTrigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceEventTrigger(); } @@ -809,27 +928,27 @@ public static com.google.analytics.admin.v1alpha.AudienceEventTrigger getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceEventTrigger 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceEventTrigger 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; @@ -844,6 +963,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceEventTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java similarity index 51% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java index 53e85714200a..82fda45faf2d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceEventTriggerOrBuilder.java @@ -1,47 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceEventTriggerOrBuilder extends +public interface AudienceEventTriggerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceEventTrigger) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventName. */ java.lang.String getEventName(); /** + * + * *
    * Required. The event name that will be logged.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventName. */ - com.google.protobuf.ByteString - getEventNameBytes(); + com.google.protobuf.ByteString getEventNameBytes(); /** + * + * *
    * Required. When to log the event.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for logCondition. */ int getLogConditionValue(); /** + * + * *
    * Required. When to log the event.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The logCondition. */ com.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition getLogCondition(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java index 224ac1db1474..b22c69161dc5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClause.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A clause for defining either a simple or sequence filter. A filter can be
  * inclusive (i.e., users satisfying the filter clause are included in the
@@ -13,54 +30,59 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterClause}
  */
-public final class AudienceFilterClause extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AudienceFilterClause extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceFilterClause)
     AudienceFilterClauseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AudienceFilterClause.newBuilder() to construct.
   private AudienceFilterClause(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AudienceFilterClause() {
     clauseType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AudienceFilterClause();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceFilterClause.class, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceFilterClause.class,
+            com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Specifies whether this is an include or exclude filter clause.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType} */ - public enum AudienceClauseType - implements com.google.protobuf.ProtocolMessageEnum { + public enum AudienceClauseType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified clause type.
      * 
@@ -69,6 +91,8 @@ public enum AudienceClauseType */ AUDIENCE_CLAUSE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Users will be included in the Audience if the filter clause is met.
      * 
@@ -77,6 +101,8 @@ public enum AudienceClauseType */ INCLUDE(1), /** + * + * *
      * Users will be excluded from the Audience if the filter clause is met.
      * 
@@ -88,6 +114,8 @@ public enum AudienceClauseType ; /** + * + * *
      * Unspecified clause type.
      * 
@@ -96,6 +124,8 @@ public enum AudienceClauseType */ public static final int AUDIENCE_CLAUSE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Users will be included in the Audience if the filter clause is met.
      * 
@@ -104,6 +134,8 @@ public enum AudienceClauseType */ public static final int INCLUDE_VALUE = 1; /** + * + * *
      * Users will be excluded from the Audience if the filter clause is met.
      * 
@@ -112,7 +144,6 @@ public enum AudienceClauseType */ public static final int EXCLUDE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,10 +168,14 @@ public static AudienceClauseType valueOf(int value) { */ public static AudienceClauseType forNumber(int value) { switch (value) { - case 0: return AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; - case 1: return INCLUDE; - case 2: return EXCLUDE; - default: return null; + case 0: + return AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; + case 1: + return INCLUDE; + case 2: + return EXCLUDE; + default: + return null; } } @@ -148,29 +183,31 @@ public static AudienceClauseType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AudienceClauseType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AudienceClauseType findValueByNumber(int number) { - return AudienceClauseType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AudienceClauseType findValueByNumber(int number) { + return AudienceClauseType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceFilterClause.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceFilterClause.getDescriptor() + .getEnumTypes() + .get(0); } private static final AudienceClauseType[] VALUES = values(); @@ -178,8 +215,7 @@ public AudienceClauseType findValueByNumber(int number) { public static AudienceClauseType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,13 +234,16 @@ private AudienceClauseType(int value) { private int filterCase_ = 0; private java.lang.Object filter_; + public enum FilterCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SIMPLE_FILTER(2), SEQUENCE_FILTER(3), FILTER_NOT_SET(0); private final int value; + private FilterCase(int value) { this.value = value; } @@ -220,30 +259,36 @@ public static FilterCase valueOf(int value) { public static FilterCase forNumber(int value) { switch (value) { - case 2: return SIMPLE_FILTER; - case 3: return SEQUENCE_FILTER; - case 0: return FILTER_NOT_SET; - default: return null; + case 2: + return SIMPLE_FILTER; + case 3: + return SEQUENCE_FILTER; + case 0: + return FILTER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FilterCase - getFilterCase() { - return FilterCase.forNumber( - filterCase_); + public FilterCase getFilterCase() { + return FilterCase.forNumber(filterCase_); } public static final int SIMPLE_FILTER_FIELD_NUMBER = 2; /** + * + * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * * @return Whether the simpleFilter field is set. */ @java.lang.Override @@ -251,21 +296,26 @@ public boolean hasSimpleFilter() { return filterCase_ == 2; } /** + * + * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * * @return The simpleFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter() { if (filterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; + return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; } return com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance(); } /** + * + * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
@@ -273,21 +323,25 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter() * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder + getSimpleFilterOrBuilder() { if (filterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; + return (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_; } return com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance(); } public static final int SEQUENCE_FILTER_FIELD_NUMBER = 3; /** + * + * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * * @return Whether the sequenceFilter field is set. */ @java.lang.Override @@ -295,22 +349,27 @@ public boolean hasSequenceFilter() { return filterCase_ == 3; } /** + * + * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * * @return The sequenceFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilter() { if (filterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_; + return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_; } return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance(); } /** + * + * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
@@ -319,9 +378,10 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilt
    * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder
+      getSequenceFilterOrBuilder() {
     if (filterCase_ == 3) {
-       return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_;
+      return (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_;
     }
     return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance();
   }
@@ -329,30 +389,48 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSeq
   public static final int CLAUSE_TYPE_FIELD_NUMBER = 1;
   private int clauseType_ = 0;
   /**
+   *
+   *
    * 
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for clauseType. */ - @java.lang.Override public int getClauseTypeValue() { + @java.lang.Override + public int getClauseTypeValue() { return clauseType_; } /** + * + * *
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clauseType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType getClauseType() { - com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber(clauseType_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType + getClauseType() { + com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = + com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber( + clauseType_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,9 +442,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (clauseType_ != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.AUDIENCE_CLAUSE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (clauseType_ + != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType + .AUDIENCE_CLAUSE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, clauseType_); } if (filterCase_ == 2) { @@ -384,17 +464,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (clauseType_ != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.AUDIENCE_CLAUSE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, clauseType_); + if (clauseType_ + != com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType + .AUDIENCE_CLAUSE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, clauseType_); } if (filterCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_); } if (filterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -404,23 +488,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceFilterClause)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceFilterClause other = (com.google.analytics.admin.v1alpha.AudienceFilterClause) obj; + com.google.analytics.admin.v1alpha.AudienceFilterClause other = + (com.google.analytics.admin.v1alpha.AudienceFilterClause) obj; if (clauseType_ != other.clauseType_) return false; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 2: - if (!getSimpleFilter() - .equals(other.getSimpleFilter())) return false; + if (!getSimpleFilter().equals(other.getSimpleFilter())) return false; break; case 3: - if (!getSequenceFilter() - .equals(other.getSequenceFilter())) return false; + if (!getSequenceFilter().equals(other.getSequenceFilter())) return false; break; case 0: default: @@ -456,96 +539,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( 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.AudienceFilterClause parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceFilterClause parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceFilterClause prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceFilterClause prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A clause for defining either a simple or sequence filter. A filter can be
    * inclusive (i.e., users satisfying the filter clause are included in the
@@ -555,33 +646,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterClause}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceFilterClause)
       com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceFilterClause.class, com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceFilterClause.class,
+              com.google.analytics.admin.v1alpha.AudienceFilterClause.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceFilterClause.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -599,9 +689,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor;
     }
 
     @java.lang.Override
@@ -620,8 +710,11 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClause build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceFilterClause buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceFilterClause result = new com.google.analytics.admin.v1alpha.AudienceFilterClause(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AudienceFilterClause result =
+          new com.google.analytics.admin.v1alpha.AudienceFilterClause(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -634,15 +727,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceFilterClau
       }
     }
 
-    private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceFilterClause result) {
+    private void buildPartialOneofs(
+        com.google.analytics.admin.v1alpha.AudienceFilterClause result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 2 &&
-          simpleFilterBuilder_ != null) {
+      if (filterCase_ == 2 && simpleFilterBuilder_ != null) {
         result.filter_ = simpleFilterBuilder_.build();
       }
-      if (filterCase_ == 3 &&
-          sequenceFilterBuilder_ != null) {
+      if (filterCase_ == 3 && sequenceFilterBuilder_ != null) {
         result.filter_ = sequenceFilterBuilder_.build();
       }
     }
@@ -651,38 +743,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceFilte
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceFilterClause) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterClause)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterClause) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -690,22 +783,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceFilterClause other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceFilterClause.getDefaultInstance())
+        return this;
       if (other.clauseType_ != 0) {
         setClauseTypeValue(other.getClauseTypeValue());
       }
       switch (other.getFilterCase()) {
-        case SIMPLE_FILTER: {
-          mergeSimpleFilter(other.getSimpleFilter());
-          break;
-        }
-        case SEQUENCE_FILTER: {
-          mergeSequenceFilter(other.getSequenceFilter());
-          break;
-        }
-        case FILTER_NOT_SET: {
-          break;
-        }
+        case SIMPLE_FILTER:
+          {
+            mergeSimpleFilter(other.getSimpleFilter());
+            break;
+          }
+        case SEQUENCE_FILTER:
+          {
+            mergeSequenceFilter(other.getSequenceFilter());
+            break;
+          }
+        case FILTER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -733,31 +830,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              clauseType_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getSimpleFilterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              filterCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getSequenceFilterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              filterCase_ = 3;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                clauseType_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getSimpleFilterFieldBuilder().getBuilder(), extensionRegistry);
+                filterCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getSequenceFilterFieldBuilder().getBuilder(), extensionRegistry);
+                filterCase_ = 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) {
@@ -767,12 +864,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int filterCase_ = 0;
     private java.lang.Object filter_;
-    public FilterCase
-        getFilterCase() {
-      return FilterCase.forNumber(
-          filterCase_);
+
+    public FilterCase getFilterCase() {
+      return FilterCase.forNumber(filterCase_);
     }
 
     public Builder clearFilter() {
@@ -785,13 +882,19 @@ public Builder clearFilter() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceSimpleFilter, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder> simpleFilterBuilder_;
+            com.google.analytics.admin.v1alpha.AudienceSimpleFilter,
+            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder,
+            com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder>
+        simpleFilterBuilder_;
     /**
+     *
+     *
      * 
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * * @return Whether the simpleFilter field is set. */ @java.lang.Override @@ -799,11 +902,14 @@ public boolean hasSimpleFilter() { return filterCase_ == 2; } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * * @return The simpleFilter. */ @java.lang.Override @@ -821,6 +927,8 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter() } } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -841,6 +949,8 @@ public Builder setSimpleFilter(com.google.analytics.admin.v1alpha.AudienceSimple return this; } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -859,18 +969,25 @@ public Builder setSimpleFilter( return this; } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ - public Builder mergeSimpleFilter(com.google.analytics.admin.v1alpha.AudienceSimpleFilter value) { + public Builder mergeSimpleFilter( + com.google.analytics.admin.v1alpha.AudienceSimpleFilter value) { if (simpleFilterBuilder_ == null) { - if (filterCase_ == 2 && - filter_ != com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance()) { - filter_ = com.google.analytics.admin.v1alpha.AudienceSimpleFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_) - .mergeFrom(value).buildPartial(); + if (filterCase_ == 2 + && filter_ + != com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance()) { + filter_ = + com.google.analytics.admin.v1alpha.AudienceSimpleFilter.newBuilder( + (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_) + .mergeFrom(value) + .buildPartial(); } else { filter_ = value; } @@ -886,6 +1003,8 @@ public Builder mergeSimpleFilter(com.google.analytics.admin.v1alpha.AudienceSimp return this; } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -909,16 +1028,21 @@ public Builder clearSimpleFilter() { return this; } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ - public com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder getSimpleFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder + getSimpleFilterBuilder() { return getSimpleFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -926,7 +1050,8 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder getSimple * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder + getSimpleFilterOrBuilder() { if ((filterCase_ == 2) && (simpleFilterBuilder_ != null)) { return simpleFilterBuilder_.getMessageOrBuilder(); } else { @@ -937,6 +1062,8 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpl } } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -944,14 +1071,19 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpl * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSimpleFilter, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceSimpleFilter, + com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder> getSimpleFilterFieldBuilder() { if (simpleFilterBuilder_ == null) { if (!(filterCase_ == 2)) { filter_ = com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance(); } - simpleFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSimpleFilter, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder>( + simpleFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceSimpleFilter, + com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) filter_, getParentForChildren(), isClean()); @@ -963,14 +1095,20 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpl } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder> sequenceFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder> + sequenceFilterBuilder_; /** + * + * *
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * * @return Whether the sequenceFilter field is set. */ @java.lang.Override @@ -978,12 +1116,15 @@ public boolean hasSequenceFilter() { return filterCase_ == 3; } /** + * + * *
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
      * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * * @return The sequenceFilter. */ @java.lang.Override @@ -1001,6 +1142,8 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilt } } /** + * + * *
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1008,7 +1151,8 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilt
      *
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
-    public Builder setSequenceFilter(com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
+    public Builder setSequenceFilter(
+        com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
       if (sequenceFilterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1022,6 +1166,8 @@ public Builder setSequenceFilter(com.google.analytics.admin.v1alpha.AudienceSequ
       return this;
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1041,6 +1187,8 @@ public Builder setSequenceFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1048,12 +1196,17 @@ public Builder setSequenceFilter(
      *
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
-    public Builder mergeSequenceFilter(com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
+    public Builder mergeSequenceFilter(
+        com.google.analytics.admin.v1alpha.AudienceSequenceFilter value) {
       if (sequenceFilterBuilder_ == null) {
-        if (filterCase_ == 3 &&
-            filter_ != com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance()) {
-          filter_ = com.google.analytics.admin.v1alpha.AudienceSequenceFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_)
-              .mergeFrom(value).buildPartial();
+        if (filterCase_ == 3
+            && filter_
+                != com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance()) {
+          filter_ =
+              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.newBuilder(
+                      (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           filter_ = value;
         }
@@ -1069,6 +1222,8 @@ public Builder mergeSequenceFilter(com.google.analytics.admin.v1alpha.AudienceSe
       return this;
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1093,6 +1248,8 @@ public Builder clearSequenceFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1100,10 +1257,13 @@ public Builder clearSequenceFilter() {
      *
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
-    public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder getSequenceFilterBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder
+        getSequenceFilterBuilder() {
       return getSequenceFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1112,7 +1272,8 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder getSequ
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder
+        getSequenceFilterOrBuilder() {
       if ((filterCase_ == 3) && (sequenceFilterBuilder_ != null)) {
         return sequenceFilterBuilder_.getMessageOrBuilder();
       } else {
@@ -1123,6 +1284,8 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSeq
       }
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1131,14 +1294,19 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSeq
      * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceSequenceFilter, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder> 
+            com.google.analytics.admin.v1alpha.AudienceSequenceFilter,
+            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder,
+            com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder>
         getSequenceFilterFieldBuilder() {
       if (sequenceFilterBuilder_ == null) {
         if (!(filterCase_ == 3)) {
           filter_ = com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance();
         }
-        sequenceFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceSequenceFilter, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder>(
+        sequenceFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AudienceSequenceFilter,
+                com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder,
+                com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) filter_,
                 getParentForChildren(),
                 isClean());
@@ -1151,22 +1319,33 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSeq
 
     private int clauseType_ = 0;
     /**
+     *
+     *
      * 
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for clauseType. */ - @java.lang.Override public int getClauseTypeValue() { + @java.lang.Override + public int getClauseTypeValue() { return clauseType_; } /** + * + * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for clauseType to set. * @return This builder for chaining. */ @@ -1177,28 +1356,44 @@ public Builder setClauseTypeValue(int value) { return this; } /** + * + * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clauseType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType getClauseType() { - com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber(clauseType_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType + getClauseType() { + com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType result = + com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.forNumber( + clauseType_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The clauseType to set. * @return This builder for chaining. */ - public Builder setClauseType(com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType value) { + public Builder setClauseType( + com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType value) { if (value == null) { throw new NullPointerException(); } @@ -1208,11 +1403,16 @@ public Builder setClauseType(com.google.analytics.admin.v1alpha.AudienceFilterCl return this; } /** + * + * *
      * Required. Specifies whether this is an include or exclude filter clause.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearClauseType() { @@ -1221,9 +1421,9 @@ public Builder clearClauseType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1233,12 +1433,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceFilterClause) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceFilterClause) private static final com.google.analytics.admin.v1alpha.AudienceFilterClause DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceFilterClause(); } @@ -1247,27 +1447,27 @@ public static com.google.analytics.admin.v1alpha.AudienceFilterClause getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceFilterClause 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceFilterClause 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; @@ -1282,6 +1482,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceFilterClause getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java index cbf616a54874..7f05d1b20485 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterClauseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceFilterClauseOrBuilder extends +public interface AudienceFilterClauseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceFilterClause) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * * @return Whether the simpleFilter field is set. */ boolean hasSimpleFilter(); /** + * + * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * * @return The simpleFilter. */ com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter(); /** + * + * *
    * A simple filter that a user must satisfy to be a member of the Audience.
    * 
@@ -35,26 +59,34 @@ public interface AudienceFilterClauseOrBuilder extends com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder(); /** + * + * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * * @return Whether the sequenceFilter field is set. */ boolean hasSequenceFilter(); /** + * + * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
    * 
* * .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * * @return The sequenceFilter. */ com.google.analytics.admin.v1alpha.AudienceSequenceFilter getSequenceFilter(); /** + * + * *
    * Filters that must occur in a specific order for the user to be a member
    * of the Audience.
@@ -65,20 +97,30 @@ public interface AudienceFilterClauseOrBuilder extends
   com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for clauseType. */ int getClauseTypeValue(); /** + * + * *
    * Required. Specifies whether this is an include or exclude filter clause.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clauseType. */ com.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType getClauseType(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java index be67d3c6e302..e3749c0135fb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpression.java @@ -1,56 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A logical expression of Audience dimension, metric, or event filters.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpression} */ -public final class AudienceFilterExpression extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AudienceFilterExpression extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceFilterExpression) AudienceFilterExpressionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudienceFilterExpression.newBuilder() to construct. private AudienceFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AudienceFilterExpression() { - } + + private AudienceFilterExpression() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudienceFilterExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); } private int exprCase_ = 0; private java.lang.Object expr_; + public enum ExprCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AND_GROUP(1), OR_GROUP(2), @@ -59,6 +79,7 @@ public enum ExprCase EVENT_FILTER(5), EXPR_NOT_SET(0); private final int value; + private ExprCase(int value) { this.value = value; } @@ -74,28 +95,36 @@ public static ExprCase valueOf(int value) { public static ExprCase forNumber(int value) { switch (value) { - case 1: return AND_GROUP; - case 2: return OR_GROUP; - case 3: return NOT_EXPRESSION; - case 4: return DIMENSION_OR_METRIC_FILTER; - case 5: return EVENT_FILTER; - case 0: return EXPR_NOT_SET; - default: return null; + case 1: + return AND_GROUP; + case 2: + return OR_GROUP; + case 3: + return NOT_EXPRESSION; + case 4: + return DIMENSION_OR_METRIC_FILTER; + case 5: + return EVENT_FILTER; + case 0: + return EXPR_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ExprCase - getExprCase() { - return ExprCase.forNumber( - exprCase_); + public ExprCase getExprCase() { + return ExprCase.forNumber(exprCase_); } public static final int AND_GROUP_FIELD_NUMBER = 1; /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -103,6 +132,7 @@ public int getNumber() {
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -110,6 +140,8 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -117,16 +149,19 @@ public boolean hasAndGroup() {
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGroup() { if (exprCase_ == 1) { - return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; + return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; } return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -136,21 +171,25 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGro
    * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
+      getAndGroupOrBuilder() {
     if (exprCase_ == 1) {
-       return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
+      return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
   }
 
   public static final int OR_GROUP_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -158,22 +197,27 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGroup() { if (exprCase_ == 2) { - return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; + return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_; } return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
@@ -182,15 +226,18 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGrou
    * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
+      getOrGroupOrBuilder() {
     if (exprCase_ == 2) {
-       return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
+      return (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
   }
 
   public static final int NOT_EXPRESSION_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -198,6 +245,7 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -205,6 +253,8 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -212,16 +262,19 @@ public boolean hasNotExpression() {
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpression() { if (exprCase_ == 3) { - return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_; + return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_; } return com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance(); } /** + * + * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -231,21 +284,27 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpress
    * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder() {
+  public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder
+      getNotExpressionOrBuilder() {
     if (exprCase_ == 3) {
-       return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_;
+      return (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance();
   }
 
   public static final int DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * * @return Whether the dimensionOrMetricFilter field is set. */ @java.lang.Override @@ -253,45 +312,59 @@ public boolean hasDimensionOrMetricFilter() { return exprCase_ == 4; } /** + * + * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * * @return The dimensionOrMetricFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDimensionOrMetricFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + getDimensionOrMetricFilter() { if (exprCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } /** + * + * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder + getDimensionOrMetricFilterOrBuilder() { if (exprCase_ == 4) { - return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; + return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); } public static final int EVENT_FILTER_FIELD_NUMBER = 5; /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * * @return Whether the eventFilter field is set. */ @java.lang.Override @@ -299,22 +372,27 @@ public boolean hasEventFilter() { return exprCase_ == 5; } /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * * @return The eventFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter() { if (exprCase_ == 5) { - return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_; + return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_; } return com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance(); } /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
@@ -325,12 +403,13 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter() {
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder getEventFilterOrBuilder() {
     if (exprCase_ == 5) {
-       return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_;
+      return (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_;
     }
     return com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -342,19 +421,21 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (exprCase_ == 1) {
-      output.writeMessage(1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      output.writeMessage(
+          1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      output.writeMessage(2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      output.writeMessage(
+          2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
       output.writeMessage(3, (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_);
     }
     if (exprCase_ == 4) {
-      output.writeMessage(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
+      output.writeMessage(
+          4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
     }
     if (exprCase_ == 5) {
       output.writeMessage(5, (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_);
@@ -369,24 +450,29 @@ public int getSerializedSize() {
 
     size = 0;
     if (exprCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_);
     }
     if (exprCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_);
     }
     if (exprCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -396,34 +482,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceFilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.AudienceFilterExpression other = (com.google.analytics.admin.v1alpha.AudienceFilterExpression) obj;
+    com.google.analytics.admin.v1alpha.AudienceFilterExpression other =
+        (com.google.analytics.admin.v1alpha.AudienceFilterExpression) obj;
 
     if (!getExprCase().equals(other.getExprCase())) return false;
     switch (exprCase_) {
       case 1:
-        if (!getAndGroup()
-            .equals(other.getAndGroup())) return false;
+        if (!getAndGroup().equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getOrGroup()
-            .equals(other.getOrGroup())) return false;
+        if (!getOrGroup().equals(other.getOrGroup())) return false;
         break;
       case 3:
-        if (!getNotExpression()
-            .equals(other.getNotExpression())) return false;
+        if (!getNotExpression().equals(other.getNotExpression())) return false;
         break;
       case 4:
-        if (!getDimensionOrMetricFilter()
-            .equals(other.getDimensionOrMetricFilter())) return false;
+        if (!getDimensionOrMetricFilter().equals(other.getDimensionOrMetricFilter())) return false;
         break;
       case 5:
-        if (!getEventFilter()
-            .equals(other.getEventFilter())) return false;
+        if (!getEventFilter().equals(other.getEventFilter())) return false;
         break;
       case 0:
       default:
@@ -469,129 +551,136 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
       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.AudienceFilterExpression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.AudienceFilterExpression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceFilterExpression prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.admin.v1alpha.AudienceFilterExpression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A logical expression of Audience dimension, metric, or event filters.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpression} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceFilterExpression) com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpression.class, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AudienceFilterExpression.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -617,9 +706,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; } @java.lang.Override @@ -638,8 +727,11 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression buildPartial() { - com.google.analytics.admin.v1alpha.AudienceFilterExpression result = new com.google.analytics.admin.v1alpha.AudienceFilterExpression(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AudienceFilterExpression result = + new com.google.analytics.admin.v1alpha.AudienceFilterExpression(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -649,27 +741,23 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceFilterExpr int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceFilterExpression result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.AudienceFilterExpression result) { result.exprCase_ = exprCase_; result.expr_ = this.expr_; - if (exprCase_ == 1 && - andGroupBuilder_ != null) { + if (exprCase_ == 1 && andGroupBuilder_ != null) { result.expr_ = andGroupBuilder_.build(); } - if (exprCase_ == 2 && - orGroupBuilder_ != null) { + if (exprCase_ == 2 && orGroupBuilder_ != null) { result.expr_ = orGroupBuilder_.build(); } - if (exprCase_ == 3 && - notExpressionBuilder_ != null) { + if (exprCase_ == 3 && notExpressionBuilder_ != null) { result.expr_ = notExpressionBuilder_.build(); } - if (exprCase_ == 4 && - dimensionOrMetricFilterBuilder_ != null) { + if (exprCase_ == 4 && dimensionOrMetricFilterBuilder_ != null) { result.expr_ = dimensionOrMetricFilterBuilder_.build(); } - if (exprCase_ == 5 && - eventFilterBuilder_ != null) { + if (exprCase_ == 5 && eventFilterBuilder_ != null) { result.expr_ = eventFilterBuilder_.build(); } } @@ -678,38 +766,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AudienceFilte public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceFilterExpression) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpression)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpression) other); } else { super.mergeFrom(other); return this; @@ -717,31 +806,38 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceFilterExpression other) { - if (other == com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) + return this; switch (other.getExprCase()) { - case AND_GROUP: { - mergeAndGroup(other.getAndGroup()); - break; - } - case OR_GROUP: { - mergeOrGroup(other.getOrGroup()); - break; - } - case NOT_EXPRESSION: { - mergeNotExpression(other.getNotExpression()); - break; - } - case DIMENSION_OR_METRIC_FILTER: { - mergeDimensionOrMetricFilter(other.getDimensionOrMetricFilter()); - break; - } - case EVENT_FILTER: { - mergeEventFilter(other.getEventFilter()); - break; - } - case EXPR_NOT_SET: { - break; - } + case AND_GROUP: + { + mergeAndGroup(other.getAndGroup()); + break; + } + case OR_GROUP: + { + mergeOrGroup(other.getOrGroup()); + break; + } + case NOT_EXPRESSION: + { + mergeNotExpression(other.getNotExpression()); + break; + } + case DIMENSION_OR_METRIC_FILTER: + { + mergeDimensionOrMetricFilter(other.getDimensionOrMetricFilter()); + break; + } + case EVENT_FILTER: + { + mergeEventFilter(other.getEventFilter()); + break; + } + case EXPR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -769,47 +865,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAndGroupFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getOrGroupFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getNotExpressionFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getDimensionOrMetricFilterFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getEventFilterFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 5; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAndGroupFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getOrGroupFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getNotExpressionFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getDimensionOrMetricFilterFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getEventFilterFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 5; + break; + } // case 42 + 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) { @@ -819,12 +912,12 @@ public Builder mergeFrom( } // finally return this; } + private int exprCase_ = 0; private java.lang.Object expr_; - public ExprCase - getExprCase() { - return ExprCase.forNumber( - exprCase_); + + public ExprCase getExprCase() { + return ExprCase.forNumber(exprCase_); } public Builder clearExpr() { @@ -837,8 +930,13 @@ public Builder clearExpr() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> andGroupBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> + andGroupBuilder_; /** + * + * *
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -846,6 +944,7 @@ public Builder clearExpr() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -853,6 +952,8 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** + * + * *
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -860,6 +961,7 @@ public boolean hasAndGroup() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override @@ -877,6 +979,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGro } } /** + * + * *
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -885,7 +989,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGro
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
-    public Builder setAndGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder setAndGroup(
+        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (andGroupBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -899,6 +1004,8 @@ public Builder setAndGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpr
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -919,6 +1026,8 @@ public Builder setAndGroup(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -927,12 +1036,18 @@ public Builder setAndGroup(
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
-    public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder mergeAndGroup(
+        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (andGroupBuilder_ == null) {
-        if (exprCase_ == 1 &&
-            expr_ != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 1
+            && expr_
+                != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList
+                    .getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder(
+                      (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -948,6 +1063,8 @@ public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.AudienceFilterEx
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -973,6 +1090,8 @@ public Builder clearAndGroup() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -981,10 +1100,13 @@ public Builder clearAndGroup() {
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder getAndGroupBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder
+        getAndGroupBuilder() {
       return getAndGroupFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -994,7 +1116,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder g
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
+        getAndGroupOrBuilder() {
       if ((exprCase_ == 1) && (andGroupBuilder_ != null)) {
         return andGroupBuilder_.getMessageOrBuilder();
       } else {
@@ -1005,6 +1128,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * AudienceFilterExpressions with or_group. This must be set for the top
@@ -1014,14 +1139,20 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> 
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>
         getAndGroupFieldBuilder() {
       if (andGroupBuilder_ == null) {
         if (!(exprCase_ == 1)) {
-          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
+          expr_ =
+              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
         }
-        andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
+        andGroupBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
+                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
+                com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1033,14 +1164,20 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> orGroupBuilder_;
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>
+        orGroupBuilder_;
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -1048,12 +1185,15 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** + * + * *
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override @@ -1071,6 +1211,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGrou } } /** + * + * *
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1078,7 +1220,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGrou
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
-    public Builder setOrGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder setOrGroup(
+        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (orGroupBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1092,6 +1235,8 @@ public Builder setOrGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpre
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1111,6 +1256,8 @@ public Builder setOrGroup(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1118,12 +1265,18 @@ public Builder setOrGroup(
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
-    public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
+    public Builder mergeOrGroup(
+        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList value) {
       if (orGroupBuilder_ == null) {
-        if (exprCase_ == 2 &&
-            expr_ != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 2
+            && expr_
+                != com.google.analytics.admin.v1alpha.AudienceFilterExpressionList
+                    .getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder(
+                      (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -1139,6 +1292,8 @@ public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.AudienceFilterExp
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1163,6 +1318,8 @@ public Builder clearOrGroup() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1170,10 +1327,13 @@ public Builder clearOrGroup() {
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder getOrGroupBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder
+        getOrGroupBuilder() {
       return getOrGroupFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1182,7 +1342,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder g
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
+        getOrGroupOrBuilder() {
       if ((exprCase_ == 2) && (orGroupBuilder_ != null)) {
         return orGroupBuilder_.getMessageOrBuilder();
       } else {
@@ -1193,6 +1354,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1201,14 +1364,20 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
      * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder> 
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>
         getOrGroupFieldBuilder() {
       if (orGroupBuilder_ == null) {
         if (!(exprCase_ == 2)) {
-          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
+          expr_ =
+              com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance();
         }
-        orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpressionList, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
+        orGroupBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList,
+                com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder,
+                com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1220,8 +1389,13 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> notExpressionBuilder_;
+            com.google.analytics.admin.v1alpha.AudienceFilterExpression,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>
+        notExpressionBuilder_;
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1229,6 +1403,7 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1236,6 +1411,8 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1243,6 +1420,7 @@ public boolean hasNotExpression() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override @@ -1260,6 +1438,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpress } } /** + * + * *
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1268,7 +1448,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpress
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
-    public Builder setNotExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
+    public Builder setNotExpression(
+        com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
       if (notExpressionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1282,6 +1463,8 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.AudienceFilte
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1302,6 +1485,8 @@ public Builder setNotExpression(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1310,12 +1495,18 @@ public Builder setNotExpression(
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
-    public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
+    public Builder mergeNotExpression(
+        com.google.analytics.admin.v1alpha.AudienceFilterExpression value) {
       if (notExpressionBuilder_ == null) {
-        if (exprCase_ == 3 &&
-            expr_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpression.newBuilder((com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 3
+            && expr_
+                != com.google.analytics.admin.v1alpha.AudienceFilterExpression
+                    .getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.AudienceFilterExpression.newBuilder(
+                      (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -1331,6 +1522,8 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AudienceFil
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1356,6 +1549,8 @@ public Builder clearNotExpression() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1364,10 +1559,13 @@ public Builder clearNotExpression() {
      *
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getNotExpressionBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder
+        getNotExpressionBuilder() {
       return getNotExpressionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1377,7 +1575,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getNo
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder
+        getNotExpressionOrBuilder() {
       if ((exprCase_ == 3) && (notExpressionBuilder_ != null)) {
         return notExpressionBuilder_.getMessageOrBuilder();
       } else {
@@ -1388,6 +1587,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getN
       }
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (i.e., inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1397,14 +1598,19 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getN
      * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> 
+            com.google.analytics.admin.v1alpha.AudienceFilterExpression,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>
         getNotExpressionFieldBuilder() {
       if (notExpressionBuilder_ == null) {
         if (!(exprCase_ == 3)) {
           expr_ = com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance();
         }
-        notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>(
+        notExpressionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AudienceFilterExpression,
+                com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder,
+                com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceFilterExpression) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1416,14 +1622,22 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getN
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder> dimensionOrMetricFilterBuilder_;
+            com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter,
+            com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder,
+            com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder>
+        dimensionOrMetricFilterBuilder_;
     /**
+     *
+     *
      * 
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * * @return Whether the dimensionOrMetricFilter field is set. */ @java.lang.Override @@ -1431,37 +1645,50 @@ public boolean hasDimensionOrMetricFilter() { return exprCase_ == 4; } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * * @return The dimensionOrMetricFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDimensionOrMetricFilter() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + getDimensionOrMetricFilter() { if (dimensionOrMetricFilterBuilder_ == null) { if (exprCase_ == 4) { return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .getDefaultInstance(); } else { if (exprCase_ == 4) { return dimensionOrMetricFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ - public Builder setDimensionOrMetricFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { + public Builder setDimensionOrMetricFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { if (dimensionOrMetricFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1475,15 +1702,20 @@ public Builder setDimensionOrMetricFilter(com.google.analytics.admin.v1alpha.Aud return this; } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ public Builder setDimensionOrMetricFilter( - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder + builderForValue) { if (dimensionOrMetricFilterBuilder_ == null) { expr_ = builderForValue.build(); onChanged(); @@ -1494,19 +1726,29 @@ public Builder setDimensionOrMetricFilter( return this; } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ - public Builder mergeDimensionOrMetricFilter(com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { + public Builder mergeDimensionOrMetricFilter( + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter value) { if (dimensionOrMetricFilterBuilder_ == null) { - if (exprCase_ == 4 && - expr_ != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance()) { - expr_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_) - .mergeFrom(value).buildPartial(); + if (exprCase_ == 4 + && expr_ + != com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .getDefaultInstance()) { + expr_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.newBuilder( + (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_) + .mergeFrom(value) + .buildPartial(); } else { expr_ = value; } @@ -1522,12 +1764,16 @@ public Builder mergeDimensionOrMetricFilter(com.google.analytics.admin.v1alpha.A return this; } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ public Builder clearDimensionOrMetricFilter() { if (dimensionOrMetricFilterBuilder_ == null) { @@ -1546,52 +1792,74 @@ public Builder clearDimensionOrMetricFilter() { return this; } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder getDimensionOrMetricFilterBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder + getDimensionOrMetricFilterBuilder() { return getDimensionOrMetricFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder + getDimensionOrMetricFilterOrBuilder() { if ((exprCase_ == 4) && (dimensionOrMetricFilterBuilder_ != null)) { return dimensionOrMetricFilterBuilder_.getMessageOrBuilder(); } else { if (exprCase_ == 4) { return (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_; } - return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter on a single dimension or metric. This cannot be set on the top
      * level AudienceFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder> + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder> getDimensionOrMetricFilterFieldBuilder() { if (dimensionOrMetricFilterBuilder_ == null) { if (!(exprCase_ == 4)) { - expr_ = com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.getDefaultInstance(); + expr_ = + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + .getDefaultInstance(); } - dimensionOrMetricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder>( + dimensionOrMetricFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder>( (com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter) expr_, getParentForChildren(), isClean()); @@ -1603,14 +1871,20 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceEventFilter, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder> eventFilterBuilder_; + com.google.analytics.admin.v1alpha.AudienceEventFilter, + com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, + com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder> + eventFilterBuilder_; /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
      * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * * @return Whether the eventFilter field is set. */ @java.lang.Override @@ -1618,12 +1892,15 @@ public boolean hasEventFilter() { return exprCase_ == 5; } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
      * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * * @return The eventFilter. */ @java.lang.Override @@ -1641,6 +1918,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter() { } } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1662,6 +1941,8 @@ public Builder setEventFilter(com.google.analytics.admin.v1alpha.AudienceEventFi
       return this;
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1681,6 +1962,8 @@ public Builder setEventFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1690,10 +1973,14 @@ public Builder setEventFilter(
      */
     public Builder mergeEventFilter(com.google.analytics.admin.v1alpha.AudienceEventFilter value) {
       if (eventFilterBuilder_ == null) {
-        if (exprCase_ == 5 &&
-            expr_ != com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.AudienceEventFilter.newBuilder((com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 5
+            && expr_
+                != com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.AudienceEventFilter.newBuilder(
+                      (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -1709,6 +1996,8 @@ public Builder mergeEventFilter(com.google.analytics.admin.v1alpha.AudienceEvent
       return this;
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1733,6 +2022,8 @@ public Builder clearEventFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1744,6 +2035,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder getEventFi
       return getEventFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1752,7 +2045,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder getEventFi
      * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder getEventFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder
+        getEventFilterOrBuilder() {
       if ((exprCase_ == 5) && (eventFilterBuilder_ != null)) {
         return eventFilterBuilder_.getMessageOrBuilder();
       } else {
@@ -1763,6 +2057,8 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder getEventF
       }
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1771,14 +2067,19 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder getEventF
      * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AudienceEventFilter, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder> 
+            com.google.analytics.admin.v1alpha.AudienceEventFilter,
+            com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder,
+            com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder>
         getEventFilterFieldBuilder() {
       if (eventFilterBuilder_ == null) {
         if (!(exprCase_ == 5)) {
           expr_ = com.google.analytics.admin.v1alpha.AudienceEventFilter.getDefaultInstance();
         }
-        eventFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AudienceEventFilter, com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder, com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder>(
+        eventFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AudienceEventFilter,
+                com.google.analytics.admin.v1alpha.AudienceEventFilter.Builder,
+                com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder>(
                 (com.google.analytics.admin.v1alpha.AudienceEventFilter) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1788,9 +2089,9 @@ public com.google.analytics.admin.v1alpha.AudienceEventFilterOrBuilder getEventF
       onChanged();
       return eventFilterBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1800,12 +2101,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceFilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceFilterExpression)
   private static final com.google.analytics.admin.v1alpha.AudienceFilterExpression DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceFilterExpression();
   }
@@ -1814,27 +2115,27 @@ public static com.google.analytics.admin.v1alpha.AudienceFilterExpression getDef
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AudienceFilterExpression 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();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AudienceFilterExpression 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;
@@ -1849,6 +2150,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.AudienceFilterExpression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
similarity index 60%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
index 98a43debeabd..5930c15ee7fe 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionList.java
@@ -1,115 +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/audience.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * A list of Audience filter expressions.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpressionList} */ -public final class AudienceFilterExpressionList extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AudienceFilterExpressionList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceFilterExpressionList) AudienceFilterExpressionListOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudienceFilterExpressionList.newBuilder() to construct. private AudienceFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AudienceFilterExpressionList() { filterExpressions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudienceFilterExpressionList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); } public static final int FILTER_EXPRESSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List filterExpressions_; + private java.util.List + filterExpressions_; /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { return filterExpressions_; } /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getFilterExpressionsOrBuilderList() { return filterExpressions_; } /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ @java.lang.Override public int getFilterExpressionsCount() { return filterExpressions_.size(); } /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions(int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions( + int index) { return filterExpressions_.get(index); } /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { return filterExpressions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +161,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < filterExpressions_.size(); i++) { output.writeMessage(1, filterExpressions_.get(i)); } @@ -136,8 +175,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < filterExpressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, filterExpressions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, filterExpressions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +186,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other = (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) obj; + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other = + (com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) obj; - if (!getFilterExpressionsList() - .equals(other.getFilterExpressionsList())) return false; + if (!getFilterExpressionsList().equals(other.getFilterExpressionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +216,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( 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.AudienceFilterExpressionList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A list of Audience filter expressions.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AudienceFilterExpressionList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceFilterExpressionList) com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.class, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,13 +361,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance(); } @@ -336,14 +383,18 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList buildPartial() { - com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result = new com.google.analytics.admin.v1alpha.AudienceFilterExpressionList(this); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result = + new com.google.analytics.admin.v1alpha.AudienceFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { if (filterExpressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { filterExpressions_ = java.util.Collections.unmodifiableList(filterExpressions_); @@ -355,7 +406,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Audie } } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -363,46 +415,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceFilterExpr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceFilterExpressionList) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AudienceFilterExpressionList) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other) { - if (other == com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceFilterExpressionList other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceFilterExpressionList.getDefaultInstance()) + return this; if (filterExpressionsBuilder_ == null) { if (!other.filterExpressions_.isEmpty()) { if (filterExpressions_.isEmpty()) { @@ -421,9 +477,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceFilterExpres filterExpressionsBuilder_ = null; filterExpressions_ = other.filterExpressions_; bitField0_ = (bitField0_ & ~0x00000001); - filterExpressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilterExpressionsFieldBuilder() : null; + filterExpressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilterExpressionsFieldBuilder() + : null; } else { filterExpressionsBuilder_.addAllMessages(other.filterExpressions_); } @@ -455,25 +512,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AudienceFilterExpression m = - input.readMessage( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.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: + case 10: + { + com.google.analytics.admin.v1alpha.AudienceFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1alpha.AudienceFilterExpression.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) { @@ -483,28 +542,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List filterExpressions_ = - java.util.Collections.emptyList(); + private java.util.List + filterExpressions_ = java.util.Collections.emptyList(); + private void ensureFilterExpressionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - filterExpressions_ = new java.util.ArrayList(filterExpressions_); + filterExpressions_ = + new java.util.ArrayList( + filterExpressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> filterExpressionsBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + filterExpressionsBuilder_; /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { if (filterExpressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(filterExpressions_); } else { @@ -512,11 +583,15 @@ public java.util.List * A list of Audience filter expressions. *
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public int getFilterExpressionsCount() { if (filterExpressionsBuilder_ == null) { @@ -526,13 +601,18 @@ public int getFilterExpressionsCount() { } } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions(int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions( + int index) { if (filterExpressionsBuilder_ == null) { return filterExpressions_.get(index); } else { @@ -540,11 +620,15 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpr } } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder setFilterExpressions( int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { @@ -561,14 +645,19 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder setFilterExpressions( - int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.set(index, builderForValue.build()); @@ -579,13 +668,18 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder addFilterExpressions( + com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -599,11 +693,15 @@ public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.AudienceF return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { @@ -620,11 +718,15 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -638,14 +740,19 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( - int index, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.add(index, builderForValue.build()); @@ -656,18 +763,22 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder addAllFilterExpressions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filterExpressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filterExpressions_); onChanged(); } else { filterExpressionsBuilder_.addAllMessages(values); @@ -675,11 +786,15 @@ public Builder addAllFilterExpressions( return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder clearFilterExpressions() { if (filterExpressionsBuilder_ == null) { @@ -692,11 +807,15 @@ public Builder clearFilterExpressions() { return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ public Builder removeFilterExpressions(int index) { if (filterExpressionsBuilder_ == null) { @@ -709,39 +828,53 @@ public Builder removeFilterExpressions(int index) { return this; } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getFilterExpressionsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder + getFilterExpressionsBuilder(int index) { return getFilterExpressionsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { if (filterExpressionsBuilder_ == null) { - return filterExpressions_.get(index); } else { + return filterExpressions_.get(index); + } else { return filterExpressionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public java.util.List - getFilterExpressionsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList() { if (filterExpressionsBuilder_ != null) { return filterExpressionsBuilder_.getMessageOrBuilderList(); } else { @@ -749,45 +882,67 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getF } } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder addFilterExpressionsBuilder() { - return getFilterExpressionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder + addFilterExpressionsBuilder() { + return getFilterExpressionsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder addFilterExpressionsBuilder( - int index) { - return getFilterExpressionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder + addFilterExpressionsBuilder(int index) { + return getFilterExpressionsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of Audience filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - public java.util.List - getFilterExpressionsBuilderList() { + public java.util.List + getFilterExpressionsBuilderList() { return getFilterExpressionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getFilterExpressionsFieldBuilder() { if (filterExpressionsBuilder_ == null) { - filterExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + filterExpressionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( filterExpressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -796,9 +951,9 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder addFi } return filterExpressionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +963,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceFilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceFilterExpressionList) - private static final com.google.analytics.admin.v1alpha.AudienceFilterExpressionList DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceFilterExpressionList + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceFilterExpressionList(); } - public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceFilterExpressionList + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceFilterExpressionList 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceFilterExpressionList 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; @@ -854,9 +1011,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionList + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java similarity index 57% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java index 842dfaee86c9..db0aaaec09d6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionListOrBuilder.java @@ -1,53 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceFilterExpressionListOrBuilder extends +public interface AudienceFilterExpressionListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceFilterExpressionList) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - java.util.List + java.util.List getFilterExpressionsList(); /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpressions(int index); /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ int getFilterExpressionsCount(); /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - java.util.List + java.util.List getFilterExpressionsOrBuilderList(); /** + * + * *
    * A list of Audience filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java similarity index 81% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java index 8c4eba845307..739242ab8c3b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterExpressionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; -public interface AudienceFilterExpressionOrBuilder extends +public interface AudienceFilterExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceFilterExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -15,10 +33,13 @@ public interface AudienceFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ boolean hasAndGroup(); /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -26,10 +47,13 @@ public interface AudienceFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return The andGroup. */ com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getAndGroup(); /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * AudienceFilterExpressions with or_group. This must be set for the top
@@ -41,26 +65,34 @@ public interface AudienceFilterExpressionOrBuilder extends
   com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder();
 
   /**
+   *
+   *
    * 
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * * @return The orGroup. */ com.google.analytics.admin.v1alpha.AudienceFilterExpressionList getOrGroup(); /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * AudienceFilterExpressions with and_group or or_group.
@@ -71,6 +103,8 @@ public interface AudienceFilterExpressionOrBuilder extends
   com.google.analytics.admin.v1alpha.AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder();
 
   /**
+   *
+   *
    * 
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -78,10 +112,13 @@ public interface AudienceFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** + * + * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -89,10 +126,13 @@ public interface AudienceFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * * @return The notExpression. */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpression(); /** + * + * *
    * A filter expression to be NOT'ed (i.e., inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -104,56 +144,79 @@ public interface AudienceFilterExpressionOrBuilder extends
   com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder();
 
   /**
+   *
+   *
    * 
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * * @return Whether the dimensionOrMetricFilter field is set. */ boolean hasDimensionOrMetricFilter(); /** + * + * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * * @return The dimensionOrMetricFilter. */ com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter getDimensionOrMetricFilter(); /** + * + * *
    * A filter on a single dimension or metric. This cannot be set on the top
    * level AudienceFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * + * .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * */ - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterOrBuilder + getDimensionOrMetricFilterOrBuilder(); /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * * @return Whether the eventFilter field is set. */ boolean hasEventFilter(); /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * * @return The eventFilter. */ com.google.analytics.admin.v1alpha.AudienceEventFilter getEventFilter(); /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level AudienceFilterExpression.
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
similarity index 72%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
index ef99706fe160..4c2c4041ebfd 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceFilterScope.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/audience.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * Specifies how to evaluate users for joining an Audience.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.AudienceFilterScope} */ -public enum AudienceFilterScope - implements com.google.protobuf.ProtocolMessageEnum { +public enum AudienceFilterScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Scope is not specified.
    * 
@@ -21,6 +39,8 @@ public enum AudienceFilterScope */ AUDIENCE_FILTER_SCOPE_UNSPECIFIED(0), /** + * + * *
    * User joins the Audience if the filter condition is met within one
    * event.
@@ -30,6 +50,8 @@ public enum AudienceFilterScope
    */
   AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT(1),
   /**
+   *
+   *
    * 
    * User joins the Audience if the filter condition is met within one
    * session.
@@ -39,6 +61,8 @@ public enum AudienceFilterScope
    */
   AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION(2),
   /**
+   *
+   *
    * 
    * User joins the Audience if the filter condition is met by any event
    * across any session.
@@ -51,6 +75,8 @@ public enum AudienceFilterScope
   ;
 
   /**
+   *
+   *
    * 
    * Scope is not specified.
    * 
@@ -59,6 +85,8 @@ public enum AudienceFilterScope */ public static final int AUDIENCE_FILTER_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * User joins the Audience if the filter condition is met within one
    * event.
@@ -68,6 +96,8 @@ public enum AudienceFilterScope
    */
   public static final int AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT_VALUE = 1;
   /**
+   *
+   *
    * 
    * User joins the Audience if the filter condition is met within one
    * session.
@@ -77,6 +107,8 @@ public enum AudienceFilterScope
    */
   public static final int AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION_VALUE = 2;
   /**
+   *
+   *
    * 
    * User joins the Audience if the filter condition is met by any event
    * across any session.
@@ -86,7 +118,6 @@ public enum AudienceFilterScope
    */
   public static final int AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -111,11 +142,16 @@ public static AudienceFilterScope valueOf(int value) {
    */
   public static AudienceFilterScope forNumber(int value) {
     switch (value) {
-      case 0: return AUDIENCE_FILTER_SCOPE_UNSPECIFIED;
-      case 1: return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT;
-      case 2: return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION;
-      case 3: return AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS;
-      default: return null;
+      case 0:
+        return AUDIENCE_FILTER_SCOPE_UNSPECIFIED;
+      case 1:
+        return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT;
+      case 2:
+        return AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION;
+      case 3:
+        return AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS;
+      default:
+        return null;
     }
   }
 
@@ -123,28 +159,28 @@ public static AudienceFilterScope forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      AudienceFilterScope> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public AudienceFilterScope findValueByNumber(int number) {
-            return AudienceFilterScope.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AudienceFilterScope findValueByNumber(int number) {
+              return AudienceFilterScope.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -153,8 +189,7 @@ public AudienceFilterScope findValueByNumber(int number) {
   public static AudienceFilterScope valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -170,4 +205,3 @@ private AudienceFilterScope(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.AudienceFilterScope)
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java
similarity index 100%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceName.java
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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
similarity index 61%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceOrBuilder.java
index efb648f5e050..a2d030ce3a17 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/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
@@ -1,194 +1,277 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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/audience.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface AudienceOrBuilder extends
+public interface AudienceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Audience)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The resource name for this Audience resource.
    * Format: properties/{propertyId}/audiences/{audienceId}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name for this Audience resource.
    * Format: properties/{propertyId}/audiences/{audienceId}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The display name of the Audience.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. The display name of the Audience.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. The description of the Audience.
    * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Required. The description of the Audience.
    * 
* * string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + 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.
    * 
* - * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The membershipDurationDays. */ int getMembershipDurationDays(); /** + * + * *
    * 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]; + * * @return The adsPersonalizationEnabled. */ 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.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the eventTrigger field is set. */ 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.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The eventTrigger. */ 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.
    * 
* - * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.analytics.admin.v1alpha.AudienceEventTriggerOrBuilder getEventTriggerOrBuilder(); /** + * + * *
    * 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.
    * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for exclusionDurationMode. */ 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.
    * 
* - * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The exclusionDurationMode. */ - com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode getExclusionDurationMode(); + com.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode + getExclusionDurationMode(); /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - java.util.List - getFilterClausesList(); + java.util.List getFilterClausesList(); /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ com.google.analytics.admin.v1alpha.AudienceFilterClause getFilterClauses(int index); /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ int getFilterClausesCount(); /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - java.util.List + java.util.List getFilterClausesOrBuilderList(); /** + * + * *
    * Required. Immutable. Unordered list. Filter clauses that define the
    * Audience. All clauses will be AND’ed together.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilterClausesOrBuilder( int index); 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 new file mode 100644 index 000000000000..dbf471367f12 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java @@ -0,0 +1,393 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/audience.proto + +package com.google.analytics.admin.v1alpha; + +public final class AudienceProto { + private AudienceProto() {} + + 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_AudienceDimensionOrMetricFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_Audience_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/analytics/admin/v1alpha/audienc" + + "e.proto\022\036google.analytics.admin.v1alpha\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032\036google/protobuf/dur" + + "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" + + "t_filter\030\003 \001(\0132L.google.analytics.admin." + + "v1alpha.AudienceDimensionOrMetricFilter." + + "InListFilterH\000\022g\n\016numeric_filter\030\004 \001(\0132M" + + ".google.analytics.admin.v1alpha.Audience" + + "DimensionOrMetricFilter.NumericFilterH\000\022" + + "g\n\016between_filter\030\005 \001(\0132M.google.analyti" + + "cs.admin.v1alpha.AudienceDimensionOrMetr" + + "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\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\"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" + + "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( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor, + new java.lang.String[] { + "StringFilter", + "InListFilter", + "NumericFilter", + "BetweenFilter", + "FieldName", + "AtAnyPointInTime", + "InAnyNDayPeriod", + "OneFilter", + }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor, + new java.lang.String[] { + "MatchType", "Value", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor, + new java.lang.String[] { + "Values", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor + .getNestedTypes() + .get(2); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor, + new java.lang.String[] { + "Int64Value", "DoubleValue", "OneValue", + }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor + .getNestedTypes() + .get(3); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor, + new java.lang.String[] { + "Operation", "Value", + }); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor + .getNestedTypes() + .get(4); + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor, + new java.lang.String[] { + "FromValue", "ToValue", + }); + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor, + new java.lang.String[] { + "EventName", "EventParameterFilterExpression", + }); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor, + new java.lang.String[] { + "AndGroup", + "OrGroup", + "NotExpression", + "DimensionOrMetricFilter", + "EventFilter", + "Expr", + }); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor, + new java.lang.String[] { + "FilterExpressions", + }); + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor, + new java.lang.String[] { + "Scope", "FilterExpression", + }); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor, + new java.lang.String[] { + "Scope", "SequenceMaximumDuration", "SequenceSteps", + }); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor = + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor, + new java.lang.String[] { + "Scope", "ImmediatelyFollows", "ConstraintDuration", "FilterExpression", + }); + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor, + new java.lang.String[] { + "SimpleFilter", "SequenceFilter", "ClauseType", "Filter", + }); + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor, + new java.lang.String[] { + "EventName", "LogCondition", + }); + internal_static_google_analytics_admin_v1alpha_Audience_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_Audience_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Description", + "MembershipDurationDays", + "AdsPersonalizationEnabled", + "EventTrigger", + "ExclusionDurationMode", + "FilterClauses", + }); + 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.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilter.java index 67d59623ad61..618e6f9baa75 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Defines filters that must occur in a specific order for the user to be a
  * member of the Audience.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter}
  */
-public final class AudienceSequenceFilter extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AudienceSequenceFilter extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter)
     AudienceSequenceFilterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AudienceSequenceFilter.newBuilder() to construct.
   private AudienceSequenceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AudienceSequenceFilter() {
     scope_ = 0;
     sequenceSteps_ = java.util.Collections.emptyList();
@@ -27,53 +45,67 @@ private AudienceSequenceFilter() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AudienceSequenceFilter();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class,
+            com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
   }
 
-  public interface AudienceSequenceStepOrBuilder extends
+  public interface AudienceSequenceStepOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ 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
@@ -83,11 +115,14 @@ public interface AudienceSequenceStepOrBuilder extends
      * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The immediatelyFollows. */ 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] <=
@@ -95,11 +130,16 @@ public interface AudienceSequenceStepOrBuilder extends
      * duration is effectively unlimited). It is ignored for the first step.
      * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the constraintDuration field is set. */ 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] <=
@@ -107,11 +147,16 @@ public interface AudienceSequenceStepOrBuilder extends
      * duration is effectively unlimited). It is ignored for the first step.
      * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The constraintDuration. */ 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] <=
@@ -119,115 +164,155 @@ public interface AudienceSequenceStepOrBuilder extends
      * duration is effectively unlimited). It is ignored for the first step.
      * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder(); /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric,
      * or event filters in each step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the filterExpression field is set. */ boolean hasFilterExpression(); /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric,
      * or event filters in each step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The filterExpression. */ com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression(); /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric,
      * or event filters in each step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder(); + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionOrBuilder(); } /** + * + * *
    * A condition that must occur in the specified step order for this user
    * to match the sequence.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} */ - public static final class AudienceSequenceStep extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AudienceSequenceStep extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) AudienceSequenceStepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AudienceSequenceStep.newBuilder() to construct. private AudienceSequenceStep(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AudienceSequenceStep() { scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudienceSequenceStep(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder.class); + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.class, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder + .class); } public static final int SCOPE_FIELD_NUMBER = 1; private int scope_ = 0; /** + * + * *
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Required. Immutable. Specifies the scope for this step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { + com.google.analytics.admin.v1alpha.AudienceFilterScope result = + com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED + : result; } public static final int IMMEDIATELY_FOLLOWS_FIELD_NUMBER = 2; private boolean immediatelyFollows_ = false; /** + * + * *
      * 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
@@ -237,6 +322,7 @@ protected java.lang.Object newInstance(
      * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The immediatelyFollows. */ @java.lang.Override @@ -247,6 +333,8 @@ public boolean getImmediatelyFollows() { public static final int CONSTRAINT_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration constraintDuration_; /** + * + * *
      * Optional. When set, this step must be satisfied within the
      * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -254,7 +342,10 @@ public boolean getImmediatelyFollows() {
      * duration is effectively unlimited). It is ignored for the first step.
      * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the constraintDuration field is set. */ @java.lang.Override @@ -262,6 +353,8 @@ public boolean hasConstraintDuration() { return constraintDuration_ != null; } /** + * + * *
      * Optional. When set, this step must be satisfied within the
      * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -269,14 +362,21 @@ public boolean hasConstraintDuration() {
      * duration is effectively unlimited). It is ignored for the first step.
      * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The constraintDuration. */ @java.lang.Override public com.google.protobuf.Duration getConstraintDuration() { - return constraintDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; + return constraintDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : constraintDuration_; } /** + * + * *
      * Optional. When set, this step must be satisfied within the
      * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -284,22 +384,31 @@ public com.google.protobuf.Duration getConstraintDuration() {
      * duration is effectively unlimited). It is ignored for the first step.
      * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { - return constraintDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; + return constraintDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : constraintDuration_; } public static final int FILTER_EXPRESSION_FIELD_NUMBER = 4; private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric,
      * or event filters in each step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the filterExpression field is set. */ @java.lang.Override @@ -307,32 +416,47 @@ public boolean hasFilterExpression() { return filterExpression_ != null; } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric,
      * or event filters in each step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The filterExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric,
      * or event filters in each step.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionOrBuilder() { + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,9 +468,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (scope_ + != com.google.analytics.admin.v1alpha.AudienceFilterScope + .AUDIENCE_FILTER_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, scope_); } if (immediatelyFollows_ != false) { @@ -367,21 +493,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, scope_); + if (scope_ + != com.google.analytics.admin.v1alpha.AudienceFilterScope + .AUDIENCE_FILTER_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); } if (immediatelyFollows_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, immediatelyFollows_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, immediatelyFollows_); } if (constraintDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getConstraintDuration()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConstraintDuration()); } if (filterExpression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getFilterExpression()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFilterExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -391,25 +517,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other = (com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) obj; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other = + (com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) obj; if (scope_ != other.scope_) return false; - if (getImmediatelyFollows() - != other.getImmediatelyFollows()) return false; + if (getImmediatelyFollows() != other.getImmediatelyFollows()) return false; if (hasConstraintDuration() != other.hasConstraintDuration()) return false; if (hasConstraintDuration()) { - if (!getConstraintDuration() - .equals(other.getConstraintDuration())) return false; + if (!getConstraintDuration().equals(other.getConstraintDuration())) return false; } if (hasFilterExpression() != other.hasFilterExpression()) return false; if (hasFilterExpression()) { - if (!getFilterExpression() - .equals(other.getFilterExpression())) return false; + if (!getFilterExpression().equals(other.getFilterExpression())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -425,8 +551,7 @@ public int hashCode() { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; hash = (37 * hash) + IMMEDIATELY_FOLLOWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getImmediatelyFollows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getImmediatelyFollows()); if (hasConstraintDuration()) { hash = (37 * hash) + CONSTRAINT_DURATION_FIELD_NUMBER; hash = (53 * hash) + getConstraintDuration().hashCode(); @@ -440,88 +565,101 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + 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.AudienceSequenceFilter.AudienceSequenceStep parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + parseFrom( + 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.AudienceSequenceFilter.AudienceSequenceStep parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + 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.AudienceSequenceFilter.AudienceSequenceStep parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep + 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.AudienceSequenceFilter.AudienceSequenceStep parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep + 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.AudienceSequenceFilter.AudienceSequenceStep 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.AudienceSequenceFilter.AudienceSequenceStep + 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.AudienceSequenceFilter.AudienceSequenceStep parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -531,40 +669,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A condition that must occur in the specified step order for this user
      * to match the sequence.
      * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} + * Protobuf type {@code + * google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder.class); + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + .class, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -585,19 +729,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AudienceProto + .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep build() { - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = buildPartial(); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + build() { + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -605,14 +753,20 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenc } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep buildPartial() { - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + buildPartial() { + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result = + new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.scope_ = scope_; @@ -621,14 +775,16 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFi result.immediatelyFollows_ = immediatelyFollows_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.constraintDuration_ = constraintDurationBuilder_ == null - ? constraintDuration_ - : constraintDurationBuilder_.build(); + result.constraintDuration_ = + constraintDurationBuilder_ == null + ? constraintDuration_ + : constraintDurationBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.filterExpression_ = filterExpressionBuilder_ == null - ? filterExpression_ - : filterExpressionBuilder_.build(); + result.filterExpression_ = + filterExpressionBuilder_ == null + ? filterExpression_ + : filterExpressionBuilder_.build(); } } @@ -636,46 +792,56 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) { - return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other) { - if (other == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep other) { + if (other + == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + .getDefaultInstance()) return this; if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } @@ -714,36 +880,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - scope_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - immediatelyFollows_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getConstraintDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getFilterExpressionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + scope_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + immediatelyFollows_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage( + getConstraintDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getFilterExpressionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -753,26 +922,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int scope_ = 0; /** + * + * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -783,24 +964,37 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.AudienceFilterScope result = + com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED + : result; } /** + * + * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ @@ -814,11 +1008,16 @@ public Builder setScope(com.google.analytics.admin.v1alpha.AudienceFilterScope v return this; } /** + * + * *
        * Required. Immutable. Specifies the scope for this step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { @@ -828,8 +1027,10 @@ public Builder clearScope() { return this; } - private boolean immediatelyFollows_ ; + private boolean immediatelyFollows_; /** + * + * *
        * 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
@@ -839,6 +1040,7 @@ public Builder clearScope() {
        * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The immediatelyFollows. */ @java.lang.Override @@ -846,6 +1048,8 @@ public boolean getImmediatelyFollows() { return immediatelyFollows_; } /** + * + * *
        * 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
@@ -855,17 +1059,20 @@ public boolean getImmediatelyFollows() {
        * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The immediatelyFollows to set. * @return This builder for chaining. */ public Builder setImmediatelyFollows(boolean value) { - + immediatelyFollows_ = value; bitField0_ |= 0x00000002; onChanged(); return 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
@@ -875,6 +1082,7 @@ public Builder setImmediatelyFollows(boolean value) {
        * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearImmediatelyFollows() { @@ -886,8 +1094,13 @@ public Builder clearImmediatelyFollows() { private com.google.protobuf.Duration constraintDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> constraintDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + constraintDurationBuilder_; /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -895,13 +1108,18 @@ public Builder clearImmediatelyFollows() {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the constraintDuration field is set. */ public boolean hasConstraintDuration() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -909,17 +1127,24 @@ public boolean hasConstraintDuration() {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The constraintDuration. */ public com.google.protobuf.Duration getConstraintDuration() { if (constraintDurationBuilder_ == null) { - return constraintDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; + return constraintDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : constraintDuration_; } else { return constraintDurationBuilder_.getMessage(); } } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -927,7 +1152,9 @@ public com.google.protobuf.Duration getConstraintDuration() {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setConstraintDuration(com.google.protobuf.Duration value) { if (constraintDurationBuilder_ == null) { @@ -943,6 +1170,8 @@ public Builder setConstraintDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -950,10 +1179,11 @@ public Builder setConstraintDuration(com.google.protobuf.Duration value) {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setConstraintDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setConstraintDuration(com.google.protobuf.Duration.Builder builderForValue) { if (constraintDurationBuilder_ == null) { constraintDuration_ = builderForValue.build(); } else { @@ -964,6 +1194,8 @@ public Builder setConstraintDuration( return this; } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -971,13 +1203,15 @@ public Builder setConstraintDuration(
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeConstraintDuration(com.google.protobuf.Duration value) { if (constraintDurationBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - constraintDuration_ != null && - constraintDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && constraintDuration_ != null + && constraintDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getConstraintDurationBuilder().mergeFrom(value); } else { constraintDuration_ = value; @@ -990,6 +1224,8 @@ public Builder mergeConstraintDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -997,7 +1233,9 @@ public Builder mergeConstraintDuration(com.google.protobuf.Duration value) {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearConstraintDuration() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1010,6 +1248,8 @@ public Builder clearConstraintDuration() { return this; } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -1017,7 +1257,9 @@ public Builder clearConstraintDuration() {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getConstraintDurationBuilder() { bitField0_ |= 0x00000004; @@ -1025,6 +1267,8 @@ public com.google.protobuf.Duration.Builder getConstraintDurationBuilder() { return getConstraintDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -1032,17 +1276,22 @@ public com.google.protobuf.Duration.Builder getConstraintDurationBuilder() {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { if (constraintDurationBuilder_ != null) { return constraintDurationBuilder_.getMessageOrBuilder(); } else { - return constraintDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : constraintDuration_; + return constraintDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : constraintDuration_; } } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
@@ -1050,17 +1299,22 @@ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() {
        * duration is effectively unlimited). It is ignored for the first step.
        * 
* - * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getConstraintDurationFieldBuilder() { if (constraintDurationBuilder_ == null) { - constraintDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getConstraintDuration(), - getParentForChildren(), - isClean()); + constraintDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getConstraintDuration(), getParentForChildren(), isClean()); constraintDuration_ = null; } return constraintDurationBuilder_; @@ -1068,44 +1322,64 @@ public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder() { private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> filterExpressionBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + filterExpressionBuilder_; /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the filterExpression field is set. */ public boolean hasFilterExpression() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The filterExpression. */ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { if (filterExpressionBuilder_ == null) { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } else { return filterExpressionBuilder_.getMessage(); } } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder setFilterExpression( + com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1119,12 +1393,16 @@ public Builder setFilterExpression(com.google.analytics.admin.v1alpha.AudienceFi return this; } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setFilterExpression( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -1138,18 +1416,25 @@ public Builder setFilterExpression( return this; } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder mergeFilterExpression( + com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - filterExpression_ != null && - filterExpression_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && filterExpression_ != null + && filterExpression_ + != com.google.analytics.admin.v1alpha.AudienceFilterExpression + .getDefaultInstance()) { getFilterExpressionBuilder().mergeFrom(value); } else { filterExpression_ = value; @@ -1162,12 +1447,16 @@ public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.Audience return this; } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearFilterExpression() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1180,55 +1469,74 @@ public Builder clearFilterExpression() { return this; } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getFilterExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder + getFilterExpressionBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFilterExpressionFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionOrBuilder() { if (filterExpressionBuilder_ != null) { return filterExpressionBuilder_.getMessageOrBuilder(); } else { - return filterExpression_ == null ? - com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } } /** + * + * *
        * Required. Immutable. A logical expression of Audience dimension, metric,
        * or event filters in each step.
        * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getFilterExpressionFieldBuilder() { if (filterExpressionBuilder_ == null) { - filterExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( - getFilterExpression(), - getParentForChildren(), - isClean()); + filterExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + getFilterExpression(), getParentForChildren(), isClean()); filterExpression_ = null; } return filterExpressionBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1241,41 +1549,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep) - private static final com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.AudienceSequenceFilter + .AudienceSequenceStep + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep(); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceSequenceStep 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceSequenceStep 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; @@ -1287,46 +1600,66 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SCOPE_FIELD_NUMBER = 1; private int scope_ = 0; /** + * + * *
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { + com.google.analytics.admin.v1alpha.AudienceFilterScope result = + com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED + : result; } public static final int SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration sequenceMaximumDuration_; /** + * + * *
    * 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]; + * + * * @return Whether the sequenceMaximumDuration field is set. */ @java.lang.Override @@ -1334,96 +1667,139 @@ public boolean hasSequenceMaximumDuration() { return sequenceMaximumDuration_ != null; } /** + * + * *
    * 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]; + * + * * @return The sequenceMaximumDuration. */ @java.lang.Override public com.google.protobuf.Duration getSequenceMaximumDuration() { - return sequenceMaximumDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : sequenceMaximumDuration_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder() { - return sequenceMaximumDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : sequenceMaximumDuration_; } public static final int SEQUENCE_STEPS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") - private java.util.List sequenceSteps_; + private java.util.List< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> + sequenceSteps_; /** + * + * *
    * Required. An ordered sequence of steps. A user must complete each step in
    * order to join the sequence filter.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getSequenceStepsList() { + public java.util.List< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> + getSequenceStepsList() { return sequenceSteps_; } /** + * + * *
    * Required. An ordered sequence of steps. A user must complete each step in
    * order to join the sequence filter.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.analytics.admin.v1alpha.AudienceSequenceFilter + .AudienceSequenceStepOrBuilder> getSequenceStepsOrBuilderList() { return sequenceSteps_; } /** + * + * *
    * Required. An ordered sequence of steps. A user must complete each step in
    * order to join the sequence filter.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getSequenceStepsCount() { return sequenceSteps_.size(); } /** + * + * *
    * Required. An ordered sequence of steps. A user must complete each step in
    * order to join the sequence filter.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + getSequenceSteps(int index) { return sequenceSteps_.get(index); } /** + * + * *
    * Required. An ordered sequence of steps. A user must complete each step in
    * order to join the sequence filter.
    * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder + getSequenceStepsOrBuilder(int index) { return sequenceSteps_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1435,9 +1811,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (scope_ + != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, scope_); } if (sequenceMaximumDuration_ != null) { @@ -1455,17 +1832,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, scope_); + if (scope_ + != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); } if (sequenceMaximumDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSequenceMaximumDuration()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSequenceMaximumDuration()); } for (int i = 0; i < sequenceSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, sequenceSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, sequenceSteps_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1475,21 +1852,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceSequenceFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceSequenceFilter other = (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) obj; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter other = + (com.google.analytics.admin.v1alpha.AudienceSequenceFilter) obj; if (scope_ != other.scope_) return false; if (hasSequenceMaximumDuration() != other.hasSequenceMaximumDuration()) return false; if (hasSequenceMaximumDuration()) { - if (!getSequenceMaximumDuration() - .equals(other.getSequenceMaximumDuration())) return false; + if (!getSequenceMaximumDuration().equals(other.getSequenceMaximumDuration())) return false; } - if (!getSequenceStepsList() - .equals(other.getSequenceStepsList())) return false; + if (!getSequenceStepsList().equals(other.getSequenceStepsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1517,96 +1893,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( 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.AudienceSequenceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceSequenceFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceSequenceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines filters that must occur in a specific order for the user to be a
    * member of the Audience.
@@ -1614,33 +1998,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSequenceFilter}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceSequenceFilter)
       com.google.analytics.admin.v1alpha.AudienceSequenceFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.class,
+              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceSequenceFilter.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1662,9 +2045,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor;
     }
 
     @java.lang.Override
@@ -1683,14 +2066,18 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceSequenceFilter buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceSequenceFilter result = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter(this);
+      com.google.analytics.admin.v1alpha.AudienceSequenceFilter result =
+          new com.google.analytics.admin.v1alpha.AudienceSequenceFilter(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AudienceSequenceFilter result) {
+    private void buildPartialRepeatedFields(
+        com.google.analytics.admin.v1alpha.AudienceSequenceFilter result) {
       if (sequenceStepsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           sequenceSteps_ = java.util.Collections.unmodifiableList(sequenceSteps_);
@@ -1708,9 +2095,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFi
         result.scope_ = scope_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sequenceMaximumDuration_ = sequenceMaximumDurationBuilder_ == null
-            ? sequenceMaximumDuration_
-            : sequenceMaximumDurationBuilder_.build();
+        result.sequenceMaximumDuration_ =
+            sequenceMaximumDurationBuilder_ == null
+                ? sequenceMaximumDuration_
+                : sequenceMaximumDurationBuilder_.build();
       }
     }
 
@@ -1718,38 +2106,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSequenceFi
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceSequenceFilter) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSequenceFilter)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSequenceFilter) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1757,7 +2146,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSequenceFilter other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceSequenceFilter.getDefaultInstance())
+        return this;
       if (other.scope_ != 0) {
         setScopeValue(other.getScopeValue());
       }
@@ -1782,9 +2172,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSequenceFilt
             sequenceStepsBuilder_ = null;
             sequenceSteps_ = other.sequenceSteps_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            sequenceStepsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSequenceStepsFieldBuilder() : null;
+            sequenceStepsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSequenceStepsFieldBuilder()
+                    : null;
           } else {
             sequenceStepsBuilder_.addAllMessages(other.sequenceSteps_);
           }
@@ -1816,37 +2207,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              scope_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getSequenceMaximumDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.parser(),
-                      extensionRegistry);
-              if (sequenceStepsBuilder_ == null) {
-                ensureSequenceStepsIsMutable();
-                sequenceSteps_.add(m);
-              } else {
-                sequenceStepsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                scope_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(
+                    getSequenceMaximumDurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.AudienceSequenceFilter
+                            .AudienceSequenceStep.parser(),
+                        extensionRegistry);
+                if (sequenceStepsBuilder_ == null) {
+                  ensureSequenceStepsIsMutable();
+                  sequenceSteps_.add(m);
+                } else {
+                  sequenceStepsBuilder_.addMessage(m);
+                }
+                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) {
@@ -1856,26 +2251,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int scope_ = 0;
     /**
+     *
+     *
      * 
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -1886,24 +2293,37 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.AudienceFilterScope result = + com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ @@ -1917,11 +2337,16 @@ public Builder setScope(com.google.analytics.admin.v1alpha.AudienceFilterScope v return this; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1933,39 +2358,58 @@ public Builder clearScope() { private com.google.protobuf.Duration sequenceMaximumDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> sequenceMaximumDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + sequenceMaximumDurationBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the sequenceMaximumDuration field is set. */ public boolean hasSequenceMaximumDuration() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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]; + * + * * @return The sequenceMaximumDuration. */ public com.google.protobuf.Duration getSequenceMaximumDuration() { if (sequenceMaximumDurationBuilder_ == null) { - return sequenceMaximumDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : sequenceMaximumDuration_; } else { return sequenceMaximumDurationBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setSequenceMaximumDuration(com.google.protobuf.Duration value) { if (sequenceMaximumDurationBuilder_ == null) { @@ -1981,11 +2425,15 @@ public Builder setSequenceMaximumDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * 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]; + * */ public Builder setSequenceMaximumDuration( com.google.protobuf.Duration.Builder builderForValue) { @@ -1999,17 +2447,21 @@ public Builder setSequenceMaximumDuration( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeSequenceMaximumDuration(com.google.protobuf.Duration value) { if (sequenceMaximumDurationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - sequenceMaximumDuration_ != null && - sequenceMaximumDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && sequenceMaximumDuration_ != null + && sequenceMaximumDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getSequenceMaximumDurationBuilder().mergeFrom(value); } else { sequenceMaximumDuration_ = value; @@ -2022,11 +2474,15 @@ public Builder mergeSequenceMaximumDuration(com.google.protobuf.Duration value) return this; } /** + * + * *
      * 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]; + * */ public Builder clearSequenceMaximumDuration() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2039,11 +2495,15 @@ public Builder clearSequenceMaximumDuration() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Duration.Builder getSequenceMaximumDurationBuilder() { bitField0_ |= 0x00000002; @@ -2051,62 +2511,88 @@ public com.google.protobuf.Duration.Builder getSequenceMaximumDurationBuilder() return getSequenceMaximumDurationFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder() { if (sequenceMaximumDurationBuilder_ != null) { return sequenceMaximumDurationBuilder_.getMessageOrBuilder(); } else { - return sequenceMaximumDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : sequenceMaximumDuration_; + return sequenceMaximumDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : sequenceMaximumDuration_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getSequenceMaximumDurationFieldBuilder() { if (sequenceMaximumDurationBuilder_ == null) { - sequenceMaximumDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getSequenceMaximumDuration(), - getParentForChildren(), - isClean()); + sequenceMaximumDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getSequenceMaximumDuration(), getParentForChildren(), isClean()); sequenceMaximumDuration_ = null; } return sequenceMaximumDurationBuilder_; } - private java.util.List sequenceSteps_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> + sequenceSteps_ = java.util.Collections.emptyList(); + private void ensureSequenceStepsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - sequenceSteps_ = new java.util.ArrayList(sequenceSteps_); + sequenceSteps_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep>( + sequenceSteps_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> sequenceStepsBuilder_; + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> + sequenceStepsBuilder_; /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getSequenceStepsList() { + public java.util.List< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> + getSequenceStepsList() { if (sequenceStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(sequenceSteps_); } else { @@ -2114,12 +2600,16 @@ public java.util.List * Required. An ordered sequence of steps. A user must complete each step in * order to join the sequence filter. *
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getSequenceStepsCount() { if (sequenceStepsBuilder_ == null) { @@ -2129,14 +2619,19 @@ public int getSequenceStepsCount() { } } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + getSequenceSteps(int index) { if (sequenceStepsBuilder_ == null) { return sequenceSteps_.get(index); } else { @@ -2144,15 +2639,20 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenc } } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSequenceSteps( - int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { + int index, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { if (sequenceStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2166,15 +2666,21 @@ public Builder setSequenceSteps( return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSequenceSteps( - int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder + builderForValue) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); sequenceSteps_.set(index, builderForValue.build()); @@ -2185,14 +2691,19 @@ public Builder setSequenceSteps( return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addSequenceSteps(com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { + public Builder addSequenceSteps( + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { if (sequenceStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2206,15 +2717,20 @@ public Builder addSequenceSteps(com.google.analytics.admin.v1alpha.AudienceSeque return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addSequenceSteps( - int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { + int index, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep value) { if (sequenceStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2228,15 +2744,20 @@ public Builder addSequenceSteps( return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addSequenceSteps( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue) { + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder + builderForValue) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); sequenceSteps_.add(builderForValue.build()); @@ -2247,15 +2768,21 @@ public Builder addSequenceSteps( return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addSequenceSteps( - int index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder + builderForValue) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); sequenceSteps_.add(index, builderForValue.build()); @@ -2266,19 +2793,25 @@ public Builder addSequenceSteps( return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllSequenceSteps( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep> + values) { if (sequenceStepsBuilder_ == null) { ensureSequenceStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sequenceSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sequenceSteps_); onChanged(); } else { sequenceStepsBuilder_.addAllMessages(values); @@ -2286,12 +2819,16 @@ public Builder addAllSequenceSteps( return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSequenceSteps() { if (sequenceStepsBuilder_ == null) { @@ -2304,12 +2841,16 @@ public Builder clearSequenceSteps() { return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeSequenceSteps(int index) { if (sequenceStepsBuilder_ == null) { @@ -2322,42 +2863,58 @@ public Builder removeSequenceSteps(int index) { return this; } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder getSequenceStepsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder + getSequenceStepsBuilder(int index) { return getSequenceStepsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder + getSequenceStepsOrBuilder(int index) { if (sequenceStepsBuilder_ == null) { - return sequenceSteps_.get(index); } else { + return sequenceSteps_.get(index); + } else { return sequenceStepsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getSequenceStepsOrBuilderList() { + public java.util.List< + ? extends + com.google.analytics.admin.v1alpha.AudienceSequenceFilter + .AudienceSequenceStepOrBuilder> + getSequenceStepsOrBuilderList() { if (sequenceStepsBuilder_ != null) { return sequenceStepsBuilder_.getMessageOrBuilderList(); } else { @@ -2365,48 +2922,75 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenc } } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder addSequenceStepsBuilder() { - return getSequenceStepsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder + addSequenceStepsBuilder() { + return getSequenceStepsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + .getDefaultInstance()); } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder addSequenceStepsBuilder( - int index) { - return getSequenceStepsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder + addSequenceStepsBuilder(int index) { + return getSequenceStepsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + .getDefaultInstance()); } /** + * + * *
      * Required. An ordered sequence of steps. A user must complete each step in
      * order to join the sequence filter.
      * 
* - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getSequenceStepsBuilderList() { + public java.util.List< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder> + getSequenceStepsBuilderList() { return getSequenceStepsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder> getSequenceStepsFieldBuilder() { if (sequenceStepsBuilder_ == null) { - sequenceStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep.Builder, com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder>( + sequenceStepsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + .Builder, + com.google.analytics.admin.v1alpha.AudienceSequenceFilter + .AudienceSequenceStepOrBuilder>( sequenceSteps_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2415,9 +2999,9 @@ public com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenc } return sequenceStepsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2427,12 +3011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceSequenceFilter) private static final com.google.analytics.admin.v1alpha.AudienceSequenceFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceSequenceFilter(); } @@ -2441,27 +3025,27 @@ public static com.google.analytics.admin.v1alpha.AudienceSequenceFilter getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceSequenceFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceSequenceFilter 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; @@ -2476,6 +3060,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceSequenceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 000000000000..d6ed1b891e7a --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/audience.proto + +package com.google.analytics.admin.v1alpha; + +public interface AudienceSequenceFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSequenceFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for scope. + */ + int getScopeValue(); + /** + * + * + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The scope. + */ + com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); + + /** + * + * + *
+   * Optional. Defines the time period in which the whole sequence must occur.
+   * 
+ * + * + * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the sequenceMaximumDuration field is set. + */ + boolean hasSequenceMaximumDuration(); + /** + * + * + *
+   * Optional. Defines the time period in which the whole sequence must occur.
+   * 
+ * + * + * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sequenceMaximumDuration. + */ + com.google.protobuf.Duration getSequenceMaximumDuration(); + /** + * + * + *
+   * Optional. Defines the time period in which the whole sequence must occur.
+   * 
+ * + * + * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder(); + + /** + * + * + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getSequenceStepsList(); + /** + * + * + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps( + int index); + /** + * + * + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getSequenceStepsCount(); + /** + * + * + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List< + ? extends + com.google.analytics.admin.v1alpha.AudienceSequenceFilter + .AudienceSequenceStepOrBuilder> + getSequenceStepsOrBuilderList(); + /** + * + * + *
+   * Required. An ordered sequence of steps. A user must complete each step in
+   * order to join the sequence filter.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder + getSequenceStepsOrBuilder(int index); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 57% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilter.java index 552d1d1e1062..ed7d56df2b17 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/audience.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Defines a simple filter that a user must satisfy to be a member of the
  * Audience.
@@ -11,79 +28,101 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSimpleFilter}
  */
-public final class AudienceSimpleFilter extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AudienceSimpleFilter extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AudienceSimpleFilter)
     AudienceSimpleFilterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AudienceSimpleFilter.newBuilder() to construct.
   private AudienceSimpleFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AudienceSimpleFilter() {
     scope_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AudienceSimpleFilter();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AudienceProto
+        .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
+            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class,
+            com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
   }
 
   public static final int SCOPE_FIELD_NUMBER = 1;
   private int scope_ = 0;
   /**
+   *
+   *
    * 
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Required. Immutable. Specifies the scope for this filter.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { + com.google.analytics.admin.v1alpha.AudienceFilterScope result = + com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED + : result; } public static final int FILTER_EXPRESSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; /** + * + * *
    * Required. Immutable. A logical expression of Audience dimension, metric, or
    * event filters.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the filterExpression field is set. */ @java.lang.Override @@ -91,32 +130,47 @@ public boolean hasFilterExpression() { return filterExpression_ != null; } /** + * + * *
    * Required. Immutable. A logical expression of Audience dimension, metric, or
    * event filters.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The filterExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } /** + * + * *
    * Required. Immutable. A logical expression of Audience dimension, metric, or
    * event filters.
    * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionOrBuilder() { + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,9 +182,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (scope_ + != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, scope_); } if (filterExpression_ != null) { @@ -145,13 +200,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, scope_); + if (scope_ + != com.google.analytics.admin.v1alpha.AudienceFilterScope.AUDIENCE_FILTER_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); } if (filterExpression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFilterExpression()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFilterExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -161,18 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AudienceSimpleFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AudienceSimpleFilter other = (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) obj; + com.google.analytics.admin.v1alpha.AudienceSimpleFilter other = + (com.google.analytics.admin.v1alpha.AudienceSimpleFilter) obj; if (scope_ != other.scope_) return false; if (hasFilterExpression() != other.hasFilterExpression()) return false; if (hasFilterExpression()) { - if (!getFilterExpression() - .equals(other.getFilterExpression())) return false; + if (!getFilterExpression().equals(other.getFilterExpression())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -197,96 +252,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( 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.AudienceSimpleFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AudienceSimpleFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AudienceSimpleFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines a simple filter that a user must satisfy to be a member of the
    * Audience.
@@ -294,33 +357,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.AudienceSimpleFilter}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AudienceSimpleFilter)
       com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class, com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
+              com.google.analytics.admin.v1alpha.AudienceSimpleFilter.class,
+              com.google.analytics.admin.v1alpha.AudienceSimpleFilter.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.AudienceSimpleFilter.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -335,9 +397,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AudienceProto.internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AudienceProto
+          .internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor;
     }
 
     @java.lang.Override
@@ -356,8 +418,11 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.AudienceSimpleFilter buildPartial() {
-      com.google.analytics.admin.v1alpha.AudienceSimpleFilter result = new com.google.analytics.admin.v1alpha.AudienceSimpleFilter(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.AudienceSimpleFilter result =
+          new com.google.analytics.admin.v1alpha.AudienceSimpleFilter(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -368,9 +433,8 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSimpleFilt
         result.scope_ = scope_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.filterExpression_ = filterExpressionBuilder_ == null
-            ? filterExpression_
-            : filterExpressionBuilder_.build();
+        result.filterExpression_ =
+            filterExpressionBuilder_ == null ? filterExpression_ : filterExpressionBuilder_.build();
       }
     }
 
@@ -378,38 +442,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AudienceSimpleFilt
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AudienceSimpleFilter) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSimpleFilter)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.AudienceSimpleFilter) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,7 +482,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.AudienceSimpleFilter other) {
-      if (other == com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.AudienceSimpleFilter.getDefaultInstance())
+        return this;
       if (other.scope_ != 0) {
         setScopeValue(other.getScopeValue());
       }
@@ -450,24 +516,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              scope_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getFilterExpressionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                scope_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(
+                    getFilterExpressionFieldBuilder().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) {
@@ -477,26 +545,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int scope_ = 0;
     /**
+     *
+     *
      * 
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -507,24 +587,37 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceFilterScope getScope() { - com.google.analytics.admin.v1alpha.AudienceFilterScope result = com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.AudienceFilterScope result = + com.google.analytics.admin.v1alpha.AudienceFilterScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.AudienceFilterScope.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ @@ -538,11 +631,16 @@ public Builder setScope(com.google.analytics.admin.v1alpha.AudienceFilterScope v return this; } /** + * + * *
      * Required. Immutable. Specifies the scope for this filter.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { @@ -554,44 +652,64 @@ public Builder clearScope() { private com.google.analytics.admin.v1alpha.AudienceFilterExpression filterExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> filterExpressionBuilder_; + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + filterExpressionBuilder_; /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the filterExpression field is set. */ public boolean hasFilterExpression() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The filterExpression. */ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression() { if (filterExpressionBuilder_ == null) { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } else { return filterExpressionBuilder_.getMessage(); } } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder setFilterExpression( + com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -605,12 +723,16 @@ public Builder setFilterExpression(com.google.analytics.admin.v1alpha.AudienceFi return this; } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setFilterExpression( com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder builderForValue) { @@ -624,18 +746,25 @@ public Builder setFilterExpression( return this; } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { + public Builder mergeFilterExpression( + com.google.analytics.admin.v1alpha.AudienceFilterExpression value) { if (filterExpressionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - filterExpression_ != null && - filterExpression_ != com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && filterExpression_ != null + && filterExpression_ + != com.google.analytics.admin.v1alpha.AudienceFilterExpression + .getDefaultInstance()) { getFilterExpressionBuilder().mergeFrom(value); } else { filterExpression_ = value; @@ -648,12 +777,16 @@ public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.Audience return this; } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearFilterExpression() { bitField0_ = (bitField0_ & ~0x00000002); @@ -666,58 +799,76 @@ public Builder clearFilterExpression() { return this; } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder getFilterExpressionBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder + getFilterExpressionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFilterExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionOrBuilder() { if (filterExpressionBuilder_ != null) { return filterExpressionBuilder_.getMessageOrBuilder(); } else { - return filterExpression_ == null ? - com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.AudienceFilterExpression.getDefaultInstance() + : filterExpression_; } } /** + * + * *
      * Required. Immutable. A logical expression of Audience dimension, metric, or
      * event filters.
      * 
* - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder> getFilterExpressionFieldBuilder() { if (filterExpressionBuilder_ == null) { - filterExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AudienceFilterExpression, com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( - getFilterExpression(), - getParentForChildren(), - isClean()); + filterExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AudienceFilterExpression, + com.google.analytics.admin.v1alpha.AudienceFilterExpression.Builder, + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder>( + getFilterExpression(), getParentForChildren(), isClean()); filterExpression_ = null; } return filterExpressionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -727,12 +878,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AudienceSimpleFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AudienceSimpleFilter) private static final com.google.analytics.admin.v1alpha.AudienceSimpleFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AudienceSimpleFilter(); } @@ -741,27 +892,27 @@ public static com.google.analytics.admin.v1alpha.AudienceSimpleFilter getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AudienceSimpleFilter 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AudienceSimpleFilter 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; @@ -776,6 +927,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 000000000000..c4b7886fa59b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/audience.proto + +package com.google.analytics.admin.v1alpha; + +public interface AudienceSimpleFilterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSimpleFilter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for scope. + */ + int getScopeValue(); + /** + * + * + *
+   * Required. Immutable. Specifies the scope for this filter.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The scope. + */ + com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); + + /** + * + * + *
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the filterExpression field is set. + */ + boolean hasFilterExpression(); + /** + * + * + *
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The filterExpression. + */ + com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression(); + /** + * + * + *
+   * Required. Immutable. A logical expression of Audience dimension, metric, or
+   * event filters.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder + getFilterExpressionOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java index 8cad243c4030..d3d44860ddf8 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Read-only resource used to summarize a principal's effective roles.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ -public final class AuditUserLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuditUserLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLink) AuditUserLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuditUserLink.newBuilder() to construct. private AuditUserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuditUserLink() { name_ = ""; emailAddress_ = ""; @@ -28,38 +46,43 @@ private AuditUserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditUserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_AuditUserLink_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, + com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -68,29 +91,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,14 +122,18 @@ public java.lang.String getName() { } public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object emailAddress_ = ""; /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The emailAddress. */ @java.lang.Override @@ -115,29 +142,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -146,9 +173,12 @@ public java.lang.String getEmailAddress() { } public static final int DIRECT_ROLES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList directRoles_; /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -157,13 +187,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_; } /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -172,12 +204,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -186,6 +221,7 @@ public int getDirectRolesCount() {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -193,6 +229,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -201,18 +239,21 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } public static final int EFFECTIVE_ROLES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList effectiveRoles_; /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -220,13 +261,15 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string effective_roles = 4; + * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList - getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { return effectiveRoles_; } /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -234,12 +277,15 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string effective_roles = 4; + * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -247,6 +293,7 @@ public int getEffectiveRolesCount() {
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -254,6 +301,8 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -261,15 +310,16 @@ public java.lang.String getEffectiveRoles(int index) {
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString - getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,8 +331,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -334,21 +383,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLink other = (com.google.analytics.admin.v1alpha.AuditUserLink) obj; + com.google.analytics.admin.v1alpha.AuditUserLink other = + (com.google.analytics.admin.v1alpha.AuditUserLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEmailAddress() - .equals(other.getEmailAddress())) return false; - if (!getDirectRolesList() - .equals(other.getDirectRolesList())) return false; - if (!getEffectiveRolesList() - .equals(other.getEffectiveRolesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEmailAddress().equals(other.getEmailAddress())) return false; + if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; + if (!getEffectiveRolesList().equals(other.getEffectiveRolesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -377,130 +423,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( 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.AuditUserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Read-only resource used to summarize a principal's effective roles.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLink) com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLink.class, com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLink.class, + com.google.analytics.admin.v1alpha.AuditUserLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLink.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -515,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; } @java.lang.Override @@ -536,14 +588,18 @@ public com.google.analytics.admin.v1alpha.AuditUserLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLink buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLink result = new com.google.analytics.admin.v1alpha.AuditUserLink(this); + com.google.analytics.admin.v1alpha.AuditUserLink result = + new com.google.analytics.admin.v1alpha.AuditUserLink(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AuditUserLink result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.AuditUserLink result) { if (((bitField0_ & 0x00000004) != 0)) { directRoles_ = directRoles_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -570,38 +626,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AuditUserLink resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AuditUserLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLink) other); } else { super.mergeFrom(other); return this; @@ -609,7 +666,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLink other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -666,34 +724,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - emailAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDirectRolesIsMutable(); - directRoles_.add(s); - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEffectiveRolesIsMutable(); - effectiveRoles_.add(s); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + emailAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDirectRolesIsMutable(); + directRoles_.add(s); + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEffectiveRolesIsMutable(); + effectiveRoles_.add(s); + break; + } // case 34 + 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) { @@ -703,22 +766,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -727,20 +793,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -748,28 +815,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -779,17 +853,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Example format: properties/1234/userLinks/5678
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -799,18 +877,20 @@ public Builder setNameBytes( private java.lang.Object emailAddress_ = ""; /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -819,20 +899,21 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -840,28 +921,35 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmailAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } emailAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @return This builder for chaining. */ public Builder clearEmailAddress() { @@ -871,17 +959,21 @@ public Builder clearEmailAddress() { return this; } /** + * + * *
      * Email address of the linked user
      * 
* * string email_address = 2; + * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); emailAddress_ = value; bitField0_ |= 0x00000002; @@ -889,14 +981,18 @@ public Builder setEmailAddressBytes( return this; } - private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList directRoles_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -905,13 +1001,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -920,12 +1018,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -934,6 +1035,7 @@ public int getDirectRolesCount() {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -941,6 +1043,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -949,14 +1053,16 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -965,19 +1071,23 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDirectRoles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -986,18 +1096,22 @@ public Builder setDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDirectRoles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1006,18 +1120,19 @@ public Builder addDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles( - java.lang.Iterable values) { + public Builder addAllDirectRoles(java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1026,6 +1141,7 @@ public Builder addAllDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1035,6 +1151,8 @@ public Builder clearDirectRoles() { return this; } /** + * + * *
      * Roles directly assigned to this user for this entity.
      * Format: predefinedRoles/viewer
@@ -1043,12 +1161,14 @@ public Builder clearDirectRoles() {
      * 
* * repeated string direct_roles = 3; + * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); @@ -1056,14 +1176,18 @@ public Builder addDirectRolesBytes( return this; } - private com.google.protobuf.LazyStringList effectiveRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList effectiveRoles_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEffectiveRolesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { effectiveRoles_ = new com.google.protobuf.LazyStringArrayList(effectiveRoles_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1071,13 +1195,15 @@ private void ensureEffectiveRolesIsMutable() {
      * 
* * repeated string effective_roles = 4; + * * @return A list containing the effectiveRoles. */ - public com.google.protobuf.ProtocolStringList - getEffectiveRolesList() { + public com.google.protobuf.ProtocolStringList getEffectiveRolesList() { return effectiveRoles_.getUnmodifiableView(); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1085,12 +1211,15 @@ private void ensureEffectiveRolesIsMutable() {
      * 
* * repeated string effective_roles = 4; + * * @return The count of effectiveRoles. */ public int getEffectiveRolesCount() { return effectiveRoles_.size(); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1098,6 +1227,7 @@ public int getEffectiveRolesCount() {
      * 
* * repeated string effective_roles = 4; + * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ @@ -1105,6 +1235,8 @@ public java.lang.String getEffectiveRoles(int index) { return effectiveRoles_.get(index); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1112,14 +1244,16 @@ public java.lang.String getEffectiveRoles(int index) {
      * 
* * repeated string effective_roles = 4; + * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - public com.google.protobuf.ByteString - getEffectiveRolesBytes(int index) { + public com.google.protobuf.ByteString getEffectiveRolesBytes(int index) { return effectiveRoles_.getByteString(index); } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1127,19 +1261,23 @@ public java.lang.String getEffectiveRoles(int index) {
      * 
* * repeated string effective_roles = 4; + * * @param index The index to set the value at. * @param value The effectiveRoles to set. * @return This builder for chaining. */ - public Builder setEffectiveRoles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEffectiveRoles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureEffectiveRolesIsMutable(); effectiveRoles_.set(index, value); onChanged(); return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1147,18 +1285,22 @@ public Builder setEffectiveRoles(
      * 
* * repeated string effective_roles = 4; + * * @param value The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRoles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addEffectiveRoles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1166,18 +1308,19 @@ public Builder addEffectiveRoles(
      * 
* * repeated string effective_roles = 4; + * * @param values The effectiveRoles to add. * @return This builder for chaining. */ - public Builder addAllEffectiveRoles( - java.lang.Iterable values) { + public Builder addAllEffectiveRoles(java.lang.Iterable values) { ensureEffectiveRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, effectiveRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, effectiveRoles_); onChanged(); return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1185,6 +1328,7 @@ public Builder addAllEffectiveRoles(
      * 
* * repeated string effective_roles = 4; + * * @return This builder for chaining. */ public Builder clearEffectiveRoles() { @@ -1194,6 +1338,8 @@ public Builder clearEffectiveRoles() { return this; } /** + * + * *
      * Union of all permissions a user has at this account or property (includes
      * direct permissions, group-inherited permissions, etc.).
@@ -1201,21 +1347,23 @@ public Builder clearEffectiveRoles() {
      * 
* * repeated string effective_roles = 4; + * * @param value The bytes of the effectiveRoles to add. * @return This builder for chaining. */ - public Builder addEffectiveRolesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addEffectiveRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureEffectiveRolesIsMutable(); effectiveRoles_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1225,12 +1373,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLink) private static final com.google.analytics.admin.v1alpha.AuditUserLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLink(); } @@ -1239,27 +1387,27 @@ public static com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLink 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLink 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; @@ -1274,6 +1422,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java similarity index 77% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java index 71e824faab83..fa33e7f4ba39 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinkOrBuilder.java @@ -1,53 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinkOrBuilder extends +public interface AuditUserLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Example format: properties/1234/userLinks/5678
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** + * + * *
    * Email address of the linked user
    * 
* * string email_address = 2; + * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString - getEmailAddressBytes(); + com.google.protobuf.ByteString getEmailAddressBytes(); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -56,11 +84,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - java.util.List - getDirectRolesList(); + java.util.List getDirectRolesList(); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -69,10 +99,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ int getDirectRolesCount(); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -81,11 +114,14 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** + * + * *
    * Roles directly assigned to this user for this entity.
    * Format: predefinedRoles/viewer
@@ -94,13 +130,15 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString - getDirectRolesBytes(int index); + com.google.protobuf.ByteString getDirectRolesBytes(int index); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -108,11 +146,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @return A list containing the effectiveRoles. */ - java.util.List - getEffectiveRolesList(); + java.util.List getEffectiveRolesList(); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -120,10 +160,13 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @return The count of effectiveRoles. */ int getEffectiveRolesCount(); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -131,11 +174,14 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the element to return. * @return The effectiveRoles at the given index. */ java.lang.String getEffectiveRoles(int index); /** + * + * *
    * Union of all permissions a user has at this account or property (includes
    * direct permissions, group-inherited permissions, etc.).
@@ -143,9 +189,9 @@ public interface AuditUserLinkOrBuilder extends
    * 
* * repeated string effective_roles = 4; + * * @param index The index of the value to return. * @return The bytes of the effectiveRoles at the given index. */ - com.google.protobuf.ByteString - getEffectiveRolesBytes(int index); + com.google.protobuf.ByteString getEffectiveRolesBytes(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java index 62928c40aca5..81eed21a44f7 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ -public final class AuditUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuditUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) AuditUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuditUserLinksRequest.newBuilder() to construct. private AuditUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuditUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private AuditUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_AuditUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -107,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -115,9 +145,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -150,16 +185,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -168,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -203,8 +237,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -217,19 +250,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksRequest other = + (com.google.analytics.admin.v1alpha.AuditUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,129 +284,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( 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.AuditUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AuditUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.analytics.admin.v1alpha.AuditUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, + com.google.analytics.admin.v1alpha.AuditUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; } @java.lang.Override @@ -408,8 +446,11 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AuditUserLinksRequest result = + new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -431,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AuditUserLinksRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AuditUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -470,7 +512,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -510,27 +553,31 @@ public Builder mergeFrom( 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: + 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) { @@ -540,22 +587,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -564,20 +616,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,28 +640,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -616,17 +682,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -634,8 +706,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -644,6 +718,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -651,6 +726,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -659,17 +736,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -678,6 +758,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +770,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -697,13 +780,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -712,6 +795,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -720,15 +805,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +820,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -744,18 +830,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -764,6 +854,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +864,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `AuditUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +874,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +900,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksRequest) private static final com.google.analytics.admin.v1alpha.AuditUserLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksRequest(); } @@ -819,27 +914,27 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksRequest 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; @@ -854,6 +949,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java index e03c1372474c..f673fe5cde24 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksRequestOrBuilder extends +public interface AuditUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -36,11 +63,14 @@ public interface AuditUserLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface AuditUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `AuditUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -61,8 +94,8 @@ public interface AuditUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java index 0e8415806175..1fbd4348da5f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for AuditUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ -public final class AuditUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuditUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) AuditUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuditUserLinksResponse.newBuilder() to construct. private AuditUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuditUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private AuditUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_AuditUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List userLinks_; /** + * + * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -65,6 +87,8 @@ public java.util.List getUserL
     return userLinks_;
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -73,11 +97,13 @@ public java.util.List getUserL
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getUserLinksOrBuilderList() {
     return userLinks_;
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -90,6 +116,8 @@ public int getUserLinksCount() {
     return userLinks_.size();
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -102,6 +130,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
     return userLinks_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -116,15 +146,19 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
   }
 
   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 @@ -133,30 +167,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -165,6 +199,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +211,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -194,8 +228,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -208,17 +241,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.AuditUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.AuditUserLinksResponse other = + (com.google.analytics.admin.v1alpha.AuditUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -242,129 +274,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( 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.AuditUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.AuditUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for AuditUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AuditUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.analytics.admin.v1alpha.AuditUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, + com.google.analytics.admin.v1alpha.AuditUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AuditUserLinksResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; } @java.lang.Override @@ -402,14 +441,18 @@ public com.google.analytics.admin.v1alpha.AuditUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AuditUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); + com.google.analytics.admin.v1alpha.AuditUserLinksResponse result = + new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.AuditUserLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.AuditUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -432,38 +475,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AuditUserLinksResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.AuditUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AuditUserLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -471,7 +515,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -490,9 +535,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AuditUserLinksRespon userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -529,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AuditUserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.AuditUserLink.parser(), - extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.AuditUserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.AuditUserLink.parser(), + extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -562,21 +611,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.AuditUserLink, + com.google.analytics.admin.v1alpha.AuditUserLink.Builder, + com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -592,6 +649,8 @@ public java.util.List getUserL
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -607,6 +666,8 @@ public int getUserLinksCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -622,6 +683,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -629,8 +692,7 @@ public com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index)
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder setUserLinks(
-        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -644,6 +706,8 @@ public Builder setUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -663,6 +727,8 @@ public Builder setUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -684,6 +750,8 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -691,8 +759,7 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.AuditUserLink val
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public Builder addUserLinks(
-        int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
+    public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.AuditUserLink value) {
       if (userLinksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -706,6 +773,8 @@ public Builder addUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -725,6 +794,8 @@ public Builder addUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -744,6 +815,8 @@ public Builder addUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -755,8 +828,7 @@ public Builder addAllUserLinks(
         java.lang.Iterable values) {
       if (userLinksBuilder_ == null) {
         ensureUserLinksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, userLinks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_);
         onChanged();
       } else {
         userLinksBuilder_.addAllMessages(values);
@@ -764,6 +836,8 @@ public Builder addAllUserLinks(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -782,6 +856,8 @@ public Builder clearUserLinks() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -800,6 +876,8 @@ public Builder removeUserLinks(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -807,11 +885,12 @@ public Builder removeUserLinks(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(
-        int index) {
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuilder(int index) {
       return getUserLinksFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -822,11 +901,14 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder getUserLinksBuil
     public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
         int index) {
       if (userLinksBuilder_ == null) {
-        return userLinks_.get(index);  } else {
+        return userLinks_.get(index);
+      } else {
         return userLinksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -834,8 +916,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List 
-         getUserLinksOrBuilderList() {
+    public java.util.List
+        getUserLinksOrBuilderList() {
       if (userLinksBuilder_ != null) {
         return userLinksBuilder_.getMessageOrBuilderList();
       } else {
@@ -843,6 +925,8 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
       }
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -851,10 +935,12 @@ public com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrB
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
     public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder() {
-      return getUserLinksFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+      return getUserLinksFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -862,12 +948,13 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(
-        int index) {
-      return getUserLinksFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
+    public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuilder(int index) {
+      return getUserLinksFieldBuilder()
+          .addBuilder(index, com.google.analytics.admin.v1alpha.AuditUserLink.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
      * order.
@@ -875,20 +962,23 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
      *
      * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
      */
-    public java.util.List 
-         getUserLinksBuilderList() {
+    public java.util.List
+        getUserLinksBuilderList() {
       return getUserLinksFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder> 
+            com.google.analytics.admin.v1alpha.AuditUserLink,
+            com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
+            com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>
         getUserLinksFieldBuilder() {
       if (userLinksBuilder_ == null) {
-        userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AuditUserLink, com.google.analytics.admin.v1alpha.AuditUserLink.Builder, com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
-                userLinks_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        userLinksBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AuditUserLink,
+                com.google.analytics.admin.v1alpha.AuditUserLink.Builder,
+                com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder>(
+                userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         userLinks_ = null;
       }
       return userLinksBuilder_;
@@ -896,19 +986,21 @@ public com.google.analytics.admin.v1alpha.AuditUserLink.Builder addUserLinksBuil
 
     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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -917,21 +1009,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -939,30 +1032,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -972,27 +1072,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AuditUserLinksResponse) private static final com.google.analytics.admin.v1alpha.AuditUserLinksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AuditUserLinksResponse(); } @@ -1016,27 +1120,27 @@ public static com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditUserLinksResponse 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; @@ -1051,6 +1155,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AuditUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java index 81c260253eb3..6f0caa45fbb5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AuditUserLinksResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface AuditUserLinksResponseOrBuilder extends +public interface AuditUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AuditUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -15,9 +33,10 @@ public interface AuditUserLinksResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List 
-      getUserLinksList();
+  java.util.List getUserLinksList();
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -27,6 +46,8 @@ public interface AuditUserLinksResponseOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.AuditUserLink getUserLinks(int index);
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -36,6 +57,8 @@ public interface AuditUserLinksResponseOrBuilder extends
    */
   int getUserLinksCount();
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -43,9 +66,11 @@ public interface AuditUserLinksResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  java.util.List 
+  java.util.List
       getUserLinksOrBuilderList();
   /**
+   *
+   *
    * 
    * List of AuditUserLinks. These will be ordered stably, but in an arbitrary
    * order.
@@ -53,28 +78,32 @@ public interface AuditUserLinksResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AuditUserLink user_links = 1;
    */
-  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.AuditUserLinkOrBuilder getUserLinksOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequest.java index 10c0592d3a84..d6f664323ca2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ -public final class BatchCreateUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) BatchCreateUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksRequest.newBuilder() to construct. private BatchCreateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,33 +44,37 @@ private BatchCreateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_BatchCreateUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. This field is required. The parent field in the CreateUserLinkRequest
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. This field is required. The parent field in the CreateUserLinkRequest
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -105,6 +132,8 @@ public java.lang.String getParent() { public static final int NOTIFY_NEW_USERS_FIELD_NUMBER = 2; private boolean notifyNewUsers_ = false; /** + * + * *
    * 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
@@ -112,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUsers. */ @java.lang.Override @@ -120,64 +150,86 @@ public boolean getNotifyNewUsers() { } public static final int REQUESTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List requests_; /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -186,6 +238,7 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,8 +250,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,12 +273,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUsers_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, notifyNewUsers_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUsers_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, requests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,19 +286,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getNotifyNewUsers() - != other.getNotifyNewUsers()) return false; - if (!getRequestsList() - .equals(other.getRequestsList())) return false; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getNotifyNewUsers() != other.getNotifyNewUsers()) return false; + if (!getRequestsList().equals(other.getRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,8 +311,7 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNotifyNewUsers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUsers()); if (getRequestsCount() > 0) { hash = (37 * hash) + REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getRequestsList().hashCode(); @@ -275,129 +322,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( 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.BatchCreateUserLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -415,13 +469,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance(); } @@ -436,14 +491,18 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -455,7 +514,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -469,38 +529,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateUserLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BatchCreateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -508,7 +569,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -535,9 +598,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000004); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -569,35 +633,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - notifyNewUsers_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - com.google.analytics.admin.v1alpha.CreateUserLinkRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + notifyNewUsers_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + com.google.analytics.admin.v1alpha.CreateUserLinkRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.parser(), + extensionRegistry); + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(m); + } else { + requestsBuilder_.addMessage(m); + } + 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) { @@ -607,10 +675,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. This field is required. The parent field in the CreateUserLinkRequest
@@ -618,14 +689,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -634,6 +707,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
@@ -641,16 +716,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -658,6 +734,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
@@ -665,19 +743,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. This field is required. The parent field in the CreateUserLinkRequest
@@ -685,7 +769,10 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -695,6 +782,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. This field is required. The parent field in the CreateUserLinkRequest
@@ -702,13 +791,17 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -716,8 +809,10 @@ public Builder setParentBytes( return this; } - private boolean notifyNewUsers_ ; + private boolean notifyNewUsers_; /** + * + * *
      * 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
@@ -725,6 +820,7 @@ public Builder setParentBytes(
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUsers. */ @java.lang.Override @@ -732,6 +828,8 @@ public boolean getNotifyNewUsers() { return notifyNewUsers_; } /** + * + * *
      * 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
@@ -739,17 +837,20 @@ public boolean getNotifyNewUsers() {
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The notifyNewUsers to set. * @return This builder for chaining. */ public Builder setNotifyNewUsers(boolean value) { - + notifyNewUsers_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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
@@ -757,6 +858,7 @@ public Builder setNotifyNewUsers(boolean value) {
      * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNotifyNewUsers() { @@ -767,26 +869,37 @@ public Builder clearNotifyNewUsers() { } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList( + requests_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -794,12 +907,16 @@ public java.util.List } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -809,12 +926,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -824,12 +945,16 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -846,15 +971,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -865,12 +995,16 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -886,12 +1020,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateUserLinkRequ return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest value) { @@ -908,12 +1046,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { @@ -927,15 +1069,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -946,19 +1093,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -966,12 +1117,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -984,12 +1139,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -1002,42 +1161,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); } else { + return requests_.get(index); + } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,59 +1218,76 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequ } } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to create.
      * A maximum of 1000 user links can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CreateUserLinkRequest, + com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder>( + requests_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); requests_ = null; } return requestsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,41 +1297,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksRequest 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; @@ -1153,9 +1345,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 57% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksRequestOrBuilder.java index a4cccb7c3adf..33108d9f762f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchCreateUserLinksRequestOrBuilder extends +public interface BatchCreateUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. This field is required. The parent field in the CreateUserLinkRequest
@@ -15,11 +33,16 @@ public interface BatchCreateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. This field is required. The parent field in the CreateUserLinkRequest
@@ -27,13 +50,17 @@ public interface BatchCreateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. 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
@@ -41,56 +68,75 @@ public interface BatchCreateUserLinksRequestOrBuilder extends
    * 
* * bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The notifyNewUsers. */ boolean getNotifyNewUsers(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.CreateUserLinkRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the user links to create.
    * A maximum of 1000 user links can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java index 621c1a53d4aa..9a98bc1d9f83 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 BatchCreateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ -public final class BatchCreateUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) BatchCreateUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateUserLinksResponse.newBuilder() to construct. private BatchCreateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_BatchCreateUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List userLinks_; /** + * + * *
    * The user links created.
    * 
@@ -63,6 +85,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * The user links created.
    * 
@@ -70,11 +94,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * The user links created.
    * 
@@ -86,6 +112,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * The user links created.
    * 
@@ -97,6 +125,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * The user links created.
    * 
@@ -104,12 +134,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -136,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other = + (com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +205,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( 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.BatchCreateUserLinksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for BatchCreateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,13 +350,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance(); } @@ -336,14 +372,18 @@ public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result = + new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -355,7 +395,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse result) { int from_bitField0_ = bitField0_; } @@ -363,46 +404,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateUserLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BatchCreateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -421,9 +466,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateUserLinks userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -455,25 +501,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), - extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -483,21 +530,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * The user links created.
      * 
@@ -512,6 +567,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * The user links created.
      * 
@@ -526,6 +583,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * The user links created.
      * 
@@ -540,14 +599,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,6 +621,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -579,6 +641,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -599,14 +663,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +685,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -638,6 +705,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -656,6 +725,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -666,8 +737,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -675,6 +745,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * The user links created.
      * 
@@ -692,6 +764,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * The user links created.
      * 
@@ -709,39 +783,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +828,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * The user links created.
      * 
@@ -756,49 +837,55 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links created.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +895,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateUserLinksResponse 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; @@ -854,9 +943,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java index 68aa45e9f7c0..ed0c92aa2e73 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchCreateUserLinksResponseOrBuilder extends +public interface BatchCreateUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * The user links created.
    * 
@@ -25,6 +44,8 @@ public interface BatchCreateUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * The user links created.
    * 
@@ -33,21 +54,24 @@ public interface BatchCreateUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * The user links created.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java index 410470fc875e..d0163fd4d49b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchDeleteUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ -public final class BatchDeleteUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchDeleteUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) BatchDeleteUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchDeleteUserLinksRequest.newBuilder() to construct. private BatchDeleteUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchDeleteUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,33 +44,37 @@ private BatchDeleteUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchDeleteUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_BatchDeleteUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,64 +130,86 @@ public java.lang.String getParent() { } public static final int REQUESTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List requests_; /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -169,6 +218,7 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,8 +250,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -212,17 +260,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestsList() - .equals(other.getRequestsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestsList().equals(other.getRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,129 +293,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( 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.BatchDeleteUserLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchDeleteUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,13 +439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance(); } @@ -406,14 +461,18 @@ public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -425,7 +484,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -436,38 +496,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchDeleteUserLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BatchDeleteUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -475,7 +536,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -499,9 +562,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000002); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -533,30 +597,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.parser(), + extensionRegistry); + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(m); + } else { + requestsBuilder_.addMessage(m); + } + 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) { @@ -566,10 +633,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -577,14 +647,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -593,6 +665,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -600,16 +674,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -617,6 +692,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -624,19 +701,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -644,7 +727,10 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -654,6 +740,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all values for user link names to delete must match this
@@ -661,13 +749,17 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -676,26 +768,37 @@ public Builder setParentBytes( } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList( + requests_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -703,12 +806,16 @@ public java.util.List } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -718,12 +825,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -733,12 +844,16 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -755,15 +870,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -774,12 +894,16 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -795,12 +919,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteUserLinkRequ return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest value) { @@ -817,12 +945,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { @@ -836,15 +968,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -855,19 +992,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -875,12 +1016,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -893,12 +1038,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -911,42 +1060,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); } else { + return requests_.get(index); + } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -954,59 +1117,76 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequ } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder>( + requests_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); requests_ = null; } return requestsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1016,41 +1196,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteUserLinksRequest 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; @@ -1062,9 +1244,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java index 72e2bfa25d6e..d6f29cd1aa43 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteUserLinksRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchDeleteUserLinksRequestOrBuilder extends +public interface BatchDeleteUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -15,11 +33,16 @@ public interface BatchDeleteUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all values for user link names to delete must match this
@@ -27,58 +50,78 @@ public interface BatchDeleteUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder getRequestsOrBuilder(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java index 3fb82978d93b..3d19824de04b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ -public final class BatchGetUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) BatchGetUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetUserLinksRequest.newBuilder() to construct. private BatchGetUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetUserLinksRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,33 +44,37 @@ private BatchGetUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_BatchGetUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,43 +130,58 @@ public java.lang.String getParent() { } public static final int NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList names_; /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_; } /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -147,22 +189,27 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +221,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -210,17 +256,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getNamesList() - .equals(other.getNamesList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getNamesList().equals(other.getNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,129 +289,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( 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.BatchGetUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.analytics.admin.v1alpha.BatchGetUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +430,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; } @java.lang.Override @@ -399,14 +451,18 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest result) { if (((bitField0_ & 0x00000002) != 0)) { names_ = names_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -425,38 +481,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetUserLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BatchGetUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +521,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -506,23 +564,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureNamesIsMutable(); - names_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNamesIsMutable(); + names_.add(s); + 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) { @@ -532,10 +593,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -543,14 +607,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -559,6 +625,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -566,16 +634,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -583,6 +652,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -590,19 +661,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -610,7 +687,10 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -620,6 +700,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent of all provided values for the 'names' field must match
@@ -627,13 +709,17 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -641,48 +727,64 @@ public Builder setParentBytes( return this; } - private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList names_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_.getUnmodifiableView(); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -690,86 +792,110 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames( - java.lang.Iterable values) { + public Builder addAllNames(java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); onChanged(); return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNames() { @@ -779,28 +905,34 @@ public Builder clearNames() { return this; } /** + * + * *
      * Required. The names of the user links to retrieve.
      * A maximum of 1000 user links can be retrieved in a batch.
      * Format: accounts/{accountId}/userLinks/{userLinkId}
      * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -810,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest(); } @@ -824,27 +956,27 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksRequest 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; @@ -859,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java index 592588536878..7d5b1fc7556d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksRequestOrBuilder extends +public interface BatchGetUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -15,11 +33,16 @@ public interface BatchGetUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent of all provided values for the 'names' field must match
@@ -27,58 +50,78 @@ public interface BatchGetUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - java.util.List - getNamesList(); + java.util.List getNamesList(); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ int getNamesCount(); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** + * + * *
    * Required. The names of the user links to retrieve.
    * A maximum of 1000 user links can be retrieved in a batch.
    * Format: accounts/{accountId}/userLinks/{userLinkId}
    * 
* - * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString - getNamesBytes(int index); + com.google.protobuf.ByteString getNamesBytes(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java index 99973ebe1bdc..f71b8afc28e9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 BatchGetUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ -public final class BatchGetUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) BatchGetUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetUserLinksResponse.newBuilder() to construct. private BatchGetUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_BatchGetUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List userLinks_; /** + * + * *
    * The requested user links.
    * 
@@ -63,6 +85,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * The requested user links.
    * 
@@ -70,11 +94,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * The requested user links.
    * 
@@ -86,6 +112,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * The requested user links.
    * 
@@ -97,6 +125,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * The requested user links.
    * 
@@ -104,12 +134,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -136,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other = + (com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +205,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( 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.BatchGetUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for BatchGetUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.analytics.admin.v1alpha.BatchGetUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,13 +350,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance(); } @@ -336,14 +372,18 @@ public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result = + new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -355,7 +395,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse result) { int from_bitField0_ = bitField0_; } @@ -363,38 +404,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetUserLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BatchGetUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -402,7 +444,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -421,9 +465,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetUserLinksRes userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -455,25 +500,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), - extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -483,21 +529,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * The requested user links.
      * 
@@ -512,6 +566,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * The requested user links.
      * 
@@ -526,6 +582,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * The requested user links.
      * 
@@ -540,14 +598,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,6 +620,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -579,6 +640,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -599,14 +662,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +684,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -638,6 +704,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -656,6 +724,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -666,8 +736,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -675,6 +744,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * The requested user links.
      * 
@@ -692,6 +763,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * The requested user links.
      * 
@@ -709,39 +782,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +827,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * The requested user links.
      * 
@@ -756,49 +836,55 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The requested user links.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +894,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse(); } @@ -822,27 +909,27 @@ public static com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetUserLinksResponse 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; @@ -857,6 +944,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java index c3d140593525..fafcc49b1955 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchGetUserLinksResponseOrBuilder extends +public interface BatchGetUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * The requested user links.
    * 
@@ -25,6 +44,8 @@ public interface BatchGetUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * The requested user links.
    * 
@@ -33,21 +54,24 @@ public interface BatchGetUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * The requested user links.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java index 64e5008852d4..fb0d175db2bf 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ -public final class BatchUpdateUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) BatchUpdateUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksRequest.newBuilder() to construct. private BatchUpdateUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateUserLinksRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,33 +44,37 @@ private BatchUpdateUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_BatchUpdateUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -84,17 +110,18 @@ public java.lang.String getParent() {
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,64 +130,86 @@ public java.lang.String getParent() { } public static final int REQUESTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List requests_; /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( @@ -169,6 +218,7 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,8 +250,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -212,17 +260,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other = + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestsList() - .equals(other.getRequestsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestsList().equals(other.getRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,129 +293,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( 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.BatchUpdateUserLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,13 +439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance(); } @@ -406,14 +461,18 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result = + new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -425,7 +484,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -436,38 +496,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateUserLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BatchUpdateUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -475,7 +536,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -499,9 +562,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinks requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000002); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -533,30 +597,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), - extensionRegistry); - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(m); - } else { - requestsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.parser(), + extensionRegistry); + if (requestsBuilder_ == null) { + ensureRequestsIsMutable(); + requests_.add(m); + } else { + requestsBuilder_.addMessage(m); + } + 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) { @@ -566,10 +633,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -577,14 +647,16 @@ public Builder mergeFrom(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -593,6 +665,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -600,16 +674,17 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -617,6 +692,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -624,19 +701,25 @@ public java.lang.String getParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -644,7 +727,10 @@ public Builder setParent(
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -654,6 +740,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that all user links in the request are
      * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -661,13 +749,17 @@ public Builder clearParent() {
      * Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -676,26 +768,37 @@ public Builder setParentBytes( } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList( + requests_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getRequestsList() { + public java.util.List + getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -703,12 +806,16 @@ public java.util.List } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -718,12 +825,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -733,12 +844,16 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -755,15 +870,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -774,12 +894,16 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { if (requestsBuilder_ == null) { @@ -795,12 +919,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateUserLinkRequ return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest value) { @@ -817,12 +945,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { @@ -836,15 +968,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -855,19 +992,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); onChanged(); } else { requestsBuilder_.addAllMessages(values); @@ -875,12 +1016,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -893,12 +1038,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -911,42 +1060,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { - return requests_.get(index); } else { + return requests_.get(index); + } else { return requestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -954,59 +1117,76 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequ } } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the user links to update.
      * A maximum of 1000 user links can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsBuilderList() { + public java.util.List + getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder>( + requests_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); requests_ = null; } return requestsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1016,41 +1196,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksRequest 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; @@ -1062,9 +1244,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java index f3835ca9e5ef..fbaf9c26037c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksRequestOrBuilder extends +public interface BatchUpdateUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -15,11 +33,16 @@ public interface BatchUpdateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The account or property that all user links in the request are
    * for. The parent field in the UpdateUserLinkRequest messages must either be
@@ -27,58 +50,78 @@ public interface BatchUpdateUserLinksRequestOrBuilder extends
    * Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the user links to update.
    * A maximum of 1000 user links can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateUserLinkRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder getRequestsOrBuilder(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java index eb8f0e6e5784..faea6126576e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 BatchUpdateUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ -public final class BatchUpdateUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) BatchUpdateUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateUserLinksResponse.newBuilder() to construct. private BatchUpdateUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_BatchUpdateUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List userLinks_; /** + * + * *
    * The user links updated.
    * 
@@ -63,6 +85,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * The user links updated.
    * 
@@ -70,11 +94,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * The user links updated.
    * 
@@ -86,6 +112,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * The user links updated.
    * 
@@ -97,6 +125,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * The user links updated.
    * 
@@ -104,12 +134,12 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -136,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other = + (com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +205,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( 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.BatchUpdateUserLinksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for BatchUpdateUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,13 +350,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance(); } @@ -336,14 +372,18 @@ public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result = + new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -355,7 +395,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse result) { int from_bitField0_ = bitField0_; } @@ -363,46 +404,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateUserLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BatchUpdateUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -421,9 +466,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateUserLinks userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -455,25 +501,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), - extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -483,21 +530,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * The user links updated.
      * 
@@ -512,6 +567,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * The user links updated.
      * 
@@ -526,6 +583,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * The user links updated.
      * 
@@ -540,14 +599,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,6 +621,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -579,6 +641,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -599,14 +663,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +685,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -638,6 +705,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -656,6 +725,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -666,8 +737,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -675,6 +745,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * The user links updated.
      * 
@@ -692,6 +764,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * The user links updated.
      * 
@@ -709,39 +783,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +828,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * The user links updated.
      * 
@@ -756,49 +837,55 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * The user links updated.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +895,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) - private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateUserLinksResponse 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; @@ -854,9 +943,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java index d9d9c6be6ca4..a00931b1ce72 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface BatchUpdateUserLinksResponseOrBuilder extends +public interface BatchUpdateUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * The user links updated.
    * 
@@ -25,6 +44,8 @@ public interface BatchUpdateUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * The user links updated.
    * 
@@ -33,21 +54,24 @@ public interface BatchUpdateUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * The user links updated.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 74% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLink.java index c43f0fb47a3b..c6609e6ba228 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + 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_ = ""; @@ -28,33 +46,37 @@ private BigQueryLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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}'
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this BigQuery link.
    * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
@@ -85,16 +109,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,9 +126,12 @@ public java.lang.String getName() { } 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
@@ -116,6 +142,7 @@ public java.lang.String getName() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ @java.lang.Override @@ -124,14 +151,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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
@@ -142,16 +170,15 @@ public java.lang.String getProject() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -162,11 +189,15 @@ public java.lang.String getProject() { 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]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -174,11 +205,15 @@ 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]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -186,11 +221,14 @@ 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]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -200,11 +238,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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 @@ -215,11 +256,14 @@ public boolean getDailyExportEnabled() { 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 @@ -230,12 +274,15 @@ public boolean getStreamingExportEnabled() { 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 @@ -244,9 +291,12 @@ public boolean getIncludeAdvertisingId() { } 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.
@@ -255,13 +305,15 @@ public boolean getIncludeAdvertisingId() {
    * 
* * repeated string export_streams = 7; + * * @return A list containing the exportStreams. */ - public com.google.protobuf.ProtocolStringList - getExportStreamsList() { + public com.google.protobuf.ProtocolStringList getExportStreamsList() { return exportStreams_; } /** + * + * *
    * The list of streams under the parent property for which data will be
    * exported.
@@ -270,12 +322,15 @@ public boolean getIncludeAdvertisingId() {
    * 
* * 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.
@@ -284,6 +339,7 @@ public int getExportStreamsCount() {
    * 
* * repeated string export_streams = 7; + * * @param index The index of the element to return. * @return The exportStreams at the given index. */ @@ -291,6 +347,8 @@ 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.
@@ -299,46 +357,55 @@ public java.lang.String getExportStreams(int index) {
    * 
* * 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) { + 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() { + 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. */ @@ -346,20 +413,23 @@ 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) { + 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; @@ -371,8 +441,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -413,20 +482,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (dailyExportEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, dailyExportEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, dailyExportEnabled_); } if (streamingExportEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, streamingExportEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, streamingExportEnabled_); } if (includeAdvertisingId_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, includeAdvertisingId_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, includeAdvertisingId_); } { int dataSize = 0; @@ -452,32 +517,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.BigQueryLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BigQueryLink other = (com.google.analytics.admin.v1alpha.BigQueryLink) 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 (!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 (!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; } @@ -498,14 +556,11 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + DAILY_EXPORT_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDailyExportEnabled()); + 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 = (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()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAdvertisingId()); if (getExportStreamsCount() > 0) { hash = (37 * hash) + EXPORT_STREAMS_FIELD_NUMBER; hash = (53 * hash) + getExportStreamsList().hashCode(); @@ -519,130 +574,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.BigQueryLink parseFrom( - java.nio.ByteBuffer data) + 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) + 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) + 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); + 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BigQueryLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A 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 + 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; + 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 + 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); + 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() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -665,9 +726,9 @@ public Builder clear() { } @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; + 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 @@ -686,14 +747,18 @@ public com.google.analytics.admin.v1alpha.BigQueryLink build() { @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); + com.google.analytics.admin.v1alpha.BigQueryLink result = + new com.google.analytics.admin.v1alpha.BigQueryLink(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BigQueryLink result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BigQueryLink result) { if (((bitField0_ & 0x00000040) != 0)) { exportStreams_ = exportStreams_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); @@ -715,9 +780,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BigQueryLink resul result.project_ = project_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.dailyExportEnabled_ = dailyExportEnabled_; @@ -734,38 +797,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BigQueryLink resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.BigQueryLink) other); } else { super.mergeFrom(other); return this; @@ -773,7 +837,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.BigQueryLink other) { - if (other == com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -842,56 +907,63 @@ public Builder mergeFrom( 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: + 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) { @@ -901,10 +973,13 @@ public Builder mergeFrom( } // 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}'
@@ -912,13 +987,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -927,6 +1002,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this BigQuery link.
      * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
@@ -934,15 +1011,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -950,6 +1026,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this BigQuery link.
      * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
@@ -957,18 +1035,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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}'
@@ -976,6 +1058,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -985,6 +1068,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this BigQuery link.
      * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
@@ -992,12 +1077,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1007,6 +1094,8 @@ public Builder setNameBytes( 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
@@ -1017,13 +1106,13 @@ public Builder setNameBytes(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -1032,6 +1121,8 @@ public 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
@@ -1042,15 +1133,14 @@ public java.lang.String getProject() {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -1058,6 +1148,8 @@ public 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
@@ -1068,18 +1160,22 @@ public java.lang.String getProject() {
      * 
* * 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(); } + 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
@@ -1090,6 +1186,7 @@ public Builder setProject(
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -1099,6 +1196,8 @@ public Builder clearProject() { 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
@@ -1109,12 +1208,14 @@ public Builder clearProject() {
      * 
* * 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(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000002; @@ -1124,39 +1225,58 @@ public Builder setProjectBytes( 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_; + 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]; + * + * .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]; + * + * .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_; + 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]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1172,14 +1292,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the link was 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1190,17 +1313,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time when the link was 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1213,11 +1340,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the link was 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1230,11 +1361,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time when the link was 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1242,48 +1377,63 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the link was 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + 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]; + * + * .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> + 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()); + 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_ ; + 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 @@ -1291,27 +1441,33 @@ 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() { @@ -1321,13 +1477,16 @@ public Builder clearDailyExportEnabled() { return this; } - private boolean streamingExportEnabled_ ; + 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 @@ -1335,27 +1494,33 @@ 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() { @@ -1365,14 +1530,17 @@ public Builder clearStreamingExportEnabled() { return this; } - private boolean includeAdvertisingId_ ; + 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 @@ -1380,29 +1548,35 @@ 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() { @@ -1412,14 +1586,18 @@ public Builder clearIncludeAdvertisingId() { return this; } - private com.google.protobuf.LazyStringList exportStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + 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.
@@ -1428,13 +1606,15 @@ private void ensureExportStreamsIsMutable() {
      * 
* * repeated string export_streams = 7; + * * @return A list containing the exportStreams. */ - public com.google.protobuf.ProtocolStringList - getExportStreamsList() { + public com.google.protobuf.ProtocolStringList getExportStreamsList() { return exportStreams_.getUnmodifiableView(); } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1443,12 +1623,15 @@ private void ensureExportStreamsIsMutable() {
      * 
* * 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.
@@ -1457,6 +1640,7 @@ public int getExportStreamsCount() {
      * 
* * repeated string export_streams = 7; + * * @param index The index of the element to return. * @return The exportStreams at the given index. */ @@ -1464,6 +1648,8 @@ 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.
@@ -1472,14 +1658,16 @@ public java.lang.String getExportStreams(int index) {
      * 
* * 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) { + 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.
@@ -1488,19 +1676,23 @@ public java.lang.String getExportStreams(int index) {
      * 
* * 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(); } + 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.
@@ -1509,18 +1701,22 @@ public Builder setExportStreams(
      * 
* * 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(); } + 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.
@@ -1529,18 +1725,19 @@ public Builder addExportStreams(
      * 
* * repeated string export_streams = 7; + * * @param values The exportStreams to add. * @return This builder for chaining. */ - public Builder addAllExportStreams( - java.lang.Iterable values) { + public Builder addAllExportStreams(java.lang.Iterable values) { ensureExportStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exportStreams_); + 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.
@@ -1549,6 +1746,7 @@ public Builder addAllExportStreams(
      * 
* * repeated string export_streams = 7; + * * @return This builder for chaining. */ public Builder clearExportStreams() { @@ -1558,6 +1756,8 @@ public Builder clearExportStreams() { return this; } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1566,12 +1766,14 @@ public Builder clearExportStreams() {
      * 
* * 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(); } + public Builder addExportStreamsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureExportStreamsIsMutable(); exportStreams_.add(value); @@ -1579,42 +1781,52 @@ public Builder addExportStreamsBytes( return this; } - private com.google.protobuf.LazyStringList excludedEvents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + 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() { + 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. */ @@ -1622,76 +1834,90 @@ 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) { + 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(); } + 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(); } + 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) { + public Builder addAllExcludedEvents(java.lang.Iterable values) { ensureExcludedEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludedEvents_); + 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() { @@ -1701,26 +1927,30 @@ public Builder clearExcludedEvents() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1730,12 +1960,12 @@ public final Builder mergeUnknownFields( 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(); } @@ -1744,27 +1974,27 @@ 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(); - } - }; + 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; @@ -1779,6 +2009,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.BigQueryLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 81% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BigQueryLinkOrBuilder.java index b5df7be0a2db..dcad666962e6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface BigQueryLinkOrBuilder extends +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}'
@@ -15,10 +33,13 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * 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}'
@@ -26,12 +47,14 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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
@@ -42,10 +65,13 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * 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
@@ -56,70 +82,92 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + 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]; + * .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]; + * .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]; + * .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.
@@ -128,11 +176,13 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * repeated string export_streams = 7; + * * @return A list containing the exportStreams. */ - java.util.List - getExportStreamsList(); + java.util.List getExportStreamsList(); /** + * + * *
    * The list of streams under the parent property for which data will be
    * exported.
@@ -141,10 +191,13 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * 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.
@@ -153,11 +206,14 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * 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.
@@ -166,50 +222,60 @@ public interface BigQueryLinkOrBuilder extends
    * 
* * 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); + 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(); + 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); + 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/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..94ce77883a4b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,709 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CancelDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CancelDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CancelDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CancelDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest other = + (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) 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 + .CancelDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CancelDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + parseFrom( + 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 + .CancelDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CancelDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CancelDisplayVideo360AdvertiserLinkProposalRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CancelDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CancelDisplayVideo360AdvertiserLinkProposalRequest + 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.CancelDisplayVideo360AdvertiserLinkProposalRequest + 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 CancelDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + build() { + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + buildPartial() { + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = + new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + 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.CancelDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + other) { + if (other + == com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + .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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha + .CancelDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + CancelDisplayVideo360AdvertiserLinkProposalRequest> + PARSER = + new com.google.protobuf.AbstractParser< + CancelDisplayVideo360AdvertiserLinkProposalRequest>() { + @java.lang.Override + public CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..9f4a2a4da08e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.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 CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChange.java index 4c210c6a8d68..463fda5a9b6f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A description of a change to a single Google Analytics resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange} */ -public final class ChangeHistoryChange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChangeHistoryChange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange) ChangeHistoryChangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeHistoryChange.newBuilder() to construct. private ChangeHistoryChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChangeHistoryChange() { resource_ = ""; action_ = 0; @@ -26,52 +44,62 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ChangeHistoryChange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); } - public interface ChangeHistoryResourceOrBuilder extends + public interface ChangeHistoryResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
@@ -81,24 +109,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; + * * @return The property. */ com.google.analytics.admin.v1alpha.Property getProperty(); /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
@@ -108,24 +144,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * * @return Whether the firebaseLink field is set. */ boolean hasFirebaseLink(); /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * * @return The firebaseLink. */ com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -135,24 +179,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * * @return The googleAdsLink. */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -162,111 +214,163 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** + * + * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * + * * @return Whether the googleSignalsSettings field is set. */ boolean hasGoogleSignalsSettings(); /** + * + * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * + * * @return The googleSignalsSettings. */ com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(); /** + * + * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder + getGoogleSignalsSettingsOrBuilder(); /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ boolean hasDisplayVideo360AdvertiserLink(); /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * * @return The displayVideo360AdvertiserLink. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink(); /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder(); /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ boolean hasDisplayVideo360AdvertiserLinkProposal(); /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * * @return The displayVideo360AdvertiserLinkProposal. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal(); /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalOrBuilder(); /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * * @return Whether the conversionEvent field is set. */ boolean hasConversionEvent(); /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * * @return The conversionEvent. */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -276,51 +380,74 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); /** + * + * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** + * + * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * * @return The customDimension. */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); /** + * + * *
      * A snapshot of a CustomDimension resource in change history.
      * 
@@ -330,24 +457,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** + * + * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** + * + * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * * @return The customMetric. */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); /** + * + * *
      * A snapshot of a CustomMetric resource in change history.
      * 
@@ -357,51 +492,71 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * + * * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * + * * @return The dataRetentionSettings. */ com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(); /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); + 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.
      * 
@@ -411,24 +566,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinkOrBuilder(); /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * * @return The dataStream. */ com.google.analytics.admin.v1alpha.DataStream getDataStream(); /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -438,51 +601,68 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); /** + * + * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * * @return Whether the attributionSettings field is set. */ boolean hasAttributionSettings(); /** + * + * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * * @return The attributionSettings. */ com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings(); /** + * + * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ - com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder(); + 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.
      * 
@@ -492,24 +672,32 @@ public interface ChangeHistoryResourceOrBuilder extends 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.
      * 
@@ -518,9 +706,12 @@ public interface ChangeHistoryResourceOrBuilder extends */ com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkOrBuilder(); - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase + getResourceCase(); } /** + * + * *
    * A snapshot of a resource as before or after the result of a change in
    * change history.
@@ -528,47 +719,51 @@ public interface ChangeHistoryResourceOrBuilder extends
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource}
    */
-  public static final class ChangeHistoryResource extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ChangeHistoryResource extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)
       ChangeHistoryResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ChangeHistoryResource.newBuilder() to construct.
     private ChangeHistoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private ChangeHistoryResource() {
-    }
+
+    private ChangeHistoryResource() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ChangeHistoryResource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    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_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
+              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class,
+              com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder
+                  .class);
     }
 
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
+
     public enum ResourceCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ACCOUNT(1),
       PROPERTY(2),
@@ -589,6 +784,7 @@ public enum ResourceCase
       BIGQUERY_LINK(23),
       RESOURCE_NOT_SET(0);
       private final int value;
+
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -604,45 +800,66 @@ public static ResourceCase valueOf(int value) {
 
       public static ResourceCase forNumber(int value) {
         switch (value) {
-          case 1: return ACCOUNT;
-          case 2: return PROPERTY;
-          case 6: return FIREBASE_LINK;
-          case 7: return GOOGLE_ADS_LINK;
-          case 8: return GOOGLE_SIGNALS_SETTINGS;
-          case 9: return DISPLAY_VIDEO_360_ADVERTISER_LINK;
-          case 10: return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL;
-          case 11: return CONVERSION_EVENT;
-          case 12: return MEASUREMENT_PROTOCOL_SECRET;
-          case 13: return CUSTOM_DIMENSION;
-          case 14: 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: return null;
+          case 1:
+            return ACCOUNT;
+          case 2:
+            return PROPERTY;
+          case 6:
+            return FIREBASE_LINK;
+          case 7:
+            return GOOGLE_ADS_LINK;
+          case 8:
+            return GOOGLE_SIGNALS_SETTINGS;
+          case 9:
+            return DISPLAY_VIDEO_360_ADVERTISER_LINK;
+          case 10:
+            return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL;
+          case 11:
+            return CONVERSION_EVENT;
+          case 12:
+            return MEASUREMENT_PROTOCOL_SECRET;
+          case 13:
+            return CUSTOM_DIMENSION;
+          case 14:
+            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:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ResourceCase
-    getResourceCase() {
-      return ResourceCase.forNumber(
-          resourceCase_);
+    public ResourceCase getResourceCase() {
+      return ResourceCase.forNumber(resourceCase_);
     }
 
     public static final int ACCOUNT_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return Whether the account field is set. */ @java.lang.Override @@ -650,21 +867,26 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1alpha.Account) resource_; + return (com.google.analytics.admin.v1alpha.Account) resource_; } return com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
@@ -674,18 +896,21 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1alpha.Account) resource_; + return (com.google.analytics.admin.v1alpha.Account) resource_; } return com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } public static final int PROPERTY_FIELD_NUMBER = 2; /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; + * * @return Whether the property field is set. */ @java.lang.Override @@ -693,21 +918,26 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Property property = 2; + * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getProperty() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1alpha.Property) resource_; + return (com.google.analytics.admin.v1alpha.Property) resource_; } return com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
@@ -717,18 +947,21 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1alpha.Property) resource_; + return (com.google.analytics.admin.v1alpha.Property) resource_; } return com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } public static final int FIREBASE_LINK_FIELD_NUMBER = 6; /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -736,21 +969,26 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; + return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; } return com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -760,18 +998,21 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; + return (com.google.analytics.admin.v1alpha.FirebaseLink) resource_; } return com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 7; /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -779,21 +1020,26 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -803,18 +1049,22 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } public static final int GOOGLE_SIGNALS_SETTINGS_FIELD_NUMBER = 8; /** + * + * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * + * * @return Whether the googleSignalsSettings field is set. */ @java.lang.Override @@ -822,43 +1072,56 @@ public boolean hasGoogleSignalsSettings() { return resourceCase_ == 8; } /** + * + * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * + * * @return The googleSignalsSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings() { if (resourceCase_ == 8) { - return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; + return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; } return com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); } /** + * + * *
      * A snapshot of a GoogleSignalsSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder + getGoogleSignalsSettingsOrBuilder() { if (resourceCase_ == 8) { - return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; + return (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_; } return com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 9; /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -866,45 +1129,61 @@ public boolean hasDisplayVideo360AdvertiserLink() { return resourceCase_ == 9; } /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { if (resourceCase_ == 9) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLink resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { if (resourceCase_ == 9) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER = 10; /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ @java.lang.Override @@ -912,44 +1191,60 @@ public boolean hasDisplayVideo360AdvertiserLinkProposal() { return resourceCase_ == 10; } /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * * @return The displayVideo360AdvertiserLinkProposal. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal() { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance(); } /** + * + * *
      * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
      * change history.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalOrBuilder() { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance(); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 11; /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -957,21 +1252,26 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; + return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; } return com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -979,20 +1279,26 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder + getConversionEventOrBuilder() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; + return (com.google.analytics.admin.v1alpha.ConversionEvent) resource_; } return com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 12; /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -1000,42 +1306,56 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 13; /** + * + * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -1043,21 +1363,26 @@ public boolean hasCustomDimension() { return resourceCase_ == 13; } /** + * + * *
      * A snapshot of a CustomDimension resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { if (resourceCase_ == 13) { - return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; + return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; } return com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } /** + * + * *
      * A snapshot of a CustomDimension resource in change history.
      * 
@@ -1065,20 +1390,24 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder + getCustomDimensionOrBuilder() { if (resourceCase_ == 13) { - return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; + return (com.google.analytics.admin.v1alpha.CustomDimension) resource_; } return com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } public static final int CUSTOM_METRIC_FIELD_NUMBER = 14; /** + * + * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -1086,21 +1415,26 @@ public boolean hasCustomMetric() { return resourceCase_ == 14; } /** + * + * *
      * A snapshot of a CustomMetric resource in change history.
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { if (resourceCase_ == 14) { - return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; + return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; } return com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } /** + * + * *
      * A snapshot of a CustomMetric resource in change history.
      * 
@@ -1110,18 +1444,22 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { if (resourceCase_ == 14) { - return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; + return (com.google.analytics.admin.v1alpha.CustomMetric) resource_; } return com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 15; /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * + * * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -1129,42 +1467,53 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * + * * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; } return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); } /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_; } 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 @@ -1172,21 +1521,26 @@ 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) resource_; } return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); } /** + * + * *
      * A snapshot of a SearchAds360Link resource in change history.
      * 
@@ -1194,20 +1548,24 @@ public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinkOrBuilder() { + 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) resource_; } return com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance(); } public static final int DATA_STREAM_FIELD_NUMBER = 18; /** + * + * *
      * 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 @@ -1215,21 +1573,26 @@ 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 (resourceCase_ == 18) { - return (com.google.analytics.admin.v1alpha.DataStream) resource_; + return (com.google.analytics.admin.v1alpha.DataStream) resource_; } return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); } /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -1239,18 +1602,21 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { if (resourceCase_ == 18) { - return (com.google.analytics.admin.v1alpha.DataStream) resource_; + return (com.google.analytics.admin.v1alpha.DataStream) resource_; } return com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); } public static final int ATTRIBUTION_SETTINGS_FIELD_NUMBER = 20; /** + * + * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * * @return Whether the attributionSettings field is set. */ @java.lang.Override @@ -1258,21 +1624,26 @@ public boolean hasAttributionSettings() { return resourceCase_ == 20; } /** + * + * *
      * A snapshot of AttributionSettings resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * * @return The attributionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings() { if (resourceCase_ == 20) { - return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; + return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; } return com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); } /** + * + * *
      * A snapshot of AttributionSettings resource in change history.
      * 
@@ -1280,20 +1651,24 @@ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSett * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder + getAttributionSettingsOrBuilder() { if (resourceCase_ == 20) { - return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; + return (com.google.analytics.admin.v1alpha.AttributionSettings) resource_; } 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 @@ -1301,21 +1676,26 @@ 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) resource_; } return com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance(); } /** + * + * *
      * A snapshot of an ExpandedDataSet resource in change history.
      * 
@@ -1323,20 +1703,24 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder() { + 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) 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 @@ -1344,21 +1728,26 @@ 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) resource_; } return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); } /** + * + * *
      * A snapshot of a BigQuery link resource in change history.
      * 
@@ -1368,12 +1757,13 @@ public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLink() { @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) resource_; } return com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1385,8 +1775,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resourceCase_ == 1) { output.writeMessage(1, (com.google.analytics.admin.v1alpha.Account) resource_); } @@ -1400,19 +1789,24 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(7, (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_); } if (resourceCase_ == 8) { - output.writeMessage(8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); + output.writeMessage( + 8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); } if (resourceCase_ == 9) { - output.writeMessage(9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); + output.writeMessage( + 9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); } if (resourceCase_ == 10) { - output.writeMessage(10, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); + output.writeMessage( + 10, + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); } if (resourceCase_ == 11) { output.writeMessage(11, (com.google.analytics.admin.v1alpha.ConversionEvent) resource_); } if (resourceCase_ == 12) { - output.writeMessage(12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); + output.writeMessage( + 12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 13) { output.writeMessage(13, (com.google.analytics.admin.v1alpha.CustomDimension) resource_); @@ -1421,7 +1815,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(14, (com.google.analytics.admin.v1alpha.CustomMetric) resource_); } if (resourceCase_ == 15) { - output.writeMessage(15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); + output.writeMessage( + 15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); } if (resourceCase_ == 16) { output.writeMessage(16, (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_); @@ -1448,72 +1843,91 @@ public int getSerializedSize() { size = 0; if (resourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.analytics.admin.v1alpha.Account) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.analytics.admin.v1alpha.Account) resource_); } if (resourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1alpha.Property) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1alpha.Property) resource_); } if (resourceCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.analytics.admin.v1alpha.FirebaseLink) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.analytics.admin.v1alpha.FirebaseLink) resource_); } if (resourceCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_); } if (resourceCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_); } if (resourceCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_); } if (resourceCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) + resource_); } if (resourceCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.analytics.admin.v1alpha.ConversionEvent) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.analytics.admin.v1alpha.ConversionEvent) resource_); } if (resourceCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.analytics.admin.v1alpha.CustomDimension) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.analytics.admin.v1alpha.CustomDimension) resource_); } if (resourceCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.analytics.admin.v1alpha.CustomMetric) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.analytics.admin.v1alpha.CustomMetric) resource_); } if (resourceCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_); + size += + 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_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_); } if (resourceCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (com.google.analytics.admin.v1alpha.DataStream) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.analytics.admin.v1alpha.DataStream) resource_); } if (resourceCase_ == 20) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, (com.google.analytics.admin.v1alpha.AttributionSettings) resource_); + size += + 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_); + 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 += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 23, (com.google.analytics.admin.v1alpha.BigQueryLink) resource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1523,82 +1937,71 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other = (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) obj; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other = + (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) obj; if (!getResourceCase().equals(other.getResourceCase())) return false; switch (resourceCase_) { case 1: - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; break; case 2: - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; break; case 6: - if (!getFirebaseLink() - .equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; break; case 7: - if (!getGoogleAdsLink() - .equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; break; case 8: - if (!getGoogleSignalsSettings() - .equals(other.getGoogleSignalsSettings())) return false; + if (!getGoogleSignalsSettings().equals(other.getGoogleSignalsSettings())) return false; break; case 9: - if (!getDisplayVideo360AdvertiserLink() - .equals(other.getDisplayVideo360AdvertiserLink())) return false; + if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) + return false; break; case 10: if (!getDisplayVideo360AdvertiserLinkProposal() .equals(other.getDisplayVideo360AdvertiserLinkProposal())) return false; break; case 11: - if (!getConversionEvent() - .equals(other.getConversionEvent())) return false; + if (!getConversionEvent().equals(other.getConversionEvent())) return false; break; case 12: - if (!getMeasurementProtocolSecret() - .equals(other.getMeasurementProtocolSecret())) return false; + if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) + return false; break; case 13: - if (!getCustomDimension() - .equals(other.getCustomDimension())) return false; + if (!getCustomDimension().equals(other.getCustomDimension())) return false; break; case 14: - if (!getCustomMetric() - .equals(other.getCustomMetric())) return false; + if (!getCustomMetric().equals(other.getCustomMetric())) return false; break; case 15: - if (!getDataRetentionSettings() - .equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; break; case 16: - if (!getSearchAds360Link() - .equals(other.getSearchAds360Link())) return false; + if (!getSearchAds360Link().equals(other.getSearchAds360Link())) return false; break; case 18: - if (!getDataStream() - .equals(other.getDataStream())) return false; + if (!getDataStream().equals(other.getDataStream())) return false; break; case 20: - if (!getAttributionSettings() - .equals(other.getAttributionSettings())) return false; + if (!getAttributionSettings().equals(other.getAttributionSettings())) return false; break; case 21: - if (!getExpandedDataSet() - .equals(other.getExpandedDataSet())) return false; + if (!getExpandedDataSet().equals(other.getExpandedDataSet())) return false; break; case 23: - if (!getBigqueryLink() - .equals(other.getBigqueryLink())) return false; + if (!getBigqueryLink().equals(other.getBigqueryLink())) return false; break; case 0: default: @@ -1691,88 +2094,101 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + 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.ChangeHistoryChange.ChangeHistoryResource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + parseFrom( + 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.ChangeHistoryChange.ChangeHistoryResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + 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.ChangeHistoryChange.ChangeHistoryResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource + 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.ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource + 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.ChangeHistoryChange.ChangeHistoryResource 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.ChangeHistoryChange.ChangeHistoryResource + 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.ChangeHistoryChange.ChangeHistoryResource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1782,40 +2198,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A snapshot of a resource as before or after the result of a change in
      * change history.
      * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder.class); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.class, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1877,19 +2298,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource build() { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = buildPartial(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1897,87 +2321,76 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResou } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource buildPartial() { - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + buildPartial() { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result = + new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource result) { result.resourceCase_ = resourceCase_; result.resource_ = this.resource_; - if (resourceCase_ == 1 && - accountBuilder_ != null) { + if (resourceCase_ == 1 && accountBuilder_ != null) { result.resource_ = accountBuilder_.build(); } - if (resourceCase_ == 2 && - propertyBuilder_ != null) { + if (resourceCase_ == 2 && propertyBuilder_ != null) { result.resource_ = propertyBuilder_.build(); } - if (resourceCase_ == 6 && - firebaseLinkBuilder_ != null) { + if (resourceCase_ == 6 && firebaseLinkBuilder_ != null) { result.resource_ = firebaseLinkBuilder_.build(); } - if (resourceCase_ == 7 && - googleAdsLinkBuilder_ != null) { + if (resourceCase_ == 7 && googleAdsLinkBuilder_ != null) { result.resource_ = googleAdsLinkBuilder_.build(); } - if (resourceCase_ == 8 && - googleSignalsSettingsBuilder_ != null) { + if (resourceCase_ == 8 && googleSignalsSettingsBuilder_ != null) { result.resource_ = googleSignalsSettingsBuilder_.build(); } - if (resourceCase_ == 9 && - displayVideo360AdvertiserLinkBuilder_ != null) { + if (resourceCase_ == 9 && displayVideo360AdvertiserLinkBuilder_ != null) { result.resource_ = displayVideo360AdvertiserLinkBuilder_.build(); } - if (resourceCase_ == 10 && - displayVideo360AdvertiserLinkProposalBuilder_ != null) { + if (resourceCase_ == 10 && displayVideo360AdvertiserLinkProposalBuilder_ != null) { result.resource_ = displayVideo360AdvertiserLinkProposalBuilder_.build(); } - if (resourceCase_ == 11 && - conversionEventBuilder_ != null) { + if (resourceCase_ == 11 && conversionEventBuilder_ != null) { result.resource_ = conversionEventBuilder_.build(); } - if (resourceCase_ == 12 && - measurementProtocolSecretBuilder_ != null) { + if (resourceCase_ == 12 && measurementProtocolSecretBuilder_ != null) { result.resource_ = measurementProtocolSecretBuilder_.build(); } - if (resourceCase_ == 13 && - customDimensionBuilder_ != null) { + if (resourceCase_ == 13 && customDimensionBuilder_ != null) { result.resource_ = customDimensionBuilder_.build(); } - if (resourceCase_ == 14 && - customMetricBuilder_ != null) { + if (resourceCase_ == 14 && customMetricBuilder_ != null) { result.resource_ = customMetricBuilder_.build(); } - if (resourceCase_ == 15 && - dataRetentionSettingsBuilder_ != null) { + if (resourceCase_ == 15 && dataRetentionSettingsBuilder_ != null) { result.resource_ = dataRetentionSettingsBuilder_.build(); } - if (resourceCase_ == 16 && - searchAds360LinkBuilder_ != null) { + if (resourceCase_ == 16 && searchAds360LinkBuilder_ != null) { result.resource_ = searchAds360LinkBuilder_.build(); } - if (resourceCase_ == 18 && - dataStreamBuilder_ != null) { + if (resourceCase_ == 18 && dataStreamBuilder_ != null) { result.resource_ = dataStreamBuilder_.build(); } - if (resourceCase_ == 20 && - attributionSettingsBuilder_ != null) { + if (resourceCase_ == 20 && attributionSettingsBuilder_ != null) { result.resource_ = attributionSettingsBuilder_.build(); } - if (resourceCase_ == 21 && - expandedDataSetBuilder_ != null) { + if (resourceCase_ == 21 && expandedDataSetBuilder_ != null) { result.resource_ = expandedDataSetBuilder_.build(); } - if (resourceCase_ == 23 && - bigqueryLinkBuilder_ != null) { + if (resourceCase_ == 23 && bigqueryLinkBuilder_ != null) { result.resource_ = bigqueryLinkBuilder_.build(); } } @@ -1986,118 +2399,146 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ChangeHistory public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other) { - if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource other) { + if (other + == com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance()) return this; switch (other.getResourceCase()) { - case ACCOUNT: { - mergeAccount(other.getAccount()); - break; - } - case PROPERTY: { - mergeProperty(other.getProperty()); - break; - } - case FIREBASE_LINK: { - mergeFirebaseLink(other.getFirebaseLink()); - break; - } - case GOOGLE_ADS_LINK: { - mergeGoogleAdsLink(other.getGoogleAdsLink()); - break; - } - case GOOGLE_SIGNALS_SETTINGS: { - mergeGoogleSignalsSettings(other.getGoogleSignalsSettings()); - break; - } - case DISPLAY_VIDEO_360_ADVERTISER_LINK: { - mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); - break; - } - case DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL: { - mergeDisplayVideo360AdvertiserLinkProposal(other.getDisplayVideo360AdvertiserLinkProposal()); - break; - } - case CONVERSION_EVENT: { - mergeConversionEvent(other.getConversionEvent()); - break; - } - case MEASUREMENT_PROTOCOL_SECRET: { - mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); - break; - } - case CUSTOM_DIMENSION: { - mergeCustomDimension(other.getCustomDimension()); - break; - } - case CUSTOM_METRIC: { - mergeCustomMetric(other.getCustomMetric()); - break; - } - case DATA_RETENTION_SETTINGS: { - mergeDataRetentionSettings(other.getDataRetentionSettings()); - break; - } - case SEARCH_ADS_360_LINK: { - mergeSearchAds360Link(other.getSearchAds360Link()); - break; - } - case DATA_STREAM: { - mergeDataStream(other.getDataStream()); - break; - } - case ATTRIBUTION_SETTINGS: { - mergeAttributionSettings(other.getAttributionSettings()); - break; - } - case EXPANDED_DATA_SET: { - mergeExpandedDataSet(other.getExpandedDataSet()); - break; - } - case BIGQUERY_LINK: { - mergeBigqueryLink(other.getBigqueryLink()); - break; - } - case RESOURCE_NOT_SET: { - break; - } + case ACCOUNT: + { + mergeAccount(other.getAccount()); + break; + } + case PROPERTY: + { + mergeProperty(other.getProperty()); + break; + } + case FIREBASE_LINK: + { + mergeFirebaseLink(other.getFirebaseLink()); + break; + } + case GOOGLE_ADS_LINK: + { + mergeGoogleAdsLink(other.getGoogleAdsLink()); + break; + } + case GOOGLE_SIGNALS_SETTINGS: + { + mergeGoogleSignalsSettings(other.getGoogleSignalsSettings()); + break; + } + case DISPLAY_VIDEO_360_ADVERTISER_LINK: + { + mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); + break; + } + case DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL: + { + mergeDisplayVideo360AdvertiserLinkProposal( + other.getDisplayVideo360AdvertiserLinkProposal()); + break; + } + case CONVERSION_EVENT: + { + mergeConversionEvent(other.getConversionEvent()); + break; + } + case MEASUREMENT_PROTOCOL_SECRET: + { + mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); + break; + } + case CUSTOM_DIMENSION: + { + mergeCustomDimension(other.getCustomDimension()); + break; + } + case CUSTOM_METRIC: + { + mergeCustomMetric(other.getCustomMetric()); + break; + } + case DATA_RETENTION_SETTINGS: + { + mergeDataRetentionSettings(other.getDataRetentionSettings()); + break; + } + case SEARCH_ADS_360_LINK: + { + mergeSearchAds360Link(other.getSearchAds360Link()); + break; + } + case DATA_STREAM: + { + mergeDataStream(other.getDataStream()); + break; + } + case ATTRIBUTION_SETTINGS: + { + mergeAttributionSettings(other.getAttributionSettings()); + break; + } + case EXPANDED_DATA_SET: + { + mergeExpandedDataSet(other.getExpandedDataSet()); + break; + } + case BIGQUERY_LINK: + { + mergeBigqueryLink(other.getBigqueryLink()); + break; + } + case RESOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2125,131 +2566,127 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAccountFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getPropertyFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 2; - break; - } // case 18 - case 50: { - input.readMessage( - getFirebaseLinkFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getGoogleAdsLinkFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 7; - break; - } // case 58 - case 66: { - input.readMessage( - getGoogleSignalsSettingsFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 8; - break; - } // case 66 - case 74: { - input.readMessage( - getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 9; - break; - } // case 74 - case 82: { - input.readMessage( - getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 10; - break; - } // case 82 - case 90: { - input.readMessage( - getConversionEventFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 11; - break; - } // case 90 - case 98: { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 12; - break; - } // case 98 - case 106: { - input.readMessage( - getCustomDimensionFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 13; - break; - } // case 106 - case 114: { - input.readMessage( - getCustomMetricFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 14; - break; - } // case 114 - case 122: { - input.readMessage( - getDataRetentionSettingsFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 15; - break; - } // case 122 - case 130: { - input.readMessage( - getSearchAds360LinkFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 16; - break; - } // case 130 - case 146: { - input.readMessage( - getDataStreamFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 18; - break; - } // case 146 - case 162: { - input.readMessage( - getAttributionSettingsFieldBuilder().getBuilder(), - extensionRegistry); - 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)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 2; + break; + } // case 18 + case 50: + { + input.readMessage(getFirebaseLinkFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage(getGoogleAdsLinkFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage( + getGoogleSignalsSettingsFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 8; + break; + } // case 66 + case 74: + { + input.readMessage( + getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 9; + break; + } // case 74 + case 82: + { + input.readMessage( + getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 10; + break; + } // case 82 + case 90: + { + input.readMessage( + getConversionEventFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 11; + break; + } // case 90 + case 98: + { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 12; + break; + } // case 98 + case 106: + { + input.readMessage( + getCustomDimensionFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 13; + break; + } // case 106 + case 114: + { + input.readMessage(getCustomMetricFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 14; + break; + } // case 114 + case 122: + { + input.readMessage( + getDataRetentionSettingsFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 15; + break; + } // case 122 + case 130: + { + input.readMessage( + getSearchAds360LinkFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 16; + break; + } // case 130 + case 146: + { + input.readMessage(getDataStreamFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 18; + break; + } // case 146 + case 162: + { + input.readMessage( + getAttributionSettingsFieldBuilder().getBuilder(), extensionRegistry); + 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)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2259,12 +2696,12 @@ public Builder mergeFrom( } // finally return this; } + private int resourceCase_ = 0; private java.lang.Object resource_; - public ResourceCase - getResourceCase() { - return ResourceCase.forNumber( - resourceCase_); + + public ResourceCase getResourceCase() { + return ResourceCase.forNumber(resourceCase_); } public Builder clearResource() { @@ -2277,13 +2714,19 @@ public Builder clearResource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountBuilder_; + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> + accountBuilder_; /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return Whether the account field is set. */ @java.lang.Override @@ -2291,11 +2734,14 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return The account. */ @java.lang.Override @@ -2313,6 +2759,8 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2333,6 +2781,8 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2351,6 +2801,8 @@ public Builder setAccount( return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2359,10 +2811,13 @@ public Builder setAccount( */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { - if (resourceCase_ == 1 && - resource_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.Account.newBuilder((com.google.analytics.admin.v1alpha.Account) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 1 + && resource_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.Account.newBuilder( + (com.google.analytics.admin.v1alpha.Account) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2378,6 +2833,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2401,6 +2858,8 @@ public Builder clearAccount() { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2411,6 +2870,8 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2429,6 +2890,8 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -2436,14 +2899,19 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1alpha.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { if (!(resourceCase_ == 1)) { resource_ = com.google.analytics.admin.v1alpha.Account.getDefaultInstance(); } - accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( + accountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder>( (com.google.analytics.admin.v1alpha.Account) resource_, getParentForChildren(), isClean()); @@ -2455,13 +2923,19 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertyBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + propertyBuilder_; /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Property property = 2; + * * @return Whether the property field is set. */ @java.lang.Override @@ -2469,11 +2943,14 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Property property = 2; + * * @return The property. */ @java.lang.Override @@ -2491,6 +2968,8 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2511,6 +2990,8 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2529,6 +3010,8 @@ public Builder setProperty( return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2537,10 +3020,13 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { - if (resourceCase_ == 2 && - resource_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.Property.newBuilder((com.google.analytics.admin.v1alpha.Property) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 2 + && resource_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.Property.newBuilder( + (com.google.analytics.admin.v1alpha.Property) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2556,6 +3042,8 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2579,6 +3067,8 @@ public Builder clearProperty() { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2589,6 +3079,8 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2607,6 +3099,8 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -2614,14 +3108,19 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder * .google.analytics.admin.v1alpha.Property property = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { if (!(resourceCase_ == 2)) { resource_ = com.google.analytics.admin.v1alpha.Property.getDefaultInstance(); } - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( (com.google.analytics.admin.v1alpha.Property) resource_, getParentForChildren(), isClean()); @@ -2633,13 +3132,19 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> firebaseLinkBuilder_; + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + firebaseLinkBuilder_; /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -2647,11 +3152,14 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * * @return The firebaseLink. */ @java.lang.Override @@ -2669,6 +3177,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2689,6 +3199,8 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2707,6 +3219,8 @@ public Builder setFirebaseLink( return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2715,10 +3229,14 @@ public Builder setFirebaseLink( */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (resourceCase_ == 6 && - resource_ != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder((com.google.analytics.admin.v1alpha.FirebaseLink) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 6 + && resource_ + != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder( + (com.google.analytics.admin.v1alpha.FirebaseLink) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2734,6 +3252,8 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2757,6 +3277,8 @@ public Builder clearFirebaseLink() { return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2767,6 +3289,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBu return getFirebaseLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2785,6 +3309,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -2792,14 +3318,19 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { if (!(resourceCase_ == 6)) { resource_ = com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance(); } - firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( + firebaseLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( (com.google.analytics.admin.v1alpha.FirebaseLink) resource_, getParentForChildren(), isClean()); @@ -2811,13 +3342,19 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + googleAdsLinkBuilder_; /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -2825,11 +3362,14 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * * @return The googleAdsLink. */ @java.lang.Override @@ -2847,6 +3387,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2867,6 +3409,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2885,6 +3429,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2893,10 +3439,14 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (resourceCase_ == 7 && - resource_ != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder((com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 7 + && resource_ + != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder( + (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2912,6 +3462,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2935,6 +3487,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2945,6 +3499,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2963,6 +3519,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2970,14 +3528,19 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { if (!(resourceCase_ == 7)) { resource_ = com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance(); } - googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + googleAdsLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( (com.google.analytics.admin.v1alpha.GoogleAdsLink) resource_, getParentForChildren(), isClean()); @@ -2989,13 +3552,20 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> googleSignalsSettingsBuilder_; + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> + googleSignalsSettingsBuilder_; /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * + * * @return Whether the googleSignalsSettings field is set. */ @java.lang.Override @@ -3003,11 +3573,15 @@ public boolean hasGoogleSignalsSettings() { return resourceCase_ == 8; } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * + * * @return The googleSignalsSettings. */ @java.lang.Override @@ -3025,13 +3599,17 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignals } } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ - public Builder setGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder setGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3045,11 +3623,14 @@ public Builder setGoogleSignalsSettings(com.google.analytics.admin.v1alpha.Googl return this; } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ public Builder setGoogleSignalsSettings( com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder builderForValue) { @@ -3063,18 +3644,27 @@ public Builder setGoogleSignalsSettings( return this; } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ - public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder mergeGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { - if (resourceCase_ == 8 && - resource_ != com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 8 + && resource_ + != com.google.analytics.admin.v1alpha.GoogleSignalsSettings + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder( + (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -3090,11 +3680,14 @@ public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.Goo return this; } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ public Builder clearGoogleSignalsSettings() { if (googleSignalsSettingsBuilder_ == null) { @@ -3113,24 +3706,32 @@ public Builder clearGoogleSignalsSettings() { return this; } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder getGoogleSignalsSettingsBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder + getGoogleSignalsSettingsBuilder() { return getGoogleSignalsSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder + getGoogleSignalsSettingsOrBuilder() { if ((resourceCase_ == 8) && (googleSignalsSettingsBuilder_ != null)) { return googleSignalsSettingsBuilder_.getMessageOrBuilder(); } else { @@ -3141,21 +3742,30 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoog } } /** + * + * *
        * A snapshot of a GoogleSignalsSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> getGoogleSignalsSettingsFieldBuilder() { if (googleSignalsSettingsBuilder_ == null) { if (!(resourceCase_ == 8)) { - resource_ = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); - } - googleSignalsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance(); + } + googleSignalsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) resource_, getParentForChildren(), isClean()); @@ -3167,14 +3777,22 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoog } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + displayVideo360AdvertiserLinkBuilder_; /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -3182,37 +3800,50 @@ public boolean hasDisplayVideo360AdvertiserLink() { return resourceCase_ == 9; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (resourceCase_ == 9) { return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance(); } else { if (resourceCase_ == 9) { return displayVideo360AdvertiserLinkBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ - public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder setDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3226,15 +3857,20 @@ public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alp return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + builderForValue) { if (displayVideo360AdvertiserLinkBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -3245,19 +3881,30 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ - public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (resourceCase_ == 9 && - resource_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 9 + && resource_ + != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder( + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) + resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -3273,12 +3920,16 @@ public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1a return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ public Builder clearDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { @@ -3297,52 +3948,74 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + getDisplayVideo360AdvertiserLinkBuilder() { return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { if ((resourceCase_ == 9) && (displayVideo360AdvertiserLinkBuilder_ != null)) { return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); } else { if (resourceCase_ == 9) { return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLink resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinkFieldBuilder() { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (!(resourceCase_ == 9)) { - resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); - } - displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance(); + } + displayVideo360AdvertiserLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) resource_, getParentForChildren(), isClean()); @@ -3354,14 +4027,22 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> displayVideo360AdvertiserLinkProposalBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + displayVideo360AdvertiserLinkProposalBuilder_; /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * * @return Whether the displayVideo360AdvertiserLinkProposal field is set. */ @java.lang.Override @@ -3369,37 +4050,51 @@ public boolean hasDisplayVideo360AdvertiserLinkProposal() { return resourceCase_ == 10; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * * @return The displayVideo360AdvertiserLinkProposal. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) + resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance(); } else { if (resourceCase_ == 10) { return displayVideo360AdvertiserLinkProposalBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ - public Builder setDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder setDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3413,15 +4108,20 @@ public Builder setDisplayVideo360AdvertiserLinkProposal(com.google.analytics.adm return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + builderForValue) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -3432,19 +4132,30 @@ public Builder setDisplayVideo360AdvertiserLinkProposal( return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ - public Builder mergeDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder mergeDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - if (resourceCase_ == 10 && - resource_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 10 + && resource_ + != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder( + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) + resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -3460,12 +4171,16 @@ public Builder mergeDisplayVideo360AdvertiserLinkProposal(com.google.analytics.a return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ public Builder clearDisplayVideo360AdvertiserLinkProposal() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { @@ -3484,53 +4199,78 @@ public Builder clearDisplayVideo360AdvertiserLinkProposal() { return this; } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder getDisplayVideo360AdvertiserLinkProposalBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + getDisplayVideo360AdvertiserLinkProposalBuilder() { return getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalOrBuilder() { if ((resourceCase_ == 10) && (displayVideo360AdvertiserLinkProposalBuilder_ != null)) { return displayVideo360AdvertiserLinkProposalBuilder_.getMessageOrBuilder(); } else { if (resourceCase_ == 10) { - return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_; + return (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) + resource_; } - return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
        * change history.
        * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> getDisplayVideo360AdvertiserLinkProposalFieldBuilder() { if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { if (!(resourceCase_ == 10)) { - resource_ = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance(); - } - displayVideo360AdvertiserLinkProposalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( - (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) resource_, + resource_ = + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance(); + } + displayVideo360AdvertiserLinkProposalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha + .DisplayVideo360AdvertiserLinkProposalOrBuilder>( + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) + resource_, getParentForChildren(), isClean()); resource_ = null; @@ -3541,13 +4281,19 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> conversionEventBuilder_; + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + conversionEventBuilder_; /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -3555,11 +4301,14 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * * @return The conversionEvent. */ @java.lang.Override @@ -3577,6 +4326,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -3597,6 +4348,8 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -3615,18 +4368,25 @@ public Builder setConversionEvent( return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ - public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { + public Builder mergeConversionEvent( + com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (resourceCase_ == 11 && - resource_ != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder((com.google.analytics.admin.v1alpha.ConversionEvent) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 11 + && resource_ + != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder( + (com.google.analytics.admin.v1alpha.ConversionEvent) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -3642,6 +4402,8 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.Conversio return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -3665,16 +4427,21 @@ public Builder clearConversionEvent() { return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ - public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionEventBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEvent.Builder + getConversionEventBuilder() { return getConversionEventFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -3682,7 +4449,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder + getConversionEventOrBuilder() { if ((resourceCase_ == 11) && (conversionEventBuilder_ != null)) { return conversionEventBuilder_.getMessageOrBuilder(); } else { @@ -3693,6 +4461,8 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -3700,14 +4470,19 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { if (!(resourceCase_ == 11)) { resource_ = com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance(); } - conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + conversionEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( (com.google.analytics.admin.v1alpha.ConversionEvent) resource_, getParentForChildren(), isClean()); @@ -3719,13 +4494,21 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretBuilder_; /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -3733,15 +4516,21 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { if (resourceCase_ == 12) { return (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_; @@ -3755,13 +4544,18 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasureme } } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3775,11 +4569,15 @@ public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.M return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -3793,18 +4591,28 @@ public Builder setMeasurementProtocolSecret( return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (resourceCase_ == 12 && - resource_ != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 12 + && resource_ + != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder( + (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -3820,11 +4628,15 @@ public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ public Builder clearMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { @@ -3843,24 +4655,34 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretBuilder() { return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if ((resourceCase_ == 12) && (measurementProtocolSecretBuilder_ != null)) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { @@ -3871,21 +4693,31 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder get } } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { if (!(resourceCase_ == 12)) { - resource_ = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); - } - measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); + } + measurementProtocolSecretBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) resource_, getParentForChildren(), isClean()); @@ -3897,13 +4729,19 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + customDimensionBuilder_; /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -3911,11 +4749,14 @@ public boolean hasCustomDimension() { return resourceCase_ == 13; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * * @return The customDimension. */ @java.lang.Override @@ -3933,6 +4774,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { } } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -3953,6 +4796,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -3971,18 +4816,25 @@ public Builder setCustomDimension( return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ - public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { + public Builder mergeCustomDimension( + com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (resourceCase_ == 13 && - resource_ != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.CustomDimension.newBuilder((com.google.analytics.admin.v1alpha.CustomDimension) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 13 + && resource_ + != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.CustomDimension.newBuilder( + (com.google.analytics.admin.v1alpha.CustomDimension) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -3998,6 +4850,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4021,16 +4875,21 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ - public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimensionBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimension.Builder + getCustomDimensionBuilder() { return getCustomDimensionFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4038,7 +4897,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder + getCustomDimensionOrBuilder() { if ((resourceCase_ == 13) && (customDimensionBuilder_ != null)) { return customDimensionBuilder_.getMessageOrBuilder(); } else { @@ -4049,6 +4909,8 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4056,14 +4918,19 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { if (!(resourceCase_ == 13)) { resource_ = com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance(); } - customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + customDimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( (com.google.analytics.admin.v1alpha.CustomDimension) resource_, getParentForChildren(), isClean()); @@ -4075,13 +4942,19 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + customMetricBuilder_; /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -4089,11 +4962,14 @@ public boolean hasCustomMetric() { return resourceCase_ == 14; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * * @return The customMetric. */ @java.lang.Override @@ -4111,6 +4987,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { } } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4131,6 +5009,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4149,6 +5029,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4157,10 +5039,14 @@ public Builder setCustomMetric( */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { - if (resourceCase_ == 14 && - resource_ != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.CustomMetric.newBuilder((com.google.analytics.admin.v1alpha.CustomMetric) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 14 + && resource_ + != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.CustomMetric.newBuilder( + (com.google.analytics.admin.v1alpha.CustomMetric) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -4176,6 +5062,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4199,6 +5087,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4209,6 +5099,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4227,6 +5119,8 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4234,14 +5128,19 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { if (!(resourceCase_ == 14)) { resource_ = com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance(); } - customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + customMetricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( (com.google.analytics.admin.v1alpha.CustomMetric) resource_, getParentForChildren(), isClean()); @@ -4253,13 +5152,20 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1alpha.DataRetentionSettings, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> + dataRetentionSettingsBuilder_; /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * + * * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -4267,11 +5173,15 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * + * * @return The dataRetentionSettings. */ @java.lang.Override @@ -4289,13 +5199,17 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetention } } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ - public Builder setDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder setDataRetentionSettings( + com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4309,11 +5223,14 @@ public Builder setDataRetentionSettings(com.google.analytics.admin.v1alpha.DataR return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder builderForValue) { @@ -4327,18 +5244,27 @@ public Builder setDataRetentionSettings( return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ - public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings( + com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (resourceCase_ == 15 && - resource_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder((com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 15 + && resource_ + != com.google.analytics.admin.v1alpha.DataRetentionSettings + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder( + (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -4354,11 +5280,14 @@ public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.Dat return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ public Builder clearDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { @@ -4377,24 +5306,32 @@ public Builder clearDataRetentionSettings() { return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder + getDataRetentionSettingsBuilder() { return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { if ((resourceCase_ == 15) && (dataRetentionSettingsBuilder_ != null)) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { @@ -4405,21 +5342,30 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getData } } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.DataRetentionSettings, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { if (!(resourceCase_ == 15)) { - resource_ = com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); - } - dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance(); + } + dataRetentionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataRetentionSettings, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.DataRetentionSettings) resource_, getParentForChildren(), isClean()); @@ -4431,13 +5377,19 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getData } 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_; + com.google.analytics.admin.v1alpha.SearchAds360Link, + com.google.analytics.admin.v1alpha.SearchAds360Link.Builder, + com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder> + searchAds360LinkBuilder_; /** + * + * *
        * 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 @@ -4445,11 +5397,14 @@ 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 @@ -4467,13 +5422,16 @@ public 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; */ - public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds360Link value) { + public Builder setSearchAds360Link( + com.google.analytics.admin.v1alpha.SearchAds360Link value) { if (searchAds360LinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4487,6 +5445,8 @@ public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds3 return this; } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
@@ -4505,18 +5465,25 @@ public Builder setSearchAds360Link( return this; } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
* * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; */ - public Builder mergeSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds360Link value) { + 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.SearchAds360Link.newBuilder((com.google.analytics.admin.v1alpha.SearchAds360Link) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 16 + && resource_ + != com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.SearchAds360Link.newBuilder( + (com.google.analytics.admin.v1alpha.SearchAds360Link) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -4532,6 +5499,8 @@ public Builder mergeSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAd return this; } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
@@ -4555,16 +5524,21 @@ public Builder clearSearchAds360Link() { 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() { + public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder + getSearchAds360LinkBuilder() { return getSearchAds360LinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
@@ -4572,7 +5546,8 @@ public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder getSearchAds3 * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinkOrBuilder() { + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinkOrBuilder() { if ((resourceCase_ == 16) && (searchAds360LinkBuilder_ != null)) { return searchAds360LinkBuilder_.getMessageOrBuilder(); } else { @@ -4583,6 +5558,8 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds } } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
@@ -4590,14 +5567,19 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds * .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> + 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>( + 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()); @@ -4609,13 +5591,19 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds } 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.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 @@ -4623,11 +5611,14 @@ 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 @@ -4645,6 +5636,8 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -4665,6 +5658,8 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -4683,6 +5678,8 @@ public Builder setDataStream( return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -4691,10 +5688,13 @@ public Builder setDataStream( */ 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(); + 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; } @@ -4710,6 +5710,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -4733,6 +5735,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -4743,6 +5747,8 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -4761,6 +5767,8 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -4768,14 +5776,19 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui * .google.analytics.admin.v1alpha.DataStream data_stream = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { if (!(resourceCase_ == 18)) { resource_ = com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance(); } - dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + dataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( (com.google.analytics.admin.v1alpha.DataStream) resource_, getParentForChildren(), isClean()); @@ -4787,13 +5800,19 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> attributionSettingsBuilder_; + com.google.analytics.admin.v1alpha.AttributionSettings, + com.google.analytics.admin.v1alpha.AttributionSettings.Builder, + com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> + attributionSettingsBuilder_; /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * * @return Whether the attributionSettings field is set. */ @java.lang.Override @@ -4801,11 +5820,14 @@ public boolean hasAttributionSettings() { return resourceCase_ == 20; } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * * @return The attributionSettings. */ @java.lang.Override @@ -4823,13 +5845,16 @@ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSett } } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ - public Builder setAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { + public Builder setAttributionSettings( + com.google.analytics.admin.v1alpha.AttributionSettings value) { if (attributionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4843,6 +5868,8 @@ public Builder setAttributionSettings(com.google.analytics.admin.v1alpha.Attribu return this; } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
@@ -4861,18 +5888,25 @@ public Builder setAttributionSettings( return this; } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ - public Builder mergeAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { + public Builder mergeAttributionSettings( + com.google.analytics.admin.v1alpha.AttributionSettings value) { if (attributionSettingsBuilder_ == null) { - if (resourceCase_ == 20 && - resource_ != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.AttributionSettings.newBuilder((com.google.analytics.admin.v1alpha.AttributionSettings) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 20 + && resource_ + != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.AttributionSettings.newBuilder( + (com.google.analytics.admin.v1alpha.AttributionSettings) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -4888,6 +5922,8 @@ public Builder mergeAttributionSettings(com.google.analytics.admin.v1alpha.Attri return this; } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
@@ -4911,16 +5947,21 @@ public Builder clearAttributionSettings() { return this; } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ - public com.google.analytics.admin.v1alpha.AttributionSettings.Builder getAttributionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettings.Builder + getAttributionSettingsBuilder() { return getAttributionSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
@@ -4928,7 +5969,8 @@ public com.google.analytics.admin.v1alpha.AttributionSettings.Builder getAttribu * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder + getAttributionSettingsOrBuilder() { if ((resourceCase_ == 20) && (attributionSettingsBuilder_ != null)) { return attributionSettingsBuilder_.getMessageOrBuilder(); } else { @@ -4939,6 +5981,8 @@ public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttrib } } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
@@ -4946,14 +5990,19 @@ public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttrib * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.AttributionSettings, + com.google.analytics.admin.v1alpha.AttributionSettings.Builder, + com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> getAttributionSettingsFieldBuilder() { if (attributionSettingsBuilder_ == null) { if (!(resourceCase_ == 20)) { resource_ = com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance(); } - attributionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( + attributionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AttributionSettings, + com.google.analytics.admin.v1alpha.AttributionSettings.Builder, + com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.AttributionSettings) resource_, getParentForChildren(), isClean()); @@ -4965,13 +6014,19 @@ public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttrib } 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_; + 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 @@ -4979,11 +6034,14 @@ 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 @@ -5001,6 +6059,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { } } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5021,6 +6081,8 @@ public Builder setExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDat return this; } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5039,18 +6101,25 @@ public Builder setExpandedDataSet( 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) { + 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(); + 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; } @@ -5066,6 +6135,8 @@ public Builder mergeExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedD return this; } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5089,16 +6160,21 @@ public Builder clearExpandedDataSet() { 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() { + public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder + getExpandedDataSetBuilder() { return getExpandedDataSetFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5106,7 +6182,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder getExpandedDat * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder() { + public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder + getExpandedDataSetOrBuilder() { if ((resourceCase_ == 21) && (expandedDataSetBuilder_ != null)) { return expandedDataSetBuilder_.getMessageOrBuilder(); } else { @@ -5117,6 +6194,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa } } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5124,14 +6203,19 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa * .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> + 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>( + 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()); @@ -5143,13 +6227,19 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa } 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_; + 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 @@ -5157,11 +6247,14 @@ 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 @@ -5179,6 +6272,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLink() { } } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -5199,6 +6294,8 @@ public Builder setBigqueryLink(com.google.analytics.admin.v1alpha.BigQueryLink v return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -5217,6 +6314,8 @@ public Builder setBigqueryLink( return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -5225,10 +6324,14 @@ public Builder setBigqueryLink( */ 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(); + 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; } @@ -5244,6 +6347,8 @@ public Builder mergeBigqueryLink(com.google.analytics.admin.v1alpha.BigQueryLink return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -5267,6 +6372,8 @@ public Builder clearBigqueryLink() { return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -5277,6 +6384,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinkBu return getBigqueryLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -5295,6 +6404,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkO } } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -5302,14 +6413,19 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkO * .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> + 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>( + 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()); @@ -5319,6 +6435,7 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkO onChanged(); return bigqueryLinkBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5331,41 +6448,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource) - private static final com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ChangeHistoryChange + .ChangeHistoryResource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource(); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryResource 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryResource 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; @@ -5377,21 +6499,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int RESOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -5400,29 +6526,29 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -5433,38 +6559,53 @@ public java.lang.String getResource() { public static final int ACTION_FIELD_NUMBER = 2; private int action_ = 0; /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The action. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.ActionType getAction() { - com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); + @java.lang.Override + public com.google.analytics.admin.v1alpha.ActionType getAction() { + com.google.analytics.admin.v1alpha.ActionType result = + com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED : result; } public static final int RESOURCE_BEFORE_CHANGE_FIELD_NUMBER = 3; - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + resourceBeforeChange_; /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return Whether the resourceBeforeChange field is set. */ @java.lang.Override @@ -5472,40 +6613,63 @@ public boolean hasResourceBeforeChange() { return resourceBeforeChange_ != null; } /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return The resourceBeforeChange. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { - return resourceBeforeChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceBeforeChange() { + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { - return resourceBeforeChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder() { + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } public static final int RESOURCE_AFTER_CHANGE_FIELD_NUMBER = 4; - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + resourceAfterChange_; /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return Whether the resourceAfterChange field is set. */ @java.lang.Override @@ -5513,32 +6677,50 @@ public boolean hasResourceAfterChange() { return resourceAfterChange_ != null; } /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return The resourceAfterChange. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { - return resourceAfterChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceAfterChange() { + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { - return resourceAfterChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder() { + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5550,12 +6732,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } - if (action_ != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + if (action_ + != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, action_); } if (resourceBeforeChange_ != null) { @@ -5576,17 +6758,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } - if (action_ != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, action_); + if (action_ + != com.google.analytics.admin.v1alpha.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, action_); } if (resourceBeforeChange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResourceBeforeChange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResourceBeforeChange()); } if (resourceAfterChange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getResourceAfterChange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResourceAfterChange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5596,25 +6777,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryChange)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChangeHistoryChange other = (com.google.analytics.admin.v1alpha.ChangeHistoryChange) obj; + com.google.analytics.admin.v1alpha.ChangeHistoryChange other = + (com.google.analytics.admin.v1alpha.ChangeHistoryChange) obj; - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; if (action_ != other.action_) return false; if (hasResourceBeforeChange() != other.hasResourceBeforeChange()) return false; if (hasResourceBeforeChange()) { - if (!getResourceBeforeChange() - .equals(other.getResourceBeforeChange())) return false; + if (!getResourceBeforeChange().equals(other.getResourceBeforeChange())) return false; } if (hasResourceAfterChange() != other.hasResourceAfterChange()) return false; if (hasResourceAfterChange()) { - if (!getResourceAfterChange() - .equals(other.getResourceAfterChange())) return false; + if (!getResourceAfterChange().equals(other.getResourceAfterChange())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5645,129 +6824,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( 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.ChangeHistoryChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChangeHistoryChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ChangeHistoryChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A description of a change to a single Google Analytics resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryChange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChangeHistoryChange) com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.class, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryChange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5788,9 +6974,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; } @java.lang.Override @@ -5809,8 +6995,11 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ChangeHistoryChange buildPartial() { - com.google.analytics.admin.v1alpha.ChangeHistoryChange result = new com.google.analytics.admin.v1alpha.ChangeHistoryChange(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ChangeHistoryChange result = + new com.google.analytics.admin.v1alpha.ChangeHistoryChange(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -5824,14 +7013,16 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryChang result.action_ = action_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resourceBeforeChange_ = resourceBeforeChangeBuilder_ == null - ? resourceBeforeChange_ - : resourceBeforeChangeBuilder_.build(); + result.resourceBeforeChange_ = + resourceBeforeChangeBuilder_ == null + ? resourceBeforeChange_ + : resourceBeforeChangeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.resourceAfterChange_ = resourceAfterChangeBuilder_ == null - ? resourceAfterChange_ - : resourceAfterChangeBuilder_.build(); + result.resourceAfterChange_ = + resourceAfterChangeBuilder_ == null + ? resourceAfterChange_ + : resourceAfterChangeBuilder_.build(); } } @@ -5839,38 +7030,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryChang public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ChangeHistoryChange) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryChange)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryChange) other); } else { super.mergeFrom(other); return this; @@ -5878,7 +7070,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryChange other) { - if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance()) + return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; bitField0_ |= 0x00000001; @@ -5919,36 +7112,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - action_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getResourceBeforeChangeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getResourceAfterChangeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + action_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage( + getResourceBeforeChangeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getResourceAfterChangeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -5958,22 +7154,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resource_ = ""; /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -5982,20 +7181,21 @@ public java.lang.String getResource() { } } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -6003,28 +7203,35 @@ public java.lang.String getResource() { } } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -6034,17 +7241,21 @@ public Builder clearResource() { return this; } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -6054,22 +7265,29 @@ public Builder setResourceBytes( private int action_ = 0; /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ @@ -6080,24 +7298,31 @@ public Builder setActionValue(int value) { return this; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The action. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ActionType getAction() { - com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); + com.google.analytics.admin.v1alpha.ActionType result = + com.google.analytics.admin.v1alpha.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED : result; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @param value The action to set. * @return This builder for chaining. */ @@ -6111,11 +7336,14 @@ public Builder setAction(com.google.analytics.admin.v1alpha.ActionType value) { return this; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return This builder for chaining. */ public Builder clearAction() { @@ -6125,46 +7353,69 @@ public Builder clearAction() { return this; } - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + resourceBeforeChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceBeforeChangeBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + resourceBeforeChangeBuilder_; /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return Whether the resourceBeforeChange field is set. */ public boolean hasResourceBeforeChange() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return The resourceBeforeChange. */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceBeforeChange() { if (resourceBeforeChangeBuilder_ == null) { - return resourceBeforeChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } else { return resourceBeforeChangeBuilder_.getMessage(); } } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public Builder setResourceBeforeChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceBeforeChange( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6178,15 +7429,20 @@ public Builder setResourceBeforeChange(com.google.analytics.admin.v1alpha.Change return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ public Builder setResourceBeforeChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder + builderForValue) { if (resourceBeforeChangeBuilder_ == null) { resourceBeforeChange_ = builderForValue.build(); } else { @@ -6197,18 +7453,25 @@ public Builder setResourceBeforeChange( return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public Builder mergeResourceBeforeChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceBeforeChange( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - resourceBeforeChange_ != null && - resourceBeforeChange_ != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && resourceBeforeChange_ != null + && resourceBeforeChange_ + != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance()) { getResourceBeforeChangeBuilder().mergeFrom(value); } else { resourceBeforeChange_ = value; @@ -6221,12 +7484,16 @@ public Builder mergeResourceBeforeChange(com.google.analytics.admin.v1alpha.Chan return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ public Builder clearResourceBeforeChange() { bitField0_ = (bitField0_ & ~0x00000004); @@ -6239,96 +7506,140 @@ public Builder clearResourceBeforeChange() { return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceBeforeChangeBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder + getResourceBeforeChangeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResourceBeforeChangeFieldBuilder().getBuilder(); } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder() { if (resourceBeforeChangeBuilder_ != null) { return resourceBeforeChangeBuilder_.getMessageOrBuilder(); } else { - return resourceBeforeChange_ == null ? - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceBeforeChangeFieldBuilder() { if (resourceBeforeChangeBuilder_ == null) { - resourceBeforeChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( - getResourceBeforeChange(), - getParentForChildren(), - isClean()); + resourceBeforeChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryChange + .ChangeHistoryResourceOrBuilder>( + getResourceBeforeChange(), getParentForChildren(), isClean()); resourceBeforeChange_ = null; } return resourceBeforeChangeBuilder_; } - private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; + private com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + resourceAfterChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceAfterChangeBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + resourceAfterChangeBuilder_; /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return Whether the resourceAfterChange field is set. */ public boolean hasResourceAfterChange() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return The resourceAfterChange. */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceAfterChange() { if (resourceAfterChangeBuilder_ == null) { - return resourceAfterChange_ == null ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } else { return resourceAfterChangeBuilder_.getMessage(); } } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public Builder setResourceAfterChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceAfterChange( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6342,15 +7653,20 @@ public Builder setResourceAfterChange(com.google.analytics.admin.v1alpha.ChangeH return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ public Builder setResourceAfterChange( - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder + builderForValue) { if (resourceAfterChangeBuilder_ == null) { resourceAfterChange_ = builderForValue.build(); } else { @@ -6361,18 +7677,25 @@ public Builder setResourceAfterChange( return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public Builder mergeResourceAfterChange(com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceAfterChange( + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - resourceAfterChange_ != null && - resourceAfterChange_ != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && resourceAfterChange_ != null + && resourceAfterChange_ + != com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance()) { getResourceAfterChangeBuilder().mergeFrom(value); } else { resourceAfterChange_ = value; @@ -6385,12 +7708,16 @@ public Builder mergeResourceAfterChange(com.google.analytics.admin.v1alpha.Chang return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ public Builder clearResourceAfterChange() { bitField0_ = (bitField0_ & ~0x00000008); @@ -6403,58 +7730,79 @@ public Builder clearResourceAfterChange() { return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceAfterChangeBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder + getResourceAfterChangeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getResourceAfterChangeFieldBuilder().getBuilder(); } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { + public com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder() { if (resourceAfterChangeBuilder_ != null) { return resourceAfterChangeBuilder_.getMessageOrBuilder(); } else { - return resourceAfterChange_ == null ? - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceAfterChangeFieldBuilder() { if (resourceAfterChangeBuilder_ == null) { - resourceAfterChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( - getResourceAfterChange(), - getParentForChildren(), - isClean()); + resourceAfterChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + .Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryChange + .ChangeHistoryResourceOrBuilder>( + getResourceAfterChange(), getParentForChildren(), isClean()); resourceAfterChange_ = null; } return resourceAfterChangeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6464,12 +7812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChangeHistoryChange) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChangeHistoryChange) private static final com.google.analytics.admin.v1alpha.ChangeHistoryChange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChangeHistoryChange(); } @@ -6478,27 +7826,27 @@ public static com.google.analytics.admin.v1alpha.ChangeHistoryChange getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryChange 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryChange 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; @@ -6513,6 +7861,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ChangeHistoryChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java index 48e0e49d6f61..bb3c081716ec 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryChangeOrBuilder.java @@ -1,108 +1,167 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ChangeHistoryChangeOrBuilder extends +public interface ChangeHistoryChangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryChange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1alpha.ActionType action = 2; + * * @return The action. */ com.google.analytics.admin.v1alpha.ActionType getAction(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return Whether the resourceBeforeChange field is set. */ boolean hasResourceBeforeChange(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return The resourceBeforeChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceBeforeChange(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return Whether the resourceAfterChange field is set. */ boolean hasResourceAfterChange(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return The resourceAfterChange. */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + getResourceAfterChange(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder(); + com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java similarity index 74% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java index 53648575dbcd..452868222af6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A set of changes within a Google Analytics account or its child properties
  * that resulted from the same cause. Common causes would be updates made in the
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryEvent}
  */
-public final class ChangeHistoryEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ChangeHistoryEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     ChangeHistoryEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ChangeHistoryEvent.newBuilder() to construct.
   private ChangeHistoryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ChangeHistoryEvent() {
     id_ = "";
     actorType_ = 0;
@@ -31,38 +49,43 @@ private ChangeHistoryEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ChangeHistoryEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_ChangeHistoryEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
+            com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class,
+            com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
+   *
+   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -71,29 +94,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -104,11 +127,14 @@ public java.lang.String getId() { public static final int CHANGE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp changeTime_; /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return Whether the changeTime field is set. */ @java.lang.Override @@ -116,11 +142,14 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ @java.lang.Override @@ -128,6 +157,8 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** + * + * *
    * Time when change was made.
    * 
@@ -142,33 +173,45 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { public static final int ACTOR_TYPE_FIELD_NUMBER = 3; private int actorType_ = 0; /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override public int getActorTypeValue() { + @java.lang.Override + public int getActorTypeValue() { return actorType_; } /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The actorType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.ActorType getActorType() { - com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); + @java.lang.Override + public com.google.analytics.admin.v1alpha.ActorType getActorType() { + com.google.analytics.admin.v1alpha.ActorType result = + com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1alpha.ActorType.UNRECOGNIZED : result; } public static final int USER_ACTOR_EMAIL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object userActorEmail_ = ""; /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -176,6 +219,7 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() {
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ @java.lang.Override @@ -184,14 +228,15 @@ public java.lang.String getUserActorEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; } } /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -199,16 +244,15 @@ public java.lang.String getUserActorEmail() {
    * 
* * string user_actor_email = 4; + * * @return The bytes for userActorEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserActorEmailBytes() { + public com.google.protobuf.ByteString getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -219,12 +263,15 @@ public java.lang.String getUserActorEmail() { public static final int CHANGES_FILTERED_FIELD_NUMBER = 5; private boolean changesFiltered_ = false; /** + * + * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; + * * @return The changesFiltered. */ @java.lang.Override @@ -233,9 +280,12 @@ public boolean getChangesFiltered() { } public static final int CHANGES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List changes_; /** + * + * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -248,6 +298,8 @@ public java.util.List ge
     return changes_;
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -256,11 +308,13 @@ public java.util.List ge
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getChangesOrBuilderList() {
     return changes_;
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -273,6 +327,8 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -285,6 +341,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int ind
     return changes_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -299,6 +357,7 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -310,15 +369,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
     }
     if (changeTime_ != null) {
       output.writeMessage(2, getChangeTime());
     }
-    if (actorType_ != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+    if (actorType_
+        != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
@@ -343,23 +402,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
     }
     if (changeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getChangeTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChangeTime());
     }
-    if (actorType_ != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(3, actorType_);
+    if (actorType_
+        != com.google.analytics.admin.v1alpha.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userActorEmail_);
     }
     if (changesFiltered_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(5, changesFiltered_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, changesFiltered_);
     }
     for (int i = 0; i < changes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, changes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, changes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -369,27 +425,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.ChangeHistoryEvent)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.ChangeHistoryEvent other = (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) obj;
+    com.google.analytics.admin.v1alpha.ChangeHistoryEvent other =
+        (com.google.analytics.admin.v1alpha.ChangeHistoryEvent) obj;
 
-    if (!getId()
-        .equals(other.getId())) return false;
+    if (!getId().equals(other.getId())) return false;
     if (hasChangeTime() != other.hasChangeTime()) return false;
     if (hasChangeTime()) {
-      if (!getChangeTime()
-          .equals(other.getChangeTime())) return false;
+      if (!getChangeTime().equals(other.getChangeTime())) return false;
     }
     if (actorType_ != other.actorType_) return false;
-    if (!getUserActorEmail()
-        .equals(other.getUserActorEmail())) return false;
-    if (getChangesFiltered()
-        != other.getChangesFiltered()) return false;
-    if (!getChangesList()
-        .equals(other.getChangesList())) return false;
+    if (!getUserActorEmail().equals(other.getUserActorEmail())) return false;
+    if (getChangesFiltered() != other.getChangesFiltered()) return false;
+    if (!getChangesList().equals(other.getChangesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -412,8 +464,7 @@ public int hashCode() {
     hash = (37 * hash) + USER_ACTOR_EMAIL_FIELD_NUMBER;
     hash = (53 * hash) + getUserActorEmail().hashCode();
     hash = (37 * hash) + CHANGES_FILTERED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getChangesFiltered());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChangesFiltered());
     if (getChangesCount() > 0) {
       hash = (37 * hash) + CHANGES_FIELD_NUMBER;
       hash = (53 * hash) + getChangesList().hashCode();
@@ -424,96 +475,104 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       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.ChangeHistoryEvent parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryEvent prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.admin.v1alpha.ChangeHistoryEvent prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A set of changes within a Google Analytics account or its child properties
    * that resulted from the same cause. Common causes would be updates made in the
@@ -523,33 +582,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChangeHistoryEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChangeHistoryEvent)
       com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
+              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.class,
+              com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.ChangeHistoryEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -574,9 +632,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
@@ -595,14 +653,18 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.ChangeHistoryEvent buildPartial() {
-      com.google.analytics.admin.v1alpha.ChangeHistoryEvent result = new com.google.analytics.admin.v1alpha.ChangeHistoryEvent(this);
+      com.google.analytics.admin.v1alpha.ChangeHistoryEvent result =
+          new com.google.analytics.admin.v1alpha.ChangeHistoryEvent(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ChangeHistoryEvent result) {
+    private void buildPartialRepeatedFields(
+        com.google.analytics.admin.v1alpha.ChangeHistoryEvent result) {
       if (changesBuilder_ == null) {
         if (((bitField0_ & 0x00000020) != 0)) {
           changes_ = java.util.Collections.unmodifiableList(changes_);
@@ -620,9 +682,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryEvent
         result.id_ = id_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.changeTime_ = changeTimeBuilder_ == null
-            ? changeTime_
-            : changeTimeBuilder_.build();
+        result.changeTime_ = changeTimeBuilder_ == null ? changeTime_ : changeTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.actorType_ = actorType_;
@@ -639,38 +699,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChangeHistoryEvent
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ChangeHistoryEvent) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryEvent)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.ChangeHistoryEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -678,7 +739,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryEvent other) {
-      if (other == com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance())
+        return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         bitField0_ |= 0x00000001;
@@ -716,9 +778,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChangeHistoryEvent o
             changesBuilder_ = null;
             changes_ = other.changes_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            changesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getChangesFieldBuilder() : null;
+            changesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getChangesFieldBuilder()
+                    : null;
           } else {
             changesBuilder_.addAllMessages(other.changes_);
           }
@@ -750,52 +813,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getChangeTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              actorType_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              userActorEmail_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              changesFiltered_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              com.google.analytics.admin.v1alpha.ChangeHistoryChange m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(),
-                      extensionRegistry);
-              if (changesBuilder_ == null) {
-                ensureChangesIsMutable();
-                changes_.add(m);
-              } else {
-                changesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getChangeTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                actorType_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                userActorEmail_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                changesFiltered_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                com.google.analytics.admin.v1alpha.ChangeHistoryChange m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.ChangeHistoryChange.parser(),
+                        extensionRegistry);
+                if (changesBuilder_ == null) {
+                  ensureChangesIsMutable();
+                  changes_.add(m);
+                } else {
+                  changesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+            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) {
@@ -805,22 +873,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
+     *
+     *
      * 
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -829,20 +900,21 @@ public java.lang.String getId() { } } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -850,28 +922,35 @@ public java.lang.String getId() { } } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -881,17 +960,21 @@ public Builder clearId() { return this; } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -901,34 +984,47 @@ public Builder setIdBytes( private com.google.protobuf.Timestamp changeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> changeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + changeTimeBuilder_; /** + * + * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return Whether the changeTime field is set. */ public boolean hasChangeTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ public com.google.protobuf.Timestamp getChangeTime() { if (changeTimeBuilder_ == null) { - return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; + return changeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : changeTime_; } else { return changeTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when change was made.
      * 
@@ -949,14 +1045,15 @@ public Builder setChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; */ - public Builder setChangeTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (changeTimeBuilder_ == null) { changeTime_ = builderForValue.build(); } else { @@ -967,6 +1064,8 @@ public Builder setChangeTime( return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -975,9 +1074,9 @@ public Builder setChangeTime( */ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { if (changeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - changeTime_ != null && - changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && changeTime_ != null + && changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getChangeTimeBuilder().mergeFrom(value); } else { changeTime_ = value; @@ -990,6 +1089,8 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1007,6 +1108,8 @@ public Builder clearChangeTime() { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1019,6 +1122,8 @@ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { return getChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when change was made.
      * 
@@ -1029,11 +1134,14 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { if (changeTimeBuilder_ != null) { return changeTimeBuilder_.getMessageOrBuilder(); } else { - return changeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; + return changeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : changeTime_; } } /** + * + * *
      * Time when change was made.
      * 
@@ -1041,14 +1149,17 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { * .google.protobuf.Timestamp change_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getChangeTimeFieldBuilder() { if (changeTimeBuilder_ == null) { - changeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getChangeTime(), - getParentForChildren(), - isClean()); + changeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getChangeTime(), getParentForChildren(), isClean()); changeTime_ = null; } return changeTimeBuilder_; @@ -1056,22 +1167,29 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { private int actorType_ = 0; /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override public int getActorTypeValue() { + @java.lang.Override + public int getActorTypeValue() { return actorType_; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @param value The enum numeric value on the wire for actorType to set. * @return This builder for chaining. */ @@ -1082,24 +1200,31 @@ public Builder setActorTypeValue(int value) { return this; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The actorType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ActorType getActorType() { - com.google.analytics.admin.v1alpha.ActorType result = com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); + com.google.analytics.admin.v1alpha.ActorType result = + com.google.analytics.admin.v1alpha.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1alpha.ActorType.UNRECOGNIZED : result; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @param value The actorType to set. * @return This builder for chaining. */ @@ -1113,11 +1238,14 @@ public Builder setActorType(com.google.analytics.admin.v1alpha.ActorType value) return this; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return This builder for chaining. */ public Builder clearActorType() { @@ -1129,6 +1257,8 @@ public Builder clearActorType() { private java.lang.Object userActorEmail_ = ""; /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1136,13 +1266,13 @@ public Builder clearActorType() {
      * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ public java.lang.String getUserActorEmail() { java.lang.Object ref = userActorEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; @@ -1151,6 +1281,8 @@ public java.lang.String getUserActorEmail() { } } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1158,15 +1290,14 @@ public java.lang.String getUserActorEmail() {
      * 
* * string user_actor_email = 4; + * * @return The bytes for userActorEmail. */ - public com.google.protobuf.ByteString - getUserActorEmailBytes() { + public com.google.protobuf.ByteString getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -1174,6 +1305,8 @@ public java.lang.String getUserActorEmail() { } } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1181,18 +1314,22 @@ public java.lang.String getUserActorEmail() {
      * 
* * string user_actor_email = 4; + * * @param value The userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserActorEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } userActorEmail_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1200,6 +1337,7 @@ public Builder setUserActorEmail(
      * 
* * string user_actor_email = 4; + * * @return This builder for chaining. */ public Builder clearUserActorEmail() { @@ -1209,6 +1347,8 @@ public Builder clearUserActorEmail() { return this; } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1216,12 +1356,14 @@ public Builder clearUserActorEmail() {
      * 
* * string user_actor_email = 4; + * * @param value The bytes for userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserActorEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); userActorEmail_ = value; bitField0_ |= 0x00000008; @@ -1229,14 +1371,17 @@ public Builder setUserActorEmailBytes( return this; } - private boolean changesFiltered_ ; + private boolean changesFiltered_; /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @return The changesFiltered. */ @java.lang.Override @@ -1244,29 +1389,35 @@ public boolean getChangesFiltered() { return changesFiltered_; } /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @param value The changesFiltered to set. * @return This builder for chaining. */ public Builder setChangesFiltered(boolean value) { - + changesFiltered_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @return This builder for chaining. */ public Builder clearChangesFiltered() { @@ -1277,18 +1428,26 @@ public Builder clearChangesFiltered() { } private java.util.List changes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChangesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - changes_ = new java.util.ArrayList(changes_); + changes_ = + new java.util.ArrayList( + changes_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryChange, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder> changesBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryChange, + com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder> + changesBuilder_; /** + * + * *
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1304,6 +1463,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1319,6 +1480,8 @@ public int getChangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1334,6 +1497,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int ind
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1356,6 +1521,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1375,6 +1542,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1396,6 +1565,8 @@ public Builder addChanges(com.google.analytics.admin.v1alpha.ChangeHistoryChange
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1418,6 +1589,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1437,6 +1610,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1456,6 +1631,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1464,11 +1641,11 @@ public Builder addChanges(
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
     public Builder addAllChanges(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (changesBuilder_ == null) {
         ensureChangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, changes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changes_);
         onChanged();
       } else {
         changesBuilder_.addAllMessages(values);
@@ -1476,6 +1653,8 @@ public Builder addAllChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1494,6 +1673,8 @@ public Builder clearChanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1512,6 +1693,8 @@ public Builder removeChanges(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1524,6 +1707,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder getChanges
       return getChangesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1534,11 +1719,14 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder getChanges
     public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
         int index) {
       if (changesBuilder_ == null) {
-        return changes_.get(index);  } else {
+        return changes_.get(index);
+      } else {
         return changesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1546,8 +1734,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
      *
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
-    public java.util.List 
-         getChangesOrBuilderList() {
+    public java.util.List
+        getChangesOrBuilderList() {
       if (changesBuilder_ != null) {
         return changesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1555,6 +1743,8 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1563,10 +1753,12 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
     public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChangesBuilder() {
-      return getChangesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1576,10 +1768,13 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChanges
      */
     public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChangesBuilder(
         int index) {
-      return getChangesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.ChangeHistoryChange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1587,27 +1782,30 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder addChanges
      *
      * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
      */
-    public java.util.List 
-         getChangesBuilderList() {
+    public java.util.List
+        getChangesBuilderList() {
       return getChangesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChangeHistoryChange, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder> 
+            com.google.analytics.admin.v1alpha.ChangeHistoryChange,
+            com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder,
+            com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>
         getChangesFieldBuilder() {
       if (changesBuilder_ == null) {
-        changesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChangeHistoryChange, com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>(
-                changes_,
-                ((bitField0_ & 0x00000020) != 0),
-                getParentForChildren(),
-                isClean());
+        changesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ChangeHistoryChange,
+                com.google.analytics.admin.v1alpha.ChangeHistoryChange.Builder,
+                com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder>(
+                changes_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
         changes_ = null;
       }
       return changesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1617,12 +1815,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChangeHistoryEvent)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChangeHistoryEvent)
   private static final com.google.analytics.admin.v1alpha.ChangeHistoryEvent DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChangeHistoryEvent();
   }
@@ -1631,27 +1829,27 @@ public static com.google.analytics.admin.v1alpha.ChangeHistoryEvent getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ChangeHistoryEvent 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();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ChangeHistoryEvent 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;
@@ -1666,6 +1864,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
index 5556422b64a7..0229a14cf3ac 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryEventOrBuilder.java
@@ -1,51 +1,80 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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 ChangeHistoryEventOrBuilder extends
+public interface ChangeHistoryEventOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChangeHistoryEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return Whether the changeTime field is set. */ boolean hasChangeTime(); /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ com.google.protobuf.Timestamp getChangeTime(); /** + * + * *
    * Time when change was made.
    * 
@@ -55,25 +84,33 @@ public interface ChangeHistoryEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder(); /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The enum numeric value on the wire for actorType. */ int getActorTypeValue(); /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * * @return The actorType. */ com.google.analytics.admin.v1alpha.ActorType getActorType(); /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -81,10 +118,13 @@ public interface ChangeHistoryEventOrBuilder extends
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ java.lang.String getUserActorEmail(); /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -92,23 +132,28 @@ public interface ChangeHistoryEventOrBuilder extends
    * 
* * string user_actor_email = 4; + * * @return The bytes for userActorEmail. */ - com.google.protobuf.ByteString - getUserActorEmailBytes(); + com.google.protobuf.ByteString getUserActorEmailBytes(); /** + * + * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; + * * @return The changesFiltered. */ boolean getChangesFiltered(); /** + * + * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -116,9 +161,10 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List 
-      getChangesList();
+  java.util.List getChangesList();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -128,6 +174,8 @@ public interface ChangeHistoryEventOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.ChangeHistoryChange getChanges(int index);
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -137,6 +185,8 @@ public interface ChangeHistoryEventOrBuilder extends
    */
   int getChangesCount();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -144,9 +194,11 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  java.util.List 
+  java.util.List
       getChangesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -154,6 +206,5 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6;
    */
-  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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
similarity index 76%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChangeHistoryResourceType.java
index 9f423e460109..2ba102683dbc 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/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
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * Types of resources whose changes may be returned from change history.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ChangeHistoryResourceType} */ -public enum ChangeHistoryResourceType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Resource type unknown or not specified.
    * 
@@ -21,6 +39,8 @@ public enum ChangeHistoryResourceType */ CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Account resource
    * 
@@ -29,6 +49,8 @@ public enum ChangeHistoryResourceType */ ACCOUNT(1), /** + * + * *
    * Property resource
    * 
@@ -37,6 +59,8 @@ public enum ChangeHistoryResourceType */ PROPERTY(2), /** + * + * *
    * FirebaseLink resource
    * 
@@ -45,6 +69,8 @@ public enum ChangeHistoryResourceType */ FIREBASE_LINK(6), /** + * + * *
    * GoogleAdsLink resource
    * 
@@ -53,6 +79,8 @@ public enum ChangeHistoryResourceType */ GOOGLE_ADS_LINK(7), /** + * + * *
    * GoogleSignalsSettings resource
    * 
@@ -61,6 +89,8 @@ public enum ChangeHistoryResourceType */ GOOGLE_SIGNALS_SETTINGS(8), /** + * + * *
    * ConversionEvent resource
    * 
@@ -69,6 +99,8 @@ public enum ChangeHistoryResourceType */ CONVERSION_EVENT(9), /** + * + * *
    * MeasurementProtocolSecret resource
    * 
@@ -77,6 +109,8 @@ public enum ChangeHistoryResourceType */ MEASUREMENT_PROTOCOL_SECRET(10), /** + * + * *
    * CustomDimension resource
    * 
@@ -85,6 +119,8 @@ public enum ChangeHistoryResourceType */ CUSTOM_DIMENSION(11), /** + * + * *
    * CustomMetric resource
    * 
@@ -93,6 +129,8 @@ public enum ChangeHistoryResourceType */ CUSTOM_METRIC(12), /** + * + * *
    * DataRetentionSettings resource
    * 
@@ -101,6 +139,8 @@ public enum ChangeHistoryResourceType */ DATA_RETENTION_SETTINGS(13), /** + * + * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -109,6 +149,8 @@ public enum ChangeHistoryResourceType */ DISPLAY_VIDEO_360_ADVERTISER_LINK(14), /** + * + * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -117,6 +159,8 @@ public enum ChangeHistoryResourceType */ DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL(15), /** + * + * *
    * SearchAds360Link resource
    * 
@@ -125,6 +169,8 @@ public enum ChangeHistoryResourceType */ SEARCH_ADS_360_LINK(16), /** + * + * *
    * DataStream resource
    * 
@@ -133,6 +179,8 @@ public enum ChangeHistoryResourceType */ DATA_STREAM(18), /** + * + * *
    * AttributionSettings resource
    * 
@@ -141,6 +189,8 @@ public enum ChangeHistoryResourceType */ ATTRIBUTION_SETTINGS(20), /** + * + * *
    * ExpandedDataSet resource
    * 
@@ -149,6 +199,8 @@ public enum ChangeHistoryResourceType */ EXPANDED_DATA_SET(21), /** + * + * *
    * ChannelGroup resource
    * 
@@ -160,6 +212,8 @@ public enum ChangeHistoryResourceType ; /** + * + * *
    * Resource type unknown or not specified.
    * 
@@ -168,6 +222,8 @@ public enum ChangeHistoryResourceType */ public static final int CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Account resource
    * 
@@ -176,6 +232,8 @@ public enum ChangeHistoryResourceType */ public static final int ACCOUNT_VALUE = 1; /** + * + * *
    * Property resource
    * 
@@ -184,6 +242,8 @@ public enum ChangeHistoryResourceType */ public static final int PROPERTY_VALUE = 2; /** + * + * *
    * FirebaseLink resource
    * 
@@ -192,6 +252,8 @@ public enum ChangeHistoryResourceType */ public static final int FIREBASE_LINK_VALUE = 6; /** + * + * *
    * GoogleAdsLink resource
    * 
@@ -200,6 +262,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_ADS_LINK_VALUE = 7; /** + * + * *
    * GoogleSignalsSettings resource
    * 
@@ -208,6 +272,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_SIGNALS_SETTINGS_VALUE = 8; /** + * + * *
    * ConversionEvent resource
    * 
@@ -216,6 +282,8 @@ public enum ChangeHistoryResourceType */ public static final int CONVERSION_EVENT_VALUE = 9; /** + * + * *
    * MeasurementProtocolSecret resource
    * 
@@ -224,6 +292,8 @@ public enum ChangeHistoryResourceType */ public static final int MEASUREMENT_PROTOCOL_SECRET_VALUE = 10; /** + * + * *
    * CustomDimension resource
    * 
@@ -232,6 +302,8 @@ public enum ChangeHistoryResourceType */ public static final int CUSTOM_DIMENSION_VALUE = 11; /** + * + * *
    * CustomMetric resource
    * 
@@ -240,6 +312,8 @@ public enum ChangeHistoryResourceType */ public static final int CUSTOM_METRIC_VALUE = 12; /** + * + * *
    * DataRetentionSettings resource
    * 
@@ -248,6 +322,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_RETENTION_SETTINGS_VALUE = 13; /** + * + * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -256,6 +332,8 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_VALUE = 14; /** + * + * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -264,6 +342,8 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_VALUE = 15; /** + * + * *
    * SearchAds360Link resource
    * 
@@ -272,6 +352,8 @@ public enum ChangeHistoryResourceType */ public static final int SEARCH_ADS_360_LINK_VALUE = 16; /** + * + * *
    * DataStream resource
    * 
@@ -280,6 +362,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_STREAM_VALUE = 18; /** + * + * *
    * AttributionSettings resource
    * 
@@ -288,6 +372,8 @@ public enum ChangeHistoryResourceType */ public static final int ATTRIBUTION_SETTINGS_VALUE = 20; /** + * + * *
    * ExpandedDataSet resource
    * 
@@ -296,6 +382,8 @@ public enum ChangeHistoryResourceType */ public static final int EXPANDED_DATA_SET_VALUE = 21; /** + * + * *
    * ChannelGroup resource
    * 
@@ -304,7 +392,6 @@ public enum ChangeHistoryResourceType */ public static final int CHANNEL_GROUP_VALUE = 22; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -329,25 +416,44 @@ public static ChangeHistoryResourceType valueOf(int value) { */ public static ChangeHistoryResourceType forNumber(int value) { switch (value) { - case 0: return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; - case 1: return ACCOUNT; - case 2: return PROPERTY; - case 6: return FIREBASE_LINK; - case 7: return GOOGLE_ADS_LINK; - case 8: return GOOGLE_SIGNALS_SETTINGS; - case 9: return CONVERSION_EVENT; - case 10: return MEASUREMENT_PROTOCOL_SECRET; - case 11: return CUSTOM_DIMENSION; - case 12: return CUSTOM_METRIC; - case 13: return DATA_RETENTION_SETTINGS; - case 14: return DISPLAY_VIDEO_360_ADVERTISER_LINK; - case 15: return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; - case 16: return SEARCH_ADS_360_LINK; - case 18: return DATA_STREAM; - case 20: return ATTRIBUTION_SETTINGS; - case 21: return EXPANDED_DATA_SET; - case 22: return CHANNEL_GROUP; - default: return null; + case 0: + return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; + case 1: + return ACCOUNT; + case 2: + return PROPERTY; + case 6: + return FIREBASE_LINK; + case 7: + return GOOGLE_ADS_LINK; + case 8: + return GOOGLE_SIGNALS_SETTINGS; + case 9: + return CONVERSION_EVENT; + case 10: + return MEASUREMENT_PROTOCOL_SECRET; + case 11: + return CUSTOM_DIMENSION; + case 12: + return CUSTOM_METRIC; + case 13: + return DATA_RETENTION_SETTINGS; + case 14: + return DISPLAY_VIDEO_360_ADVERTISER_LINK; + case 15: + return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; + case 16: + return SEARCH_ADS_360_LINK; + case 18: + return DATA_STREAM; + case 20: + return ATTRIBUTION_SETTINGS; + case 21: + return EXPANDED_DATA_SET; + case 22: + return CHANNEL_GROUP; + default: + return null; } } @@ -355,28 +461,28 @@ public static ChangeHistoryResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ChangeHistoryResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeHistoryResourceType findValueByNumber(int number) { - return ChangeHistoryResourceType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeHistoryResourceType findValueByNumber(int number) { + return ChangeHistoryResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(4); } @@ -385,8 +491,7 @@ public ChangeHistoryResourceType findValueByNumber(int number) { public static ChangeHistoryResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -402,4 +507,3 @@ private ChangeHistoryResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ChangeHistoryResourceType) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEvent.java index 3da84469b0e3..8ab32d36f202 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A conversion event in a Google Analytics property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ -public final class ConversionEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConversionEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ConversionEvent) ConversionEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversionEvent.newBuilder() to construct. private ConversionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConversionEvent() { name_ = ""; eventName_ = ""; @@ -26,39 +44,44 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversionEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ConversionEvent_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,15 +122,19 @@ public java.lang.String getName() { } public static final int EVENT_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object eventName_ = ""; /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The eventName. */ @java.lang.Override @@ -116,30 +143,30 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -150,11 +177,15 @@ public java.lang.String getEventName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -162,11 +193,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -174,11 +209,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -188,12 +226,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETABLE_FIELD_NUMBER = 4; private boolean deletable_ = false; /** + * + * *
    * Output only. If set, this event can currently be deleted via
    * DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -204,6 +245,8 @@ public boolean getDeletable() { public static final int CUSTOM_FIELD_NUMBER = 5; private boolean custom_ = false; /** + * + * *
    * 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
@@ -214,6 +257,7 @@ public boolean getDeletable() {
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -222,6 +266,7 @@ public boolean getCustom() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +278,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -266,16 +310,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (deletable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, deletable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, deletable_); } if (custom_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, custom_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, custom_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -285,26 +326,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ConversionEvent)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ConversionEvent other = (com.google.analytics.admin.v1alpha.ConversionEvent) obj; + com.google.analytics.admin.v1alpha.ConversionEvent other = + (com.google.analytics.admin.v1alpha.ConversionEvent) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEventName() - .equals(other.getEventName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEventName().equals(other.getEventName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (getDeletable() - != other.getDeletable()) return false; - if (getCustom() - != other.getCustom()) return false; + if (getDeletable() != other.getDeletable()) return false; + if (getCustom() != other.getCustom()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,140 +362,144 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + DELETABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeletable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletable()); hash = (37 * hash) + CUSTOM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCustom()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustom()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( 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.ConversionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ConversionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A conversion event in a Google Analytics property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConversionEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ConversionEvent) com.google.analytics.admin.v1alpha.ConversionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConversionEvent.class, com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); + com.google.analytics.admin.v1alpha.ConversionEvent.class, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ConversionEvent.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; } @java.lang.Override @@ -497,8 +538,11 @@ public com.google.analytics.admin.v1alpha.ConversionEvent build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent buildPartial() { - com.google.analytics.admin.v1alpha.ConversionEvent result = new com.google.analytics.admin.v1alpha.ConversionEvent(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ConversionEvent result = + new com.google.analytics.admin.v1alpha.ConversionEvent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -512,9 +556,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ConversionEvent re result.eventName_ = eventName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.deletable_ = deletable_; @@ -528,38 +570,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ConversionEvent re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ConversionEvent) { - return mergeFrom((com.google.analytics.admin.v1alpha.ConversionEvent)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ConversionEvent) other); } else { super.mergeFrom(other); return this; @@ -567,7 +610,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ConversionEvent other) { - if (other == com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -613,39 +657,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - eventName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - deletable_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - custom_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + eventName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + deletable_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + custom_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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) { @@ -655,23 +703,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -680,21 +731,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -702,30 +754,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); } + 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 conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -735,18 +794,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -756,19 +819,21 @@ public Builder setNameBytes( private java.lang.Object eventName_ = ""; /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -777,21 +842,22 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -799,30 +865,37 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } eventName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearEventName() { @@ -832,18 +905,22 @@ public Builder clearEventName() { return this; } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000002; @@ -853,39 +930,58 @@ public Builder setEventNameBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -901,14 +997,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -919,17 +1018,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -942,11 +1045,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -959,11 +1066,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -971,49 +1082,64 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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 deletable_ ; + private boolean deletable_; /** + * + * *
      * Output only. If set, this event can currently be deleted via
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -1021,29 +1147,35 @@ public boolean getDeletable() { return deletable_; } /** + * + * *
      * Output only. If set, this event can currently be deleted via
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deletable to set. * @return This builder for chaining. */ public Builder setDeletable(boolean value) { - + deletable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. If set, this event can currently be deleted via
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeletable() { @@ -1053,8 +1185,10 @@ public Builder clearDeletable() { return this; } - private boolean custom_ ; + private boolean custom_; /** + * + * *
      * 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
@@ -1065,6 +1199,7 @@ public Builder clearDeletable() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -1072,6 +1207,8 @@ public boolean getCustom() { return custom_; } /** + * + * *
      * 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
@@ -1082,17 +1219,20 @@ public boolean getCustom() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The custom to set. * @return This builder for chaining. */ public Builder setCustom(boolean value) { - + custom_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * 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
@@ -1103,6 +1243,7 @@ public Builder setCustom(boolean value) {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCustom() { @@ -1111,9 +1252,9 @@ public Builder clearCustom() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1264,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ConversionEvent) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ConversionEvent) private static final com.google.analytics.admin.v1alpha.ConversionEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ConversionEvent(); } @@ -1137,27 +1278,27 @@ public static com.google.analytics.admin.v1alpha.ConversionEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversionEvent 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversionEvent 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; @@ -1172,6 +1313,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ConversionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 75% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionEventOrBuilder.java index df89974c7a30..3ff0908dc8b6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,95 +1,137 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface ConversionEventOrBuilder extends +public interface ConversionEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ConversionEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The eventName. */ java.lang.String getEventName(); /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for eventName. */ - com.google.protobuf.ByteString - getEventNameBytes(); + com.google.protobuf.ByteString getEventNameBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. If set, this event can currently be deleted via
    * DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ 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
@@ -100,6 +142,7 @@ public interface ConversionEventOrBuilder extends
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ boolean getCustom(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java index 12b88f848e72..7e70d8038f44 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAudienceRequest} */ -public final class CreateAudienceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAudienceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateAudienceRequest) CreateAudienceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAudienceRequest.newBuilder() to construct. private CreateAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAudienceRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateAudienceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, com.google.analytics.admin.v1alpha.CreateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, + com.google.analytics.admin.v1alpha.CreateAudienceRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int AUDIENCE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.Audience audience_; /** + * + * *
    * Required. The audience to create.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the audience field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasAudience() { return audience_ != null; } /** + * + * *
    * Required. The audience to create.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The audience. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Audience getAudience() { - return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } /** + * + * *
    * Required. The audience to create.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { - return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (audience_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAudience()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAudience()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateAudienceRequest other = (com.google.analytics.admin.v1alpha.CreateAudienceRequest) obj; + com.google.analytics.admin.v1alpha.CreateAudienceRequest other = + (com.google.analytics.admin.v1alpha.CreateAudienceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAudience() != other.hasAudience()) return false; if (hasAudience()) { - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getAudience().equals(other.getAudience())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( 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.CreateAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateAudienceRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAudienceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateAudienceRequest) com.google.analytics.admin.v1alpha.CreateAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, com.google.analytics.admin.v1alpha.CreateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, + com.google.analytics.admin.v1alpha.CreateAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateAudienceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; } @java.lang.Override @@ -372,8 +422,11 @@ public com.google.analytics.admin.v1alpha.CreateAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateAudienceRequest result = new com.google.analytics.admin.v1alpha.CreateAudienceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateAudienceRequest result = + new com.google.analytics.admin.v1alpha.CreateAudienceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,9 +437,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAudienceRequ result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.audience_ = audienceBuilder_ == null - ? audience_ - : audienceBuilder_.build(); + result.audience_ = audienceBuilder_ == null ? audience_ : audienceBuilder_.build(); } } @@ -394,38 +445,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAudienceRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateAudienceRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateAudienceRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateAudienceRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.CreateAudienceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +521,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAudienceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAudienceFieldBuilder().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) { @@ -495,22 +549,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +578,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +602,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +644,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +670,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.Audience audience_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> audienceBuilder_; + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder> + audienceBuilder_; /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the audience field is set. */ public boolean hasAudience() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The audience. */ public com.google.analytics.admin.v1alpha.Audience getAudience() { if (audienceBuilder_ == null) { - return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } else { return audienceBuilder_.getMessage(); } } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { @@ -639,11 +737,15 @@ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { return this; } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAudience( com.google.analytics.admin.v1alpha.Audience.Builder builderForValue) { @@ -657,17 +759,21 @@ public Builder setAudience( return this; } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - audience_ != null && - audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && audience_ != null + && audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { getAudienceBuilder().mergeFrom(value); } else { audience_ = value; @@ -680,11 +786,15 @@ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) return this; } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAudience() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +807,15 @@ public Builder clearAudience() { return this; } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +823,55 @@ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() return getAudienceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { if (audienceBuilder_ != null) { return audienceBuilder_.getMessageOrBuilder(); } else { - return audience_ == null ? - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } } /** + * + * *
      * Required. The audience to create.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder> getAudienceFieldBuilder() { if (audienceBuilder_ == null) { - audienceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder>( - getAudience(), - getParentForChildren(), - isClean()); + audienceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder>( + getAudience(), getParentForChildren(), isClean()); audience_ = null; } return audienceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateAudienceRequest) private static final com.google.analytics.admin.v1alpha.CreateAudienceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateAudienceRequest(); } @@ -769,27 +895,27 @@ public static com.google.analytics.admin.v1alpha.CreateAudienceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAudienceRequest 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; @@ -804,6 +930,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java new file mode 100644 index 000000000000..bc459160c20a --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.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 CreateAudienceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAudienceRequest) + 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 audience to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the audience field is set. + */ + boolean hasAudience(); + /** + * + * + *
+   * Required. The audience to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The audience. + */ + com.google.analytics.admin.v1alpha.Audience getAudience(); + /** + * + * + *
+   * Required. The audience to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequest.java index 05da764fd073..38e25ce201cf 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,61 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConversionEventRequest} */ -public final class CreateConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateConversionEventRequest) CreateConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConversionEventRequest.newBuilder() to construct. private CreateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateConversionEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateConversionEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.ConversionEvent conversionEvent_; /** + * + * *
    * Required. The conversion event to create.
    * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -63,39 +87,58 @@ public boolean hasConversionEvent() { return conversionEvent_ != null; } /** + * + * *
    * Required. The conversion event to create.
    * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { - return conversionEvent_ == null ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() + : conversionEvent_; } /** + * + * *
    * Required. The conversion event to create.
    * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { - return conversionEvent_ == null ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() + : conversionEvent_; } public static final int PARENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -104,30 +147,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -136,6 +181,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -165,8 +210,7 @@ public int getSerializedSize() { size = 0; if (conversionEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getConversionEvent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConversionEvent()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); @@ -179,20 +223,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateConversionEventRequest other = (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.CreateConversionEventRequest other = + (com.google.analytics.admin.v1alpha.CreateConversionEventRequest) obj; if (hasConversionEvent() != other.hasConversionEvent()) return false; if (hasConversionEvent()) { - if (!getConversionEvent() - .equals(other.getConversionEvent())) return false; + if (!getConversionEvent().equals(other.getConversionEvent())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,129 +259,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( 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.CreateConversionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConversionEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateConversionEventRequest) com.google.analytics.admin.v1alpha.CreateConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, + com.google.analytics.admin.v1alpha.CreateConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateConversionEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +403,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConversionEventRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance(); } @@ -374,18 +425,21 @@ public com.google.analytics.admin.v1alpha.CreateConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateConversionEventRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateConversionEventRequest result = new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateConversionEventRequest result = + new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateConversionEventRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.conversionEvent_ = conversionEventBuilder_ == null - ? conversionEvent_ - : conversionEventBuilder_.build(); + result.conversionEvent_ = + conversionEventBuilder_ == null ? conversionEvent_ : conversionEventBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.parent_ = parent_; @@ -396,46 +450,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateConversionEv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateConversionEventRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateConversionEventRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance()) + return this; if (other.hasConversionEvent()) { mergeConversionEvent(other.getConversionEvent()); } @@ -470,24 +528,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getConversionEventFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getConversionEventFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parent_ = 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) { @@ -497,43 +556,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.ConversionEvent conversionEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> conversionEventBuilder_; + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + conversionEventBuilder_; /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversionEvent field is set. */ public boolean hasConversionEvent() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversionEvent. */ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { if (conversionEventBuilder_ == null) { - return conversionEvent_ == null ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() + : conversionEvent_; } else { return conversionEventBuilder_.getMessage(); } } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { @@ -549,11 +628,15 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversionEvent( com.google.analytics.admin.v1alpha.ConversionEvent.Builder builderForValue) { @@ -567,17 +650,22 @@ public Builder setConversionEvent( return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - conversionEvent_ != null && - conversionEvent_ != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && conversionEvent_ != null + && conversionEvent_ + != com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()) { getConversionEventBuilder().mergeFrom(value); } else { conversionEvent_ = value; @@ -590,11 +678,15 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.Conversio return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConversionEvent() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +699,15 @@ public Builder clearConversionEvent() { return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionEventBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +715,49 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder() { + public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder + getConversionEventOrBuilder() { if (conversionEventBuilder_ != null) { return conversionEventBuilder_.getMessageOrBuilder(); } else { - return conversionEvent_ == null ? - com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance() + : conversionEvent_; } } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { - conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( - getConversionEvent(), - getParentForChildren(), - isClean()); + conversionEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + getConversionEvent(), getParentForChildren(), isClean()); conversionEvent_ = null; } return conversionEventBuilder_; @@ -656,19 +765,23 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion private java.lang.Object parent_ = ""; /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -677,21 +790,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -699,30 +815,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.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(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -732,27 +859,33 @@ public Builder clearParent() { return this; } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.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(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,41 +895,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.CreateConversionEventRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateConversionEventRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateConversionEventRequest(); } - public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateConversionEventRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConversionEventRequest 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; @@ -808,9 +943,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConversionEventRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 000000000000..2acd6f2a5931 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the conversionEvent field is set. + */ + boolean hasConversionEvent(); + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The conversionEvent. + */ + com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); + + /** + * + * + *
+   * 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) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * 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) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java index 2c1585dfe80b..cebce377b435 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomDimensionRequest} */ -public final class CreateCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) CreateCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCustomDimensionRequest.newBuilder() to construct. private CreateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCustomDimensionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; /** + * + * *
    * Required. The CustomDimension to create.
    * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** + * + * *
    * Required. The CustomDimension to create.
    * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { - return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } /** + * + * *
    * Required. The CustomDimension to create.
    * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomDimension()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other = + (com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension() - .equals(other.getCustomDimension())) return false; + if (!getCustomDimension().equals(other.getCustomDimension())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( 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.CreateCustomDimensionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) com.google.analytics.admin.v1alpha.CreateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance(); } @@ -372,21 +423,24 @@ public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customDimension_ = customDimensionBuilder_ == null - ? customDimension_ - : customDimensionBuilder_.build(); + result.customDimension_ = + customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); } } @@ -394,46 +448,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateCustomDimens public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +526,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCustomDimensionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCustomDimensionFieldBuilder().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) { @@ -495,22 +554,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +583,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +607,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +649,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +675,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + customDimensionBuilder_; /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customDimension. */ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { @@ -639,11 +742,15 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomDimension( com.google.analytics.admin.v1alpha.CustomDimension.Builder builderForValue) { @@ -657,17 +764,22 @@ public Builder setCustomDimension( return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - customDimension_ != null && - customDimension_ != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && customDimension_ != null + && customDimension_ + != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -680,11 +792,15 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomDimension() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +813,15 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimensionBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +829,56 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder + getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null ? - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( - getCustomDimension(), - getParentForChildren(), - isClean()); + customDimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + getCustomDimension(), getParentForChildren(), isClean()); customDimension_ = null; } return customDimensionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,41 +888,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomDimensionRequest 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; @@ -801,9 +936,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..a49f402b71f3 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.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 CreateCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) + 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 CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customDimension field is set. + */ + boolean hasCustomDimension(); + /** + * + * + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customDimension. + */ + com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); + /** + * + * + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java index 144f55051a06..8dffbbb53220 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomMetricRequest} */ -public final class CreateCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateCustomMetricRequest) CreateCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCustomMetricRequest.newBuilder() to construct. private CreateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCustomMetricRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int CUSTOM_METRIC_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; /** + * + * *
    * Required. The CustomMetric to create.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** + * + * *
    * Required. The CustomMetric to create.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { - return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } /** + * + * *
    * Required. The CustomMetric to create.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomMetric()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other = (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other = + (com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric() - .equals(other.getCustomMetric())) return false; + if (!getCustomMetric().equals(other.getCustomMetric())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( 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.CreateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateCustomMetricRequest) com.google.analytics.admin.v1alpha.CreateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance(); } @@ -372,21 +423,24 @@ public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result = new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customMetric_ = customMetricBuilder_ == null - ? customMetric_ - : customMetricBuilder_.build(); + result.customMetric_ = + customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); } } @@ -394,38 +448,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateCustomMetric public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +488,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCustomMetricFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCustomMetricFieldBuilder().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) { @@ -495,22 +553,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +582,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +606,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +648,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +674,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + customMetricBuilder_; /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customMetric. */ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { @@ -639,11 +741,15 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomMetric( com.google.analytics.admin.v1alpha.CustomMetric.Builder builderForValue) { @@ -657,17 +763,22 @@ public Builder setCustomMetric( return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - customMetric_ != null && - customMetric_ != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && customMetric_ != null + && customMetric_ + != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -680,11 +791,15 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomMetric() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +812,15 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +828,55 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null ? - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( - getCustomMetric(), - getParentForChildren(), - isClean()); + customMetricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + getCustomMetric(), getParentForChildren(), isClean()); customMetric_ = null; } return customMetricBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +886,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.CreateCustomMetricRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateCustomMetricRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateCustomMetricRequest(); } @@ -769,27 +901,27 @@ public static com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomMetricRequest 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; @@ -804,6 +936,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..1cf913abcfca --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.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 CreateCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomMetricRequest) + 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 CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customMetric field is set. + */ + boolean hasCustomMetric(); + /** + * + * + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customMetric. + */ + com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); + /** + * + * + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java index 975ddba581e5..16e23e7afa8a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDataStreamRequest} */ -public final class CreateDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDataStreamRequest) CreateDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDataStreamRequest.newBuilder() to construct. private CreateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDataStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int DATA_STREAM_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.DataStream dataStream_; /** + * + * *
    * Required. The DataStream to create.
    * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasDataStream() { return dataStream_ != null; } /** + * + * *
    * Required. The DataStream to create.
    * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream getDataStream() { - return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } /** + * + * *
    * Required. The DataStream to create.
    * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateDataStreamRequest other = (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.CreateDataStreamRequest other = + (com.google.analytics.admin.v1alpha.CreateDataStreamRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream() - .equals(other.getDataStream())) return false; + if (!getDataStream().equals(other.getDataStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( 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.CreateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDataStreamRequest) com.google.analytics.admin.v1alpha.CreateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, com.google.analytics.admin.v1alpha.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, + com.google.analytics.admin.v1alpha.CreateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; } @java.lang.Override @@ -372,8 +422,11 @@ public com.google.analytics.admin.v1alpha.CreateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateDataStreamRequest result = new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateDataStreamRequest result = + new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,9 +437,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDataStreamRe result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null - ? dataStream_ - : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); } } @@ -394,38 +445,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDataStreamRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +521,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDataStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getDataStreamFieldBuilder().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) { @@ -495,22 +549,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +578,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +602,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +644,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +670,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.DataStream dataStream_; 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.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + dataStreamBuilder_; /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataStream. */ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamBuilder_ == null) { @@ -639,11 +737,15 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataStream( com.google.analytics.admin.v1alpha.DataStream.Builder builderForValue) { @@ -657,17 +759,21 @@ public Builder setDataStream( return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataStream_ != null && - dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataStream_ != null + && dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -680,11 +786,15 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataStream() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +807,15 @@ public Builder clearDataStream() { return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +823,55 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null ? - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( - getDataStream(), - getParentForChildren(), - isClean()); + dataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + getDataStream(), getParentForChildren(), isClean()); dataStream_ = null; } return dataStreamBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDataStreamRequest) private static final com.google.analytics.admin.v1alpha.CreateDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateDataStreamRequest(); } @@ -769,27 +895,27 @@ public static com.google.analytics.admin.v1alpha.CreateDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataStreamRequest 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; @@ -804,6 +930,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..cce680f10318 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.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 CreateDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDataStreamRequest) + 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 DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the dataStream field is set. + */ + boolean hasDataStream(); + /** + * + * + *
+   * Required. The DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The dataStream. + */ + com.google.analytics.admin.v1alpha.DataStream getDataStream(); + /** + * + * + *
+   * Required. The DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..951084f0ebcd --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,1017 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class CreateDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private CreateDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateDisplayVideo360AdvertiserLinkProposalRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .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 DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER = 2; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + displayVideo360AdvertiserLinkProposal_; + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + @java.lang.Override + public boolean hasDisplayVideo360AdvertiserLinkProposal() { + return displayVideo360AdvertiserLinkProposal_ != null; + } + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The displayVideo360AdvertiserLinkProposal. + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal() { + return displayVideo360AdvertiserLinkProposal_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance() + : displayVideo360AdvertiserLinkProposal_; + } + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + return displayVideo360AdvertiserLinkProposal_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance() + : displayVideo360AdvertiserLinkProposal_; + } + + 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 (displayVideo360AdvertiserLinkProposal_ != null) { + output.writeMessage(2, getDisplayVideo360AdvertiserLinkProposal()); + } + 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 (displayVideo360AdvertiserLinkProposal_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getDisplayVideo360AdvertiserLinkProposal()); + } + 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.CreateDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest other = + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasDisplayVideo360AdvertiserLinkProposal() + != other.hasDisplayVideo360AdvertiserLinkProposal()) return false; + if (hasDisplayVideo360AdvertiserLinkProposal()) { + if (!getDisplayVideo360AdvertiserLinkProposal() + .equals(other.getDisplayVideo360AdvertiserLinkProposal())) 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 (hasDisplayVideo360AdvertiserLinkProposal()) { + hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER; + hash = (53 * hash) + getDisplayVideo360AdvertiserLinkProposal().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CreateDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + parseFrom( + 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 + .CreateDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CreateDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CreateDisplayVideo360AdvertiserLinkProposalRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CreateDisplayVideo360AdvertiserLinkProposalRequest + 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 + .CreateDisplayVideo360AdvertiserLinkProposalRequest + 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.CreateDisplayVideo360AdvertiserLinkProposalRequest + 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 CreateDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + displayVideo360AdvertiserLinkProposal_ = null; + if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { + displayVideo360AdvertiserLinkProposalBuilder_.dispose(); + displayVideo360AdvertiserLinkProposalBuilder_ = 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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + build() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + buildPartial() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = + new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayVideo360AdvertiserLinkProposal_ = + displayVideo360AdvertiserLinkProposalBuilder_ == null + ? displayVideo360AdvertiserLinkProposal_ + : displayVideo360AdvertiserLinkProposalBuilder_.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.CreateDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + other) { + if (other + == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasDisplayVideo360AdvertiserLinkProposal()) { + mergeDisplayVideo360AdvertiserLinkProposal( + other.getDisplayVideo360AdvertiserLinkProposal()); + } + 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( + getDisplayVideo360AdvertiserLinkProposalFieldBuilder().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.DisplayVideo360AdvertiserLinkProposal + displayVideo360AdvertiserLinkProposal_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + displayVideo360AdvertiserLinkProposalBuilder_; + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + public boolean hasDisplayVideo360AdvertiserLinkProposal() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The displayVideo360AdvertiserLinkProposal. + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal() { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + return displayVideo360AdvertiserLinkProposal_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance() + : displayVideo360AdvertiserLinkProposal_; + } else { + return displayVideo360AdvertiserLinkProposalBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + displayVideo360AdvertiserLinkProposal_ = value; + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + builderForValue) { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposal_ = builderForValue.build(); + } else { + displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeDisplayVideo360AdvertiserLinkProposal( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && displayVideo360AdvertiserLinkProposal_ != null + && displayVideo360AdvertiserLinkProposal_ + != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance()) { + getDisplayVideo360AdvertiserLinkProposalBuilder().mergeFrom(value); + } else { + displayVideo360AdvertiserLinkProposal_ = value; + } + } else { + displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearDisplayVideo360AdvertiserLinkProposal() { + bitField0_ = (bitField0_ & ~0x00000002); + displayVideo360AdvertiserLinkProposal_ = null; + if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { + displayVideo360AdvertiserLinkProposalBuilder_.dispose(); + displayVideo360AdvertiserLinkProposalBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + getDisplayVideo360AdvertiserLinkProposalBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalOrBuilder() { + if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { + return displayVideo360AdvertiserLinkProposalBuilder_.getMessageOrBuilder(); + } else { + return displayVideo360AdvertiserLinkProposal_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance() + : displayVideo360AdvertiserLinkProposal_; + } + } + /** + * + * + *
+     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+     * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + getDisplayVideo360AdvertiserLinkProposalFieldBuilder() { + if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { + displayVideo360AdvertiserLinkProposalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( + getDisplayVideo360AdvertiserLinkProposal(), getParentForChildren(), isClean()); + displayVideo360AdvertiserLinkProposal_ = null; + } + return displayVideo360AdvertiserLinkProposalBuilder_; + } + + @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.CreateDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha + .CreateDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + CreateDisplayVideo360AdvertiserLinkProposalRequest> + PARSER = + new com.google.protobuf.AbstractParser< + CreateDisplayVideo360AdvertiserLinkProposalRequest>() { + @java.lang.Override + public CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..91d8814f489e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) + 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 DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the displayVideo360AdvertiserLinkProposal field is set. + */ + boolean hasDisplayVideo360AdvertiserLinkProposal(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The displayVideo360AdvertiserLinkProposal. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposal(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java similarity index 51% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java index 8af6e104ba8f..c52c1bf71992 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequest.java @@ -1,62 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest} */ -public final class CreateDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) CreateDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDisplayVideo360AdvertiserLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +93,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,13 +126,19 @@ public java.lang.String getParent() { } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + displayVideo360AdvertiserLink_; /** + * + * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -110,30 +146,46 @@ public boolean hasDisplayVideo360AdvertiserLink() { return displayVideo360AdvertiserLink_ != null; } /** + * + * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } /** + * + * *
    * Required. The DisplayVideo360AdvertiserLink to create.
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +217,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (displayVideo360AdvertiserLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDisplayVideo360AdvertiserLink()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getDisplayVideo360AdvertiserLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +229,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other = + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; + if (!getParent().equals(other.getParent())) return false; + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) + return false; if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink() - .equals(other.getDisplayVideo360AdvertiserLink())) return false; + if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,130 +267,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + 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.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + parseFrom( + 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.CreateDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + 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.CreateDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest 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.CreateDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + 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.CreateDisplayVideo360AdvertiserLinkRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + 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.CreateDisplayVideo360AdvertiserLinkRequest + 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.CreateDisplayVideo360AdvertiserLinkRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,19 +420,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -371,22 +443,28 @@ public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkReq } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_ == null - ? displayVideo360AdvertiserLink_ - : displayVideo360AdvertiserLinkBuilder_.build(); + result.displayVideo360AdvertiserLink_ = + displayVideo360AdvertiserLinkBuilder_ == null + ? displayVideo360AdvertiserLink_ + : displayVideo360AdvertiserLinkBuilder_.build(); } } @@ -394,46 +472,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDisplayVideo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +553,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getDisplayVideo360AdvertiserLinkFieldBuilder().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) { @@ -495,22 +582,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +611,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +635,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +677,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -589,43 +701,65 @@ public Builder setParentBytes( return this; } - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + displayVideo360AdvertiserLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + displayVideo360AdvertiserLinkBuilder_; /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ public boolean hasDisplayVideo360AdvertiserLink() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The displayVideo360AdvertiserLink. */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } else { return displayVideo360AdvertiserLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder setDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,11 +773,15 @@ public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alp return this; } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDisplayVideo360AdvertiserLink( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -657,17 +795,24 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - displayVideo360AdvertiserLink_ != null && - displayVideo360AdvertiserLink_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && displayVideo360AdvertiserLink_ != null + && displayVideo360AdvertiserLink_ + != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance()) { getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); } else { displayVideo360AdvertiserLink_ = value; @@ -680,11 +825,15 @@ public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1a return this; } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDisplayVideo360AdvertiserLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,55 +846,73 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + getDisplayVideo360AdvertiserLinkBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { if (displayVideo360AdvertiserLinkBuilder_ != null) { return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); } else { - return displayVideo360AdvertiserLink_ == null ? - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } } /** + * + * *
      * Required. The DisplayVideo360AdvertiserLink to create.
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinkFieldBuilder() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( - getDisplayVideo360AdvertiserLink(), - getParentForChildren(), - isClean()); + displayVideo360AdvertiserLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + getDisplayVideo360AdvertiserLink(), getParentForChildren(), isClean()); displayVideo360AdvertiserLink_ = null; } return displayVideo360AdvertiserLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,41 +922,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDisplayVideo360AdvertiserLinkRequest 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; @@ -801,9 +973,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..53dabbabfef2 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateDisplayVideo360AdvertiserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) + 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 DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the displayVideo360AdvertiserLink field is set. + */ + boolean hasDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The displayVideo360AdvertiserLink. + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink(); + /** + * + * + *
+   * Required. The DisplayVideo360AdvertiserLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java index e2b206c23643..66fc75c95d3d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateFirebaseLinkRequest} */ -public final class CreateFirebaseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) CreateFirebaseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateFirebaseLinkRequest.newBuilder() to construct. private CreateFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateFirebaseLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateFirebaseLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +127,16 @@ public java.lang.String getParent() { public static final int FIREBASE_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.FirebaseLink firebaseLink_; /** + * + * *
    * Required. The Firebase link to create.
    * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -112,30 +144,44 @@ public boolean hasFirebaseLink() { return firebaseLink_ != null; } /** + * + * *
    * Required. The Firebase link to create.
    * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { - return firebaseLink_ == null ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() + : firebaseLink_; } /** + * + * *
    * Required. The Firebase link to create.
    * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { - return firebaseLink_ == null ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() + : firebaseLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -168,8 +213,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (firebaseLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFirebaseLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFirebaseLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +223,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest other = (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest other = + (com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasFirebaseLink() != other.hasFirebaseLink()) return false; if (hasFirebaseLink()) { - if (!getFirebaseLink() - .equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +259,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( 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.CreateFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateFirebaseLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +403,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance(); } @@ -374,21 +425,24 @@ public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result = new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.firebaseLink_ = firebaseLinkBuilder_ == null - ? firebaseLink_ - : firebaseLinkBuilder_.build(); + result.firebaseLink_ = + firebaseLinkBuilder_ == null ? firebaseLink_ : firebaseLinkBuilder_.build(); } } @@ -396,38 +450,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateFirebaseLink public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +490,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -470,24 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getFirebaseLinkFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getFirebaseLinkFieldBuilder().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) { @@ -497,23 +555,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -522,21 +585,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -544,30 +610,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -577,18 +654,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -598,39 +681,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.FirebaseLink firebaseLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> firebaseLinkBuilder_; + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + firebaseLinkBuilder_; /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the firebaseLink field is set. */ public boolean hasFirebaseLink() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The firebaseLink. */ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { if (firebaseLinkBuilder_ == null) { - return firebaseLink_ == null ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() + : firebaseLink_; } else { return firebaseLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { @@ -646,11 +748,15 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFirebaseLink( com.google.analytics.admin.v1alpha.FirebaseLink.Builder builderForValue) { @@ -664,17 +770,22 @@ public Builder setFirebaseLink( return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - firebaseLink_ != null && - firebaseLink_ != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && firebaseLink_ != null + && firebaseLink_ + != com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) { getFirebaseLinkBuilder().mergeFrom(value); } else { firebaseLink_ = value; @@ -687,11 +798,15 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFirebaseLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -704,11 +819,15 @@ public Builder clearFirebaseLink() { return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBuilder() { bitField0_ |= 0x00000002; @@ -716,43 +835,55 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBu return getFirebaseLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (firebaseLinkBuilder_ != null) { return firebaseLinkBuilder_.getMessageOrBuilder(); } else { - return firebaseLink_ == null ? - com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance() + : firebaseLink_; } } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { - firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( - getFirebaseLink(), - getParentForChildren(), - isClean()); + firebaseLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( + getFirebaseLink(), getParentForChildren(), isClean()); firebaseLink_ = null; } return firebaseLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +893,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest(); } @@ -776,27 +908,27 @@ public static com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFirebaseLinkRequest 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; @@ -811,6 +943,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..af6b2f56a482 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateFirebaseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. 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. 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(); + + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firebaseLink field is set. + */ + boolean hasFirebaseLink(); + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firebaseLink. + */ + com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java index c075182923a3..350d806c3a21 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest} */ -public final class CreateGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) CreateGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateGoogleAdsLinkRequest.newBuilder() to construct. private CreateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateGoogleAdsLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateGoogleAdsLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; /** + * + * *
    * Required. The GoogleAdsLink to create.
    * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** + * + * *
    * Required. The GoogleAdsLink to create.
    * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } /** + * + * *
    * Required. The GoogleAdsLink to create.
    * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGoogleAdsLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other = + (com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink() - .equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( 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.CreateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -372,21 +423,24 @@ public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.googleAdsLink_ = googleAdsLinkBuilder_ == null - ? googleAdsLink_ - : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = + googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); } } @@ -394,38 +448,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateGoogleAdsLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +488,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getGoogleAdsLinkFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getGoogleAdsLinkFieldBuilder().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) { @@ -495,22 +553,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +582,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +606,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +648,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +674,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + googleAdsLinkBuilder_; /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The googleAdsLink. */ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { @@ -639,11 +741,15 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGoogleAdsLink( com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder builderForValue) { @@ -657,17 +763,22 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - googleAdsLink_ != null && - googleAdsLink_ != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && googleAdsLink_ != null + && googleAdsLink_ + != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -680,11 +791,15 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGoogleAdsLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +812,15 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLinkBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +828,55 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null ? - com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), - getParentForChildren(), - isClean()); + googleAdsLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), getParentForChildren(), isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +886,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest(); } @@ -769,27 +901,27 @@ public static com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGoogleAdsLinkRequest 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; @@ -804,6 +936,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..bd09628d17b7 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.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 CreateGoogleAdsLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) + 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 GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the googleAdsLink field is set. + */ + boolean hasGoogleAdsLink(); + /** + * + * + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The googleAdsLink. + */ + com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); + /** + * + * + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java similarity index 55% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java index 888ebe7f7d9c..9147c1f01816 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequest.java @@ -1,63 +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/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest} */ -public final class CreateMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) CreateMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateMeasurementProtocolSecretRequest.newBuilder() to construct. - private CreateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateMeasurementProtocolSecretRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreateMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,30 +94,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +130,16 @@ public java.lang.String getParent() { public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; /** + * + * *
    * Required. The measurement protocol secret to create.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -112,30 +147,46 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** + * + * *
    * Required. The measurement protocol secret to create.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } /** + * + * *
    * Required. The measurement protocol secret to create.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -168,8 +218,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (measurementProtocolSecret_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMeasurementProtocolSecret()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getMeasurementProtocolSecret()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +230,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret() - .equals(other.getMeasurementProtocolSecret())) return false; + if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +268,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( 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.CreateMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest 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.CreateMeasurementProtocolSecretRequest + 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.CreateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,19 +415,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -373,22 +438,28 @@ public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + buildPartial() { + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = + measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } } @@ -396,46 +467,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateMeasurementP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -470,24 +547,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -497,23 +576,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -522,21 +606,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -544,30 +631,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -577,18 +675,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -598,41 +702,62 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretBuilder_; /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -646,11 +771,15 @@ public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.M return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -664,17 +793,24 @@ public Builder setMeasurementProtocolSecret( return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - measurementProtocolSecret_ != null && - measurementProtocolSecret_ != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && measurementProtocolSecret_ != null + && measurementProtocolSecret_ + != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -687,11 +823,15 @@ public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000002); @@ -704,55 +844,73 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null ? - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), - getParentForChildren(), - isClean()); + measurementProtocolSecretBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), getParentForChildren(), isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,41 +920,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMeasurementProtocolSecretRequest 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; @@ -808,9 +969,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..eccfaa34618d --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,98 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateMeasurementProtocolSecretRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the measurementProtocolSecret field is set. + */ + boolean hasMeasurementProtocolSecret(); + /** + * + * + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The measurementProtocolSecret. + */ + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); + /** + * + * + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java index eb858adfed1d..f8b2937f3f7a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequest.java @@ -1,61 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreatePropertyRequest} */ -public final class CreatePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreatePropertyRequest) CreatePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePropertyRequest.newBuilder() to construct. private CreatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePropertyRequest() { - } + + private CreatePropertyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CreatePropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, + com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Property property_; /** + * + * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ @java.lang.Override @@ -63,32 +86,46 @@ public boolean hasProperty() { return property_ != null; } /** + * + * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getProperty() { - return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } /** + * + * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -115,8 +151,7 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -126,17 +161,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreatePropertyRequest other = (com.google.analytics.admin.v1alpha.CreatePropertyRequest) obj; + com.google.analytics.admin.v1alpha.CreatePropertyRequest other = + (com.google.analytics.admin.v1alpha.CreatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -159,129 +194,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( 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.CreatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreatePropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreatePropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreatePropertyRequest) com.google.analytics.admin.v1alpha.CreatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, + com.google.analytics.admin.v1alpha.CreatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreatePropertyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; } @java.lang.Override @@ -316,8 +358,11 @@ public com.google.analytics.admin.v1alpha.CreatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreatePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreatePropertyRequest result = new com.google.analytics.admin.v1alpha.CreatePropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreatePropertyRequest result = + new com.google.analytics.admin.v1alpha.CreatePropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -325,9 +370,7 @@ public com.google.analytics.admin.v1alpha.CreatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.CreatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null - ? property_ - : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); } } @@ -335,38 +378,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreatePropertyRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreatePropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreatePropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -374,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreatePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance()) + return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -404,19 +449,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); + 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) { @@ -426,46 +471,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertyBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + propertyBuilder_; /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ public com.google.analytics.admin.v1alpha.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { @@ -481,12 +546,16 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -500,18 +569,22 @@ public Builder setProperty( return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -524,12 +597,16 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -542,12 +619,16 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -555,45 +636,57 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,12 +696,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreatePropertyRequest) private static final com.google.analytics.admin.v1alpha.CreatePropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreatePropertyRequest(); } @@ -617,27 +710,27 @@ public static com.google.analytics.admin.v1alpha.CreatePropertyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePropertyRequest 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; @@ -652,6 +745,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..0cc75c3e7e3c --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.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 CreatePropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreatePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the property field is set. + */ + boolean hasProperty(); + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The property. + */ + com.google.analytics.admin.v1alpha.Property getProperty(); + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequest.java index 5940f77a8663..0f07e9221caf 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 +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; + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSearchAds360LinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { 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]; + * + * .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 @@ -110,30 +142,45 @@ 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]; + * + * .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_; + 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]; + * + * .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_; + 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; @@ -145,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +212,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (searchAds360Link_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSearchAds360Link()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSearchAds360Link()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +222,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest other = (com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest other = + (com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasSearchAds360Link() != other.hasSearchAds360Link()) return false; if (hasSearchAds360Link()) { - if (!getSearchAds360Link() - .equals(other.getSearchAds360Link())) return false; + if (!getSearchAds360Link().equals(other.getSearchAds360Link())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +258,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateSearchAds360Link RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +402,14 @@ public Builder clear() { } @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; + 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() { + public com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest.getDefaultInstance(); } @@ -372,21 +424,24 @@ public com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest build() @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); } + 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) { + 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(); + result.searchAds360Link_ = + searchAds360LinkBuilder_ == null ? searchAds360Link_ : searchAds360LinkBuilder_.build(); } } @@ -394,46 +449,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSearchAds360 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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; @@ -468,24 +527,26 @@ public Builder mergeFrom( 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: + 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) { @@ -495,22 +556,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +585,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +609,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +651,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +677,58 @@ public Builder setParentBytes( 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_; + 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]; + * + * .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]; + * + * .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_; + 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]; + * + * .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) { @@ -639,11 +744,15 @@ public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds3 return this; } /** + * + * *
      * Required. The SearchAds360Link to create.
      * 
* - * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .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) { @@ -657,17 +766,23 @@ public Builder setSearchAds360Link( return this; } /** + * + * *
      * Required. The SearchAds360Link to create.
      * 
* - * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .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) { + 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()) { + if (((bitField0_ & 0x00000002) != 0) + && searchAds360Link_ != null + && searchAds360Link_ + != com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) { getSearchAds360LinkBuilder().mergeFrom(value); } else { searchAds360Link_ = value; @@ -680,11 +795,15 @@ public Builder mergeSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAd return this; } /** + * + * *
      * Required. The SearchAds360Link to create.
      * 
* - * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSearchAds360Link() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,55 +816,73 @@ public Builder clearSearchAds360Link() { return this; } /** + * + * *
      * Required. The SearchAds360Link to create.
      * 
* - * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder getSearchAds360LinkBuilder() { + 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]; + * + * .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinkOrBuilder() { + 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_; + 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]; + * + * .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> + 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()); + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,41 +892,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + 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(); - } - }; + 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; @@ -801,9 +940,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest getDefaultInstanceForType() { + 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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequest.java index 5c8726fc7b92..d72af5606b17 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for CreateUserLink RPC.
  * Users can have multiple email addresses associated with their Google
@@ -16,53 +33,61 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
  */
-public final class CreateUserLinkRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
     CreateUserLinkRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateUserLinkRequest.newBuilder() to construct.
   private CreateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateUserLinkRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateUserLinkRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_CreateUserLinkRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+        .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+        .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
+            com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -71,29 +96,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,12 +131,15 @@ public java.lang.String getParent() { public static final int NOTIFY_NEW_USER_FIELD_NUMBER = 2; private boolean notifyNewUser_ = false; /** + * + * *
    * 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]; + * * @return The notifyNewUser. */ @java.lang.Override @@ -120,11 +150,16 @@ public boolean getNotifyNewUser() { public static final int USER_LINK_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** + * + * *
    * Required. The user link to create.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ @java.lang.Override @@ -132,30 +167,44 @@ public boolean hasUserLink() { return userLink_ != null; } /** + * + * *
    * Required. The user link to create.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } /** + * + * *
    * Required. The user link to create.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -191,12 +239,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (notifyNewUser_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, notifyNewUser_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, notifyNewUser_); } if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUserLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUserLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -206,21 +252,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CreateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateUserLinkRequest other = + (com.google.analytics.admin.v1alpha.CreateUserLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getNotifyNewUser() - != other.getNotifyNewUser()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getNotifyNewUser() != other.getNotifyNewUser()) return false; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink() - .equals(other.getUserLink())) return false; + if (!getUserLink().equals(other.getUserLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -236,8 +280,7 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + NOTIFY_NEW_USER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNotifyNewUser()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNotifyNewUser()); if (hasUserLink()) { hash = (37 * hash) + USER_LINK_FIELD_NUMBER; hash = (53 * hash) + getUserLink().hashCode(); @@ -248,96 +291,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( 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.CreateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateUserLink RPC.
    * Users can have multiple email addresses associated with their Google
@@ -350,33 +401,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.CreateUserLinkRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateUserLinkRequest)
       com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
+              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class,
+              com.google.analytics.admin.v1alpha.CreateUserLinkRequest.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.CreateUserLinkRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -392,9 +442,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.AnalyticsAdminProto
+          .internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor;
     }
 
     @java.lang.Override
@@ -413,8 +463,11 @@ public com.google.analytics.admin.v1alpha.CreateUserLinkRequest build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.CreateUserLinkRequest buildPartial() {
-      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.CreateUserLinkRequest result =
+          new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -428,9 +481,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateUserLinkRequ
         result.notifyNewUser_ = notifyNewUser_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.userLink_ = userLinkBuilder_ == null
-            ? userLink_
-            : userLinkBuilder_.build();
+        result.userLink_ = userLinkBuilder_ == null ? userLink_ : userLinkBuilder_.build();
       }
     }
 
@@ -438,38 +489,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateUserLinkRequ
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CreateUserLinkRequest) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateUserLinkRequest other) {
-      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -515,29 +568,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              notifyNewUser_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getUserLinkFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                notifyNewUser_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getUserLinkFieldBuilder().getBuilder(), extensionRegistry);
+                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) {
@@ -547,22 +602,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -571,20 +631,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -592,28 +655,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -623,17 +697,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -641,14 +721,17 @@ public Builder setParentBytes( return this; } - private boolean notifyNewUser_ ; + private boolean notifyNewUser_; /** + * + * *
      * 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]; + * * @return The notifyNewUser. */ @java.lang.Override @@ -656,29 +739,35 @@ public boolean getNotifyNewUser() { return notifyNewUser_; } /** + * + * *
      * 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]; + * * @param value The notifyNewUser to set. * @return This builder for chaining. */ public Builder setNotifyNewUser(boolean value) { - + notifyNewUser_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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]; + * * @return This builder for chaining. */ public Builder clearNotifyNewUser() { @@ -690,39 +779,58 @@ public Builder clearNotifyNewUser() { private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinkBuilder_; /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ public boolean hasUserLink() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -738,11 +846,15 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -756,17 +868,21 @@ public Builder setUserLink( return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - userLink_ != null && - userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && userLink_ != null + && userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { getUserLinkBuilder().mergeFrom(value); } else { userLink_ = value; @@ -779,11 +895,15 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUserLink() { bitField0_ = (bitField0_ & ~0x00000004); @@ -796,11 +916,15 @@ public Builder clearUserLink() { return this; } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { bitField0_ |= 0x00000004; @@ -808,43 +932,55 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() return getUserLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null ? - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } } /** + * + * *
      * Required. The user link to create.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), - getParentForChildren(), - isClean()); + userLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), getParentForChildren(), isClean()); userLink_ = null; } return userLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -854,12 +990,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.CreateUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateUserLinkRequest(); } @@ -868,27 +1004,27 @@ public static com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserLinkRequest 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; @@ -903,6 +1039,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 000000000000..80da15470e21 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 CreateUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: accounts/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * 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]; + * + * @return The notifyNewUser. + */ + boolean getNotifyNewUser(); + + /** + * + * + *
+   * Required. The user link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + * + * + *
+   * Required. The user link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + * + * + *
+   * Required. The user link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimension.java index e220429db39d..4d415f85d15f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A definition for a CustomDimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomDimension} */ -public final class CustomDimension extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomDimension extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomDimension) CustomDimensionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDimension.newBuilder() to construct. private CustomDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomDimension() { name_ = ""; parameterName_ = ""; @@ -29,39 +47,43 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDimension(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CustomDimension_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomDimension.class, com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); + com.google.analytics.admin.v1alpha.CustomDimension.class, + com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); } /** + * + * *
    * Valid values for the scope of this dimension.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.CustomDimension.DimensionScope} */ - public enum DimensionScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -70,6 +92,8 @@ public enum DimensionScope */ DIMENSION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -78,6 +102,8 @@ public enum DimensionScope */ EVENT(1), /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -89,6 +115,8 @@ public enum DimensionScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -97,6 +125,8 @@ public enum DimensionScope */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -105,6 +135,8 @@ public enum DimensionScope */ public static final int EVENT_VALUE = 1; /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -113,7 +145,6 @@ public enum DimensionScope */ public static final int USER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,49 +169,51 @@ public static DimensionScope valueOf(int value) { */ public static DimensionScope forNumber(int value) { switch (value) { - case 0: return DIMENSION_SCOPE_UNSPECIFIED; - case 1: return EVENT; - case 2: return USER; - default: return null; + case 0: + return DIMENSION_SCOPE_UNSPECIFIED; + case 1: + return EVENT; + case 2: + return USER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DimensionScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DimensionScope findValueByNumber(int number) { - return DimensionScope.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DimensionScope findValueByNumber(int number) { + return DimensionScope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.CustomDimension.getDescriptor() + .getEnumTypes() + .get(0); } private static final DimensionScope[] VALUES = values(); - public static DimensionScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DimensionScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,15 +231,19 @@ private DimensionScope(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -215,30 +252,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -247,9 +284,12 @@ public java.lang.String getName() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -260,7 +300,10 @@ public java.lang.String getName() {
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ @java.lang.Override @@ -269,14 +312,15 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -287,17 +331,18 @@ public java.lang.String getParameterName() {
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -306,9 +351,12 @@ public java.lang.String getParameterName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Display name for this custom dimension as shown in the Analytics
    * UI. Max length of 82 characters, alphanumeric plus space and underscore
@@ -318,6 +366,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -326,14 +375,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name for this custom dimension as shown in the Analytics
    * UI. Max length of 82 characters, alphanumeric plus space and underscore
@@ -343,16 +393,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -361,15 +410,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -378,30 +431,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -412,32 +465,49 @@ public java.lang.String getDescription() { public static final int SCOPE_FIELD_NUMBER = 5; private int scope_ = 0; /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { + com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = + com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED + : result; } public static final int DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER = 6; private boolean disallowAdsPersonalization_ = false; /** + * + * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from
    * ads personalization.
@@ -445,6 +515,7 @@ public java.lang.String getDescription() {
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -453,6 +524,7 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -464,8 +536,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -478,7 +549,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (scope_ != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope + .DIMENSION_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, scope_); } if (disallowAdsPersonalization_ != false) { @@ -505,13 +579,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (scope_ != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, scope_); + if (scope_ + != com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope + .DIMENSION_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, scope_); } if (disallowAdsPersonalization_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, disallowAdsPersonalization_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disallowAdsPersonalization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -521,24 +596,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CustomDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CustomDimension other = (com.google.analytics.admin.v1alpha.CustomDimension) obj; + com.google.analytics.admin.v1alpha.CustomDimension other = + (com.google.analytics.admin.v1alpha.CustomDimension) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getParameterName() - .equals(other.getParameterName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getParameterName().equals(other.getParameterName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (scope_ != other.scope_) return false; - if (getDisallowAdsPersonalization() - != other.getDisallowAdsPersonalization()) return false; + if (getDisallowAdsPersonalization() != other.getDisallowAdsPersonalization()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -561,137 +632,142 @@ public int hashCode() { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; hash = (37 * hash) + DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisallowAdsPersonalization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisallowAdsPersonalization()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( 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.CustomDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomDimension parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CustomDimension parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CustomDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CustomDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A definition for a CustomDimension.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomDimension} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CustomDimension) com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomDimension.class, com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); + com.google.analytics.admin.v1alpha.CustomDimension.class, + com.google.analytics.admin.v1alpha.CustomDimension.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CustomDimension.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -706,9 +782,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; } @java.lang.Override @@ -727,8 +803,11 @@ public com.google.analytics.admin.v1alpha.CustomDimension build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension buildPartial() { - com.google.analytics.admin.v1alpha.CustomDimension result = new com.google.analytics.admin.v1alpha.CustomDimension(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CustomDimension result = + new com.google.analytics.admin.v1alpha.CustomDimension(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -759,38 +838,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CustomDimension re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CustomDimension) { - return mergeFrom((com.google.analytics.admin.v1alpha.CustomDimension)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CustomDimension) other); } else { super.mergeFrom(other); return this; @@ -798,7 +878,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CustomDimension other) { - if (other == com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -851,42 +932,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - scope_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - disallowAdsPersonalization_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + scope_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + disallowAdsPersonalization_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -896,23 +984,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -921,21 +1012,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -943,30 +1035,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -976,18 +1075,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -997,6 +1100,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1007,14 +1112,16 @@ public Builder setNameBytes(
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1023,6 +1130,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1033,16 +1142,17 @@ public java.lang.String getParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1050,6 +1160,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1060,19 +1172,25 @@ public java.lang.String getParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1083,7 +1201,10 @@ public Builder setParameterName(
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1093,6 +1214,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1103,13 +1226,17 @@ public Builder clearParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1119,6 +1246,8 @@ public Builder setParameterNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Display name for this custom dimension as shown in the Analytics
      * UI. Max length of 82 characters, alphanumeric plus space and underscore
@@ -1128,13 +1257,13 @@ public Builder setParameterNameBytes(
      * 
* * string display_name = 3 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1143,6 +1272,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
@@ -1152,15 +1283,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1168,6 +1298,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
@@ -1177,18 +1309,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Display name for this custom dimension as shown in the Analytics
      * UI. Max length of 82 characters, alphanumeric plus space and underscore
@@ -1198,6 +1334,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1207,6 +1344,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name for this custom dimension as shown in the Analytics
      * UI. Max length of 82 characters, alphanumeric plus space and underscore
@@ -1216,12 +1355,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1231,19 +1372,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150
      * characters.
      * 
* * string description = 4 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1252,21 +1395,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150
      * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1274,30 +1418,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150
      * characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150
      * characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1307,18 +1458,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150
      * characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -1328,22 +1483,33 @@ public Builder setDescriptionBytes( private int scope_ = 0; /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -1354,28 +1520,42 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope result = + com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope value) { + public Builder setScope( + com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope value) { if (value == null) { throw new NullPointerException(); } @@ -1385,11 +1565,16 @@ public Builder setScope(com.google.analytics.admin.v1alpha.CustomDimension.Dimen return this; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1399,8 +1584,10 @@ public Builder clearScope() { return this; } - private boolean disallowAdsPersonalization_ ; + private boolean disallowAdsPersonalization_; /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from
      * ads personalization.
@@ -1408,6 +1595,7 @@ public Builder clearScope() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1415,6 +1603,8 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from
      * ads personalization.
@@ -1422,17 +1612,20 @@ public boolean getDisallowAdsPersonalization() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ public Builder setDisallowAdsPersonalization(boolean value) { - + disallowAdsPersonalization_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from
      * ads personalization.
@@ -1440,6 +1633,7 @@ public Builder setDisallowAdsPersonalization(boolean value) {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { @@ -1448,9 +1642,9 @@ public Builder clearDisallowAdsPersonalization() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1460,12 +1654,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CustomDimension) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CustomDimension) private static final com.google.analytics.admin.v1alpha.CustomDimension DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CustomDimension(); } @@ -1474,27 +1668,27 @@ public static com.google.analytics.admin.v1alpha.CustomDimension getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomDimension 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomDimension 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; @@ -1509,6 +1703,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomDimensionOrBuilder.java index c95c62a6efd5..e7286aac6bf2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomDimensionOrBuilder extends +public interface CustomDimensionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomDimension) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -40,11 +63,16 @@ public interface CustomDimensionOrBuilder extends
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ java.lang.String getParameterName(); /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -55,13 +83,17 @@ public interface CustomDimensionOrBuilder extends
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - com.google.protobuf.ByteString - getParameterNameBytes(); + 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
@@ -71,10 +103,13 @@ public interface CustomDimensionOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ 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
@@ -84,53 +119,70 @@ public interface CustomDimensionOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150
    * characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ com.google.analytics.admin.v1alpha.CustomDimension.DimensionScope getScope(); /** + * + * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from
    * ads personalization.
@@ -138,6 +190,7 @@ public interface CustomDimensionOrBuilder extends
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ boolean getDisallowAdsPersonalization(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetric.java index 8aaa968f485b..ba975e01d7f0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A definition for a custom metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomMetric} */ -public final class CustomMetric extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomMetric extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CustomMetric) CustomMetricOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomMetric.newBuilder() to construct. private CustomMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomMetric() { name_ = ""; parameterName_ = ""; @@ -31,30 +49,33 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_CustomMetric_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomMetric.class, com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); + com.google.analytics.admin.v1alpha.CustomMetric.class, + com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); } /** + * + * *
    * Possible types of representing the custom metric's value.
    * Currency representation may change in the future, requiring a breaking API
@@ -63,9 +84,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit}
    */
-  public enum MeasurementUnit
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * MeasurementUnit unspecified or missing.
      * 
@@ -74,6 +96,8 @@ public enum MeasurementUnit */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** + * + * *
      * This metric uses default units.
      * 
@@ -82,6 +106,8 @@ public enum MeasurementUnit */ STANDARD(1), /** + * + * *
      * This metric measures a currency.
      * 
@@ -90,6 +116,8 @@ public enum MeasurementUnit */ CURRENCY(2), /** + * + * *
      * This metric measures feet.
      * 
@@ -98,6 +126,8 @@ public enum MeasurementUnit */ FEET(3), /** + * + * *
      * This metric measures meters.
      * 
@@ -106,6 +136,8 @@ public enum MeasurementUnit */ METERS(4), /** + * + * *
      * This metric measures kilometers.
      * 
@@ -114,6 +146,8 @@ public enum MeasurementUnit */ KILOMETERS(5), /** + * + * *
      * This metric measures miles.
      * 
@@ -122,6 +156,8 @@ public enum MeasurementUnit */ MILES(6), /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -130,6 +166,8 @@ public enum MeasurementUnit */ MILLISECONDS(7), /** + * + * *
      * This metric measures seconds.
      * 
@@ -138,6 +176,8 @@ public enum MeasurementUnit */ SECONDS(8), /** + * + * *
      * This metric measures minutes.
      * 
@@ -146,6 +186,8 @@ public enum MeasurementUnit */ MINUTES(9), /** + * + * *
      * This metric measures hours.
      * 
@@ -157,6 +199,8 @@ public enum MeasurementUnit ; /** + * + * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -165,6 +209,8 @@ public enum MeasurementUnit */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This metric uses default units.
      * 
@@ -173,6 +219,8 @@ public enum MeasurementUnit */ public static final int STANDARD_VALUE = 1; /** + * + * *
      * This metric measures a currency.
      * 
@@ -181,6 +229,8 @@ public enum MeasurementUnit */ public static final int CURRENCY_VALUE = 2; /** + * + * *
      * This metric measures feet.
      * 
@@ -189,6 +239,8 @@ public enum MeasurementUnit */ public static final int FEET_VALUE = 3; /** + * + * *
      * This metric measures meters.
      * 
@@ -197,6 +249,8 @@ public enum MeasurementUnit */ public static final int METERS_VALUE = 4; /** + * + * *
      * This metric measures kilometers.
      * 
@@ -205,6 +259,8 @@ public enum MeasurementUnit */ public static final int KILOMETERS_VALUE = 5; /** + * + * *
      * This metric measures miles.
      * 
@@ -213,6 +269,8 @@ public enum MeasurementUnit */ public static final int MILES_VALUE = 6; /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -221,6 +279,8 @@ public enum MeasurementUnit */ public static final int MILLISECONDS_VALUE = 7; /** + * + * *
      * This metric measures seconds.
      * 
@@ -229,6 +289,8 @@ public enum MeasurementUnit */ public static final int SECONDS_VALUE = 8; /** + * + * *
      * This metric measures minutes.
      * 
@@ -237,6 +299,8 @@ public enum MeasurementUnit */ public static final int MINUTES_VALUE = 9; /** + * + * *
      * This metric measures hours.
      * 
@@ -245,7 +309,6 @@ public enum MeasurementUnit */ public static final int HOURS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -270,47 +333,58 @@ public static MeasurementUnit valueOf(int value) { */ public static MeasurementUnit forNumber(int value) { switch (value) { - case 0: return MEASUREMENT_UNIT_UNSPECIFIED; - case 1: return STANDARD; - case 2: return CURRENCY; - case 3: return FEET; - case 4: return METERS; - case 5: return KILOMETERS; - case 6: return MILES; - case 7: return MILLISECONDS; - case 8: return SECONDS; - case 9: return MINUTES; - case 10: return HOURS; - default: return null; + case 0: + return MEASUREMENT_UNIT_UNSPECIFIED; + case 1: + return STANDARD; + case 2: + return CURRENCY; + case 3: + return FEET; + case 4: + return METERS; + case 5: + return KILOMETERS; + case 6: + return MILES; + case 7: + return MILLISECONDS; + case 8: + return SECONDS; + case 9: + return MINUTES; + case 10: + return HOURS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MeasurementUnit> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MeasurementUnit findValueByNumber(int number) { - return MeasurementUnit.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MeasurementUnit findValueByNumber(int number) { + return MeasurementUnit.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(0); } @@ -319,8 +393,7 @@ public MeasurementUnit findValueByNumber(int number) { public static MeasurementUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -338,15 +411,18 @@ private MeasurementUnit(int value) { } /** + * + * *
    * The scope of this metric.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.MetricScope} */ - public enum MetricScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -355,6 +431,8 @@ public enum MetricScope */ METRIC_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Metric scoped to an event.
      * 
@@ -366,6 +444,8 @@ public enum MetricScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -374,6 +454,8 @@ public enum MetricScope */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric scoped to an event.
      * 
@@ -382,7 +464,6 @@ public enum MetricScope */ public static final int EVENT_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -407,48 +488,47 @@ public static MetricScope valueOf(int value) { */ public static MetricScope forNumber(int value) { switch (value) { - case 0: return METRIC_SCOPE_UNSPECIFIED; - case 1: return EVENT; - default: return null; + case 0: + return METRIC_SCOPE_UNSPECIFIED; + case 1: + return EVENT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MetricScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricScope findValueByNumber(int number) { - return MetricScope.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetricScope findValueByNumber(int number) { + return MetricScope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(1); } private static final MetricScope[] VALUES = values(); - public static MetricScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetricScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -466,6 +546,8 @@ private MetricScope(int value) { } /** + * + * *
    * Labels that mark the data in this custom metric as data that should be
    * restricted to specific users.
@@ -473,9 +555,10 @@ private MetricScope(int value) {
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType}
    */
-  public enum RestrictedMetricType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Type unknown or unspecified.
      * 
@@ -484,6 +567,8 @@ public enum RestrictedMetricType */ RESTRICTED_METRIC_TYPE_UNSPECIFIED(0), /** + * + * *
      * Metric reports cost data.
      * 
@@ -492,6 +577,8 @@ public enum RestrictedMetricType */ COST_DATA(1), /** + * + * *
      * Metric reports revenue data.
      * 
@@ -503,6 +590,8 @@ public enum RestrictedMetricType ; /** + * + * *
      * Type unknown or unspecified.
      * 
@@ -511,6 +600,8 @@ public enum RestrictedMetricType */ public static final int RESTRICTED_METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric reports cost data.
      * 
@@ -519,6 +610,8 @@ public enum RestrictedMetricType */ public static final int COST_DATA_VALUE = 1; /** + * + * *
      * Metric reports revenue data.
      * 
@@ -527,7 +620,6 @@ public enum RestrictedMetricType */ public static final int REVENUE_DATA_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -552,10 +644,14 @@ public static RestrictedMetricType valueOf(int value) { */ public static RestrictedMetricType forNumber(int value) { switch (value) { - case 0: return RESTRICTED_METRIC_TYPE_UNSPECIFIED; - case 1: return COST_DATA; - case 2: return REVENUE_DATA; - default: return null; + case 0: + return RESTRICTED_METRIC_TYPE_UNSPECIFIED; + case 1: + return COST_DATA; + case 2: + return REVENUE_DATA; + default: + return null; } } @@ -563,28 +659,28 @@ public static RestrictedMetricType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RestrictedMetricType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestrictedMetricType findValueByNumber(int number) { - return RestrictedMetricType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestrictedMetricType findValueByNumber(int number) { + return RestrictedMetricType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.CustomMetric.getDescriptor().getEnumTypes().get(2); } @@ -593,8 +689,7 @@ public RestrictedMetricType findValueByNumber(int number) { public static RestrictedMetricType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -612,15 +707,19 @@ private RestrictedMetricType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -629,30 +728,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -661,9 +760,12 @@ public java.lang.String getName() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -672,7 +774,10 @@ public java.lang.String getName() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ @java.lang.Override @@ -681,14 +786,15 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -697,17 +803,18 @@ public java.lang.String getParameterName() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -716,9 +823,12 @@ public java.lang.String getParameterName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -728,6 +838,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -736,14 +847,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -753,16 +865,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -771,15 +882,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -788,30 +903,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -822,90 +937,142 @@ public java.lang.String getDescription() { public static final int MEASUREMENT_UNIT_FIELD_NUMBER = 5; private int measurementUnit_ = 0; /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override public int getMeasurementUnitValue() { + @java.lang.Override + public int getMeasurementUnitValue() { return measurementUnit_; } /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementUnit. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); - return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { + com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = + com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED + : result; } public static final int SCOPE_FIELD_NUMBER = 6; private int scope_ = 0; /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { + com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = + com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED + : result; } public static final int RESTRICTED_METRIC_TYPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private java.util.List restrictedMetricType_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType> restrictedMetricType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType> + restrictedMetricType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>() { - public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType convert(java.lang.Integer from) { - com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType result = com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType.forNumber(from); - return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType.UNRECOGNIZED : result; + java.lang.Integer, + com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>() { + public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType convert( + java.lang.Integer from) { + com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType result = + com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType.forNumber( + from); + return result == null + ? com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType + .UNRECOGNIZED + : result; } }; /** + * + * *
    * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedMetricType. */ @java.lang.Override - public java.util.List getRestrictedMetricTypeList() { + public java.util.List + getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>( + restrictedMetricType_, restrictedMetricType_converter_); } /** + * + * *
    * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedMetricType. */ @java.lang.Override @@ -913,43 +1080,58 @@ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** + * + * *
    * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType + getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
    * 
* - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ @java.lang.Override - public java.util.List - getRestrictedMetricTypeValueList() { + public java.util.List getRestrictedMetricTypeValueList() { return restrictedMetricType_; } /** + * + * *
    * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -957,9 +1139,11 @@ public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getR public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(index); } + private int restrictedMetricTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -971,8 +1155,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -986,10 +1169,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (measurementUnit_ != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { + if (measurementUnit_ + != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit + .MEASUREMENT_UNIT_UNSPECIFIED + .getNumber()) { output.writeEnum(5, measurementUnit_); } - if (scope_ != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, scope_); } if (getRestrictedMetricTypeList().size() > 0) { @@ -1020,25 +1208,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (measurementUnit_ != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, measurementUnit_); + if (measurementUnit_ + != com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit + .MEASUREMENT_UNIT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, measurementUnit_); } - if (scope_ != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, scope_); + if (scope_ + != com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); } { int dataSize = 0; for (int i = 0; i < restrictedMetricType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(restrictedMetricType_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + restrictedMetricType_.get(i)); } size += dataSize; - if (!getRestrictedMetricTypeList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }restrictedMetricTypeMemoizedSerializedSize = dataSize; + if (!getRestrictedMetricTypeList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + restrictedMetricTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1048,21 +1241,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.CustomMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CustomMetric other = (com.google.analytics.admin.v1alpha.CustomMetric) obj; + com.google.analytics.admin.v1alpha.CustomMetric other = + (com.google.analytics.admin.v1alpha.CustomMetric) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getParameterName() - .equals(other.getParameterName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getParameterName().equals(other.getParameterName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (measurementUnit_ != other.measurementUnit_) return false; if (scope_ != other.scope_) return false; if (!restrictedMetricType_.equals(other.restrictedMetricType_)) return false; @@ -1098,130 +1288,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( 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.CustomMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CustomMetric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CustomMetric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CustomMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.CustomMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A definition for a custom metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CustomMetric} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CustomMetric) com.google.analytics.admin.v1alpha.CustomMetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CustomMetric.class, com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); + com.google.analytics.admin.v1alpha.CustomMetric.class, + com.google.analytics.admin.v1alpha.CustomMetric.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CustomMetric.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1238,9 +1434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; } @java.lang.Override @@ -1259,14 +1455,18 @@ public com.google.analytics.admin.v1alpha.CustomMetric build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric buildPartial() { - com.google.analytics.admin.v1alpha.CustomMetric result = new com.google.analytics.admin.v1alpha.CustomMetric(this); + com.google.analytics.admin.v1alpha.CustomMetric result = + new com.google.analytics.admin.v1alpha.CustomMetric(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.CustomMetric result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.CustomMetric result) { if (((bitField0_ & 0x00000040) != 0)) { restrictedMetricType_ = java.util.Collections.unmodifiableList(restrictedMetricType_); bitField0_ = (bitField0_ & ~0x00000040); @@ -1300,38 +1500,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CustomMetric resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.CustomMetric) { - return mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CustomMetric) other); } else { super.mergeFrom(other); return this; @@ -1339,7 +1540,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CustomMetric other) { - if (other == com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1402,59 +1604,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - measurementUnit_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - scope_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 64: { - int tmpRaw = input.readEnum(); - ensureRestrictedMetricTypeIsMutable(); - restrictedMetricType_.add(tmpRaw); - break; - } // case 64 - case 66: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + measurementUnit_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + scope_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 64: + { int tmpRaw = input.readEnum(); ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 64 + case 66: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureRestrictedMetricTypeIsMutable(); + restrictedMetricType_.add(tmpRaw); + } + input.popLimit(oldLimit); + 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) { @@ -1464,23 +1675,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1489,21 +1703,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1511,30 +1726,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1544,18 +1766,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1565,6 +1791,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1573,14 +1801,16 @@ public Builder setNameBytes(
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1589,6 +1819,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1597,16 +1829,17 @@ public java.lang.String getParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1614,6 +1847,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1622,19 +1857,25 @@ public java.lang.String getParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1643,7 +1884,10 @@ public Builder setParameterName(
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1653,6 +1897,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1661,13 +1907,17 @@ public Builder clearParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1677,6 +1927,8 @@ public Builder setParameterNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1686,13 +1938,13 @@ public Builder setParameterNameBytes(
      * 
* * string display_name = 3 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1701,6 +1953,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1710,15 +1964,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1726,6 +1979,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1735,18 +1990,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1756,6 +2015,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1765,6 +2025,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1774,12 +2036,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1789,19 +2053,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1810,21 +2076,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1832,30 +2099,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1865,18 +2139,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -1886,22 +2164,33 @@ public Builder setDescriptionBytes( private int measurementUnit_ = 0; /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override public int getMeasurementUnitValue() { + @java.lang.Override + public int getMeasurementUnitValue() { return measurementUnit_; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for measurementUnit to set. * @return This builder for chaining. */ @@ -1912,28 +2201,43 @@ public Builder setMeasurementUnitValue(int value) { return this; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementUnit. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); - return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit result = + com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.forNumber( + measurementUnit_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The measurementUnit to set. * @return This builder for chaining. */ - public Builder setMeasurementUnit(com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit value) { + public Builder setMeasurementUnit( + com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit value) { if (value == null) { throw new NullPointerException(); } @@ -1943,11 +2247,16 @@ public Builder setMeasurementUnit(com.google.analytics.admin.v1alpha.CustomMetri return this; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMeasurementUnit() { @@ -1959,22 +2268,33 @@ public Builder clearMeasurementUnit() { private int scope_ = 0; /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -1985,24 +2305,37 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.CustomMetric.MetricScope result = + com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1alpha.CustomMetric.MetricScope.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ @@ -2016,11 +2349,16 @@ public Builder setScope(com.google.analytics.admin.v1alpha.CustomMetric.MetricSc return this; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { @@ -2031,7 +2369,8 @@ public Builder clearScope() { } private java.util.List restrictedMetricType_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRestrictedMetricTypeIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { restrictedMetricType_ = new java.util.ArrayList(restrictedMetricType_); @@ -2039,54 +2378,77 @@ 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.
      * 
* - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedMetricType. */ - public java.util.List getRestrictedMetricTypeList() { + public java.util.List + getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType>( + restrictedMetricType_, restrictedMetricType_converter_); } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedMetricType. */ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType + getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
      * 
* - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The restrictedMetricType to set. * @return This builder for chaining. @@ -2102,17 +2464,23 @@ public Builder setRestrictedMetricType( return this; } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addRestrictedMetricType(com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType value) { + public Builder addRestrictedMetricType( + com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType value) { if (value == null) { throw new NullPointerException(); } @@ -2122,18 +2490,25 @@ public Builder addRestrictedMetricType(com.google.analytics.admin.v1alpha.Custom return this; } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The restrictedMetricType to add. * @return This builder for chaining. */ public Builder addAllRestrictedMetricType( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType> + values) { ensureRestrictedMetricTypeIsMutable(); for (com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType value : values) { restrictedMetricType_.add(value.getNumber()); @@ -2142,13 +2517,18 @@ public Builder addAllRestrictedMetricType( return this; } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRestrictedMetricType() { @@ -2158,27 +2538,36 @@ public Builder clearRestrictedMetricType() { return this; } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - public java.util.List - getRestrictedMetricTypeValueList() { + public java.util.List getRestrictedMetricTypeValueList() { return java.util.Collections.unmodifiableList(restrictedMetricType_); } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -2186,32 +2575,41 @@ public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(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.
      * 
* - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for restrictedMetricType to set. * @return This builder for chaining. */ - public Builder setRestrictedMetricTypeValue( - int index, int value) { + public Builder setRestrictedMetricTypeValue(int index, int value) { ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.set(index, value); onChanged(); return this; } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for restrictedMetricType to add. * @return This builder for chaining. */ @@ -2222,18 +2620,22 @@ public Builder addRestrictedMetricTypeValue(int value) { return this; } /** + * + * *
      * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addAllRestrictedMetricTypeValue( - java.lang.Iterable values) { + public Builder addAllRestrictedMetricTypeValue(java.lang.Iterable values) { ensureRestrictedMetricTypeIsMutable(); for (int value : values) { restrictedMetricType_.add(value); @@ -2241,9 +2643,9 @@ public Builder addAllRestrictedMetricTypeValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2253,12 +2655,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CustomMetric) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CustomMetric) private static final com.google.analytics.admin.v1alpha.CustomMetric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CustomMetric(); } @@ -2267,27 +2669,27 @@ public static com.google.analytics.admin.v1alpha.CustomMetric getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomMetric 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomMetric 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; @@ -2302,6 +2704,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CustomMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CustomMetricOrBuilder.java index 29fb79805b53..0b5c3fe8dfc6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface CustomMetricOrBuilder extends +public interface CustomMetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CustomMetric) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -38,11 +61,16 @@ public interface CustomMetricOrBuilder extends
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ java.lang.String getParameterName(); /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -51,13 +79,17 @@ public interface CustomMetricOrBuilder extends
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - com.google.protobuf.ByteString - getParameterNameBytes(); + com.google.protobuf.ByteString getParameterNameBytes(); /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -67,10 +99,13 @@ public interface CustomMetricOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -80,125 +115,176 @@ public interface CustomMetricOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for measurementUnit. */ int getMeasurementUnitValue(); /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementUnit. */ com.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit getMeasurementUnit(); /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ com.google.analytics.admin.v1alpha.CustomMetric.MetricScope getScope(); /** + * + * *
    * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedMetricType. */ - java.util.List getRestrictedMetricTypeList(); + java.util.List + getRestrictedMetricTypeList(); /** + * + * *
    * 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 .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedMetricType. */ 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.
    * 
* - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index); + com.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType getRestrictedMetricType( + 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.
    * 
* - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - java.util.List - getRestrictedMetricTypeValueList(); + 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.
    * 
* - * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java index 663f6dbeaca9..418a4597ce3a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Settings values for data retention. This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataRetentionSettings} */ -public final class DataRetentionSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataRetentionSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataRetentionSettings) DataRetentionSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataRetentionSettings.newBuilder() to construct. private DataRetentionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataRetentionSettings() { name_ = ""; eventDataRetention_ = 0; @@ -26,39 +44,43 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataRetentionSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DataRetentionSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataRetentionSettings.class, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); } /** + * + * *
    * Valid values for the data retention duration.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration} */ - public enum RetentionDuration - implements com.google.protobuf.ProtocolMessageEnum { + public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Data retention time duration is not specified.
      * 
@@ -67,6 +89,8 @@ public enum RetentionDuration */ RETENTION_DURATION_UNSPECIFIED(0), /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -75,6 +99,8 @@ public enum RetentionDuration */ TWO_MONTHS(1), /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -83,6 +109,8 @@ public enum RetentionDuration */ FOURTEEN_MONTHS(3), /** + * + * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -92,6 +120,8 @@ public enum RetentionDuration
      */
     TWENTY_SIX_MONTHS(4),
     /**
+     *
+     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -101,6 +131,8 @@ public enum RetentionDuration
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
+     *
+     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -113,6 +145,8 @@ public enum RetentionDuration
     ;
 
     /**
+     *
+     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -121,6 +155,8 @@ public enum RetentionDuration */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -129,6 +165,8 @@ public enum RetentionDuration */ public static final int TWO_MONTHS_VALUE = 1; /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -137,6 +175,8 @@ public enum RetentionDuration */ public static final int FOURTEEN_MONTHS_VALUE = 3; /** + * + * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -146,6 +186,8 @@ public enum RetentionDuration
      */
     public static final int TWENTY_SIX_MONTHS_VALUE = 4;
     /**
+     *
+     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -155,6 +197,8 @@ public enum RetentionDuration
      */
     public static final int THIRTY_EIGHT_MONTHS_VALUE = 5;
     /**
+     *
+     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -164,7 +208,6 @@ public enum RetentionDuration
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -189,13 +232,20 @@ public static RetentionDuration valueOf(int value) {
      */
     public static RetentionDuration forNumber(int value) {
       switch (value) {
-        case 0: return RETENTION_DURATION_UNSPECIFIED;
-        case 1: return TWO_MONTHS;
-        case 3: return FOURTEEN_MONTHS;
-        case 4: return TWENTY_SIX_MONTHS;
-        case 5: return THIRTY_EIGHT_MONTHS;
-        case 6: return FIFTY_MONTHS;
-        default: return null;
+        case 0:
+          return RETENTION_DURATION_UNSPECIFIED;
+        case 1:
+          return TWO_MONTHS;
+        case 3:
+          return FOURTEEN_MONTHS;
+        case 4:
+          return TWENTY_SIX_MONTHS;
+        case 5:
+          return THIRTY_EIGHT_MONTHS;
+        case 6:
+          return FIFTY_MONTHS;
+        default:
+          return null;
       }
     }
 
@@ -203,29 +253,31 @@ public static RetentionDuration forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        RetentionDuration> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RetentionDuration findValueByNumber(int number) {
-              return RetentionDuration.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public RetentionDuration findValueByNumber(int number) {
+                return RetentionDuration.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.DataRetentionSettings.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final RetentionDuration[] VALUES = values();
@@ -233,8 +285,7 @@ public RetentionDuration findValueByNumber(int number) {
     public static RetentionDuration valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -252,15 +303,19 @@ private RetentionDuration(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -269,30 +324,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -303,38 +358,58 @@ public java.lang.String getName() { public static final int EVENT_DATA_RETENTION_FIELD_NUMBER = 2; private int eventDataRetention_ = 0; /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override public int getEventDataRetentionValue() { + @java.lang.Override + public int getEventDataRetentionValue() { return eventDataRetention_; } /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The eventDataRetention. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention() { - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); - return result == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + getEventDataRetention() { + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber( + eventDataRetention_); + return result == null + ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED + : result; } public static final int RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER = 3; private boolean resetUserDataOnNewActivity_ = false; /** + * + * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; + * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -343,6 +418,7 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,12 +430,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (eventDataRetention_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { + if (eventDataRetention_ + != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + .RETENTION_DURATION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { @@ -377,13 +455,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (eventDataRetention_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, eventDataRetention_); + if (eventDataRetention_ + != com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + .RETENTION_DURATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, resetUserDataOnNewActivity_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, resetUserDataOnNewActivity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -393,18 +472,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataRetentionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataRetentionSettings other = (com.google.analytics.admin.v1alpha.DataRetentionSettings) obj; + com.google.analytics.admin.v1alpha.DataRetentionSettings other = + (com.google.analytics.admin.v1alpha.DataRetentionSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (eventDataRetention_ != other.eventDataRetention_) return false; - if (getResetUserDataOnNewActivity() - != other.getResetUserDataOnNewActivity()) return false; + if (getResetUserDataOnNewActivity() != other.getResetUserDataOnNewActivity()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -421,137 +499,143 @@ public int hashCode() { hash = (37 * hash) + EVENT_DATA_RETENTION_FIELD_NUMBER; hash = (53 * hash) + eventDataRetention_; hash = (37 * hash) + RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getResetUserDataOnNewActivity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResetUserDataOnNewActivity()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( 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.DataRetentionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataRetentionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataRetentionSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DataRetentionSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Settings values for data retention. This is a singleton resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataRetentionSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataRetentionSettings) com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataRetentionSettings.class, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1alpha.DataRetentionSettings.class, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataRetentionSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; } @java.lang.Override @@ -584,8 +668,11 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettings build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings buildPartial() { - com.google.analytics.admin.v1alpha.DataRetentionSettings result = new com.google.analytics.admin.v1alpha.DataRetentionSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DataRetentionSettings result = + new com.google.analytics.admin.v1alpha.DataRetentionSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -607,38 +694,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataRetentionSetti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DataRetentionSettings) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataRetentionSettings)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataRetentionSettings) other); } else { super.mergeFrom(other); return this; @@ -646,7 +734,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataRetentionSettings other) { - if (other == com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -684,27 +773,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - eventDataRetention_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - resetUserDataOnNewActivity_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + eventDataRetention_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + resetUserDataOnNewActivity_ = 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) { @@ -714,23 +807,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -739,21 +835,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -761,30 +858,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -794,18 +898,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -815,22 +923,33 @@ public Builder setNameBytes( private int eventDataRetention_ = 0; /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override public int getEventDataRetentionValue() { + @java.lang.Override + public int getEventDataRetentionValue() { return eventDataRetention_; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @param value The enum numeric value on the wire for eventDataRetention to set. * @return This builder for chaining. */ @@ -841,28 +960,44 @@ public Builder setEventDataRetentionValue(int value) { return this; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The eventDataRetention. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention() { - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); - return result == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + getEventDataRetention() { + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration result = + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.forNumber( + eventDataRetention_); + return result == null + ? com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration.UNRECOGNIZED + : result; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @param value The eventDataRetention to set. * @return This builder for chaining. */ - public Builder setEventDataRetention(com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration value) { + public Builder setEventDataRetention( + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration value) { if (value == null) { throw new NullPointerException(); } @@ -872,11 +1007,16 @@ public Builder setEventDataRetention(com.google.analytics.admin.v1alpha.DataRete return this; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return This builder for chaining. */ public Builder clearEventDataRetention() { @@ -886,14 +1026,17 @@ public Builder clearEventDataRetention() { return this; } - private boolean resetUserDataOnNewActivity_ ; + private boolean resetUserDataOnNewActivity_; /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -901,29 +1044,35 @@ public boolean getResetUserDataOnNewActivity() { return resetUserDataOnNewActivity_; } /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @param value The resetUserDataOnNewActivity to set. * @return This builder for chaining. */ public Builder setResetUserDataOnNewActivity(boolean value) { - + resetUserDataOnNewActivity_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @return This builder for chaining. */ public Builder clearResetUserDataOnNewActivity() { @@ -932,9 +1081,9 @@ public Builder clearResetUserDataOnNewActivity() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -944,12 +1093,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataRetentionSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataRetentionSettings) private static final com.google.analytics.admin.v1alpha.DataRetentionSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataRetentionSettings(); } @@ -958,27 +1107,27 @@ public static com.google.analytics.admin.v1alpha.DataRetentionSettings getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataRetentionSettings 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataRetentionSettings 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; @@ -993,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataRetentionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java index a11cb1f6330d..b7b925116fb4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRetentionSettingsOrBuilder.java @@ -1,60 +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/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataRetentionSettingsOrBuilder extends +public interface DataRetentionSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataRetentionSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The enum numeric value on the wire for eventDataRetention. */ int getEventDataRetentionValue(); /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The eventDataRetention. */ - com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration getEventDataRetention(); + com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + getEventDataRetention(); /** + * + * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; + * * @return The resetUserDataOnNewActivity. */ boolean getResetUserDataOnNewActivity(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java index 0d62bf374ac9..83b94a3280ee 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing data sharing settings of a Google Analytics
  * account.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DataSharingSettings}
  */
-public final class DataSharingSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataSharingSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataSharingSettings)
     DataSharingSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataSharingSettings.newBuilder() to construct.
   private DataSharingSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataSharingSettings() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataSharingSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_DataSharingSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.DataSharingSettings.class, com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
+            com.google.analytics.admin.v1alpha.DataSharingSettings.class,
+            com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -68,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -83,16 +107,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,12 +126,15 @@ public java.lang.String getName() { public static final int SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER = 2; private boolean sharingWithGoogleSupportEnabled_ = false; /** + * + * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; + * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -119,6 +145,8 @@ public boolean getSharingWithGoogleSupportEnabled() { public static final int SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER = 3; private boolean sharingWithGoogleAssignedSalesEnabled_ = false; /** + * + * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -126,6 +154,7 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -136,12 +165,15 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { public static final int SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER = 4; private boolean sharingWithGoogleAnySalesEnabled_ = false; /** + * + * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -152,11 +184,14 @@ public boolean getSharingWithGoogleAnySalesEnabled() { public static final int SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER = 5; private boolean sharingWithGoogleProductsEnabled_ = false; /** + * + * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; + * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -167,11 +202,14 @@ public boolean getSharingWithGoogleProductsEnabled() { public static final int SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER = 6; private boolean sharingWithOthersEnabled_ = false; /** + * + * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; + * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -180,6 +218,7 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -224,24 +262,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sharingWithGoogleSupportEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, sharingWithGoogleSupportEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 2, sharingWithGoogleSupportEnabled_); } if (sharingWithGoogleAssignedSalesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, sharingWithGoogleAssignedSalesEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, sharingWithGoogleAssignedSalesEnabled_); } if (sharingWithGoogleAnySalesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, sharingWithGoogleAnySalesEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, sharingWithGoogleAnySalesEnabled_); } if (sharingWithGoogleProductsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, sharingWithGoogleProductsEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 5, sharingWithGoogleProductsEnabled_); } if (sharingWithOthersEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, sharingWithOthersEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, sharingWithOthersEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,25 +292,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataSharingSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataSharingSettings other = (com.google.analytics.admin.v1alpha.DataSharingSettings) obj; + com.google.analytics.admin.v1alpha.DataSharingSettings other = + (com.google.analytics.admin.v1alpha.DataSharingSettings) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSharingWithGoogleSupportEnabled() - != other.getSharingWithGoogleSupportEnabled()) return false; + if (!getName().equals(other.getName())) return false; + if (getSharingWithGoogleSupportEnabled() != other.getSharingWithGoogleSupportEnabled()) + return false; if (getSharingWithGoogleAssignedSalesEnabled() != other.getSharingWithGoogleAssignedSalesEnabled()) return false; - if (getSharingWithGoogleAnySalesEnabled() - != other.getSharingWithGoogleAnySalesEnabled()) return false; - if (getSharingWithGoogleProductsEnabled() - != other.getSharingWithGoogleProductsEnabled()) return false; - if (getSharingWithOthersEnabled() - != other.getSharingWithOthersEnabled()) return false; + if (getSharingWithGoogleAnySalesEnabled() != other.getSharingWithGoogleAnySalesEnabled()) + return false; + if (getSharingWithGoogleProductsEnabled() != other.getSharingWithGoogleProductsEnabled()) + return false; + if (getSharingWithOthersEnabled() != other.getSharingWithOthersEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,116 +324,127 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleSupportEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleSupportEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleAssignedSalesEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAssignedSalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleAnySalesEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAnySalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleProductsEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleProductsEnabled()); hash = (37 * hash) + SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithOthersEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSharingWithOthersEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( 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.DataSharingSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataSharingSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataSharingSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataSharingSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DataSharingSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing data sharing settings of a Google Analytics
    * account.
@@ -401,33 +452,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.DataSharingSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataSharingSettings)
       com.google.analytics.admin.v1alpha.DataSharingSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.DataSharingSettings.class, com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
+              com.google.analytics.admin.v1alpha.DataSharingSettings.class,
+              com.google.analytics.admin.v1alpha.DataSharingSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.DataSharingSettings.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -442,9 +492,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
@@ -463,8 +513,11 @@ public com.google.analytics.admin.v1alpha.DataSharingSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DataSharingSettings buildPartial() {
-      com.google.analytics.admin.v1alpha.DataSharingSettings result = new com.google.analytics.admin.v1alpha.DataSharingSettings(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.DataSharingSettings result =
+          new com.google.analytics.admin.v1alpha.DataSharingSettings(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -495,38 +548,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataSharingSetting
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DataSharingSettings) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.DataSharingSettings)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.DataSharingSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -534,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataSharingSettings other) {
-      if (other == com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -581,42 +636,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              sharingWithGoogleSupportEnabled_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              sharingWithGoogleAnySalesEnabled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 40: {
-              sharingWithGoogleProductsEnabled_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 48: {
-              sharingWithOthersEnabled_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                sharingWithGoogleSupportEnabled_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                sharingWithGoogleAnySalesEnabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 40:
+              {
+                sharingWithGoogleProductsEnabled_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 48:
+              {
+                sharingWithOthersEnabled_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            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) {
@@ -626,10 +688,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -637,13 +702,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -652,6 +717,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -659,15 +726,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -675,6 +741,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -682,18 +750,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -701,6 +773,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -710,6 +783,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -717,12 +792,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -730,14 +807,17 @@ public Builder setNameBytes( return this; } - private boolean sharingWithGoogleSupportEnabled_ ; + private boolean sharingWithGoogleSupportEnabled_; /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -745,29 +825,35 @@ public boolean getSharingWithGoogleSupportEnabled() { return sharingWithGoogleSupportEnabled_; } /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @param value The sharingWithGoogleSupportEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleSupportEnabled(boolean value) { - + sharingWithGoogleSupportEnabled_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleSupportEnabled() { @@ -777,8 +863,10 @@ public Builder clearSharingWithGoogleSupportEnabled() { return this; } - private boolean sharingWithGoogleAssignedSalesEnabled_ ; + private boolean sharingWithGoogleAssignedSalesEnabled_; /** + * + * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -786,6 +874,7 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -793,6 +882,8 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { return sharingWithGoogleAssignedSalesEnabled_; } /** + * + * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -800,17 +891,20 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { - + sharingWithGoogleAssignedSalesEnabled_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -818,6 +912,7 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { @@ -827,14 +922,17 @@ public Builder clearSharingWithGoogleAssignedSalesEnabled() { return this; } - private boolean sharingWithGoogleAnySalesEnabled_ ; + private boolean sharingWithGoogleAnySalesEnabled_; /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -842,29 +940,35 @@ public boolean getSharingWithGoogleAnySalesEnabled() { return sharingWithGoogleAnySalesEnabled_; } /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @param value The sharingWithGoogleAnySalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { - + sharingWithGoogleAnySalesEnabled_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAnySalesEnabled() { @@ -874,13 +978,16 @@ public Builder clearSharingWithGoogleAnySalesEnabled() { return this; } - private boolean sharingWithGoogleProductsEnabled_ ; + private boolean sharingWithGoogleProductsEnabled_; /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -888,27 +995,33 @@ public boolean getSharingWithGoogleProductsEnabled() { return sharingWithGoogleProductsEnabled_; } /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @param value The sharingWithGoogleProductsEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleProductsEnabled(boolean value) { - + sharingWithGoogleProductsEnabled_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleProductsEnabled() { @@ -918,13 +1031,16 @@ public Builder clearSharingWithGoogleProductsEnabled() { return this; } - private boolean sharingWithOthersEnabled_ ; + private boolean sharingWithOthersEnabled_; /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -932,27 +1048,33 @@ public boolean getSharingWithOthersEnabled() { return sharingWithOthersEnabled_; } /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @param value The sharingWithOthersEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithOthersEnabled(boolean value) { - + sharingWithOthersEnabled_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @return This builder for chaining. */ public Builder clearSharingWithOthersEnabled() { @@ -961,9 +1083,9 @@ public Builder clearSharingWithOthersEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -973,12 +1095,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataSharingSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataSharingSettings) private static final com.google.analytics.admin.v1alpha.DataSharingSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataSharingSettings(); } @@ -987,27 +1109,27 @@ public static com.google.analytics.admin.v1alpha.DataSharingSettings getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSharingSettings 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSharingSettings 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; @@ -1022,6 +1144,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataSharingSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java similarity index 75% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java index 689f305c5a5e..d7a115e88add 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataSharingSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataSharingSettingsOrBuilder extends +public interface DataSharingSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataSharingSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -15,10 +33,13 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -26,23 +47,28 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; + * * @return The sharingWithGoogleSupportEnabled. */ boolean getSharingWithGoogleSupportEnabled(); /** + * + * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -50,37 +76,47 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ boolean getSharingWithGoogleAssignedSalesEnabled(); /** + * + * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return The sharingWithGoogleAnySalesEnabled. */ boolean getSharingWithGoogleAnySalesEnabled(); /** + * + * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; + * * @return The sharingWithGoogleProductsEnabled. */ boolean getSharingWithGoogleProductsEnabled(); /** + * + * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; + * * @return The sharingWithOthersEnabled. */ boolean getSharingWithOthersEnabled(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java index 4b488a17ea12..2eb9d3b0265f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStream.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a data stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream} */ -public final class DataStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream) DataStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataStream.newBuilder() to construct. private DataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataStream() { name_ = ""; type_ = 0; @@ -27,39 +45,43 @@ private DataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DataStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.class, com.google.analytics.admin.v1alpha.DataStream.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.class, + com.google.analytics.admin.v1alpha.DataStream.Builder.class); } /** + * + * *
    * The type of the data stream.
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.DataStream.DataStreamType} */ - public enum DataStreamType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type unknown or not specified.
      * 
@@ -68,6 +90,8 @@ public enum DataStreamType */ DATA_STREAM_TYPE_UNSPECIFIED(0), /** + * + * *
      * Web data stream.
      * 
@@ -76,6 +100,8 @@ public enum DataStreamType */ WEB_DATA_STREAM(1), /** + * + * *
      * Android app data stream.
      * 
@@ -84,6 +110,8 @@ public enum DataStreamType */ ANDROID_APP_DATA_STREAM(2), /** + * + * *
      * iOS app data stream.
      * 
@@ -95,6 +123,8 @@ public enum DataStreamType ; /** + * + * *
      * Type unknown or not specified.
      * 
@@ -103,6 +133,8 @@ public enum DataStreamType */ public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Web data stream.
      * 
@@ -111,6 +143,8 @@ public enum DataStreamType */ public static final int WEB_DATA_STREAM_VALUE = 1; /** + * + * *
      * Android app data stream.
      * 
@@ -119,6 +153,8 @@ public enum DataStreamType */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; /** + * + * *
      * iOS app data stream.
      * 
@@ -127,7 +163,6 @@ public enum DataStreamType */ public static final int IOS_APP_DATA_STREAM_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -152,50 +187,51 @@ public static DataStreamType valueOf(int value) { */ public static DataStreamType forNumber(int value) { switch (value) { - case 0: return DATA_STREAM_TYPE_UNSPECIFIED; - case 1: return WEB_DATA_STREAM; - case 2: return ANDROID_APP_DATA_STREAM; - case 3: return IOS_APP_DATA_STREAM; - default: return null; + case 0: + return DATA_STREAM_TYPE_UNSPECIFIED; + case 1: + return WEB_DATA_STREAM; + case 2: + return ANDROID_APP_DATA_STREAM; + case 3: + return IOS_APP_DATA_STREAM; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DataStreamType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataStreamType findValueByNumber(int number) { - return DataStreamType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataStreamType findValueByNumber(int number) { + return DataStreamType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.DataStream.getDescriptor().getEnumTypes().get(0); } private static final DataStreamType[] VALUES = values(); - public static DataStreamType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataStreamType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -212,92 +248,111 @@ private DataStreamType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.DataStream.DataStreamType) } - public interface WebStreamDataOrBuilder extends + public interface WebStreamDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.WebStreamData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ java.lang.String getMeasurementId(); /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ - com.google.protobuf.ByteString - getMeasurementIdBytes(); + com.google.protobuf.ByteString getMeasurementIdBytes(); /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - com.google.protobuf.ByteString - getDefaultUriBytes(); + com.google.protobuf.ByteString getDefaultUriBytes(); } /** + * + * *
    * Data specific to web streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.WebStreamData} */ - public static final class WebStreamData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WebStreamData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.WebStreamData) WebStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebStreamData.newBuilder() to construct. private WebStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebStreamData() { measurementId_ = ""; firebaseAppId_ = ""; @@ -306,39 +361,44 @@ private WebStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DataStream_WebStreamData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); } public static final int MEASUREMENT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object measurementId_ = ""; /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ @java.lang.Override @@ -347,30 +407,30 @@ public java.lang.String getMeasurementId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; } } /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ @java.lang.Override - public com.google.protobuf.ByteString - getMeasurementIdBytes() { + public com.google.protobuf.ByteString getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); measurementId_ = b; return b; } else { @@ -379,15 +439,19 @@ public java.lang.String getMeasurementId() { } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -396,30 +460,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -428,15 +492,19 @@ public java.lang.String getFirebaseAppId() { } public static final int DEFAULT_URI_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object defaultUri_ = ""; /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ @java.lang.Override @@ -445,30 +513,30 @@ public java.lang.String getDefaultUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; } } /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -477,6 +545,7 @@ public java.lang.String getDefaultUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -488,8 +557,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(measurementId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, measurementId_); } @@ -525,19 +593,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.WebStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream.WebStreamData other = (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) obj; + com.google.analytics.admin.v1alpha.DataStream.WebStreamData other = + (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) obj; - if (!getMeasurementId() - .equals(other.getMeasurementId())) return false; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; - if (!getDefaultUri() - .equals(other.getDefaultUri())) return false; + if (!getMeasurementId().equals(other.getMeasurementId())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getDefaultUri().equals(other.getDefaultUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -561,87 +627,94 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( 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.DataStream.WebStreamData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream.WebStreamData prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DataStream.WebStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -651,39 +724,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Data specific to web streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.WebStreamData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream.WebStreamData) com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.class, + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataStream.WebStreamData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -695,13 +770,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.WebStreamData + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance(); } @@ -716,13 +792,17 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.WebStreamData buildPartial() { - com.google.analytics.admin.v1alpha.DataStream.WebStreamData result = new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DataStream.WebStreamData result = + new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.WebStreamData result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DataStream.WebStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.measurementId_ = measurementId_; @@ -739,38 +819,41 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.WebStre public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DataStream.WebStreamData) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.WebStreamData)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) other); } else { super.mergeFrom(other); return this; @@ -778,7 +861,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream.WebStreamData other) { - if (other == com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance()) + return this; if (!other.getMeasurementId().isEmpty()) { measurementId_ = other.measurementId_; bitField0_ |= 0x00000001; @@ -820,27 +905,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - measurementId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - defaultUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + measurementId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + defaultUri_ = 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) { @@ -850,23 +939,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object measurementId_ = ""; /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ public java.lang.String getMeasurementId() { java.lang.Object ref = measurementId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; @@ -875,21 +967,22 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ - public com.google.protobuf.ByteString - getMeasurementIdBytes() { + public com.google.protobuf.ByteString getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); measurementId_ = b; return b; } else { @@ -897,30 +990,37 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMeasurementId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } measurementId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMeasurementId() { @@ -930,18 +1030,22 @@ public Builder clearMeasurementId() { return this; } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); measurementId_ = value; bitField0_ |= 0x00000001; @@ -951,19 +1055,21 @@ public Builder setMeasurementIdBytes( private java.lang.Object firebaseAppId_ = ""; /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -972,21 +1078,22 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -994,30 +1101,37 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } firebaseAppId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -1027,18 +1141,22 @@ public Builder clearFirebaseAppId() { return this; } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000002; @@ -1048,19 +1166,21 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object defaultUri_ = ""; /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ public java.lang.String getDefaultUri() { java.lang.Object ref = defaultUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; @@ -1069,21 +1189,22 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -1091,30 +1212,37 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDefaultUri() { @@ -1124,24 +1252,29 @@ public Builder clearDefaultUri() { return this; } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1154,12 +1287,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream.WebStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream.WebStreamData) - private static final com.google.analytics.admin.v1alpha.DataStream.WebStreamData DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DataStream.WebStreamData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.WebStreamData(); } @@ -1168,27 +1302,28 @@ public static com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebStreamData 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebStreamData 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; @@ -1203,73 +1338,86 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AndroidAppStreamDataOrBuilder extends + public interface AndroidAppStreamDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); } /** + * + * *
    * Data specific to Android app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData} */ - public static final class AndroidAppStreamData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AndroidAppStreamData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) AndroidAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AndroidAppStreamData.newBuilder() to construct. private AndroidAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AndroidAppStreamData() { firebaseAppId_ = ""; packageName_ = ""; @@ -1277,39 +1425,44 @@ private AndroidAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AndroidAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DataStream_AndroidAppStreamData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -1318,30 +1471,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1350,15 +1503,19 @@ public java.lang.String getFirebaseAppId() { } public static final int PACKAGE_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object packageName_ = ""; /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The packageName. */ @java.lang.Override @@ -1367,30 +1524,30 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1399,6 +1556,7 @@ public java.lang.String getPackageName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1410,8 +1568,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -1441,17 +1598,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other = (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) obj; + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other = + (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) obj; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1473,87 +1629,95 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( 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.DataStream.AndroidAppStreamData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData 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.DataStream.AndroidAppStreamData + 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.DataStream.AndroidAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1563,39 +1727,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Data specific to Android app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.class, + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1606,14 +1773,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + .getDefaultInstance(); } @java.lang.Override @@ -1627,13 +1796,17 @@ public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData build( @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData buildPartial() { - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result = new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result = + new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -1647,46 +1820,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.Android public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other) { - if (other == com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData other) { + if (other + == com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + .getDefaultInstance()) return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -1723,22 +1903,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - packageName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + packageName_ = 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) { @@ -1748,23 +1931,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -1773,21 +1959,22 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1795,30 +1982,37 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -1828,18 +2022,22 @@ public Builder clearFirebaseAppId() { return this; } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -1849,19 +2047,21 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object packageName_ = ""; /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1870,21 +2070,22 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1892,30 +2093,37 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPackageName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearPackageName() { @@ -1925,24 +2133,29 @@ public Builder clearPackageName() { return this; } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1955,41 +2168,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) - private static final com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData(); } - public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AndroidAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AndroidAppStreamData 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; @@ -2001,76 +2217,94 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IosAppStreamDataOrBuilder extends + public interface IosAppStreamDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bundleId. */ java.lang.String getBundleId(); /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for bundleId. */ - com.google.protobuf.ByteString - getBundleIdBytes(); + com.google.protobuf.ByteString getBundleIdBytes(); } /** + * + * *
    * Data specific to iOS app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.IosAppStreamData} */ - public static final class IosAppStreamData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IosAppStreamData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) IosAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IosAppStreamData.newBuilder() to construct. private IosAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IosAppStreamData() { firebaseAppId_ = ""; bundleId_ = ""; @@ -2078,39 +2312,44 @@ private IosAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IosAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DataStream_IosAppStreamData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -2119,30 +2358,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2151,15 +2390,21 @@ public java.lang.String getFirebaseAppId() { } public static final int BUNDLE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object bundleId_ = ""; /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bundleId. */ @java.lang.Override @@ -2168,30 +2413,32 @@ public java.lang.String getBundleId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; } } /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for bundleId. */ @java.lang.Override - public com.google.protobuf.ByteString - getBundleIdBytes() { + public com.google.protobuf.ByteString getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2200,6 +2447,7 @@ public java.lang.String getBundleId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2211,8 +2459,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -2242,17 +2489,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other = (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) obj; + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other = + (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) obj; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; - if (!getBundleId() - .equals(other.getBundleId())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getBundleId().equals(other.getBundleId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2274,87 +2520,94 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( 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.DataStream.IosAppStreamData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2364,39 +2617,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Data specific to iOS app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream.IosAppStreamData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.class, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2407,13 +2662,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } @@ -2428,13 +2684,17 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData buildPartial() { - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result = new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result = + new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -2448,46 +2708,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream.IosAppS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other) { - if (other == com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData other) { + if (other + == com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance()) + return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -2524,22 +2790,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - bundleId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + bundleId_ = 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) { @@ -2549,23 +2818,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -2574,21 +2846,22 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2596,30 +2869,37 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -2629,18 +2909,22 @@ public Builder clearFirebaseAppId() { return this; } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -2650,19 +2934,23 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object bundleId_ = ""; /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bundleId. */ public java.lang.String getBundleId() { java.lang.Object ref = bundleId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; @@ -2671,21 +2959,24 @@ public java.lang.String getBundleId() { } } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for bundleId. */ - public com.google.protobuf.ByteString - getBundleIdBytes() { + public com.google.protobuf.ByteString getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2693,30 +2984,41 @@ public java.lang.String getBundleId() { } } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bundleId to set. * @return This builder for chaining. */ - public Builder setBundleId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBundleId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearBundleId() { @@ -2726,24 +3028,31 @@ public Builder clearBundleId() { return this; } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes for bundleId to set. * @return This builder for chaining. */ - public Builder setBundleIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBundleIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2756,41 +3065,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream.IosAppStreamData) - private static final com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData(); } - public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IosAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IosAppStreamData 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; @@ -2802,22 +3114,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int streamDataCase_ = 0; private java.lang.Object streamData_; + public enum StreamDataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEB_STREAM_DATA(6), ANDROID_APP_STREAM_DATA(7), IOS_APP_STREAM_DATA(8), STREAMDATA_NOT_SET(0); private final int value; + private StreamDataCase(int value) { this.value = value; } @@ -2833,32 +3148,39 @@ public static StreamDataCase valueOf(int value) { public static StreamDataCase forNumber(int value) { switch (value) { - case 6: return WEB_STREAM_DATA; - case 7: return ANDROID_APP_STREAM_DATA; - case 8: return IOS_APP_STREAM_DATA; - case 0: return STREAMDATA_NOT_SET; - default: return null; + case 6: + return WEB_STREAM_DATA; + case 7: + return ANDROID_APP_STREAM_DATA; + case 8: + return IOS_APP_STREAM_DATA; + case 0: + return STREAMDATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public StreamDataCase - getStreamDataCase() { - return StreamDataCase.forNumber( - streamDataCase_); + public StreamDataCase getStreamDataCase() { + return StreamDataCase.forNumber(streamDataCase_); } public static final int WEB_STREAM_DATA_FIELD_NUMBER = 6; /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -2866,22 +3188,27 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return The webStreamData. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamData() { if (streamDataCase_ == 6) { - return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance(); } /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -2890,21 +3217,27 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD
    * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
+  public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder
+      getWebStreamDataOrBuilder() {
     if (streamDataCase_ == 6) {
-       return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_;
+      return (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_;
     }
     return com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance();
   }
 
   public static final int ANDROID_APP_STREAM_DATA_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -2912,45 +3245,60 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getAndroidAppStreamData() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + getAndroidAppStreamData() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder + getAndroidAppStreamDataOrBuilder() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); } public static final int IOS_APP_STREAM_DATA_FIELD_NUMBER = 8; /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -2958,41 +3306,52 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppStreamData() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3000,6 +3359,7 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder g
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -3008,14 +3368,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3023,16 +3384,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3043,33 +3403,51 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); - return result == null ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { + com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = + com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); + return result == null + ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED + : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3077,6 +3455,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -3085,14 +3464,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3100,16 +3480,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -3120,11 +3499,15 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -3132,11 +3515,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -3144,11 +3531,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -3158,11 +3548,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3170,11 +3564,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -3182,11 +3580,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3194,6 +3595,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3205,12 +3607,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { @@ -3223,13 +3626,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, getUpdateTime()); } if (streamDataCase_ == 6) { - output.writeMessage(6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); + output.writeMessage( + 6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - output.writeMessage(7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); + output.writeMessage( + 7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - output.writeMessage(8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); + output.writeMessage( + 8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); } getUnknownFields().writeTo(output); } @@ -3243,32 +3649,34 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.analytics.admin.v1alpha.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (streamDataCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3278,41 +3686,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataStream other = (com.google.analytics.admin.v1alpha.DataStream) obj; + com.google.analytics.admin.v1alpha.DataStream other = + (com.google.analytics.admin.v1alpha.DataStream) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getStreamDataCase().equals(other.getStreamDataCase())) return false; switch (streamDataCase_) { case 6: - if (!getWebStreamData() - .equals(other.getWebStreamData())) return false; + if (!getWebStreamData().equals(other.getWebStreamData())) return false; break; case 7: - if (!getAndroidAppStreamData() - .equals(other.getAndroidAppStreamData())) return false; + if (!getAndroidAppStreamData().equals(other.getAndroidAppStreamData())) return false; break; case 8: - if (!getIosAppStreamData() - .equals(other.getIosAppStreamData())) return false; + if (!getIosAppStreamData().equals(other.getIosAppStreamData())) return false; break; case 0: default: @@ -3363,130 +3765,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.DataStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( 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.DataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a data stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DataStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataStream) com.google.analytics.admin.v1alpha.DataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DataStream.class, com.google.analytics.admin.v1alpha.DataStream.Builder.class); + com.google.analytics.admin.v1alpha.DataStream.class, + com.google.analytics.admin.v1alpha.DataStream.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DataStream.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3519,9 +3927,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; } @java.lang.Override @@ -3540,8 +3948,11 @@ public com.google.analytics.admin.v1alpha.DataStream build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream buildPartial() { - com.google.analytics.admin.v1alpha.DataStream result = new com.google.analytics.admin.v1alpha.DataStream(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DataStream result = + new com.google.analytics.admin.v1alpha.DataStream(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3559,30 +3970,23 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataStream result) result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } private void buildPartialOneofs(com.google.analytics.admin.v1alpha.DataStream result) { result.streamDataCase_ = streamDataCase_; result.streamData_ = this.streamData_; - if (streamDataCase_ == 6 && - webStreamDataBuilder_ != null) { + if (streamDataCase_ == 6 && webStreamDataBuilder_ != null) { result.streamData_ = webStreamDataBuilder_.build(); } - if (streamDataCase_ == 7 && - androidAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 7 && androidAppStreamDataBuilder_ != null) { result.streamData_ = androidAppStreamDataBuilder_.build(); } - if (streamDataCase_ == 8 && - iosAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 8 && iosAppStreamDataBuilder_ != null) { result.streamData_ = iosAppStreamDataBuilder_.build(); } } @@ -3591,38 +3995,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.DataStream re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DataStream) { - return mergeFrom((com.google.analytics.admin.v1alpha.DataStream)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DataStream) other); } else { super.mergeFrom(other); return this; @@ -3651,21 +4056,25 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataStream other) { mergeUpdateTime(other.getUpdateTime()); } switch (other.getStreamDataCase()) { - case WEB_STREAM_DATA: { - mergeWebStreamData(other.getWebStreamData()); - break; - } - case ANDROID_APP_STREAM_DATA: { - mergeAndroidAppStreamData(other.getAndroidAppStreamData()); - break; - } - case IOS_APP_STREAM_DATA: { - mergeIosAppStreamData(other.getIosAppStreamData()); - break; - } - case STREAMDATA_NOT_SET: { - break; - } + case WEB_STREAM_DATA: + { + mergeWebStreamData(other.getWebStreamData()); + break; + } + case ANDROID_APP_STREAM_DATA: + { + mergeAndroidAppStreamData(other.getAndroidAppStreamData()); + break; + } + case IOS_APP_STREAM_DATA: + { + mergeIosAppStreamData(other.getIosAppStreamData()); + break; + } + case STREAMDATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3693,62 +4102,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 16 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 50: { - input.readMessage( - getWebStreamDataFieldBuilder().getBuilder(), - extensionRegistry); - streamDataCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getAndroidAppStreamDataFieldBuilder().getBuilder(), - extensionRegistry); - streamDataCase_ = 7; - break; - } // case 58 - case 66: { - input.readMessage( - getIosAppStreamDataFieldBuilder().getBuilder(), - extensionRegistry); - streamDataCase_ = 8; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 16 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 50: + { + input.readMessage(getWebStreamDataFieldBuilder().getBuilder(), extensionRegistry); + streamDataCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage( + getAndroidAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); + streamDataCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage( + getIosAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); + streamDataCase_ = 8; + 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) { @@ -3758,12 +4168,12 @@ public Builder mergeFrom( } // finally return this; } + private int streamDataCase_ = 0; private java.lang.Object streamData_; - public StreamDataCase - getStreamDataCase() { - return StreamDataCase.forNumber( - streamDataCase_); + + public StreamDataCase getStreamDataCase() { + return StreamDataCase.forNumber(streamDataCase_); } public Builder clearStreamData() { @@ -3776,14 +4186,20 @@ public Builder clearStreamData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.WebStreamData, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder> webStreamDataBuilder_; + com.google.analytics.admin.v1alpha.DataStream.WebStreamData, + com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, + com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder> + webStreamDataBuilder_; /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -3791,12 +4207,15 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return The webStreamData. */ @java.lang.Override @@ -3814,6 +4233,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD } } /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3821,7 +4242,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD
      *
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder setWebStreamData(com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
+    public Builder setWebStreamData(
+        com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3835,6 +4257,8 @@ public Builder setWebStreamData(com.google.analytics.admin.v1alpha.DataStream.We
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3854,6 +4278,8 @@ public Builder setWebStreamData(
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3861,12 +4287,18 @@ public Builder setWebStreamData(
      *
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder mergeWebStreamData(com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
+    public Builder mergeWebStreamData(
+        com.google.analytics.admin.v1alpha.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
-        if (streamDataCase_ == 6 &&
-            streamData_ != com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance()) {
-          streamData_ = com.google.analytics.admin.v1alpha.DataStream.WebStreamData.newBuilder((com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_)
-              .mergeFrom(value).buildPartial();
+        if (streamDataCase_ == 6
+            && streamData_
+                != com.google.analytics.admin.v1alpha.DataStream.WebStreamData
+                    .getDefaultInstance()) {
+          streamData_ =
+              com.google.analytics.admin.v1alpha.DataStream.WebStreamData.newBuilder(
+                      (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           streamData_ = value;
         }
@@ -3882,6 +4314,8 @@ public Builder mergeWebStreamData(com.google.analytics.admin.v1alpha.DataStream.
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3906,6 +4340,8 @@ public Builder clearWebStreamData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3913,10 +4349,13 @@ public Builder clearWebStreamData() {
      *
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
-    public com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder getWebStreamDataBuilder() {
+    public com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder
+        getWebStreamDataBuilder() {
       return getWebStreamDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3925,7 +4364,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder getWe
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
+    public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder
+        getWebStreamDataOrBuilder() {
       if ((streamDataCase_ == 6) && (webStreamDataBuilder_ != null)) {
         return webStreamDataBuilder_.getMessageOrBuilder();
       } else {
@@ -3936,6 +4376,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getW
       }
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3944,14 +4386,20 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getW
      * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.DataStream.WebStreamData, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder> 
+            com.google.analytics.admin.v1alpha.DataStream.WebStreamData,
+            com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder,
+            com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder>
         getWebStreamDataFieldBuilder() {
       if (webStreamDataBuilder_ == null) {
         if (!(streamDataCase_ == 6)) {
-          streamData_ = com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance();
+          streamData_ =
+              com.google.analytics.admin.v1alpha.DataStream.WebStreamData.getDefaultInstance();
         }
-        webStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.DataStream.WebStreamData, com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder>(
+        webStreamDataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.DataStream.WebStreamData,
+                com.google.analytics.admin.v1alpha.DataStream.WebStreamData.Builder,
+                com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder>(
                 (com.google.analytics.admin.v1alpha.DataStream.WebStreamData) streamData_,
                 getParentForChildren(),
                 isClean());
@@ -3963,14 +4411,22 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getW
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder> androidAppStreamDataBuilder_;
+            com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData,
+            com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder,
+            com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder>
+        androidAppStreamDataBuilder_;
     /**
+     *
+     *
      * 
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -3978,37 +4434,50 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getAndroidAppStreamData() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + getAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + .getDefaultInstance(); } else { if (streamDataCase_ == 7) { return androidAppStreamDataBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + .getDefaultInstance(); } } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - public Builder setAndroidAppStreamData(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { + public Builder setAndroidAppStreamData( + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4022,15 +4491,20 @@ public Builder setAndroidAppStreamData(com.google.analytics.admin.v1alpha.DataSt return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ public Builder setAndroidAppStreamData( - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder builderForValue) { + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder + builderForValue) { if (androidAppStreamDataBuilder_ == null) { streamData_ = builderForValue.build(); onChanged(); @@ -4041,19 +4515,30 @@ public Builder setAndroidAppStreamData( return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - public Builder mergeAndroidAppStreamData(com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { + public Builder mergeAndroidAppStreamData( + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 7 && - streamData_ != com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance()) { - streamData_ = com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder((com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_) - .mergeFrom(value).buildPartial(); + if (streamDataCase_ == 7 + && streamData_ + != com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + .getDefaultInstance()) { + streamData_ = + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.newBuilder( + (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) + streamData_) + .mergeFrom(value) + .buildPartial(); } else { streamData_ = value; } @@ -4069,12 +4554,16 @@ public Builder mergeAndroidAppStreamData(com.google.analytics.admin.v1alpha.Data return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ public Builder clearAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { @@ -4093,52 +4582,74 @@ public Builder clearAndroidAppStreamData() { return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder getAndroidAppStreamDataBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder + getAndroidAppStreamDataBuilder() { return getAndroidAppStreamDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder + getAndroidAppStreamDataOrBuilder() { if ((streamDataCase_ == 7) && (androidAppStreamDataBuilder_ != null)) { return androidAppStreamDataBuilder_.getMessageOrBuilder(); } else { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + .getDefaultInstance(); } } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder> + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder> getAndroidAppStreamDataFieldBuilder() { if (androidAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 7)) { - streamData_ = com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.getDefaultInstance(); + streamData_ = + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + .getDefaultInstance(); } - androidAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder>( + androidAppStreamDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData, + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData.Builder, + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder>( (com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4150,14 +4661,21 @@ public com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> iosAppStreamDataBuilder_; + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> + iosAppStreamDataBuilder_; /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -4165,12 +4683,16 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ @java.lang.Override @@ -4188,14 +4710,18 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppS } } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - public Builder setIosAppStreamData(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { + public Builder setIosAppStreamData( + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4209,12 +4735,15 @@ public Builder setIosAppStreamData(com.google.analytics.admin.v1alpha.DataStream return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ public Builder setIosAppStreamData( com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder builderForValue) { @@ -4228,19 +4757,28 @@ public Builder setIosAppStreamData( return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - public Builder mergeIosAppStreamData(com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { + public Builder mergeIosAppStreamData( + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 8 && - streamData_ != com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance()) { - streamData_ = com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.newBuilder((com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_) - .mergeFrom(value).buildPartial(); + if (streamDataCase_ == 8 + && streamData_ + != com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData + .getDefaultInstance()) { + streamData_ = + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.newBuilder( + (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_) + .mergeFrom(value) + .buildPartial(); } else { streamData_ = value; } @@ -4256,12 +4794,15 @@ public Builder mergeIosAppStreamData(com.google.analytics.admin.v1alpha.DataStre return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ public Builder clearIosAppStreamData() { if (iosAppStreamDataBuilder_ == null) { @@ -4280,26 +4821,34 @@ public Builder clearIosAppStreamData() { return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder getIosAppStreamDataBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder + getIosAppStreamDataBuilder() { return getIosAppStreamDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder() { if ((streamDataCase_ == 8) && (iosAppStreamDataBuilder_ != null)) { return iosAppStreamDataBuilder_.getMessageOrBuilder(); } else { @@ -4310,22 +4859,31 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder g } } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder> getIosAppStreamDataFieldBuilder() { if (iosAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 8)) { - streamData_ = com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); + streamData_ = + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.getDefaultInstance(); } - iosAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder>( + iosAppStreamDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData.Builder, + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder>( (com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4338,6 +4896,8 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder g private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4345,13 +4905,13 @@ public com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder g
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4360,6 +4920,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4367,15 +4929,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4383,6 +4944,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4390,18 +4953,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4409,6 +4976,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -4418,6 +4986,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4425,12 +4995,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -4440,22 +5012,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4466,24 +5049,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); - return result == null ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.DataStream.DataStreamType result = + com.google.analytics.admin.v1alpha.DataStream.DataStreamType.forNumber(type_); + return result == null + ? com.google.analytics.admin.v1alpha.DataStream.DataStreamType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -4497,11 +5093,16 @@ public Builder setType(com.google.analytics.admin.v1alpha.DataStream.DataStreamT return this; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -4513,6 +5114,8 @@ public Builder clearType() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4520,13 +5123,13 @@ public Builder clearType() {
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -4535,6 +5138,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4542,15 +5147,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -4558,6 +5162,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4565,18 +5171,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4584,6 +5194,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4593,6 +5204,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4600,12 +5213,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -4615,39 +5230,58 @@ public Builder setDisplayNameBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4663,14 +5297,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -4681,17 +5318,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -4704,11 +5345,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4721,11 +5366,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; @@ -4733,36 +5382,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -4770,39 +5431,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4818,14 +5498,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -4836,17 +5519,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4859,11 +5546,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4876,11 +5567,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000080; @@ -4888,43 +5583,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4934,12 +5641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataStream) private static final com.google.analytics.admin.v1alpha.DataStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataStream(); } @@ -4948,27 +5655,27 @@ public static com.google.analytics.admin.v1alpha.DataStream getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataStream 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataStream 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; @@ -4983,6 +5690,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java index c3fa020f4c1b..fdcad603f32b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataStreamOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DataStreamOrBuilder extends +public interface DataStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return Whether the webStreamData field is set. */ boolean hasWebStreamData(); /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * * @return The webStreamData. */ com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamData(); /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -38,66 +62,95 @@ public interface DataStreamOrBuilder extends
   com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder();
 
   /**
+   *
+   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return Whether the androidAppStreamData field is set. */ boolean hasAndroidAppStreamData(); /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return The androidAppStreamData. */ com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData getAndroidAppStreamData(); /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder(); + com.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataOrBuilder + getAndroidAppStreamDataOrBuilder(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return Whether the iosAppStreamData field is set. */ boolean hasIosAppStreamData(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ com.google.analytics.admin.v1alpha.DataStream.IosAppStreamData getIosAppStreamData(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder(); + com.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder(); /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -105,10 +158,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -116,31 +172,43 @@ public interface DataStreamOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.analytics.admin.v1alpha.DataStream.DataStreamType getType(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -148,10 +216,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -159,62 +230,84 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java index 9dd967b9e813..219f1054fa93 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccountRequest} */ -public final class DeleteAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAccountRequest) DeleteAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAccountRequest.newBuilder() to construct. private DeleteAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteAccountRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, + com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteAccountRequest other = (com.google.analytics.admin.v1alpha.DeleteAccountRequest) obj; + com.google.analytics.admin.v1alpha.DeleteAccountRequest other = + (com.google.analytics.admin.v1alpha.DeleteAccountRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( 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.DeleteAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteAccountRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccountRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteAccountRequest) com.google.analytics.admin.v1alpha.DeleteAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, + com.google.analytics.admin.v1alpha.DeleteAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteAccountRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.analytics.admin.v1alpha.DeleteAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteAccountRequest result = new com.google.analytics.admin.v1alpha.DeleteAccountRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteAccountRequest result = + new com.google.analytics.admin.v1alpha.DeleteAccountRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteAccountReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAccountRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAccountRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteAccountRequest) private static final com.google.analytics.admin.v1alpha.DeleteAccountRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteAccountRequest(); } @@ -554,27 +620,27 @@ public static com.google.analytics.admin.v1alpha.DeleteAccountRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAccountRequest 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java new file mode 100644 index 000000000000..803366408a75 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.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 DeleteAccountRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java index 9fcefc7e0c8e..832c1856844d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConversionEventRequest} */ -public final class DeleteConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteConversionEventRequest) DeleteConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteConversionEventRequest.newBuilder() to construct. private DeleteConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteConversionEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other = (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other = + (com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( 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.DeleteConversionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConversionEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteConversionEventRequest) com.google.analytics.admin.v1alpha.DeleteConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,13 +330,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance(); } @@ -317,13 +352,17 @@ public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result = new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result = + new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +373,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteConversionEv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +448,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +470,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +501,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +527,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +573,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +610,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.DeleteConversionEventRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteConversionEventRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteConversionEventRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteConversionEventRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConversionEventRequest 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; @@ -586,9 +658,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConversionEventRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..251995e662a9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.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 DeleteConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java index 7c9903514d1e..97597eb27f19 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDataStreamRequest} */ -public final class DeleteDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDataStreamRequest) DeleteDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDataStreamRequest.newBuilder() to construct. private DeleteDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other = (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other = + (com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( 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.DeleteDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDataStreamRequest) com.google.analytics.admin.v1alpha.DeleteDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest result = new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest result = + new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteDataStreamRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDataStreamRequest) private static final com.google.analytics.admin.v1alpha.DeleteDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteDataStreamRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1alpha.DeleteDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataStreamRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..36a590e40033 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.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 DeleteDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/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 DataStream to delete.
+   * Example format: properties/1234/dataStreams/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/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java new file mode 100644 index 000000000000..2673a1b1f1f1 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,709 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteDisplayVideo360AdvertiserLinkProposal RPC.
+ * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} + */ +public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. + private DeleteDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + } + + @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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest)) { + return super.equals(obj); + } + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest other = + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) 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 + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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 + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + parseFrom( + 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 + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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 + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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 + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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 + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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 + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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 DeleteDisplayVideo360AdvertiserLinkProposal RPC.
+   * 
+ * + * Protobuf type {@code + * google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); + } + + // Construct using + // com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + build() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + buildPartial() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = + new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + .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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + private static final com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest(); + } + + public static com.google.analytics.admin.v1alpha + .DeleteDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + DeleteDisplayVideo360AdvertiserLinkProposalRequest> + PARSER = + new com.google.protobuf.AbstractParser< + DeleteDisplayVideo360AdvertiserLinkProposalRequest>() { + @java.lang.Override + public DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..ae5ef0852d88 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.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 DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java similarity index 53% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java index 339a4e7b152e..17a2deed0da8 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.java @@ -1,63 +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/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for DeleteDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest} */ -public final class DeleteDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the DisplayVideo360AdvertiserLink to delete.
    * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +94,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the DisplayVideo360AdvertiserLink to delete.
    * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +164,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +192,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + 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.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + parseFrom( + 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.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + 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.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest 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.DeleteDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + 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.DeleteDisplayVideo360AdvertiserLinkRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + 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.DeleteDisplayVideo360AdvertiserLinkRequest + 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.DeleteDisplayVideo360AdvertiserLinkRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,19 +340,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -314,14 +363,19 @@ public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkReq } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +386,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteDisplayVideo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +464,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +486,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +516,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +541,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +585,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to delete.
      * Example format: properties/1234/displayVideo360AdvertiserLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +621,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDisplayVideo360AdvertiserLinkRequest 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; @@ -579,9 +672,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..0bbad963fc87 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.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 DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/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 DisplayVideo360AdvertiserLink to delete.
+   * Example format: properties/1234/displayVideo360AdvertiserLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java index 99ba2c5ec2d5..ab11e5928b6d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest} */ -public final class DeleteFirebaseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) DeleteFirebaseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFirebaseLinkRequest.newBuilder() to construct. private DeleteFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteFirebaseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteFirebaseLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( 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.DeleteFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteFirebaseLink public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +411,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +445,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +467,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +497,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +522,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +566,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +602,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest(); } @@ -547,27 +617,27 @@ public static com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFirebaseLinkRequest 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; @@ -582,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..193768464685 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.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 DeleteFirebaseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java index e5fcd6b4806f..1c1683ab9146 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteGoogleAdsLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest} */ -public final class DeleteGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) DeleteGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteGoogleAdsLinkRequest.newBuilder() to construct. private DeleteGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteGoogleAdsLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteGoogleAdsLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( 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.DeleteGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteGoogleAdsLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +443,19 @@ public Builder mergeFrom( 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: + 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) { @@ -421,22 +465,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +494,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +518,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +560,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +595,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest(); } @@ -540,27 +610,27 @@ public static com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGoogleAdsLinkRequest 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; @@ -575,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..7a0b60649f20 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteGoogleAdsLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java similarity index 57% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java index eff270b434fe..445d5ac25fb3 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequest.java @@ -1,64 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest} */ -public final class DeleteMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) DeleteMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteMeasurementProtocolSecretRequest.newBuilder() to construct. - private DeleteMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +95,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +130,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +166,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +195,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( 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.DeleteMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest 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.DeleteMeasurementProtocolSecretRequest + 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.DeleteMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,19 +337,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -316,14 +360,19 @@ public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + buildPartial() { + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +383,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteMeasurementP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +460,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +482,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +513,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +539,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +585,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +622,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMeasurementProtocolSecretRequest 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; @@ -586,9 +671,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..eaf860fd5a70 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.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 DeleteMeasurementProtocolSecretRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java index d4507406fd28..76c878107298 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeletePropertyRequest} */ -public final class DeletePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeletePropertyRequest) DeletePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePropertyRequest.newBuilder() to construct. private DeletePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeletePropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, + com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeletePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeletePropertyRequest other = (com.google.analytics.admin.v1alpha.DeletePropertyRequest) obj; + com.google.analytics.admin.v1alpha.DeletePropertyRequest other = + (com.google.analytics.admin.v1alpha.DeletePropertyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( 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.DeletePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeletePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeletePropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeletePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeletePropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeletePropertyRequest) com.google.analytics.admin.v1alpha.DeletePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, + com.google.analytics.admin.v1alpha.DeletePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeletePropertyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.analytics.admin.v1alpha.DeletePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeletePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeletePropertyRequest result = new com.google.analytics.admin.v1alpha.DeletePropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeletePropertyRequest result = + new com.google.analytics.admin.v1alpha.DeletePropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeletePropertyRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeletePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeletePropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeletePropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeletePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeletePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeletePropertyRequest) private static final com.google.analytics.admin.v1alpha.DeletePropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeletePropertyRequest(); } @@ -554,27 +620,27 @@ public static com.google.analytics.admin.v1alpha.DeletePropertyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePropertyRequest 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeletePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..a987d0fcd9e9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.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 DeletePropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeletePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequest.java index 5bb04cb2a7db..4938518abe83 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 +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; + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSearchAds360LinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the SearchAds360Link to delete.
    * Example format: properties/1234/SearchAds360Links/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest other = (com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteSearchAds360Link RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @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; + 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() { + public com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest build() @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +371,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteSearchAds360 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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; @@ -403,17 +446,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +468,28 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +498,24 @@ public 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +523,41 @@ public 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) = { ... } + * + * 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(); } + 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +567,33 @@ public Builder clearName() { 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) = { ... } + * + * 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +603,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + 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(); - } - }; + 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; @@ -579,9 +651,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest getDefaultInstanceForType() { + 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java index b21f69c0a085..8edbf4539a41 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 DeleteUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ -public final class DeleteUserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) DeleteUserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteUserLinkRequest.newBuilder() to construct. private DeleteUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DeleteUserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( 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.DeleteUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteUserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteUserLinkRequest) com.google.analytics.admin.v1alpha.DeleteUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteUserLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteUserLinkRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DeleteUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( 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: + 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) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +557,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteUserLinkRequest) private static final com.google.analytics.admin.v1alpha.DeleteUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteUserLinkRequest(); } @@ -540,27 +606,27 @@ public static com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserLinkRequest 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; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..d264010fd656 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface DeleteUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLink.java index a13b09ca945b..204999386a5a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A link between a GA4 property and a Display & Video 360 advertiser.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink} */ -public final class DisplayVideo360AdvertiserLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DisplayVideo360AdvertiserLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) DisplayVideo360AdvertiserLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DisplayVideo360AdvertiserLink.newBuilder() to construct. private DisplayVideo360AdvertiserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DisplayVideo360AdvertiserLink() { name_ = ""; advertiserId_ = ""; @@ -27,33 +45,37 @@ private DisplayVideo360AdvertiserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DisplayVideo360AdvertiserLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_DisplayVideo360AdvertiserLink_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder.class); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.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 DisplayVideo360AdvertiserLink
    * resource. Format:
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink
    * resource. Format:
@@ -86,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,14 +127,18 @@ public java.lang.String getName() { } public static final int ADVERTISER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object advertiserId_ = ""; /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The advertiserId. */ @java.lang.Override @@ -120,29 +147,29 @@ public java.lang.String getAdvertiserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; } } /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for advertiserId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -151,14 +178,18 @@ public java.lang.String getAdvertiserId() { } public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object advertiserDisplayName_ = ""; /** + * + * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The advertiserDisplayName. */ @java.lang.Override @@ -167,29 +198,29 @@ public java.lang.String getAdvertiserDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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 Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for advertiserDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -200,12 +231,15 @@ public java.lang.String getAdvertiserDisplayName() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 4; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** + * + * *
    * 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; + * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -213,19 +247,26 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** + * + * *
    * 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; + * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } /** + * + * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
@@ -235,12 +276,16 @@ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() {
-    return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+    return adsPersonalizationEnabled_ == null
+        ? com.google.protobuf.BoolValue.getDefaultInstance()
+        : adsPersonalizationEnabled_;
   }
 
   public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER = 5;
   private com.google.protobuf.BoolValue campaignDataSharingEnabled_;
   /**
+   *
+   *
    * 
    * Immutable. Enables the import of campaign data from Display & Video 360
    * into the GA4 property. After link creation, this can only be updated from
@@ -248,7 +293,10 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
    * will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ @java.lang.Override @@ -256,6 +304,8 @@ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabled_ != null; } /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360
    * into the GA4 property. After link creation, this can only be updated from
@@ -263,14 +313,21 @@ public boolean hasCampaignDataSharingEnabled() {
    * will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.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_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } /** + * + * *
    * Immutable. Enables the import of campaign data from Display & Video 360
    * into the GA4 property. After link creation, this can only be updated from
@@ -278,16 +335,22 @@ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() {
    * will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { - return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER = 6; private com.google.protobuf.BoolValue costDataSharingEnabled_; /** + * + * *
    * 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
@@ -296,7 +359,10 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui
    * defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the costDataSharingEnabled field is set. */ @java.lang.Override @@ -304,6 +370,8 @@ public boolean hasCostDataSharingEnabled() { return costDataSharingEnabled_ != null; } /** + * + * *
    * 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
@@ -312,14 +380,21 @@ public boolean hasCostDataSharingEnabled() {
    * defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.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_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } /** + * + * *
    * 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
@@ -328,14 +403,19 @@ public com.google.protobuf.BoolValue getCostDataSharingEnabled() {
    * defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { - return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +427,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -386,16 +465,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, advertiserDisplayName_); } if (adsPersonalizationEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAdsPersonalizationEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getAdsPersonalizationEnabled()); } if (campaignDataSharingEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCampaignDataSharingEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getCampaignDataSharingEnabled()); } if (costDataSharingEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCostDataSharingEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCostDataSharingEnabled()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,33 +486,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) obj; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other = + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAdvertiserId() - .equals(other.getAdvertiserId())) return false; - if (!getAdvertiserDisplayName() - .equals(other.getAdvertiserDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAdvertiserId().equals(other.getAdvertiserId())) 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 (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) + return false; } if (hasCampaignDataSharingEnabled() != other.hasCampaignDataSharingEnabled()) return false; if (hasCampaignDataSharingEnabled()) { - if (!getCampaignDataSharingEnabled() - .equals(other.getCampaignDataSharingEnabled())) return false; + if (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled())) + return false; } if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false; if (hasCostDataSharingEnabled()) { - if (!getCostDataSharingEnabled() - .equals(other.getCostDataSharingEnabled())) return false; + if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -468,129 +546,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( 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.DisplayVideo360AdvertiserLink parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A link between a GA4 property and a Display & Video 360 advertiser.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder.class); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -617,13 +702,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance(); } @@ -638,13 +724,17 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink build() @java.lang.Override public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink buildPartial() { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result = + new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -656,19 +746,22 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360Adv result.advertiserDisplayName_ = advertiserDisplayName_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null - ? adsPersonalizationEnabled_ - : adsPersonalizationEnabledBuilder_.build(); + result.adsPersonalizationEnabled_ = + adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.campaignDataSharingEnabled_ = campaignDataSharingEnabledBuilder_ == null - ? campaignDataSharingEnabled_ - : campaignDataSharingEnabledBuilder_.build(); + result.campaignDataSharingEnabled_ = + campaignDataSharingEnabledBuilder_ == null + ? campaignDataSharingEnabled_ + : campaignDataSharingEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.costDataSharingEnabled_ = costDataSharingEnabledBuilder_ == null - ? costDataSharingEnabled_ - : costDataSharingEnabledBuilder_.build(); + result.costDataSharingEnabled_ = + costDataSharingEnabledBuilder_ == null + ? costDataSharingEnabled_ + : costDataSharingEnabledBuilder_.build(); } } @@ -676,46 +769,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360Adv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DisplayVideo360AdvertiserLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other) { - if (other == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink other) { + if (other + == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -766,48 +863,52 @@ public Builder mergeFrom( 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: { - advertiserDisplayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getAdsPersonalizationEnabledFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getCampaignDataSharingEnabledFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getCostDataSharingEnabledFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + advertiserId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + advertiserDisplayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage( + getCampaignDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage( + getCostDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + 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) { @@ -817,10 +918,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -829,13 +933,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -844,6 +948,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -852,15 +958,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -868,6 +973,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -876,18 +983,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -896,6 +1007,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -905,6 +1017,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -913,12 +1027,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -928,18 +1044,20 @@ public Builder setNameBytes( private java.lang.Object advertiserId_ = ""; /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; @@ -948,20 +1066,21 @@ public java.lang.String getAdvertiserId() { } } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for advertiserId. */ - public com.google.protobuf.ByteString - getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -969,28 +1088,35 @@ public java.lang.String getAdvertiserId() { } } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); } + public Builder setAdvertiserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } advertiserId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearAdvertiserId() { @@ -1000,17 +1126,21 @@ public Builder clearAdvertiserId() { return this; } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); } + public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); advertiserId_ = value; bitField0_ |= 0x00000002; @@ -1020,18 +1150,20 @@ public Builder setAdvertiserIdBytes( private java.lang.Object advertiserDisplayName_ = ""; /** + * + * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserDisplayName_ = s; return s; @@ -1040,20 +1172,21 @@ public java.lang.String getAdvertiserDisplayName() { } } /** + * + * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for advertiserDisplayName. */ - public com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -1061,28 +1194,35 @@ public java.lang.String getAdvertiserDisplayName() { } } /** + * + * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.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(); } + public Builder setAdvertiserDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } advertiserDisplayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAdvertiserDisplayName() { @@ -1092,17 +1232,21 @@ public Builder clearAdvertiserDisplayName() { return this; } /** + * + * *
      * Output only. The display name of the Display & Video 360 Advertiser.
      * 
* * string advertiser_display_name = 3 [(.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(); } + public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); advertiserDisplayName_ = value; bitField0_ |= 0x00000004; @@ -1112,36 +1256,49 @@ public Builder setAdvertiserDisplayNameBytes( 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_; + 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/update, it will be defaulted to true.
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 4; + * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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; + * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + 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/update, it will be defaulted to true.
@@ -1163,6 +1320,8 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1182,6 +1341,8 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1191,9 +1352,9 @@ public Builder setAdsPersonalizationEnabled(
      */
     public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          adsPersonalizationEnabled_ != null &&
-          adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && adsPersonalizationEnabled_ != null
+            && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getAdsPersonalizationEnabledBuilder().mergeFrom(value);
         } else {
           adsPersonalizationEnabled_ = value;
@@ -1206,6 +1367,8 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1224,6 +1387,8 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1237,6 +1402,8 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1248,11 +1415,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : adsPersonalizationEnabled_;
       }
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create/update, it will be defaulted to true.
@@ -1261,14 +1431,17 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         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());
+        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_;
@@ -1276,8 +1449,13 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     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_;
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
+        campaignDataSharingEnabledBuilder_;
     /**
+     *
+     *
      * 
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1285,13 +1463,18 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ public boolean hasCampaignDataSharingEnabled() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1299,17 +1482,24 @@ public boolean hasCampaignDataSharingEnabled() {
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.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_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } else { return campaignDataSharingEnabledBuilder_.getMessage(); } } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1317,7 +1507,9 @@ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() {
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { @@ -1333,6 +1525,8 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value return this; } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1340,7 +1534,9 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCampaignDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1354,6 +1550,8 @@ public Builder setCampaignDataSharingEnabled( return this; } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1361,13 +1559,15 @@ public Builder setCampaignDataSharingEnabled(
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - campaignDataSharingEnabled_ != null && - campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && campaignDataSharingEnabled_ != null + && campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCampaignDataSharingEnabledBuilder().mergeFrom(value); } else { campaignDataSharingEnabled_ = value; @@ -1380,6 +1580,8 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val return this; } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1387,7 +1589,9 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCampaignDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1400,6 +1604,8 @@ public Builder clearCampaignDataSharingEnabled() { return this; } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1407,7 +1613,9 @@ public Builder clearCampaignDataSharingEnabled() {
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { bitField0_ |= 0x00000010; @@ -1415,6 +1623,8 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde return getCampaignDataSharingEnabledFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1422,17 +1632,22 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.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_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } } /** + * + * *
      * Immutable. Enables the import of campaign data from Display & Video 360
      * into the GA4 property. After link creation, this can only be updated from
@@ -1440,17 +1655,22 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui
      * will be defaulted to true.
      * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; @@ -1458,8 +1678,13 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + costDataSharingEnabledBuilder_; /** + * + * *
      * 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
@@ -1468,13 +1693,18 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the costDataSharingEnabled field is set. */ public boolean hasCostDataSharingEnabled() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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
@@ -1483,17 +1713,24 @@ public boolean hasCostDataSharingEnabled() {
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.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_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } else { return costDataSharingEnabledBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -1502,7 +1739,9 @@ public com.google.protobuf.BoolValue getCostDataSharingEnabled() {
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { @@ -1518,6 +1757,8 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { return this; } /** + * + * *
      * 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
@@ -1526,7 +1767,9 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) {
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCostDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1540,6 +1783,8 @@ public Builder setCostDataSharingEnabled( return this; } /** + * + * *
      * 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
@@ -1548,13 +1793,15 @@ public Builder setCostDataSharingEnabled(
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - costDataSharingEnabled_ != null && - costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && costDataSharingEnabled_ != null + && costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCostDataSharingEnabledBuilder().mergeFrom(value); } else { costDataSharingEnabled_ = value; @@ -1567,6 +1814,8 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) return this; } /** + * + * *
      * 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
@@ -1575,7 +1824,9 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value)
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCostDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1588,6 +1839,8 @@ public Builder clearCostDataSharingEnabled() { return this; } /** + * + * *
      * 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
@@ -1596,7 +1849,9 @@ public Builder clearCostDataSharingEnabled() {
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { bitField0_ |= 0x00000020; @@ -1604,6 +1859,8 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() return getCostDataSharingEnabledFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -1612,17 +1869,22 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder()
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.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_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } } /** + * + * *
      * 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
@@ -1631,24 +1893,29 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder
      * defaulted to true.
      * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1658,41 +1925,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) - private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink(); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DisplayVideo360AdvertiserLink 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DisplayVideo360AdvertiserLink 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; @@ -1704,9 +1973,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 76% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkOrBuilder.java index 4d23671469a2..190292a01cb3 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DisplayVideo360AdvertiserLinkOrBuilder extends +public interface DisplayVideo360AdvertiserLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink
    * resource. Format:
@@ -16,10 +34,13 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name for this DisplayVideo360AdvertiserLink
    * resource. Format:
@@ -28,72 +49,90 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The advertiserId. */ java.lang.String getAdvertiserId(); /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for advertiserId. */ - com.google.protobuf.ByteString - getAdvertiserIdBytes(); + com.google.protobuf.ByteString getAdvertiserIdBytes(); /** + * + * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The advertiserDisplayName. */ java.lang.String getAdvertiserDisplayName(); /** + * + * *
    * Output only. The display name of the Display & Video 360 Advertiser.
    * 
* * string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for advertiserDisplayName. */ - com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes(); + com.google.protobuf.ByteString getAdvertiserDisplayNameBytes(); /** + * + * *
    * 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; + * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** + * + * *
    * 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; + * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** + * + * *
    * Enables personalized advertising features with this integration.
    * If this field is not set on create/update, it will be defaulted to true.
@@ -104,6 +143,8 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
+   *
+   *
    * 
    * Immutable. Enables the import of campaign data from Display & Video 360
    * into the GA4 property. After link creation, this can only be updated from
@@ -111,11 +152,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ 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
@@ -123,11 +169,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The campaignDataSharingEnabled. */ 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
@@ -135,11 +186,15 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * will be defaulted to true.
    * 
* - * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); /** + * + * *
    * 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
@@ -148,11 +203,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the costDataSharingEnabled field is set. */ 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
@@ -161,11 +221,16 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The costDataSharingEnabled. */ 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
@@ -174,7 +239,9 @@ public interface DisplayVideo360AdvertiserLinkOrBuilder extends
    * defaulted to true.
    * 
* - * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposal.java index 90a0e9c75e62..23e27e2be5e6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A proposal for a link between a GA4 property and a Display & Video 360
  * advertiser.
@@ -14,15 +31,18 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal}
  */
-public final class DisplayVideo360AdvertiserLinkProposal extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DisplayVideo360AdvertiserLinkProposal
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
     DisplayVideo360AdvertiserLinkProposalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DisplayVideo360AdvertiserLinkProposal.newBuilder() to construct.
-  private DisplayVideo360AdvertiserLinkProposal(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DisplayVideo360AdvertiserLinkProposal(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DisplayVideo360AdvertiserLinkProposal() {
     name_ = "";
     advertiserId_ = "";
@@ -32,33 +52,37 @@ private DisplayVideo360AdvertiserLinkProposal() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DisplayVideo360AdvertiserLinkProposal();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_DisplayVideo360AdvertiserLinkProposal_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder.class);
+            com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class,
+            com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.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
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -67,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -75,14 +100,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The resource name for this
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -91,16 +117,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,14 +134,18 @@ public java.lang.String getName() { } public static final int ADVERTISER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object advertiserId_ = ""; /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The advertiserId. */ @java.lang.Override @@ -125,29 +154,29 @@ public java.lang.String getAdvertiserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; } } /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for advertiserId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -158,11 +187,16 @@ public java.lang.String getAdvertiserId() { public static final int LINK_PROPOSAL_STATUS_DETAILS_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.LinkProposalStatusDetails linkProposalStatusDetails_; /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the linkProposalStatusDetails field is set. */ @java.lang.Override @@ -170,39 +204,58 @@ public boolean hasLinkProposalStatusDetails() { return linkProposalStatusDetails_ != null; } /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalStatusDetails. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails() { - return linkProposalStatusDetails_ == null ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails + getLinkProposalStatusDetails() { + return linkProposalStatusDetails_ == null + ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() + : linkProposalStatusDetails_; } /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder() { - return linkProposalStatusDetails_ == null ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder + getLinkProposalStatusDetailsOrBuilder() { + return linkProposalStatusDetails_ == null + ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() + : linkProposalStatusDetails_; } public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object advertiserDisplayName_ = ""; /** + * + * *
    * 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]; + * * @return The advertiserDisplayName. */ @java.lang.Override @@ -211,30 +264,30 @@ public java.lang.String getAdvertiserDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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 Display & Video Advertiser.
    * Only populated for proposals that originated from Display & Video 360.
    * 
* * string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for advertiserDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -243,9 +296,12 @@ public java.lang.String getAdvertiserDisplayName() { } public static final int VALIDATION_EMAIL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object validationEmail_ = ""; /** + * + * *
    * 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
@@ -256,6 +312,7 @@ public java.lang.String getAdvertiserDisplayName() {
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The validationEmail. */ @java.lang.Override @@ -264,14 +321,15 @@ public java.lang.String getValidationEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationEmail_ = s; return s; } } /** + * + * *
    * 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
@@ -282,16 +340,15 @@ public java.lang.String getValidationEmail() {
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for validationEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getValidationEmailBytes() { + public com.google.protobuf.ByteString getValidationEmailBytes() { java.lang.Object ref = validationEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationEmail_ = b; return b; } else { @@ -302,12 +359,17 @@ public java.lang.String getValidationEmail() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 6; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** + * + * *
    * 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]; + * + * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -315,40 +377,58 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** + * + * *
    * 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]; + * + * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER = 7; private com.google.protobuf.BoolValue campaignDataSharingEnabled_; /** + * + * *
    * 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]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ @java.lang.Override @@ -356,41 +436,59 @@ public boolean hasCampaignDataSharingEnabled() { return campaignDataSharingEnabled_ != null; } /** + * + * *
    * 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]; + * + * * @return The campaignDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { - return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { - return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER = 8; private com.google.protobuf.BoolValue costDataSharingEnabled_; /** + * + * *
    * 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]; + * + * * @return Whether the costDataSharingEnabled field is set. */ @java.lang.Override @@ -398,34 +496,48 @@ public boolean hasCostDataSharingEnabled() { return costDataSharingEnabled_ != null; } /** + * + * *
    * 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]; + * + * * @return The costDataSharingEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getCostDataSharingEnabled() { - return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { - return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -437,8 +549,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -479,8 +590,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, advertiserId_); } if (linkProposalStatusDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLinkProposalStatusDetails()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getLinkProposalStatusDetails()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(advertiserDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, advertiserDisplayName_); @@ -489,16 +601,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, validationEmail_); } if (adsPersonalizationEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getAdsPersonalizationEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getAdsPersonalizationEnabled()); } if (campaignDataSharingEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCampaignDataSharingEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, getCampaignDataSharingEnabled()); } if (costDataSharingEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getCostDataSharingEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCostDataSharingEnabled()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -508,40 +622,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other = (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) obj; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other = + (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAdvertiserId() - .equals(other.getAdvertiserId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAdvertiserId().equals(other.getAdvertiserId())) return false; if (hasLinkProposalStatusDetails() != other.hasLinkProposalStatusDetails()) return false; if (hasLinkProposalStatusDetails()) { - if (!getLinkProposalStatusDetails() - .equals(other.getLinkProposalStatusDetails())) return false; + if (!getLinkProposalStatusDetails().equals(other.getLinkProposalStatusDetails())) + return false; } - if (!getAdvertiserDisplayName() - .equals(other.getAdvertiserDisplayName())) return false; - if (!getValidationEmail() - .equals(other.getValidationEmail())) return false; + if (!getAdvertiserDisplayName().equals(other.getAdvertiserDisplayName())) return false; + if (!getValidationEmail().equals(other.getValidationEmail())) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled() - .equals(other.getAdsPersonalizationEnabled())) return false; + if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) + return false; } if (hasCampaignDataSharingEnabled() != other.hasCampaignDataSharingEnabled()) return false; if (hasCampaignDataSharingEnabled()) { - if (!getCampaignDataSharingEnabled() - .equals(other.getCampaignDataSharingEnabled())) return false; + if (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled())) + return false; } if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false; if (hasCostDataSharingEnabled()) { - if (!getCostDataSharingEnabled() - .equals(other.getCostDataSharingEnabled())) return false; + if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -584,96 +695,105 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( 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.DisplayVideo360AdvertiserLinkProposal parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal 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.DisplayVideo360AdvertiserLinkProposal + 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.DisplayVideo360AdvertiserLinkProposal parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A proposal for a link between a GA4 property and a Display & Video 360
    * advertiser.
@@ -684,33 +804,34 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)
       com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder.class);
+              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class,
+              com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder
+                  .class);
     }
 
-    // Construct using com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,19 +864,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor;
     }
 
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstanceForType() {
-      return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance();
+    public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
+        getDefaultInstanceForType() {
+      return com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal build() {
-      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result = buildPartial();
+      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -764,13 +888,17 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal buildPartial() {
-      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result =
+          new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result) {
+    private void buildPartial0(
+        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -779,9 +907,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360Adv
         result.advertiserId_ = advertiserId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.linkProposalStatusDetails_ = linkProposalStatusDetailsBuilder_ == null
-            ? linkProposalStatusDetails_
-            : linkProposalStatusDetailsBuilder_.build();
+        result.linkProposalStatusDetails_ =
+            linkProposalStatusDetailsBuilder_ == null
+                ? linkProposalStatusDetails_
+                : linkProposalStatusDetailsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.advertiserDisplayName_ = advertiserDisplayName_;
@@ -790,19 +919,22 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360Adv
         result.validationEmail_ = validationEmail_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null
-            ? adsPersonalizationEnabled_
-            : adsPersonalizationEnabledBuilder_.build();
+        result.adsPersonalizationEnabled_ =
+            adsPersonalizationEnabledBuilder_ == null
+                ? adsPersonalizationEnabled_
+                : adsPersonalizationEnabledBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.campaignDataSharingEnabled_ = campaignDataSharingEnabledBuilder_ == null
-            ? campaignDataSharingEnabled_
-            : campaignDataSharingEnabledBuilder_.build();
+        result.campaignDataSharingEnabled_ =
+            campaignDataSharingEnabledBuilder_ == null
+                ? campaignDataSharingEnabled_
+                : campaignDataSharingEnabledBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.costDataSharingEnabled_ = costDataSharingEnabledBuilder_ == null
-            ? costDataSharingEnabled_
-            : costDataSharingEnabledBuilder_.build();
+        result.costDataSharingEnabled_ =
+            costDataSharingEnabledBuilder_ == null
+                ? costDataSharingEnabled_
+                : costDataSharingEnabledBuilder_.build();
       }
     }
 
@@ -810,46 +942,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DisplayVideo360Adv
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.DisplayVideo360AdvertiserLinkProposal) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal)other);
+      if (other
+          instanceof com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) {
+        return mergeFrom(
+            (com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other) {
-      if (other == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal other) {
+      if (other
+          == com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -908,60 +1046,65 @@ public Builder mergeFrom(
             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(
-                  getLinkProposalStatusDetailsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              advertiserDisplayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              validationEmail_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getAdsPersonalizationEnabledFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getCampaignDataSharingEnabledFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getCostDataSharingEnabledFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                advertiserId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getLinkProposalStatusDetailsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                advertiserDisplayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                validationEmail_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(
+                    getCampaignDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getCostDataSharingEnabledFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                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) {
@@ -971,10 +1114,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -983,13 +1129,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -998,6 +1144,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -1006,15 +1154,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1022,6 +1169,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -1030,18 +1179,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -1050,6 +1203,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1059,6 +1213,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -1067,12 +1223,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1082,18 +1240,20 @@ public Builder setNameBytes( private java.lang.Object advertiserId_ = ""; /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; @@ -1102,20 +1262,21 @@ public java.lang.String getAdvertiserId() { } } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for advertiserId. */ - public com.google.protobuf.ByteString - getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -1123,28 +1284,35 @@ public java.lang.String getAdvertiserId() { } } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); } + public Builder setAdvertiserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } advertiserId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearAdvertiserId() { @@ -1154,17 +1322,21 @@ public Builder clearAdvertiserId() { return this; } /** + * + * *
      * Immutable. The Display & Video 360 Advertiser's advertiser ID.
      * 
* * 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(); } + public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); advertiserId_ = value; bitField0_ |= 0x00000002; @@ -1174,41 +1346,62 @@ public Builder setAdvertiserIdBytes( private com.google.analytics.admin.v1alpha.LinkProposalStatusDetails linkProposalStatusDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> linkProposalStatusDetailsBuilder_; + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> + linkProposalStatusDetailsBuilder_; /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the linkProposalStatusDetails field is set. */ public boolean hasLinkProposalStatusDetails() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalStatusDetails. */ - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails + getLinkProposalStatusDetails() { if (linkProposalStatusDetailsBuilder_ == null) { - return linkProposalStatusDetails_ == null ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; + return linkProposalStatusDetails_ == null + ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() + : linkProposalStatusDetails_; } else { return linkProposalStatusDetailsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLinkProposalStatusDetails(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { + public Builder setLinkProposalStatusDetails( + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { if (linkProposalStatusDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1222,11 +1415,15 @@ public Builder setLinkProposalStatusDetails(com.google.analytics.admin.v1alpha.L return this; } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLinkProposalStatusDetails( com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder builderForValue) { @@ -1240,17 +1437,24 @@ public Builder setLinkProposalStatusDetails( return this; } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeLinkProposalStatusDetails(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { + public Builder mergeLinkProposalStatusDetails( + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails value) { if (linkProposalStatusDetailsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - linkProposalStatusDetails_ != null && - linkProposalStatusDetails_ != com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && linkProposalStatusDetails_ != null + && linkProposalStatusDetails_ + != com.google.analytics.admin.v1alpha.LinkProposalStatusDetails + .getDefaultInstance()) { getLinkProposalStatusDetailsBuilder().mergeFrom(value); } else { linkProposalStatusDetails_ = value; @@ -1263,11 +1467,15 @@ public Builder mergeLinkProposalStatusDetails(com.google.analytics.admin.v1alpha return this; } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLinkProposalStatusDetails() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1280,48 +1488,66 @@ public Builder clearLinkProposalStatusDetails() { return this; } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder getLinkProposalStatusDetailsBuilder() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder + getLinkProposalStatusDetailsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLinkProposalStatusDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder + getLinkProposalStatusDetailsOrBuilder() { if (linkProposalStatusDetailsBuilder_ != null) { return linkProposalStatusDetailsBuilder_.getMessageOrBuilder(); } else { - return linkProposalStatusDetails_ == null ? - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() : linkProposalStatusDetails_; + return linkProposalStatusDetails_ == null + ? com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance() + : linkProposalStatusDetails_; } } /** + * + * *
      * Output only. The status information for this link proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder> getLinkProposalStatusDetailsFieldBuilder() { if (linkProposalStatusDetailsBuilder_ == null) { - linkProposalStatusDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder>( - getLinkProposalStatusDetails(), - getParentForChildren(), - isClean()); + linkProposalStatusDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder>( + getLinkProposalStatusDetails(), getParentForChildren(), isClean()); linkProposalStatusDetails_ = null; } return linkProposalStatusDetailsBuilder_; @@ -1329,19 +1555,21 @@ public com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder get private java.lang.Object advertiserDisplayName_ = ""; /** + * + * *
      * 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]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserDisplayName_ = s; return s; @@ -1350,21 +1578,22 @@ public java.lang.String getAdvertiserDisplayName() { } } /** + * + * *
      * 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]; + * * @return The bytes for advertiserDisplayName. */ - public com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -1372,30 +1601,37 @@ public java.lang.String getAdvertiserDisplayName() { } } /** + * + * *
      * 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]; + * * @param value The advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAdvertiserDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } advertiserDisplayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * 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]; + * * @return This builder for chaining. */ public Builder clearAdvertiserDisplayName() { @@ -1405,18 +1641,22 @@ public Builder clearAdvertiserDisplayName() { return this; } /** + * + * *
      * 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]; + * * @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(); } + public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); advertiserDisplayName_ = value; bitField0_ |= 0x00000008; @@ -1426,6 +1666,8 @@ public Builder setAdvertiserDisplayNameBytes( private java.lang.Object validationEmail_ = ""; /** + * + * *
      * 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
@@ -1436,13 +1678,13 @@ public Builder setAdvertiserDisplayNameBytes(
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The validationEmail. */ public java.lang.String getValidationEmail() { java.lang.Object ref = validationEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validationEmail_ = s; return s; @@ -1451,6 +1693,8 @@ 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
@@ -1461,15 +1705,14 @@ public java.lang.String getValidationEmail() {
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for validationEmail. */ - public com.google.protobuf.ByteString - getValidationEmailBytes() { + public com.google.protobuf.ByteString getValidationEmailBytes() { java.lang.Object ref = validationEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); validationEmail_ = b; return b; } else { @@ -1477,6 +1720,8 @@ 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
@@ -1487,18 +1732,22 @@ public java.lang.String getValidationEmail() {
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The validationEmail to set. * @return This builder for chaining. */ - public Builder setValidationEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } validationEmail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * 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
@@ -1509,6 +1758,7 @@ public Builder setValidationEmail(
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearValidationEmail() { @@ -1518,6 +1768,8 @@ public Builder clearValidationEmail() { return this; } /** + * + * *
      * 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
@@ -1528,12 +1780,14 @@ public Builder clearValidationEmail() {
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The bytes for validationEmail to set. * @return This builder for chaining. */ - public Builder setValidationEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValidationEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); validationEmail_ = value; bitField0_ |= 0x00000010; @@ -1543,42 +1797,61 @@ public Builder setValidationEmailBytes( 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_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + adsPersonalizationEnabledBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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]; + * + * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } else { return adsPersonalizationEnabledBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) { if (adsPersonalizationEnabledBuilder_ == null) { @@ -1594,12 +1867,16 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) return this; } /** + * + * *
      * 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]; + * */ public Builder setAdsPersonalizationEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1613,18 +1890,22 @@ public Builder setAdsPersonalizationEnabled( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) { if (adsPersonalizationEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - adsPersonalizationEnabled_ != null && - adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && adsPersonalizationEnabled_ != null + && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getAdsPersonalizationEnabledBuilder().mergeFrom(value); } else { adsPersonalizationEnabled_ = value; @@ -1637,12 +1918,16 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu return this; } /** + * + * *
      * 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]; + * */ public Builder clearAdsPersonalizationEnabled() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1655,12 +1940,16 @@ public Builder clearAdsPersonalizationEnabled() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder() { bitField0_ |= 0x00000020; @@ -1668,38 +1957,50 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder return getAdsPersonalizationEnabledFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() { if (adsPersonalizationEnabledBuilder_ != null) { return adsPersonalizationEnabledBuilder_.getMessageOrBuilder(); } else { - return adsPersonalizationEnabled_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; @@ -1707,42 +2008,61 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil 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_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + campaignDataSharingEnabledBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ public boolean hasCampaignDataSharingEnabled() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * 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]; + * + * * @return The campaignDataSharingEnabled. */ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() { if (campaignDataSharingEnabledBuilder_ == null) { - return campaignDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } else { return campaignDataSharingEnabledBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { @@ -1758,12 +2078,16 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value return this; } /** + * + * *
      * 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]; + * */ public Builder setCampaignDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1777,18 +2101,22 @@ public Builder setCampaignDataSharingEnabled( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - campaignDataSharingEnabled_ != null && - campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && campaignDataSharingEnabled_ != null + && campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCampaignDataSharingEnabledBuilder().mergeFrom(value); } else { campaignDataSharingEnabled_ = value; @@ -1801,12 +2129,16 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val return this; } /** + * + * *
      * 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]; + * */ public Builder clearCampaignDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000040); @@ -1819,12 +2151,16 @@ public Builder clearCampaignDataSharingEnabled() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { bitField0_ |= 0x00000040; @@ -1832,38 +2168,50 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde return getCampaignDataSharingEnabledFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder() { if (campaignDataSharingEnabledBuilder_ != null) { return campaignDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return campaignDataSharingEnabled_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : campaignDataSharingEnabled_; + return campaignDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : campaignDataSharingEnabled_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; @@ -1871,45 +2219,64 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + costDataSharingEnabledBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the costDataSharingEnabled field is set. */ public boolean hasCostDataSharingEnabled() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * 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]; + * + * * @return The costDataSharingEnabled. */ public com.google.protobuf.BoolValue getCostDataSharingEnabled() { if (costDataSharingEnabledBuilder_ == null) { - return costDataSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } else { return costDataSharingEnabledBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { @@ -1925,13 +2292,17 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { return this; } /** + * + * *
      * 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]; + * */ public Builder setCostDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1945,19 +2316,23 @@ public Builder setCostDataSharingEnabled( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - costDataSharingEnabled_ != null && - costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && costDataSharingEnabled_ != null + && costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCostDataSharingEnabledBuilder().mergeFrom(value); } else { costDataSharingEnabled_ = value; @@ -1970,13 +2345,17 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) return this; } /** + * + * *
      * 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]; + * */ public Builder clearCostDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000080); @@ -1989,13 +2368,17 @@ public Builder clearCostDataSharingEnabled() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { bitField0_ |= 0x00000080; @@ -2003,47 +2386,59 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() return getCostDataSharingEnabledFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder() { if (costDataSharingEnabledBuilder_ != null) { return costDataSharingEnabledBuilder_.getMessageOrBuilder(); } else { - return costDataSharingEnabled_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : costDataSharingEnabled_; + return costDataSharingEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : costDataSharingEnabled_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> 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()); + 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2053,41 +2448,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) - private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal(); } - public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DisplayVideo360AdvertiserLinkProposal 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DisplayVideo360AdvertiserLinkProposal 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; @@ -2099,9 +2497,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DisplayVideo360AdvertiserLinkProposalOrBuilder.java index 96ddc29c2b6a..88634cf7804d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends +public interface DisplayVideo360AdvertiserLinkProposalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name for this
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -16,10 +34,13 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name for this
    * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -28,81 +49,108 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The advertiserId. */ java.lang.String getAdvertiserId(); /** + * + * *
    * Immutable. The Display & Video 360 Advertiser's advertiser ID.
    * 
* * string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for advertiserId. */ - com.google.protobuf.ByteString - getAdvertiserIdBytes(); + com.google.protobuf.ByteString getAdvertiserIdBytes(); /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the linkProposalStatusDetails field is set. */ boolean hasLinkProposalStatusDetails(); /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalStatusDetails. */ com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getLinkProposalStatusDetails(); /** + * + * *
    * Output only. The status information for this link proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder getLinkProposalStatusDetailsOrBuilder(); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder + getLinkProposalStatusDetailsOrBuilder(); /** + * + * *
    * 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]; + * * @return The advertiserDisplayName. */ java.lang.String getAdvertiserDisplayName(); /** + * + * *
    * 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]; + * * @return The bytes for advertiserDisplayName. */ - com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes(); + 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
@@ -113,10 +161,13 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The validationEmail. */ 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
@@ -127,101 +178,143 @@ public interface DisplayVideo360AdvertiserLinkProposalOrBuilder extends
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for validationEmail. */ - com.google.protobuf.ByteString - getValidationEmailBytes(); + com.google.protobuf.ByteString getValidationEmailBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** + * + * *
    * 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]; + * + * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** + * + * *
    * 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]; + * */ com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ boolean hasCampaignDataSharingEnabled(); /** + * + * *
    * 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]; + * + * * @return The campaignDataSharingEnabled. */ com.google.protobuf.BoolValue getCampaignDataSharingEnabled(); /** + * + * *
    * 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]; + * */ com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the costDataSharingEnabled field is set. */ boolean hasCostDataSharingEnabled(); /** + * + * *
    * 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]; + * + * * @return The costDataSharingEnabled. */ com.google.protobuf.BoolValue getCostDataSharingEnabled(); /** + * + * *
    * 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]; + * */ com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSet.java index e942de1808ae..7438b7601e9b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + 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_ = ""; @@ -29,39 +47,44 @@ private ExpandedDataSet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExpandedDataSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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 @@ -70,30 +93,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,15 +125,19 @@ public java.lang.String getName() { } 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 @@ -119,30 +146,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -151,15 +178,19 @@ public java.lang.String getDisplayName() { } 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 @@ -168,30 +199,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -200,9 +231,12 @@ public java.lang.String getDescription() { } 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
@@ -211,13 +245,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the dimensionNames. */ - public com.google.protobuf.ProtocolStringList - getDimensionNamesList() { + public com.google.protobuf.ProtocolStringList getDimensionNamesList() { return dimensionNames_; } /** + * + * *
    * Immutable. The list of dimensions included in the ExpandedDataSet.
    * See the [API
@@ -226,12 +262,15 @@ public java.lang.String getDescription() {
    * 
* * 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
@@ -240,6 +279,7 @@ public int getDimensionNamesCount() {
    * 
* * 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. */ @@ -247,6 +287,8 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** + * + * *
    * Immutable. The list of dimensions included in the ExpandedDataSet.
    * See the [API
@@ -255,18 +297,21 @@ public java.lang.String getDimensionNames(int index) {
    * 
* * 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) { + 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
@@ -275,13 +320,15 @@ public java.lang.String getDimensionNames(int index) {
    * 
* * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the metricNames. */ - public com.google.protobuf.ProtocolStringList - getMetricNamesList() { + public com.google.protobuf.ProtocolStringList getMetricNamesList() { return metricNames_; } /** + * + * *
    * Immutable. The list of metrics included in the ExpandedDataSet.
    * See the [API
@@ -290,12 +337,15 @@ public java.lang.String getDimensionNames(int index) {
    * 
* * 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
@@ -304,6 +354,7 @@ public int getMetricNamesCount() {
    * 
* * 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. */ @@ -311,6 +362,8 @@ public java.lang.String getMetricNames(int index) { return metricNames_.get(index); } /** + * + * *
    * Immutable. The list of metrics included in the ExpandedDataSet.
    * See the [API
@@ -319,24 +372,30 @@ public java.lang.String getMetricNames(int index) {
    * 
* * 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) { + 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_; + 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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the dimensionFilterExpression field is set. */ @java.lang.Override @@ -344,42 +403,62 @@ 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]; + * + * .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_; + 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]; + * + * .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 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]; + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dataCollectionStartTime field is set. */ @java.lang.Override @@ -387,32 +466,46 @@ 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]; + * + * .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_; + 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]; + * + * .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_; + return dataCollectionStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dataCollectionStartTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,8 +517,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -482,12 +574,13 @@ public int getSerializedSize() { size += 1 * getMetricNamesList().size(); } if (dimensionFilterExpression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDimensionFilterExpression()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getDimensionFilterExpression()); } if (dataCollectionStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getDataCollectionStartTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDataCollectionStartTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -497,32 +590,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.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; + 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 (!getDimensionFilterExpression().equals(other.getDimensionFilterExpression())) + return false; } if (hasDataCollectionStartTime() != other.hasDataCollectionStartTime()) return false; if (hasDataCollectionStartTime()) { - if (!getDataCollectionStartTime() - .equals(other.getDataCollectionStartTime())) return false; + if (!getDataCollectionStartTime().equals(other.getDataCollectionStartTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -563,129 +651,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ExpandedDataSet parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ExpandedDataSet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ExpandedDataSet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A 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 + 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; + 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 + 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); + 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() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -711,9 +805,9 @@ public Builder clear() { } @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; + 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 @@ -732,14 +826,18 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet build() { @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); + com.google.analytics.admin.v1alpha.ExpandedDataSet result = + new com.google.analytics.admin.v1alpha.ExpandedDataSet(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ExpandedDataSet result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ExpandedDataSet result) { if (((bitField0_ & 0x00000008) != 0)) { dimensionNames_ = dimensionNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -764,14 +862,16 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSet re result.description_ = description_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.dimensionFilterExpression_ = dimensionFilterExpressionBuilder_ == null - ? dimensionFilterExpression_ - : dimensionFilterExpressionBuilder_.build(); + result.dimensionFilterExpression_ = + dimensionFilterExpressionBuilder_ == null + ? dimensionFilterExpression_ + : dimensionFilterExpressionBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.dataCollectionStartTime_ = dataCollectionStartTimeBuilder_ == null - ? dataCollectionStartTime_ - : dataCollectionStartTimeBuilder_.build(); + result.dataCollectionStartTime_ = + dataCollectionStartTimeBuilder_ == null + ? dataCollectionStartTime_ + : dataCollectionStartTimeBuilder_.build(); } } @@ -779,38 +879,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSet re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.ExpandedDataSet) other); } else { super.mergeFrom(other); return this; @@ -818,7 +919,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ExpandedDataSet other) { - if (other == com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -886,53 +988,59 @@ public Builder mergeFrom( 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: + 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) { @@ -942,23 +1050,26 @@ public Builder mergeFrom( } // 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -967,21 +1078,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -989,30 +1101,37 @@ public 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]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -1022,18 +1141,22 @@ public Builder clearName() { 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1043,19 +1166,21 @@ public Builder setNameBytes( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1064,21 +1189,22 @@ public 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. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1086,30 +1212,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * 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(); } + 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() { @@ -1119,18 +1252,22 @@ public Builder clearDisplayName() { 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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1140,19 +1277,21 @@ public Builder setDisplayNameBytes( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1161,21 +1300,22 @@ public 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. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1183,30 +1323,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * 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(); } + 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() { @@ -1216,18 +1363,22 @@ public Builder clearDescription() { 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(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1235,14 +1386,18 @@ public Builder setDescriptionBytes( return this; } - private com.google.protobuf.LazyStringList dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList dimensionNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDimensionNamesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { dimensionNames_ = new com.google.protobuf.LazyStringArrayList(dimensionNames_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1251,13 +1406,15 @@ private void ensureDimensionNamesIsMutable() {
      * 
* * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the dimensionNames. */ - public com.google.protobuf.ProtocolStringList - getDimensionNamesList() { + public com.google.protobuf.ProtocolStringList getDimensionNamesList() { return dimensionNames_.getUnmodifiableView(); } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1266,12 +1423,15 @@ private void ensureDimensionNamesIsMutable() {
      * 
* * 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
@@ -1280,6 +1440,7 @@ public int getDimensionNamesCount() {
      * 
* * 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. */ @@ -1287,6 +1448,8 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1295,14 +1458,16 @@ public java.lang.String getDimensionNames(int index) {
      * 
* * 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) { + public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { return dimensionNames_.getByteString(index); } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1311,19 +1476,23 @@ public java.lang.String getDimensionNames(int index) {
      * 
* * 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(); } + 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
@@ -1332,18 +1501,22 @@ public Builder setDimensionNames(
      * 
* * 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(); } + 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
@@ -1352,18 +1525,19 @@ public Builder addDimensionNames(
      * 
* * 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) { + public Builder addAllDimensionNames(java.lang.Iterable values) { ensureDimensionNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensionNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionNames_); onChanged(); return this; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1372,6 +1546,7 @@ public Builder addAllDimensionNames(
      * 
* * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDimensionNames() { @@ -1381,6 +1556,8 @@ public Builder clearDimensionNames() { return this; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1389,12 +1566,14 @@ public Builder clearDimensionNames() {
      * 
* * 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(); } + public Builder addDimensionNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDimensionNamesIsMutable(); dimensionNames_.add(value); @@ -1402,14 +1581,18 @@ public Builder addDimensionNamesBytes( return this; } - private com.google.protobuf.LazyStringList metricNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + 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
@@ -1418,13 +1601,15 @@ private void ensureMetricNamesIsMutable() {
      * 
* * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the metricNames. */ - public com.google.protobuf.ProtocolStringList - getMetricNamesList() { + public com.google.protobuf.ProtocolStringList getMetricNamesList() { return metricNames_.getUnmodifiableView(); } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1433,12 +1618,15 @@ private void ensureMetricNamesIsMutable() {
      * 
* * 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
@@ -1447,6 +1635,7 @@ public int getMetricNamesCount() {
      * 
* * 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. */ @@ -1454,6 +1643,8 @@ public java.lang.String getMetricNames(int index) { return metricNames_.get(index); } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1462,14 +1653,16 @@ public java.lang.String getMetricNames(int index) {
      * 
* * 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) { + public com.google.protobuf.ByteString getMetricNamesBytes(int index) { return metricNames_.getByteString(index); } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1478,19 +1671,23 @@ public java.lang.String getMetricNames(int index) {
      * 
* * 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(); } + 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
@@ -1499,18 +1696,22 @@ public Builder setMetricNames(
      * 
* * 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(); } + 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
@@ -1519,18 +1720,19 @@ public Builder addMetricNames(
      * 
* * 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) { + public Builder addAllMetricNames(java.lang.Iterable values) { ensureMetricNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metricNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricNames_); onChanged(); return this; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1539,6 +1741,7 @@ public Builder addAllMetricNames(
      * 
* * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearMetricNames() { @@ -1548,6 +1751,8 @@ public Builder clearMetricNames() { return this; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1556,12 +1761,14 @@ public Builder clearMetricNames() {
      * 
* * 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(); } + public Builder addMetricNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMetricNamesIsMutable(); metricNames_.add(value); @@ -1569,49 +1776,72 @@ public Builder addMetricNamesBytes( return this; } - private com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimensionFilterExpression_; + 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_; + 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]; + * + * .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]; + * + * .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() { + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + getDimensionFilterExpression() { if (dimensionFilterExpressionBuilder_ == null) { - return dimensionFilterExpression_ == null ? com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.getDefaultInstance() : dimensionFilterExpression_; + 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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setDimensionFilterExpression(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + public Builder setDimensionFilterExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { if (dimensionFilterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1625,16 +1855,21 @@ public Builder setDimensionFilterExpression(com.google.analytics.admin.v1alpha.E 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]; + * + * .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) { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { if (dimensionFilterExpressionBuilder_ == null) { dimensionFilterExpression_ = builderForValue.build(); } else { @@ -1645,19 +1880,26 @@ public Builder setDimensionFilterExpression( 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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeDimensionFilterExpression(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + 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()) { + if (((bitField0_ & 0x00000020) != 0) + && dimensionFilterExpression_ != null + && dimensionFilterExpression_ + != com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance()) { getDimensionFilterExpressionBuilder().mergeFrom(value); } else { dimensionFilterExpression_ = value; @@ -1670,13 +1912,17 @@ public Builder mergeDimensionFilterExpression(com.google.analytics.admin.v1alpha 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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearDimensionFilterExpression() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1689,54 +1935,73 @@ public Builder clearDimensionFilterExpression() { 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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder getDimensionFilterExpressionBuilder() { + 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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder getDimensionFilterExpressionOrBuilder() { + 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_; + 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]; + * + * .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> + 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()); + 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_; @@ -1744,42 +2009,61 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuild 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_; + 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]; + * + * .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]; + * + * .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_; + 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]; + * + * .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) { @@ -1795,12 +2079,16 @@ public Builder setDataCollectionStartTime(com.google.protobuf.Timestamp value) { 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]; + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDataCollectionStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1814,18 +2102,22 @@ public Builder setDataCollectionStartTime( 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]; + * + * .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()) { + if (((bitField0_ & 0x00000040) != 0) + && dataCollectionStartTime_ != null + && dataCollectionStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDataCollectionStartTimeBuilder().mergeFrom(value); } else { dataCollectionStartTime_ = value; @@ -1838,12 +2130,16 @@ public Builder mergeDataCollectionStartTime(com.google.protobuf.Timestamp value) 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]; + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDataCollectionStartTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -1856,12 +2152,16 @@ public Builder clearDataCollectionStartTime() { 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]; + * + * .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDataCollectionStartTimeBuilder() { bitField0_ |= 0x00000040; @@ -1869,45 +2169,57 @@ public com.google.protobuf.Timestamp.Builder getDataCollectionStartTimeBuilder() 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]; + * + * .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_; + 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]; + * + * .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> + 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()); + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1917,12 +2229,12 @@ public final Builder mergeUnknownFields( 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(); } @@ -1931,27 +2243,27 @@ public static com.google.analytics.admin.v1alpha.ExpandedDataSet getDefaultInsta 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(); - } - }; + 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; @@ -1966,6 +2278,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ExpandedDataSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilter.java index 4084f0016c6a..65ad311479e3 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,97 +1,134 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 +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; + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExpandedDataSetFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.class, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder.class); } - public interface StringFilterOrBuilder extends + 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]; + * + * .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]; + * + * .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(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
      * Optional. If true, the match is case-sensitive. If false, the match is
      * case-insensitive.
@@ -100,26 +137,30 @@ public interface StringFilterOrBuilder extends
      * 
* * 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 + 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; + 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_ = ""; @@ -127,39 +168,44 @@ private StringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; + + 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 + 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); + 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} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType} */ - public enum MatchType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified
        * 
@@ -168,6 +214,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
        * Exact match of the string value.
        * 
@@ -176,6 +224,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
        * Contains the string value.
        * 
@@ -187,6 +237,8 @@ public enum MatchType ; /** + * + * *
        * Unspecified
        * 
@@ -195,6 +247,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Exact match of the string value.
        * 
@@ -203,6 +257,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
        * Contains the string value.
        * 
@@ -211,7 +267,6 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -236,49 +291,51 @@ public static MatchType valueOf(int value) { */ public static MatchType forNumber(int value) { switch (value) { - case 0: return MATCH_TYPE_UNSPECIFIED; - case 1: return EXACT; - case 2: return CONTAINS; - default: return null; + 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() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MatchType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchType findValueByNumber(int number) { - return MatchType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.getDescriptor().getEnumTypes().get(0); + + 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) { + public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -298,38 +355,60 @@ private MatchType(int value) { 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]; + * + * .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() { + @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]; + * + * .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; + @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 @@ -338,29 +417,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
      * 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() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -371,6 +450,8 @@ public java.lang.String getValue() { 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.
@@ -379,6 +460,7 @@ public java.lang.String getValue() {
      * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -387,6 +469,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -398,9 +481,11 @@ public final boolean isInitialized() { } @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()) { + 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_)) { @@ -418,16 +503,17 @@ public int getSerializedSize() { 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 (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 += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -437,18 +523,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter other = (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) 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 (!getValue().equals(other.getValue())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -465,95 +550,102 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + 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 { + 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) + 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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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 + 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); + 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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -563,39 +655,43 @@ protected Builder newBuilderForType( 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 + 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; + 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 + 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); + 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() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -607,19 +703,22 @@ public Builder clear() { } @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; + 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(); + 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(); + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -628,13 +727,17 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter bui @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchType_ = matchType_; @@ -651,46 +754,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSetFil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter)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; + 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()); } @@ -728,27 +839,31 @@ public Builder mergeFrom( 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: + 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) { @@ -758,26 +873,38 @@ public Builder mergeFrom( } // 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]; + * + * .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() { + @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]; + * + * .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. */ @@ -788,28 +915,45 @@ public Builder setMatchTypeValue(int value) { 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]; + * + * .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 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]; + * + * .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) { + public Builder setMatchType( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } @@ -819,11 +963,16 @@ public Builder setMatchType(com.google.analytics.admin.v1alpha.ExpandedDataSetFi 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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMatchType() { @@ -835,18 +984,20 @@ public Builder clearMatchType() { 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -855,20 +1006,21 @@ public 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. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -876,28 +1028,35 @@ public java.lang.String getValue() { } } /** + * + * *
        * 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(); } + 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() { @@ -907,17 +1066,21 @@ public Builder clearValue() { 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(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -925,8 +1088,10 @@ public Builder setValueBytes( return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -935,6 +1100,7 @@ public Builder setValueBytes(
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -942,6 +1108,8 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -950,17 +1118,20 @@ public boolean getCaseSensitive() {
        * 
* * 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.
@@ -969,6 +1140,7 @@ public Builder setCaseSensitive(boolean value) {
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -977,6 +1149,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -989,41 +1162,45 @@ public final Builder mergeUnknownFields( 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; + private static final com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter(); } - public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter getDefaultInstance() { + 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(); - } - }; + 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; @@ -1035,62 +1212,75 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InListFilterOrBuilder extends + 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(); + 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); + com.google.protobuf.ByteString getValuesBytes(int index); /** + * + * *
      * Optional. If true, the match is case-sensitive. If false, the match is
      * case-insensitive.
@@ -1098,90 +1288,104 @@ public interface InListFilterOrBuilder extends
      * 
* * 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 + 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; + private static final long serialVersionUID = 0L; // Use InListFilter.newBuilder() to construct. private InListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InListFilter() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InListFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; + + 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 + 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); + 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() { + 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. */ @@ -1189,23 +1393,27 @@ 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) { + 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.
@@ -1213,6 +1421,7 @@ public java.lang.String getValues(int index) {
      * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -1221,6 +1430,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1232,8 +1442,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -1258,8 +1467,7 @@ public int getSerializedSize() { size += 1 * getValuesList().size(); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, caseSensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1269,17 +1477,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter other = (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) 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 (!getValuesList().equals(other.getValuesList())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1296,95 +1503,102 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + 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 { + 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) + 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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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 + 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); + 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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1394,39 +1608,43 @@ protected Builder newBuilderForType( 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 + 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; + 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 + 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); + 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() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1438,19 +1656,22 @@ public Builder clear() { } @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; + 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(); + 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(); + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1459,14 +1680,18 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter bui @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); + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result) { if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -1474,7 +1699,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Expan result.values_ = values_; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.caseSensitive_ = caseSensitive_; @@ -1485,46 +1711,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSetFil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter)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; + 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_; @@ -1564,23 +1798,26 @@ public Builder mergeFrom( 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: + 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) { @@ -1590,47 +1827,58 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * 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() { + 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. */ @@ -1638,81 +1886,95 @@ 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) { + 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(); } + 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(); } + 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) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); return this; } /** + * + * *
        * 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() { @@ -1722,18 +1984,22 @@ public Builder clearValues() { 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(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -1741,8 +2007,10 @@ public Builder addValuesBytes( return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -1750,6 +2018,7 @@ public Builder addValuesBytes(
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -1757,6 +2026,8 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -1764,17 +2035,20 @@ public boolean getCaseSensitive() {
        * 
* * 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.
@@ -1782,6 +2056,7 @@ public Builder setCaseSensitive(boolean value) {
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -1790,6 +2065,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1802,41 +2078,45 @@ public final Builder mergeUnknownFields( 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; + private static final com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter(); } - public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter getDefaultInstance() { + 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(); - } - }; + 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; @@ -1848,21 +2128,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter getDefaultInstanceForType() { + 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, + 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; } @@ -1878,30 +2161,37 @@ public static OneFilterCase valueOf(int 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; + 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 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -1909,43 +2199,57 @@ 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; + * .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) oneFilter_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.getDefaultInstance(); + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder getStringFilterOrBuilder() { + 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) oneFilter_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.getDefaultInstance(); + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -1953,46 +2257,60 @@ 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; + * .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) oneFilter_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.getDefaultInstance(); + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder getInListFilterOrBuilder() { + 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) oneFilter_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.getDefaultInstance(); + 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 @@ -2001,29 +2319,29 @@ public java.lang.String getFieldName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -2032,6 +2350,7 @@ public java.lang.String getFieldName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2043,16 +2362,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } if (oneFilterCase_ == 2) { - output.writeMessage(2, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) oneFilter_); + 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_); + output.writeMessage( + 3, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_); } getUnknownFields().writeTo(output); } @@ -2067,12 +2387,16 @@ public int getSerializedSize() { 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_); + 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 += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2082,24 +2406,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ExpandedDataSetFilter other = (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) obj; + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter other = + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) obj; - if (!getFieldName() - .equals(other.getFieldName())) return false; + if (!getFieldName().equals(other.getFieldName())) return false; if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; switch (oneFilterCase_) { case 2: - if (!getStringFilter() - .equals(other.getStringFilter())) return false; + if (!getStringFilter().equals(other.getStringFilter())) return false; break; case 3: - if (!getInListFilter() - .equals(other.getInListFilter())) return false; + if (!getInListFilter().equals(other.getInListFilter())) return false; break; case 0: default: @@ -2135,129 +2457,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A 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 + 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; + 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 + 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); + 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() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2275,9 +2604,9 @@ public Builder clear() { } @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; + 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 @@ -2296,8 +2625,11 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter build() { @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); } + 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; @@ -2310,15 +2642,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSetFil } } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter result) { result.oneFilterCase_ = oneFilterCase_; result.oneFilter_ = this.oneFilter_; - if (oneFilterCase_ == 2 && - stringFilterBuilder_ != null) { + if (oneFilterCase_ == 2 && stringFilterBuilder_ != null) { result.oneFilter_ = stringFilterBuilder_.build(); } - if (oneFilterCase_ == 3 && - inListFilterBuilder_ != null) { + if (oneFilterCase_ == 3 && inListFilterBuilder_ != null) { result.oneFilter_ = inListFilterBuilder_.build(); } } @@ -2327,38 +2658,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ExpandedDataS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) other); } else { super.mergeFrom(other); return this; @@ -2366,24 +2698,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter other) { - if (other == com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance()) return this; + 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; - } + 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(); @@ -2411,31 +2747,31 @@ public Builder mergeFrom( 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: + 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) { @@ -2445,12 +2781,12 @@ public Builder mergeFrom( } // finally return this; } + private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - public OneFilterCase - getOneFilterCase() { - return OneFilterCase.forNumber( - oneFilterCase_); + + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); } public Builder clearOneFilter() { @@ -2463,13 +2799,20 @@ public Builder clearOneFilter() { 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_; + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -2477,11 +2820,15 @@ 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * + * * @return The stringFilter. */ @java.lang.Override @@ -2490,22 +2837,28 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter get if (oneFilterCase_ == 2) { return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.getDefaultInstance(); + 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(); + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ - public Builder setStringFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter value) { + public Builder setStringFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter value) { if (stringFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2519,14 +2872,18 @@ public Builder setStringFilter(com.google.analytics.admin.v1alpha.ExpandedDataSe return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ public Builder setStringFilter( - com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder + builderForValue) { if (stringFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -2537,18 +2894,28 @@ public Builder setStringFilter( return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ - public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter value) { + 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(); + 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; } @@ -2564,11 +2931,14 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.ExpandedData return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ public Builder clearStringFilter() { if (stringFilterBuilder_ == null) { @@ -2587,49 +2957,68 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.Builder getStringFilterBuilder() { + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder getStringFilterOrBuilder() { + 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(); + 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; + * .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> + 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(); + 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>( + 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()); @@ -2641,14 +3030,21 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBu } 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_; + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -2656,12 +3052,16 @@ 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * + * * @return The inListFilter. */ @java.lang.Override @@ -2670,23 +3070,29 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter get if (oneFilterCase_ == 3) { return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter) oneFilter_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.getDefaultInstance(); + 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(); + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ - public Builder setInListFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter value) { + public Builder setInListFilter( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter value) { if (inListFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2700,15 +3106,19 @@ public Builder setInListFilter(com.google.analytics.admin.v1alpha.ExpandedDataSe 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ public Builder setInListFilter( - com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder + builderForValue) { if (inListFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -2719,19 +3129,29 @@ public Builder setInListFilter( 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ - public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter value) { + 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(); + 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; } @@ -2747,12 +3167,15 @@ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.ExpandedData 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ public Builder clearInListFilter() { if (inListFilterBuilder_ == null) { @@ -2771,52 +3194,71 @@ public Builder clearInListFilter() { 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter.Builder getInListFilterBuilder() { + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder getInListFilterOrBuilder() { + 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(); + 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; + * .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> + 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(); + 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>( + 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()); @@ -2829,18 +3271,20 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBu 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; @@ -2849,20 +3293,21 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * 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() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -2870,28 +3315,35 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * 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(); } + 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() { @@ -2901,26 +3353,30 @@ public Builder clearFieldName() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2930,12 +3386,12 @@ public final Builder mergeUnknownFields( 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(); } @@ -2944,27 +3400,27 @@ public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getDefaul 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(); - } - }; + 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; @@ -2979,6 +3435,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpression.java index 38c1fb075a18..58b053fa6d5f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,62 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 +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; + private static final long serialVersionUID = 0L; // Use ExpandedDataSetFilterExpression.newBuilder() to construct. - private ExpandedDataSetFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExpandedDataSetFilterExpression( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExpandedDataSetFilterExpression() { - } + + private ExpandedDataSetFilterExpression() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExpandedDataSetFilterExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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, + 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; } @@ -72,26 +94,32 @@ public static ExprCase valueOf(int 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; + 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 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
@@ -100,6 +128,7 @@ public int getNumber() {
    * 
* * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -107,6 +136,8 @@ 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
@@ -115,16 +146,20 @@ public boolean hasAndGroup() {
    * 
* * .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) expr_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.getDefaultInstance(); + 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
@@ -135,22 +170,28 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList ge
    * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder getAndGroupOrBuilder() {
+  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) expr_;
     }
-    return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.getDefaultInstance();
+    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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -158,47 +199,58 @@ 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; + * .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) 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder getNotExpressionOrBuilder() { + 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) 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 @@ -206,22 +258,27 @@ 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) expr_; } return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance(); } /** + * + * *
    * A filter on a single dimension. This cannot be set on the top
    * level ExpandedDataSetFilterExpression.
@@ -232,12 +289,13 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getFilter() {
   @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) expr_;
     }
     return com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,13 +307,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (exprCase_ == 1) {
-      output.writeMessage(1, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_);
+      output.writeMessage(
+          1, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      output.writeMessage(2, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_);
+      output.writeMessage(
+          2, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_);
     }
     if (exprCase_ == 3) {
       output.writeMessage(3, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_);
@@ -270,16 +329,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (exprCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_);
+      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_);
+      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 +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.analytics.admin.v1alpha.ExpandedDataSetFilter) expr_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -289,26 +351,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression other = (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) 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;
+        if (!getAndGroup().equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getNotExpression()
-            .equals(other.getNotExpression())) return false;
+        if (!getNotExpression().equals(other.getNotExpression())) return false;
         break;
       case 3:
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
         break;
       case 0:
       default:
@@ -346,129 +406,138 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.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 {
+
+  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)
+      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) 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)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.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) 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
+      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);
+      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);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression prototype) {
+
+  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);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A 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 + 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; + 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 + 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); + 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() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -488,14 +557,16 @@ public Builder clear() { } @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; + 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(); + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance(); } @java.lang.Override @@ -509,30 +580,32 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression build( @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression result) { result.exprCase_ = exprCase_; result.expr_ = this.expr_; - if (exprCase_ == 1 && - andGroupBuilder_ != null) { + if (exprCase_ == 1 && andGroupBuilder_ != null) { result.expr_ = andGroupBuilder_.build(); } - if (exprCase_ == 2 && - notExpressionBuilder_ != null) { + if (exprCase_ == 2 && notExpressionBuilder_ != null) { result.expr_ = notExpressionBuilder_.build(); } - if (exprCase_ == 3 && - filterBuilder_ != null) { + if (exprCase_ == 3 && filterBuilder_ != null) { result.expr_ = filterBuilder_.build(); } } @@ -541,62 +614,71 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ExpandedDataS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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; - } + 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(); @@ -624,33 +706,31 @@ public Builder mergeFrom( 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: + 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) { @@ -660,12 +740,12 @@ public Builder mergeFrom( } // finally return this; } + private int exprCase_ = 0; private java.lang.Object expr_; - public ExprCase - getExprCase() { - return ExprCase.forNumber( - exprCase_); + + public ExprCase getExprCase() { + return ExprCase.forNumber(exprCase_); } public Builder clearExpr() { @@ -678,8 +758,13 @@ public Builder clearExpr() { 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_; + 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
@@ -687,7 +772,9 @@ public Builder clearExpr() {
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -695,6 +782,8 @@ 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
@@ -702,7 +791,9 @@ public boolean hasAndGroup() {
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * + * * @return The andGroup. */ @java.lang.Override @@ -711,15 +802,19 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList ge if (exprCase_ == 1) { return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) expr_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList + .getDefaultInstance(); } else { if (exprCase_ == 1) { return andGroupBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.getDefaultInstance(); + 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
@@ -727,9 +822,11 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList ge
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * */ - public Builder setAndGroup(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList value) { + public Builder setAndGroup( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList value) { if (andGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -743,6 +840,8 @@ public Builder setAndGroup(com.google.analytics.admin.v1alpha.ExpandedDataSetFil return this; } /** + * + * *
      * A list of expressions to be AND’ed together. It must contain a
      * ExpandedDataSetFilterExpression with either not_expression or
@@ -750,10 +849,12 @@ public Builder setAndGroup(com.google.analytics.admin.v1alpha.ExpandedDataSetFil
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * */ public Builder setAndGroup( - com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder + builderForValue) { if (andGroupBuilder_ == null) { expr_ = builderForValue.build(); onChanged(); @@ -764,6 +865,8 @@ public Builder setAndGroup( return this; } /** + * + * *
      * A list of expressions to be AND’ed together. It must contain a
      * ExpandedDataSetFilterExpression with either not_expression or
@@ -771,14 +874,22 @@ public Builder setAndGroup(
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * */ - public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList value) { + 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(); + 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; } @@ -794,6 +905,8 @@ public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.ExpandedDataSetF return this; } /** + * + * *
      * A list of expressions to be AND’ed together. It must contain a
      * ExpandedDataSetFilterExpression with either not_expression or
@@ -801,7 +914,8 @@ public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.ExpandedDataSetF
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * */ public Builder clearAndGroup() { if (andGroupBuilder_ == null) { @@ -820,6 +934,8 @@ public Builder clearAndGroup() { return this; } /** + * + * *
      * A list of expressions to be AND’ed together. It must contain a
      * ExpandedDataSetFilterExpression with either not_expression or
@@ -827,12 +943,16 @@ public Builder clearAndGroup() {
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Builder getAndGroupBuilder() { + 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
@@ -840,20 +960,25 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.Bu
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder getAndGroupOrBuilder() { + 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(); + 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
@@ -861,17 +986,25 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrB
      * ExpandedDataSetFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * .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> + 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(); + 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>( + 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()); @@ -883,15 +1016,22 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrB } 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_; + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -899,13 +1039,17 @@ 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * + * * @return The notExpression. */ @java.lang.Override @@ -914,24 +1058,30 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getNot if (exprCase_ == 2) { return (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression) expr_; } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression + .getDefaultInstance(); } else { if (exprCase_ == 2) { return notExpressionBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.getDefaultInstance(); + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ - public Builder setNotExpression(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + public Builder setNotExpression( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { if (notExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -945,16 +1095,20 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.ExpandedDataS 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ public Builder setNotExpression( - com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { if (notExpressionBuilder_ == null) { expr_ = builderForValue.build(); onChanged(); @@ -965,20 +1119,29 @@ public Builder setNotExpression( 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ - public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + 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(); + 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; } @@ -994,13 +1157,16 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.ExpandedDat 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ public Builder clearNotExpression() { if (notExpressionBuilder_ == null) { @@ -1019,55 +1185,74 @@ public Builder clearNotExpression() { 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder getNotExpressionBuilder() { + 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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder getNotExpressionOrBuilder() { + 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(); + 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; + * .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> + 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(); + 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>( + 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()); @@ -1079,14 +1264,20 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuild } 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_; + 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 @@ -1094,12 +1285,15 @@ 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 @@ -1117,6 +1311,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getFilter() { } } /** + * + * *
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1138,6 +1334,8 @@ public Builder setFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFilte
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1157,6 +1355,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1166,10 +1366,14 @@ public Builder setFilter(
      */
     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();
+        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;
         }
@@ -1185,6 +1389,8 @@ public Builder mergeFilter(com.google.analytics.admin.v1alpha.ExpandedDataSetFil
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1209,6 +1415,8 @@ public Builder clearFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1220,6 +1428,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.Builder getFilte
       return getFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1239,6 +1449,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder getFilt
       }
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1247,14 +1459,19 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder getFilt
      * .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> 
+            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>(
+        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());
@@ -1264,9 +1481,9 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder getFilt
       onChanged();
       return filterBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1276,41 +1493,43 @@ public final Builder mergeUnknownFields(
       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;
+  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() {
+  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();
-    }
-  };
+  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;
@@ -1322,9 +1541,8 @@ public com.google.protobuf.Parser getParserForT
   }
 
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getDefaultInstanceForType() {
+  public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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
similarity index 57%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionList.java
index 402d5c2b8137..e5eb785e28a6 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/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
@@ -1,115 +1,162 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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 +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; + private static final long serialVersionUID = 0L; // Use ExpandedDataSetFilterExpressionList.newBuilder() to construct. - private ExpandedDataSetFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExpandedDataSetFilterExpressionList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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_; + private java.util.List + filterExpressions_; /** + * + * *
    * A list of ExpandedDataSet filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { return filterExpressions_; } /** + * + * *
    * A list of ExpandedDataSet filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public java.util.List + 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; + * + * 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; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getFilterExpressions(int index) { + 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; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + 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; @@ -121,8 +168,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < filterExpressions_.size(); i++) { output.writeMessage(1, filterExpressions_.get(i)); } @@ -136,8 +182,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < filterExpressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, filterExpressions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, filterExpressions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +193,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList other = (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) obj; + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList other = + (com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList) obj; - if (!getFilterExpressionsList() - .equals(other.getFilterExpressionsList())) return false; + if (!getFilterExpressionsList().equals(other.getFilterExpressionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +223,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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 + 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); + 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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A list of ExpandedDataSet filter expressions.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,19 +370,22 @@ public Builder clear() { } @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; + 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(); + 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(); + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -336,14 +394,18 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList bu @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); + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result) { if (filterExpressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { filterExpressions_ = java.util.Collections.unmodifiableList(filterExpressions_); @@ -355,7 +417,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Expan } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -363,46 +426,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSetFil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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()) { @@ -421,9 +489,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ExpandedDataSetFilte filterExpressionsBuilder_ = null; filterExpressions_ = other.filterExpressions_; bitField0_ = (bitField0_ & ~0x00000001); - filterExpressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilterExpressionsFieldBuilder() : null; + filterExpressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilterExpressionsFieldBuilder() + : null; } else { filterExpressionsBuilder_.addAllMessages(other.filterExpressions_); } @@ -455,25 +524,27 @@ public Builder mergeFrom( 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: + 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) { @@ -483,28 +554,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List filterExpressions_ = - java.util.Collections.emptyList(); + private java.util.List + filterExpressions_ = java.util.Collections.emptyList(); + private void ensureFilterExpressionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - filterExpressions_ = new java.util.ArrayList(filterExpressions_); + 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_; + 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; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { if (filterExpressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(filterExpressions_); } else { @@ -512,11 +596,15 @@ public java.util.List * A list of ExpandedDataSet filter expressions. *
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public int getFilterExpressionsCount() { if (filterExpressionsBuilder_ == null) { @@ -526,13 +614,18 @@ public int getFilterExpressionsCount() { } } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getFilterExpressions(int index) { + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getFilterExpressions( + int index) { if (filterExpressionsBuilder_ == null) { return filterExpressions_.get(index); } else { @@ -540,11 +633,15 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression getFil } } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder setFilterExpressions( int index, com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { @@ -561,14 +658,20 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder setFilterExpressions( - int index, com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.set(index, builderForValue.build()); @@ -579,13 +682,18 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ - public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { + public Builder addFilterExpressions( + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { if (filterExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -599,11 +707,15 @@ public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.ExpandedD return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( int index, com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression value) { @@ -620,14 +732,19 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( - com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.add(builderForValue.build()); @@ -638,14 +755,20 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( - int index, com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder + builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.add(index, builderForValue.build()); @@ -656,18 +779,23 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder addAllFilterExpressions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression> + values) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filterExpressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filterExpressions_); onChanged(); } else { filterExpressionsBuilder_.addAllMessages(values); @@ -675,11 +803,15 @@ public Builder addAllFilterExpressions( return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder clearFilterExpressions() { if (filterExpressionsBuilder_ == null) { @@ -692,11 +824,15 @@ public Builder clearFilterExpressions() { return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ public Builder removeFilterExpressions(int index) { if (filterExpressionsBuilder_ == null) { @@ -709,39 +845,53 @@ public Builder removeFilterExpressions(int index) { return this; } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builder getFilterExpressionsBuilder( - int index) { + 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; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { if (filterExpressionsBuilder_ == null) { - return filterExpressions_.get(index); } else { + return filterExpressions_.get(index); + } else { return filterExpressionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ - public java.util.List - getFilterExpressionsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList() { if (filterExpressionsBuilder_ != null) { return filterExpressionsBuilder_.getMessageOrBuilderList(); } else { @@ -749,45 +899,70 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuild } } /** + * + * *
      * A list of ExpandedDataSet filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * + * 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()); + 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; + * + * 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()); + 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; + * + * repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1; + * */ - public java.util.List - getFilterExpressionsBuilderList() { + 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> + 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>( + 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(), @@ -796,9 +971,9 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression.Builde } return filterExpressionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +983,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + 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(); - } - }; + 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; @@ -854,9 +1031,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList getDefaultInstanceForType() { + 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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 79% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionOrBuilder.java index 0f1b437c2129..1e8060196799 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/expanded_data_set.proto package com.google.analytics.admin.v1alpha; -public interface ExpandedDataSetFilterExpressionOrBuilder extends +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
@@ -16,10 +34,13 @@ public interface ExpandedDataSetFilterExpressionOrBuilder extends
    * 
* * .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
@@ -28,10 +49,13 @@ public interface ExpandedDataSetFilterExpressionOrBuilder extends
    * 
* * .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
@@ -41,62 +65,83 @@ public interface ExpandedDataSetFilterExpressionOrBuilder extends
    *
    * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1;
    */
-  com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListOrBuilder getAndGroupOrBuilder();
+  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; + * .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; + * .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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2; + * */ - com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder getNotExpressionOrBuilder(); + 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.
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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
similarity index 67%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterOrBuilder.java
index 7e67297efbf5..e7f652c64162 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/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
@@ -1,88 +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
+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; + * .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; + * .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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2; + * */ - com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterOrBuilder getStringFilterOrBuilder(); + 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; + * .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; + * .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; + * .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3; + * */ - com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterOrBuilder getInListFilterOrBuilder(); + 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(); + com.google.protobuf.ByteString getFieldNameBytes(); public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.OneFilterCase getOneFilterCase(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 76% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetOrBuilder.java index af2dec3fd2da..51820f6cac7a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,79 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 +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(); + 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(); + 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(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Immutable. The list of dimensions included in the ExpandedDataSet.
    * See the [API
@@ -82,11 +115,13 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the dimensionNames. */ - java.util.List - getDimensionNamesList(); + java.util.List getDimensionNamesList(); /** + * + * *
    * Immutable. The list of dimensions included in the ExpandedDataSet.
    * See the [API
@@ -95,10 +130,13 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * 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
@@ -107,11 +145,14 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * 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
@@ -120,13 +161,15 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * 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); + com.google.protobuf.ByteString getDimensionNamesBytes(int index); /** + * + * *
    * Immutable. The list of metrics included in the ExpandedDataSet.
    * See the [API
@@ -135,11 +178,13 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the metricNames. */ - java.util.List - getMetricNamesList(); + java.util.List getMetricNamesList(); /** + * + * *
    * Immutable. The list of metrics included in the ExpandedDataSet.
    * See the [API
@@ -148,10 +193,13 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * 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
@@ -160,11 +208,14 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * 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
@@ -173,72 +224,101 @@ public interface ExpandedDataSetOrBuilder extends
    * 
* * 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); + 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]; + * + * .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]; + * + * .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]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionOrBuilder getDimensionFilterExpressionOrBuilder(); + 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]; + * + * .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]; + * + * .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]; + * + * .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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 56% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.java index fa6ba0309ac0..c7db65e7b0ba 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,57 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + private static final long serialVersionUID = 0L; // Use FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() to construct. - private FetchAutomatedGa4ConfigurationOptOutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchAutomatedGa4ConfigurationOptOutRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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.
@@ -60,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The property. */ @java.lang.Override @@ -68,14 +94,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * 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.
@@ -84,16 +111,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -102,6 +128,7 @@ public java.lang.String getProperty() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -138,15 +164,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest)) { + 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; + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest other = + (com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -165,130 +193,146 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + 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 { + + 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 { + + 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 { + + 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 { + + 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 { + + 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); + + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for fetching the opt out status for the automated GA4 setup process.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -298,19 +342,22 @@ public Builder clear() { } @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; + 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(); + 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(); + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -318,14 +365,19 @@ public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRe } @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -336,46 +388,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FetchAutomatedGa4C public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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; @@ -407,17 +466,19 @@ public Builder mergeFrom( 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: + 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) { @@ -427,10 +488,13 @@ public Builder mergeFrom( } // 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.
@@ -439,13 +503,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -454,6 +518,8 @@ public 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.
@@ -462,15 +528,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -478,6 +543,8 @@ public 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.
@@ -486,18 +553,22 @@ public java.lang.String getProperty() {
      * 
* * 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(); } + 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.
@@ -506,6 +577,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -515,6 +587,8 @@ public Builder clearProperty() { 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.
@@ -523,21 +597,23 @@ public Builder clearProperty() {
      * 
* * 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,55 +623,61 @@ public final Builder mergeUnknownFields( 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; + private static final com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest(); } - public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest getDefaultInstance() { + 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(); - } - }; + 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() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder.java index 5802eb07540f..7c50fa83f816 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder extends +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.
@@ -16,10 +34,13 @@ public interface FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder extends
    * 
* * 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.
@@ -28,8 +49,8 @@ public interface FetchAutomatedGa4ConfigurationOptOutRequestOrBuilder extends
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 50% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.java index a7873cd4c41e..01534f0804b2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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.
@@ -11,51 +28,58 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse}
  */
-public final class FetchAutomatedGa4ConfigurationOptOutResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+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;
+  private static final long serialVersionUID = 0L;
   // Use FetchAutomatedGa4ConfigurationOptOutResponse.newBuilder() to construct.
-  private FetchAutomatedGa4ConfigurationOptOutResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private FetchAutomatedGa4ConfigurationOptOutResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private FetchAutomatedGa4ConfigurationOptOutResponse() {
-  }
+
+  private FetchAutomatedGa4ConfigurationOptOutResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FetchAutomatedGa4ConfigurationOptOutResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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;
+
+  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
+    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);
+            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 @@ -64,6 +88,7 @@ public boolean getOptOut() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +100,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (optOut_ != false) { output.writeBool(1, optOut_); } @@ -90,8 +114,7 @@ public int getSerializedSize() { size = 0; if (optOut_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, optOut_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, optOut_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse)) { + 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; + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse other = + (com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse) obj; - if (getOptOut() - != other.getOptOut()) return false; + if (getOptOut() != other.getOptOut()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,138 +147,153 @@ public int hashCode() { 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 = (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 { + 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 { + + 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 { + + 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 { + + 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 { + + 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 { + + 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); + + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for fetching the opt out status for the automated GA4 setup
    * process.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse} + * Protobuf type {@code + * google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -263,19 +303,22 @@ public Builder clear() { } @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; + 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(); + 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(); + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -283,14 +326,19 @@ public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRe } @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.optOut_ = optOut_; @@ -301,46 +349,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FetchAutomatedGa4C public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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()); } @@ -370,17 +426,19 @@ public Builder mergeFrom( 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: + 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) { @@ -390,15 +448,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean optOut_ ; + private boolean optOut_; /** + * + * *
      * The opt out status for the UA property.
      * 
* * bool opt_out = 1; + * * @return The optOut. */ @java.lang.Override @@ -406,27 +468,33 @@ 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() { @@ -435,9 +503,9 @@ public Builder clearOptOut() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -447,55 +515,61 @@ public final Builder mergeUnknownFields( 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; + private static final com.google.analytics.admin.v1alpha + .FetchAutomatedGa4ConfigurationOptOutResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse(); } - public static com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse getDefaultInstance() { + 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(); - } - }; + 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() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse getDefaultInstanceForType() { + 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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLink.java index 4a25a2e077cf..da75da499f80 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A link between a GA4 property and a Firebase project.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FirebaseLink} */ -public final class FirebaseLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FirebaseLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FirebaseLink) FirebaseLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FirebaseLink.newBuilder() to construct. private FirebaseLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FirebaseLink() { name_ = ""; project_ = ""; @@ -26,38 +44,43 @@ private FirebaseLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FirebaseLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_FirebaseLink_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FirebaseLink.class, com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); + com.google.analytics.admin.v1alpha.FirebaseLink.class, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -66,29 +89,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,9 +120,12 @@ public java.lang.String getName() { } public static final int PROJECT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink,
    * you may provide this resource name using either a project number or project
@@ -110,6 +136,7 @@ public java.lang.String getName() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ @java.lang.Override @@ -118,14 +145,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink,
    * you may provide this resource name using either a project number or project
@@ -136,16 +164,15 @@ public java.lang.String getProject() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -156,11 +183,15 @@ public java.lang.String getProject() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -168,11 +199,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -180,11 +215,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -192,6 +230,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -230,8 +268,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -241,21 +278,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.FirebaseLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.FirebaseLink other = (com.google.analytics.admin.v1alpha.FirebaseLink) obj; + com.google.analytics.admin.v1alpha.FirebaseLink other = + (com.google.analytics.admin.v1alpha.FirebaseLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getProject() - .equals(other.getProject())) return false; + 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 (!getCreateTime().equals(other.getCreateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -281,130 +316,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( 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.FirebaseLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FirebaseLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.FirebaseLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.FirebaseLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.FirebaseLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A link between a GA4 property and a Firebase project.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FirebaseLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.FirebaseLink) com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FirebaseLink.class, com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); + com.google.analytics.admin.v1alpha.FirebaseLink.class, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.FirebaseLink.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +461,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; } @java.lang.Override @@ -441,8 +482,11 @@ public com.google.analytics.admin.v1alpha.FirebaseLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.FirebaseLink buildPartial() { - com.google.analytics.admin.v1alpha.FirebaseLink result = new com.google.analytics.admin.v1alpha.FirebaseLink(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.FirebaseLink result = + new com.google.analytics.admin.v1alpha.FirebaseLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -456,9 +500,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FirebaseLink resul result.project_ = project_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } } @@ -466,38 +508,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FirebaseLink resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.FirebaseLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink)other); + return mergeFrom((com.google.analytics.admin.v1alpha.FirebaseLink) other); } else { super.mergeFrom(other); return this; @@ -505,7 +548,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.FirebaseLink other) { - if (other == com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -545,29 +589,31 @@ public Builder mergeFrom( 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 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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 + 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) { @@ -577,22 +623,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -601,20 +650,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -622,28 +672,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -653,17 +710,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -673,6 +734,8 @@ public Builder setNameBytes( private java.lang.Object project_ = ""; /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink,
      * you may provide this resource name using either a project number or project
@@ -683,13 +746,13 @@ public Builder setNameBytes(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -698,6 +761,8 @@ 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
@@ -708,15 +773,14 @@ public java.lang.String getProject() {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -724,6 +788,8 @@ 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
@@ -734,18 +800,22 @@ public java.lang.String getProject() {
      * 
* * 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(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink,
      * you may provide this resource name using either a project number or project
@@ -756,6 +826,7 @@ public Builder setProject(
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -765,6 +836,8 @@ public Builder clearProject() { return this; } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink,
      * you may provide this resource name using either a project number or project
@@ -775,12 +848,14 @@ public Builder clearProject() {
      * 
* * 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(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000002; @@ -790,39 +865,58 @@ public Builder setProjectBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -838,14 +932,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -856,17 +953,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -879,11 +980,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -896,11 +1001,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -908,43 +1017,55 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.FirebaseLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.FirebaseLink) private static final com.google.analytics.admin.v1alpha.FirebaseLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.FirebaseLink(); } @@ -968,27 +1089,27 @@ public static com.google.analytics.admin.v1alpha.FirebaseLink getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirebaseLink 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FirebaseLink 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; @@ -1003,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.FirebaseLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FirebaseLinkOrBuilder.java index 03154ee9378b..74e70579d38b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,33 +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/resources.proto package com.google.analytics.admin.v1alpha; -public interface FirebaseLinkOrBuilder extends +public interface FirebaseLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FirebaseLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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
@@ -38,10 +61,13 @@ public interface FirebaseLinkOrBuilder extends
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ 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
@@ -52,35 +78,46 @@ public interface FirebaseLinkOrBuilder extends
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java index 957ea8513e7b..1a3ad8cf6f33 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccountRequest} */ -public final class GetAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAccountRequest) GetAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAccountRequest.newBuilder() to construct. private GetAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetAccountRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAccountRequest.class, com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAccountRequest.class, + com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAccountRequest other = (com.google.analytics.admin.v1alpha.GetAccountRequest) obj; + com.google.analytics.admin.v1alpha.GetAccountRequest other = + (com.google.analytics.admin.v1alpha.GetAccountRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( 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.GetAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAccountRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccountRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAccountRequest) com.google.analytics.admin.v1alpha.GetAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAccountRequest.class, com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAccountRequest.class, + com.google.analytics.admin.v1alpha.GetAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAccountRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; } @java.lang.Override @@ -317,8 +350,11 @@ public com.google.analytics.admin.v1alpha.GetAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAccountRequest result = new com.google.analytics.admin.v1alpha.GetAccountRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetAccountRequest result = + new com.google.analytics.admin.v1alpha.GetAccountRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +370,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetAccountRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAccountRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAccountRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +410,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +443,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +465,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +496,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +522,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +568,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAccountRequest) private static final com.google.analytics.admin.v1alpha.GetAccountRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAccountRequest(); } @@ -554,27 +619,27 @@ public static com.google.analytics.admin.v1alpha.GetAccountRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAccountRequest 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; @@ -589,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java new file mode 100644 index 000000000000..c9770c3a5fcb --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.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 GetAccountRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java index 70ce6007af66..ec01566cacb7 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetAttributionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAttributionSettingsRequest} */ -public final class GetAttributionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAttributionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) GetAttributionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAttributionSettingsRequest.newBuilder() to construct. private GetAttributionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAttributionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAttributionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetAttributionSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the attribution settings to retrieve.
    * Format: properties/{property}/attributionSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the attribution settings to retrieve.
    * Format: properties/{property}/attributionSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other = (com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other = + (com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( 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.GetAttributionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetAttributionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAttributionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) com.google.analytics.admin.v1alpha.GetAttributionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result = new com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +371,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetAttributionSett public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetAttributionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +446,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +468,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +498,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +523,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +567,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the attribution settings to retrieve.
      * Format: properties/{property}/attributionSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +603,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttributionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttributionSettingsRequest 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; @@ -579,9 +651,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..5d0b3502e618 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.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 GetAttributionSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the attribution settings to retrieve.
+   * Format: properties/{property}/attributionSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the attribution settings to retrieve.
+   * Format: properties/{property}/attributionSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java index 77bd9e56dee1..6267cff16b66 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAudienceRequest} */ -public final class GetAudienceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAudienceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAudienceRequest) GetAudienceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAudienceRequest.newBuilder() to construct. private GetAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAudienceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetAudienceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAudienceRequest.class, com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAudienceRequest.class, + com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Audience to get.
    * Example format: properties/1234/audiences/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Audience to get.
    * Example format: properties/1234/audiences/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAudienceRequest other = (com.google.analytics.admin.v1alpha.GetAudienceRequest) obj; + com.google.analytics.admin.v1alpha.GetAudienceRequest other = + (com.google.analytics.admin.v1alpha.GetAudienceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( 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.GetAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAudienceRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAudienceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAudienceRequest) com.google.analytics.admin.v1alpha.GetAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAudienceRequest.class, com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAudienceRequest.class, + com.google.analytics.admin.v1alpha.GetAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAudienceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1alpha.GetAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAudienceRequest result = new com.google.analytics.admin.v1alpha.GetAudienceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetAudienceRequest result = + new com.google.analytics.admin.v1alpha.GetAudienceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetAudienceRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAudienceRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAudienceRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAudienceRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetAudienceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Audience to get.
      * Example format: properties/1234/audiences/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAudienceRequest) private static final com.google.analytics.admin.v1alpha.GetAudienceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAudienceRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1alpha.GetAudienceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAudienceRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java new file mode 100644 index 000000000000..d5fbb7e81b56 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.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 GetAudienceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAudienceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Audience to get.
+   * Example format: properties/1234/audiences/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 Audience to get.
+   * Example format: properties/1234/audiences/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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequest.java index f6001f85d21d..6c041cb95636 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 +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; + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetBigQueryLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest other = (com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest other = + (com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetBigQueryLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetBigQueryLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @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; + 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 @@ -317,8 +351,11 @@ public com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest build() { @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); } + com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest result = + new com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetBigQueryLinkReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +497,25 @@ public 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +523,43 @@ public 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) = { ... } + * + * 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(); } + 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +569,34 @@ public Builder clearName() { 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) = { ... } + * + * 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( 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(); } @@ -554,27 +620,27 @@ public static com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest getDefau 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(); - } - }; + 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java index a6356bd6ee0e..02174382f45f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetConversionEventRequest} */ -public final class GetConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetConversionEventRequest) GetConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConversionEventRequest.newBuilder() to construct. private GetConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetConversionEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, + com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetConversionEventRequest other = (com.google.analytics.admin.v1alpha.GetConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.GetConversionEventRequest other = + (com.google.analytics.admin.v1alpha.GetConversionEventRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( 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.GetConversionEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetConversionEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetConversionEventRequest) com.google.analytics.admin.v1alpha.GetConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, + com.google.analytics.admin.v1alpha.GetConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetConversionEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,13 +330,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetConversionEventRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance(); } @@ -317,13 +352,17 @@ public com.google.analytics.admin.v1alpha.GetConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetConversionEventRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetConversionEventRequest result = new com.google.analytics.admin.v1alpha.GetConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetConversionEventRequest result = + new com.google.analytics.admin.v1alpha.GetConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetConversionEventRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,38 +373,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetConversionEvent public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetConversionEventRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +413,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetConversionEventRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +447,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +469,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +500,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +526,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +572,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +609,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.GetConversionEventRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetConversionEventRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetConversionEventRequest(); } @@ -554,27 +624,27 @@ public static com.google.analytics.admin.v1alpha.GetConversionEventRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConversionEventRequest 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; @@ -589,6 +659,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..986523b1dd1b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.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 GetConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java index a07b734ca286..7fd4622ee2ef 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomDimensionRequest} */ -public final class GetCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomDimensionRequest) GetCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCustomDimensionRequest.newBuilder() to construct. private GetCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest other = + (com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( 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.GetCustomDimensionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetCustomDimensionRequest) com.google.analytics.admin.v1alpha.GetCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetCustomDimension public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +411,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +445,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +467,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +497,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +522,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +566,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +602,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.GetCustomDimensionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetCustomDimensionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetCustomDimensionRequest(); } @@ -547,27 +617,27 @@ public static com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomDimensionRequest 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; @@ -582,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..4055eb55f589 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.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 GetCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java index 31c682c19bdd..3fb7b406297a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomMetricRequest} */ -public final class GetCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetCustomMetricRequest) GetCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCustomMetricRequest.newBuilder() to construct. private GetCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetCustomMetricRequest other = (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.GetCustomMetricRequest other = + (com.google.analytics.admin.v1alpha.GetCustomMetricRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( 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.GetCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetCustomMetricRequest) com.google.analytics.admin.v1alpha.GetCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.GetCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1alpha.GetCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetCustomMetricRequest result = new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetCustomMetricReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetCustomMetricRequest) private static final com.google.analytics.admin.v1alpha.GetCustomMetricRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetCustomMetricRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1alpha.GetCustomMetricRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomMetricRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..b19794739c91 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.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 GetCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java index 827599e1a65c..0de8f7a0f8cd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest} */ -public final class GetDataRetentionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) GetDataRetentionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataRetentionSettingsRequest.newBuilder() to construct. - private GetDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataRetentionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataRetentionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetDataRetentionSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -59,7 +82,10 @@ protected java.lang.Object newInstance(
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -83,17 +110,18 @@ public java.lang.String getName() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,6 +130,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -138,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other = (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other = + (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,129 +194,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( 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.GetDataRetentionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest 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.GetDataRetentionSettingsRequest + 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.GetDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -298,14 +335,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -319,13 +358,17 @@ public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest build( @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result = new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -336,46 +379,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataRetentionSe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetDataRetentionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -407,17 +455,19 @@ public Builder mergeFrom( 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: + 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) { @@ -427,10 +477,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -438,14 +491,16 @@ public Builder mergeFrom(
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -454,6 +509,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -461,16 +518,17 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -478,6 +536,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -485,19 +545,25 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 settings to lookup.
      * Format:
@@ -505,7 +571,10 @@ public Builder setName(
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -515,6 +584,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -522,22 +593,26 @@ public Builder clearName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,41 +622,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataRetentionSettingsRequest 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; @@ -593,9 +670,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..246749d98c35 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetDataRetentionSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java index 1fa6d36ee6e9..2d96b4a5d769 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetDataSharingSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataSharingSettingsRequest} */ -public final class GetDataSharingSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataSharingSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) GetDataSharingSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataSharingSettingsRequest.newBuilder() to construct. private GetDataSharingSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataSharingSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataSharingSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetDataSharingSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other = (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other = + (com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( 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.GetDataSharingSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDataSharingSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataSharingSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,13 +330,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance(); } @@ -317,13 +352,17 @@ public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result = new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +373,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataSharingSett public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetDataSharingSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +448,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +470,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +501,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +527,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +573,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +610,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSharingSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSharingSettingsRequest 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; @@ -586,9 +658,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..332a29a4a2e1 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.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 GetDataSharingSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java index b5398f5254b9..1e7f8f7864df 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataStreamRequest} */ -public final class GetDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataStreamRequest) GetDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataStreamRequest.newBuilder() to construct. private GetDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDataStreamRequest other = (com.google.analytics.admin.v1alpha.GetDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.GetDataStreamRequest other = + (com.google.analytics.admin.v1alpha.GetDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( 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.GetDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDataStreamRequest) com.google.analytics.admin.v1alpha.GetDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, + com.google.analytics.admin.v1alpha.GetDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1alpha.GetDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataStreamRequest result = new com.google.analytics.admin.v1alpha.GetDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetDataStreamRequest result = + new com.google.analytics.admin.v1alpha.GetDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataStreamReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDataStreamRequest) private static final com.google.analytics.admin.v1alpha.GetDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDataStreamRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1alpha.GetDataStreamRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataStreamRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..bf5da682e3de --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.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 GetDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/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 DataStream to get.
+   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java similarity index 51% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java index d5391970ac31..9d4b264fd77c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.java @@ -1,63 +1,93 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetDisplayVideo360AdvertiserLinkProposal RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} */ -public final class GetDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDisplayVideo360AdvertiserLinkProposalRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkProposalRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDisplayVideo360AdvertiserLinkProposalRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkProposalRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
    * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +96,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
    * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +130,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +166,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) obj; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other = + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +195,148 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + 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.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + parseFrom( + 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.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + 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.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest 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.GetDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + 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.GetDisplayVideo360AdvertiserLinkProposalRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + 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.GetDisplayVideo360AdvertiserLinkProposalRequest + 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.GetDisplayVideo360AdvertiserLinkProposalRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDisplayVideo360AdvertiserLinkProposal RPC.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + .class, + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,19 +346,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest build() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + build() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -314,14 +370,20 @@ public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkPropos } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result = + new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +394,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetDisplayVideo360 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +473,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +495,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +525,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +550,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +594,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
      * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,55 +630,63 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .GetDisplayVideo360AdvertiserLinkProposalRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest(); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDisplayVideo360AdvertiserLinkProposalRequest 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(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser< + GetDisplayVideo360AdvertiserLinkProposalRequest>() { + @java.lang.Override + public GetDisplayVideo360AdvertiserLinkProposalRequest 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() { + public static com.google.protobuf.Parser + parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java new file mode 100644 index 000000000000..47e4394e7c6c --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.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 GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java similarity index 53% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java index f6e89bc099c4..24b06f0fcccf 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequest.java @@ -1,63 +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/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest} */ -public final class GetDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) GetDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private GetDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDisplayVideo360AdvertiserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the DisplayVideo360AdvertiserLink to get.
    * Example format: properties/1234/displayVideo360AdvertiserLink/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +94,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the DisplayVideo360AdvertiserLink to get.
    * Example format: properties/1234/displayVideo360AdvertiserLink/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +164,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other = + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +192,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + 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.GetDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + parseFrom( + 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.GetDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + 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.GetDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest 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.GetDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + 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.GetDisplayVideo360AdvertiserLinkRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + 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.GetDisplayVideo360AdvertiserLinkRequest + 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.GetDisplayVideo360AdvertiserLinkRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,19 +340,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -314,14 +363,19 @@ public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkReques } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +386,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetDisplayVideo360 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +463,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +485,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +515,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +540,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +584,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the DisplayVideo360AdvertiserLink to get.
      * Example format: properties/1234/displayVideo360AdvertiserLink/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +620,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDisplayVideo360AdvertiserLinkRequest 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; @@ -579,9 +669,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..5b243e80140b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.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 GetDisplayVideo360AdvertiserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/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 DisplayVideo360AdvertiserLink to get.
+   * Example format: properties/1234/displayVideo360AdvertiserLink/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java index 79f4720e3088..fb1d07b466f9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequest.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetGlobalSiteTag RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGlobalSiteTagRequest} */ -public final class GetGlobalSiteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetGlobalSiteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) GetGlobalSiteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGlobalSiteTagRequest.newBuilder() to construct. private GetGlobalSiteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGlobalSiteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGlobalSiteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetGlobalSiteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -83,17 +109,18 @@ public java.lang.String getName() {
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,6 +129,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -138,15 +165,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest other = (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) obj; + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest other = + (com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,129 +193,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( 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.GetGlobalSiteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetGlobalSiteTag RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGlobalSiteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -298,9 +332,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; } @java.lang.Override @@ -319,8 +353,11 @@ public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest result = new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest result = + new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -336,38 +373,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetGlobalSiteTagRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -375,7 +413,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -407,17 +446,19 @@ public Builder mergeFrom( 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: + 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) { @@ -427,10 +468,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -438,14 +482,16 @@ public Builder mergeFrom(
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -454,6 +500,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -461,16 +509,17 @@ public java.lang.String getName() {
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -478,6 +527,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -485,19 +536,25 @@ public java.lang.String getName() {
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -505,7 +562,10 @@ public Builder setName(
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -515,6 +575,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the site tag to lookup.
      * Note that site tags are singletons and do not have unique IDs.
@@ -522,22 +584,26 @@ public Builder clearName() {
      * Example: "properties/123/dataStreams/456/globalSiteTag"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,12 +613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) private static final com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest(); } @@ -561,27 +627,27 @@ public static com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGlobalSiteTagRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGlobalSiteTagRequest 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; @@ -596,6 +662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java index b24e28e3f840..7cffb6b43700 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGlobalSiteTagRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface GetGlobalSiteTagRequestOrBuilder extends +public interface GetGlobalSiteTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -15,11 +33,16 @@ public interface GetGlobalSiteTagRequestOrBuilder extends
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the site tag to lookup.
    * Note that site tags are singletons and do not have unique IDs.
@@ -27,9 +50,11 @@ public interface GetGlobalSiteTagRequestOrBuilder extends
    * Example: "properties/123/dataStreams/456/globalSiteTag"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java index 1e1838501f39..bd976b753772 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequest.java @@ -1,63 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest} */ -public final class GetGoogleSignalsSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) GetGoogleSignalsSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGoogleSignalsSettingsRequest.newBuilder() to construct. - private GetGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetGoogleSignalsSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGoogleSignalsSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetGoogleSignalsSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the google signals settings to retrieve.
    * Format: properties/{property}/googleSignalsSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +92,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the google signals settings to retrieve.
    * Format: properties/{property}/googleSignalsSettings
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other = (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other = + (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +190,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( 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.GetGoogleSignalsSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest 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.GetGoogleSignalsSettingsRequest + 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.GetGoogleSignalsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetGoogleSignalsSettings RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,14 +331,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -315,13 +354,17 @@ public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest build( @java.lang.Override public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result = new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +375,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetGoogleSignalsSe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetGoogleSignalsSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +451,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +473,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +503,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +528,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +572,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the google signals settings to retrieve.
      * Format: properties/{property}/googleSignalsSettings
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +608,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGoogleSignalsSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGoogleSignalsSettingsRequest 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; @@ -579,9 +656,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..9b61ee921ce5 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.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 GetGoogleSignalsSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the google signals settings to retrieve.
+   * Format: properties/{property}/googleSignalsSettings
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java index 8098a691b859..b487891af3ce 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequest.java @@ -1,64 +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/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for GetMeasurementProtocolSecret RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest} */ -public final class GetMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) GetMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMeasurementProtocolSecretRequest.newBuilder() to construct. - private GetMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +94,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +129,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +165,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +193,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( 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.GetMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest 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.GetMeasurementProtocolSecretRequest + 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.GetMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetMeasurementProtocolSecret RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,19 +334,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -317,13 +358,17 @@ public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest bu @java.lang.Override public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +379,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetMeasurementProt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +455,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +477,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +508,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +534,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +580,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +617,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMeasurementProtocolSecretRequest 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; @@ -586,9 +665,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..e68f02661ef9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.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 GetMeasurementProtocolSecretRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java index 9b7f7fc01e38..25b36a196e63 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetPropertyRequest} */ -public final class GetPropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetPropertyRequest) GetPropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPropertyRequest.newBuilder() to construct. private GetPropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetPropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetPropertyRequest.class, com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetPropertyRequest.class, + com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetPropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetPropertyRequest other = (com.google.analytics.admin.v1alpha.GetPropertyRequest) obj; + com.google.analytics.admin.v1alpha.GetPropertyRequest other = + (com.google.analytics.admin.v1alpha.GetPropertyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( 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.GetPropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetPropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetPropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetPropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetPropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetPropertyRequest) com.google.analytics.admin.v1alpha.GetPropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetPropertyRequest.class, com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetPropertyRequest.class, + com.google.analytics.admin.v1alpha.GetPropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetPropertyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.analytics.admin.v1alpha.GetPropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetPropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetPropertyRequest result = new com.google.analytics.admin.v1alpha.GetPropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetPropertyRequest result = + new com.google.analytics.admin.v1alpha.GetPropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetPropertyRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetPropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetPropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetPropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetPropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetPropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetPropertyRequest) private static final com.google.analytics.admin.v1alpha.GetPropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetPropertyRequest(); } @@ -554,27 +620,27 @@ public static com.google.analytics.admin.v1alpha.GetPropertyRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPropertyRequest 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetPropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java new file mode 100644 index 000000000000..20cd31c0f87f --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.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 GetPropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetPropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequest.java index 7b887a888a6a..d829f4863641 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 +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; + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSearchAds360LinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the SearchAds360Link to get.
    * Example format: properties/1234/SearchAds360Link/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest other = (com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) obj; + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest other = + (com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetSearchAds360Link RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetSearchAds360LinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @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; + 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() { + public com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest build() { @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetSearchAds360Lin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +411,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +445,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +467,28 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +497,24 @@ public 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +522,41 @@ public 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) = { ... } + * + * 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(); } + 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) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +566,33 @@ public Builder clearName() { 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) = { ... } + * + * 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +602,13 @@ public final Builder mergeUnknownFields( 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; + private static final com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest(); } @@ -547,27 +617,27 @@ public static com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest getD 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(); - } - }; + 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; @@ -582,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java index cbdaac1c2a2e..edf87de1cdaa 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 GetUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ -public final class GetUserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) GetUserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetUserLinkRequest.newBuilder() to construct. private GetUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetUserLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GetUserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234/userLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GetUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetUserLinkRequest other = (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetUserLinkRequest other = + (com.google.analytics.admin.v1alpha.GetUserLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( 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.GetUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetUserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetUserLinkRequest) com.google.analytics.admin.v1alpha.GetUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, + com.google.analytics.admin.v1alpha.GetUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetUserLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.analytics.admin.v1alpha.GetUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetUserLinkRequest result = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetUserLinkRequest result = + new com.google.analytics.admin.v1alpha.GetUserLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetUserLinkRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GetUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetUserLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( 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: + 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) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +557,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Example format: accounts/1234/userLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetUserLinkRequest) private static final com.google.analytics.admin.v1alpha.GetUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetUserLinkRequest(); } @@ -540,27 +606,27 @@ public static com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserLinkRequest 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; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..b9a664810f25 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface GetUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: accounts/1234/userLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTag.java index 398f1abbd87e..d9e3cad3fd90 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Read-only resource with the tag for sending data from a website to a
  * DataStream. Only present for web DataStream resources.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.GlobalSiteTag}
  */
-public final class GlobalSiteTag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GlobalSiteTag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GlobalSiteTag)
     GlobalSiteTagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GlobalSiteTag.newBuilder() to construct.
   private GlobalSiteTag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GlobalSiteTag() {
     name_ = "";
     snippet_ = "";
@@ -27,33 +45,37 @@ private GlobalSiteTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GlobalSiteTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_GlobalSiteTag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.GlobalSiteTag.class, com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
+            com.google.analytics.admin.v1alpha.GlobalSiteTag.class,
+            com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,15 +125,19 @@ public java.lang.String getName() { } public static final int SNIPPET_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object snippet_ = ""; /** + * + * *
    * 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]; + * * @return The snippet. */ @java.lang.Override @@ -119,30 +146,30 @@ public java.lang.String getSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snippet_ = s; return s; } } /** + * + * *
    * 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]; + * * @return The bytes for snippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getSnippetBytes() { + public com.google.protobuf.ByteString getSnippetBytes() { java.lang.Object ref = snippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); snippet_ = b; return b; } else { @@ -151,6 +178,7 @@ public java.lang.String getSnippet() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,8 +190,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -193,17 +220,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GlobalSiteTag)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GlobalSiteTag other = (com.google.analytics.admin.v1alpha.GlobalSiteTag) obj; + com.google.analytics.admin.v1alpha.GlobalSiteTag other = + (com.google.analytics.admin.v1alpha.GlobalSiteTag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getSnippet() - .equals(other.getSnippet())) return false; + if (!getName().equals(other.getName())) return false; + if (!getSnippet().equals(other.getSnippet())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -224,97 +250,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( 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.GlobalSiteTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GlobalSiteTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GlobalSiteTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Read-only resource with the tag for sending data from a website to a
    * DataStream. Only present for web DataStream resources.
@@ -322,33 +355,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.GlobalSiteTag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GlobalSiteTag)
       com.google.analytics.admin.v1alpha.GlobalSiteTagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.GlobalSiteTag.class, com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
+              com.google.analytics.admin.v1alpha.GlobalSiteTag.class,
+              com.google.analytics.admin.v1alpha.GlobalSiteTag.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.GlobalSiteTag.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -359,9 +391,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor;
     }
 
     @java.lang.Override
@@ -380,8 +412,11 @@ public com.google.analytics.admin.v1alpha.GlobalSiteTag build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.GlobalSiteTag buildPartial() {
-      com.google.analytics.admin.v1alpha.GlobalSiteTag result = new com.google.analytics.admin.v1alpha.GlobalSiteTag(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.GlobalSiteTag result =
+          new com.google.analytics.admin.v1alpha.GlobalSiteTag(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -400,38 +435,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GlobalSiteTag resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GlobalSiteTag) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.GlobalSiteTag)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.GlobalSiteTag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -439,7 +475,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.GlobalSiteTag other) {
-      if (other == com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -476,22 +513,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              snippet_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                snippet_ = 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) {
@@ -501,10 +541,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -512,13 +555,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -527,6 +570,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -534,15 +579,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -550,6 +594,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -557,18 +603,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -576,6 +626,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -585,6 +636,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -592,12 +645,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -607,19 +662,21 @@ public Builder setNameBytes( private java.lang.Object snippet_ = ""; /** + * + * *
      * 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]; + * * @return The snippet. */ public java.lang.String getSnippet() { java.lang.Object ref = snippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snippet_ = s; return s; @@ -628,21 +685,22 @@ 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.
      * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for snippet. */ - public com.google.protobuf.ByteString - getSnippetBytes() { + public com.google.protobuf.ByteString getSnippetBytes() { java.lang.Object ref = snippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); snippet_ = b; return b; } else { @@ -650,30 +708,37 @@ 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.
      * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The snippet to set. * @return This builder for chaining. */ - public Builder setSnippet( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSnippet(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } snippet_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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]; + * * @return This builder for chaining. */ public Builder clearSnippet() { @@ -683,27 +748,31 @@ public Builder clearSnippet() { return this; } /** + * + * *
      * 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]; + * * @param value The bytes for snippet to set. * @return This builder for chaining. */ - public Builder setSnippetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSnippetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); snippet_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -713,12 +782,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GlobalSiteTag) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GlobalSiteTag) private static final com.google.analytics.admin.v1alpha.GlobalSiteTag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GlobalSiteTag(); } @@ -727,27 +796,27 @@ public static com.google.analytics.admin.v1alpha.GlobalSiteTag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlobalSiteTag 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlobalSiteTag 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; @@ -762,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GlobalSiteTag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GlobalSiteTagOrBuilder.java index add55dcfe06c..3c81ccf88288 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GlobalSiteTagOrBuilder extends +public interface GlobalSiteTagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GlobalSiteTag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -15,10 +33,13 @@ public interface GlobalSiteTagOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this GlobalSiteTag resource.
    * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -26,30 +47,35 @@ public interface GlobalSiteTagOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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.
    * 
* * string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The snippet. */ java.lang.String getSnippet(); /** + * + * *
    * 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]; + * * @return The bytes for snippet. */ - com.google.protobuf.ByteString - getSnippetBytes(); + com.google.protobuf.ByteString getSnippetBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLink.java index 0e0859959fe9..ab091021ac52 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A link between a GA4 property and a Google Ads account.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleAdsLink} */ -public final class GoogleAdsLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GoogleAdsLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleAdsLink) GoogleAdsLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoogleAdsLink.newBuilder() to construct. private GoogleAdsLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GoogleAdsLink() { name_ = ""; customerId_ = ""; @@ -27,33 +45,37 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleAdsLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GoogleAdsLink_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleAdsLink.class, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,14 +125,18 @@ public java.lang.String getName() { } public static final int CUSTOMER_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object customerId_ = ""; /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The customerId. */ @java.lang.Override @@ -118,29 +145,29 @@ public java.lang.String getCustomerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; } } /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for customerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerIdBytes() { + public com.google.protobuf.ByteString getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerId_ = b; return b; } else { @@ -151,11 +178,14 @@ public java.lang.String getCustomerId() { public static final int CAN_MANAGE_CLIENTS_FIELD_NUMBER = 4; private boolean canManageClients_ = false; /** + * + * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The canManageClients. */ @java.lang.Override @@ -166,6 +196,8 @@ public boolean getCanManageClients() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 5; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -174,6 +206,7 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -181,6 +214,8 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -189,13 +224,18 @@ public boolean hasAdsPersonalizationEnabled() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -207,17 +247,23 @@ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() {
-    return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+    return adsPersonalizationEnabled_ == null
+        ? com.google.protobuf.BoolValue.getDefaultInstance()
+        : adsPersonalizationEnabled_;
   }
 
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -225,11 +271,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -237,11 +287,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -251,11 +304,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -263,11 +320,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -275,11 +336,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -287,15 +351,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int CREATOR_EMAIL_ADDRESS_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object creatorEmailAddress_ = ""; /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creatorEmailAddress. */ @java.lang.Override @@ -304,30 +372,30 @@ public java.lang.String getCreatorEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; } } /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creatorEmailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -336,6 +404,7 @@ public java.lang.String getCreatorEmailAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +416,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -386,20 +454,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerId_); } if (canManageClients_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, canManageClients_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, canManageClients_); } if (adsPersonalizationEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAdsPersonalizationEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getAdsPersonalizationEnabled()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorEmailAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, creatorEmailAddress_); @@ -412,36 +478,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GoogleAdsLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GoogleAdsLink other = (com.google.analytics.admin.v1alpha.GoogleAdsLink) obj; + com.google.analytics.admin.v1alpha.GoogleAdsLink other = + (com.google.analytics.admin.v1alpha.GoogleAdsLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCustomerId() - .equals(other.getCustomerId())) return false; - if (getCanManageClients() - != other.getCanManageClients()) return false; + if (!getName().equals(other.getName())) return false; + if (!getCustomerId().equals(other.getCustomerId())) return false; + if (getCanManageClients() != other.getCanManageClients()) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled() - .equals(other.getAdsPersonalizationEnabled())) return false; + if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) + return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getCreatorEmailAddress() - .equals(other.getCreatorEmailAddress())) return false; + if (!getCreatorEmailAddress().equals(other.getCreatorEmailAddress())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,8 +519,7 @@ public int hashCode() { hash = (37 * hash) + CUSTOMER_ID_FIELD_NUMBER; hash = (53 * hash) + getCustomerId().hashCode(); hash = (37 * hash) + CAN_MANAGE_CLIENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCanManageClients()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCanManageClients()); if (hasAdsPersonalizationEnabled()) { hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getAdsPersonalizationEnabled().hashCode(); @@ -479,130 +539,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( 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.GoogleAdsLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GoogleAdsLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GoogleAdsLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A link between a GA4 property and a Google Ads account.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleAdsLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GoogleAdsLink) com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleAdsLink.class, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1alpha.GoogleAdsLink.class, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GoogleAdsLink.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -630,9 +696,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; } @java.lang.Override @@ -651,8 +717,11 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink buildPartial() { - com.google.analytics.admin.v1alpha.GoogleAdsLink result = new com.google.analytics.admin.v1alpha.GoogleAdsLink(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GoogleAdsLink result = + new com.google.analytics.admin.v1alpha.GoogleAdsLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -669,19 +738,16 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GoogleAdsLink resu result.canManageClients_ = canManageClients_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null - ? adsPersonalizationEnabled_ - : adsPersonalizationEnabledBuilder_.build(); + result.adsPersonalizationEnabled_ = + adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.creatorEmailAddress_ = creatorEmailAddress_; @@ -692,38 +758,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GoogleAdsLink resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GoogleAdsLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.GoogleAdsLink)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GoogleAdsLink) other); } else { super.mergeFrom(other); return this; @@ -731,7 +798,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GoogleAdsLink other) { - if (other == com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -785,53 +853,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - customerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: { - canManageClients_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: { - input.readMessage( - getAdsPersonalizationEnabledFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 58: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - case 74: { - creatorEmailAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + customerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + canManageClients_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: + { + input.readMessage( + getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + case 74: + { + creatorEmailAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 74 + 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) { @@ -841,10 +912,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -852,13 +926,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -867,6 +941,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -874,15 +950,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -890,6 +965,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -897,18 +974,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -916,6 +997,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -925,6 +1007,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -932,12 +1016,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -947,18 +1033,20 @@ public Builder setNameBytes( private java.lang.Object customerId_ = ""; /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The customerId. */ public java.lang.String getCustomerId() { java.lang.Object ref = customerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; @@ -967,20 +1055,21 @@ public java.lang.String getCustomerId() { } } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for customerId. */ - public com.google.protobuf.ByteString - getCustomerIdBytes() { + public com.google.protobuf.ByteString getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerId_ = b; return b; } else { @@ -988,28 +1077,35 @@ public java.lang.String getCustomerId() { } } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The customerId to set. * @return This builder for chaining. */ - public Builder setCustomerId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customerId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearCustomerId() { @@ -1019,17 +1115,21 @@ public Builder clearCustomerId() { return this; } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for customerId to set. * @return This builder for chaining. */ - public Builder setCustomerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customerId_ = value; bitField0_ |= 0x00000002; @@ -1037,13 +1137,16 @@ public Builder setCustomerIdBytes( return this; } - private boolean canManageClients_ ; + private boolean canManageClients_; /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The canManageClients. */ @java.lang.Override @@ -1051,27 +1154,33 @@ public boolean getCanManageClients() { return canManageClients_; } /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The canManageClients to set. * @return This builder for chaining. */ public Builder setCanManageClients(boolean value) { - + canManageClients_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCanManageClients() { @@ -1083,8 +1192,13 @@ public Builder clearCanManageClients() { 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_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + adsPersonalizationEnabledBuilder_; /** + * + * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1093,12 +1207,15 @@ public Builder clearCanManageClients() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1107,16 +1224,21 @@ public boolean hasAdsPersonalizationEnabled() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } else { return adsPersonalizationEnabledBuilder_.getMessage(); } } /** + * + * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1140,6 +1262,8 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1161,6 +1285,8 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1172,9 +1298,9 @@ public Builder setAdsPersonalizationEnabled(
      */
     public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          adsPersonalizationEnabled_ != null &&
-          adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && adsPersonalizationEnabled_ != null
+            && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getAdsPersonalizationEnabledBuilder().mergeFrom(value);
         } else {
           adsPersonalizationEnabled_ = value;
@@ -1187,6 +1313,8 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1207,6 +1335,8 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1222,6 +1352,8 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1235,11 +1367,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : adsPersonalizationEnabled_;
       }
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1250,14 +1385,17 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         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());
+        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_;
@@ -1265,39 +1403,58 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     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_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1313,14 +1470,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1331,17 +1491,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1354,11 +1518,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1371,11 +1539,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -1383,36 +1555,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1420,39 +1604,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1468,14 +1671,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1486,17 +1692,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1509,11 +1719,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1526,11 +1740,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000020; @@ -1538,36 +1756,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1575,19 +1805,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object creatorEmailAddress_ = ""; /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creatorEmailAddress. */ public java.lang.String getCreatorEmailAddress() { java.lang.Object ref = creatorEmailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; @@ -1596,21 +1828,22 @@ public java.lang.String getCreatorEmailAddress() { } } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creatorEmailAddress. */ - public com.google.protobuf.ByteString - getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -1618,30 +1851,37 @@ public java.lang.String getCreatorEmailAddress() { } } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreatorEmailAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCreatorEmailAddress() { @@ -1651,27 +1891,31 @@ public Builder clearCreatorEmailAddress() { return this; } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreatorEmailAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1681,12 +1925,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GoogleAdsLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GoogleAdsLink) private static final com.google.analytics.admin.v1alpha.GoogleAdsLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GoogleAdsLink(); } @@ -1695,27 +1939,27 @@ public static com.google.analytics.admin.v1alpha.GoogleAdsLink getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleAdsLink 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleAdsLink 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; @@ -1730,6 +1974,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleAdsLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 79% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleAdsLinkOrBuilder.java index 335774f33613..f8951f4b861e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GoogleAdsLinkOrBuilder extends +public interface GoogleAdsLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GoogleAdsLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -15,10 +33,13 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Format:
    * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -26,42 +47,52 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The customerId. */ java.lang.String getCustomerId(); /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for customerId. */ - com.google.protobuf.ByteString - getCustomerIdBytes(); + com.google.protobuf.ByteString getCustomerIdBytes(); /** + * + * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The canManageClients. */ boolean getCanManageClients(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -70,10 +101,13 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -82,10 +116,13 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -98,78 +135,105 @@ public interface GoogleAdsLinkOrBuilder extends
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
+   *
+   *
    * 
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creatorEmailAddress. */ java.lang.String getCreatorEmailAddress(); /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creatorEmailAddress. */ - com.google.protobuf.ByteString - getCreatorEmailAddressBytes(); + com.google.protobuf.ByteString getCreatorEmailAddressBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java index 9e860b15c93e..dcc2006d74db 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsConsent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Consent field of the Google Signals settings (i.e., whether the user has
  * consented to the Google Signals terms of service.)
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsConsent}
  */
-public enum GoogleSignalsConsent
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsConsent implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -24,6 +42,8 @@ public enum GoogleSignalsConsent
    */
   GOOGLE_SIGNALS_CONSENT_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Terms of service have been accepted
    * 
@@ -32,6 +52,8 @@ public enum GoogleSignalsConsent */ GOOGLE_SIGNALS_CONSENT_CONSENTED(2), /** + * + * *
    * Terms of service have not been accepted
    * 
@@ -43,6 +65,8 @@ public enum GoogleSignalsConsent ; /** + * + * *
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -53,6 +77,8 @@ public enum GoogleSignalsConsent
    */
   public static final int GOOGLE_SIGNALS_CONSENT_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Terms of service have been accepted
    * 
@@ -61,6 +87,8 @@ public enum GoogleSignalsConsent */ public static final int GOOGLE_SIGNALS_CONSENT_CONSENTED_VALUE = 2; /** + * + * *
    * Terms of service have not been accepted
    * 
@@ -69,7 +97,6 @@ public enum GoogleSignalsConsent */ public static final int GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -94,10 +121,14 @@ public static GoogleSignalsConsent valueOf(int value) { */ public static GoogleSignalsConsent forNumber(int value) { switch (value) { - case 0: return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; - case 2: return GOOGLE_SIGNALS_CONSENT_CONSENTED; - case 1: return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; - default: return null; + case 0: + return GOOGLE_SIGNALS_CONSENT_UNSPECIFIED; + case 2: + return GOOGLE_SIGNALS_CONSENT_CONSENTED; + case 1: + return GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED; + default: + return null; } } @@ -105,28 +136,28 @@ public static GoogleSignalsConsent forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GoogleSignalsConsent> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsConsent findValueByNumber(int number) { - return GoogleSignalsConsent.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsConsent findValueByNumber(int number) { + return GoogleSignalsConsent.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(6); } @@ -135,8 +166,7 @@ public GoogleSignalsConsent findValueByNumber(int number) { public static GoogleSignalsConsent valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -152,4 +182,3 @@ private GoogleSignalsConsent(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsConsent) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java index 8ee0f6722d8d..7cb1534b92fd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Settings values for Google Signals.  This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleSignalsSettings} */ -public final class GoogleSignalsSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GoogleSignalsSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GoogleSignalsSettings) GoogleSignalsSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoogleSignalsSettings.newBuilder() to construct. private GoogleSignalsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GoogleSignalsSettings() { name_ = ""; state_ = 0; @@ -27,33 +45,37 @@ private GoogleSignalsSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleSignalsSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_GoogleSignalsSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,56 +127,83 @@ public java.lang.String getName() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** + * + * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The state. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { - com.google.analytics.admin.v1alpha.GoogleSignalsState result = com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); - return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { + com.google.analytics.admin.v1alpha.GoogleSignalsState result = + com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); + return result == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED + : result; } public static final int CONSENT_FIELD_NUMBER = 4; private int consent_ = 0; /** + * + * *
    * Output only. Terms of Service acceptance.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for consent. */ - @java.lang.Override public int getConsentValue() { + @java.lang.Override + public int getConsentValue() { return consent_; } /** + * + * *
    * Output only. Terms of Service acceptance.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The consent. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); - return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { + com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = + com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); + return result == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,15 +215,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (state_ != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } - if (consent_ != com.google.analytics.admin.v1alpha.GoogleSignalsConsent.GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.getNumber()) { + if (consent_ + != com.google.analytics.admin.v1alpha.GoogleSignalsConsent + .GOOGLE_SIGNALS_CONSENT_UNSPECIFIED + .getNumber()) { output.writeEnum(4, consent_); } getUnknownFields().writeTo(output); @@ -188,13 +242,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (state_ != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + if (state_ + != com.google.analytics.admin.v1alpha.GoogleSignalsState.GOOGLE_SIGNALS_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } - if (consent_ != com.google.analytics.admin.v1alpha.GoogleSignalsConsent.GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, consent_); + if (consent_ + != com.google.analytics.admin.v1alpha.GoogleSignalsConsent + .GOOGLE_SIGNALS_CONSENT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, consent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,15 +261,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.GoogleSignalsSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GoogleSignalsSettings other = (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) obj; + com.google.analytics.admin.v1alpha.GoogleSignalsSettings other = + (com.google.analytics.admin.v1alpha.GoogleSignalsSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (state_ != other.state_) return false; if (consent_ != other.consent_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -238,129 +295,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( 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.GoogleSignalsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GoogleSignalsSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Settings values for Google Signals.  This is a singleton resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GoogleSignalsSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GoogleSignalsSettings) com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GoogleSignalsSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +436,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; } @java.lang.Override @@ -393,8 +457,11 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings buildPartial() { - com.google.analytics.admin.v1alpha.GoogleSignalsSettings result = new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GoogleSignalsSettings result = + new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -416,38 +483,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GoogleSignalsSetti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.GoogleSignalsSettings) { - return mergeFrom((com.google.analytics.admin.v1alpha.GoogleSignalsSettings)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GoogleSignalsSettings) other); } else { super.mergeFrom(other); return this; @@ -455,7 +523,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GoogleSignalsSettings other) { - if (other == com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -493,27 +562,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: { - state_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: { - consent_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: + { + consent_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 + 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) { @@ -523,10 +596,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -534,13 +610,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -549,6 +625,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -556,15 +634,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -572,6 +649,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -579,18 +658,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -598,6 +681,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -607,6 +691,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -614,12 +700,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -629,22 +717,29 @@ public Builder setNameBytes( private int state_ = 0; /** + * + * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -655,24 +750,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The state. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsState getState() { - com.google.analytics.admin.v1alpha.GoogleSignalsState result = com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); - return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.GoogleSignalsState result = + com.google.analytics.admin.v1alpha.GoogleSignalsState.forNumber(state_); + return result == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsState.UNRECOGNIZED + : result; } /** + * + * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @param value The state to set. * @return This builder for chaining. */ @@ -686,11 +790,14 @@ public Builder setState(com.google.analytics.admin.v1alpha.GoogleSignalsState va return this; } /** + * + * *
      * Status of this setting.
      * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return This builder for chaining. */ public Builder clearState() { @@ -702,22 +809,33 @@ public Builder clearState() { private int consent_ = 0; /** + * + * *
      * Output only. Terms of Service acceptance.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for consent. */ - @java.lang.Override public int getConsentValue() { + @java.lang.Override + public int getConsentValue() { return consent_; } /** + * + * *
      * Output only. Terms of Service acceptance.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for consent to set. * @return This builder for chaining. */ @@ -728,24 +846,37 @@ public Builder setConsentValue(int value) { return this; } /** + * + * *
      * Output only. Terms of Service acceptance.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The consent. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent() { - com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); - return result == null ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.GoogleSignalsConsent result = + com.google.analytics.admin.v1alpha.GoogleSignalsConsent.forNumber(consent_); + return result == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsConsent.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Terms of Service acceptance.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The consent to set. * @return This builder for chaining. */ @@ -759,11 +890,16 @@ public Builder setConsent(com.google.analytics.admin.v1alpha.GoogleSignalsConsen return this; } /** + * + * *
      * Output only. Terms of Service acceptance.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConsent() { @@ -772,9 +908,9 @@ public Builder clearConsent() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -784,12 +920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GoogleSignalsSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GoogleSignalsSettings) private static final com.google.analytics.admin.v1alpha.GoogleSignalsSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GoogleSignalsSettings(); } @@ -798,27 +934,27 @@ public static com.google.analytics.admin.v1alpha.GoogleSignalsSettings getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleSignalsSettings 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleSignalsSettings 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; @@ -833,6 +969,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java index 96246e7ee99f..2f84d5759432 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface GoogleSignalsSettingsOrBuilder extends +public interface GoogleSignalsSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GoogleSignalsSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -15,10 +33,13 @@ public interface GoogleSignalsSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this setting.
    * Format: properties/{property_id}/googleSignalsSettings
@@ -26,45 +47,61 @@ public interface GoogleSignalsSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Status of this setting.
    * 
* * .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * * @return The state. */ com.google.analytics.admin.v1alpha.GoogleSignalsState getState(); /** + * + * *
    * Output only. Terms of Service acceptance.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for consent. */ int getConsentValue(); /** + * + * *
    * Output only. Terms of Service acceptance.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The consent. */ com.google.analytics.admin.v1alpha.GoogleSignalsConsent getConsent(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java index 093fe042db79..ed5357502cac 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GoogleSignalsState.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Status of the Google Signals settings (i.e., whether this feature has been
  * enabled for the property).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.GoogleSignalsState}
  */
-public enum GoogleSignalsState
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum GoogleSignalsState implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -23,6 +41,8 @@ public enum GoogleSignalsState
    */
   GOOGLE_SIGNALS_STATE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Google Signals is enabled.
    * 
@@ -31,6 +51,8 @@ public enum GoogleSignalsState */ GOOGLE_SIGNALS_ENABLED(1), /** + * + * *
    * Google Signals is disabled.
    * 
@@ -42,6 +64,8 @@ public enum GoogleSignalsState ; /** + * + * *
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -51,6 +75,8 @@ public enum GoogleSignalsState
    */
   public static final int GOOGLE_SIGNALS_STATE_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Google Signals is enabled.
    * 
@@ -59,6 +85,8 @@ public enum GoogleSignalsState */ public static final int GOOGLE_SIGNALS_ENABLED_VALUE = 1; /** + * + * *
    * Google Signals is disabled.
    * 
@@ -67,7 +95,6 @@ public enum GoogleSignalsState */ public static final int GOOGLE_SIGNALS_DISABLED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,39 +119,42 @@ public static GoogleSignalsState valueOf(int value) { */ public static GoogleSignalsState forNumber(int value) { switch (value) { - case 0: return GOOGLE_SIGNALS_STATE_UNSPECIFIED; - case 1: return GOOGLE_SIGNALS_ENABLED; - case 2: return GOOGLE_SIGNALS_DISABLED; - default: return null; + case 0: + return GOOGLE_SIGNALS_STATE_UNSPECIFIED; + case 1: + return GOOGLE_SIGNALS_ENABLED; + case 2: + return GOOGLE_SIGNALS_DISABLED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GoogleSignalsState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GoogleSignalsState findValueByNumber(int number) { - return GoogleSignalsState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GoogleSignalsState findValueByNumber(int number) { + return GoogleSignalsState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(5); } @@ -133,8 +163,7 @@ public GoogleSignalsState findValueByNumber(int number) { public static GoogleSignalsState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -150,4 +179,3 @@ private GoogleSignalsState(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.GoogleSignalsState) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java similarity index 75% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java index 86b37f8b450f..461d68a42ea9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/IndustryCategory.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The category selected for this property, used for industry benchmarking.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.IndustryCategory} */ -public enum IndustryCategory - implements com.google.protobuf.ProtocolMessageEnum { +public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Industry category unspecified
    * 
@@ -21,6 +39,8 @@ public enum IndustryCategory */ INDUSTRY_CATEGORY_UNSPECIFIED(0), /** + * + * *
    * Automotive
    * 
@@ -29,6 +49,8 @@ public enum IndustryCategory */ AUTOMOTIVE(1), /** + * + * *
    * Business and industrial markets
    * 
@@ -37,6 +59,8 @@ public enum IndustryCategory */ BUSINESS_AND_INDUSTRIAL_MARKETS(2), /** + * + * *
    * Finance
    * 
@@ -45,6 +69,8 @@ public enum IndustryCategory */ FINANCE(3), /** + * + * *
    * Healthcare
    * 
@@ -53,6 +79,8 @@ public enum IndustryCategory */ HEALTHCARE(4), /** + * + * *
    * Technology
    * 
@@ -61,6 +89,8 @@ public enum IndustryCategory */ TECHNOLOGY(5), /** + * + * *
    * Travel
    * 
@@ -69,6 +99,8 @@ public enum IndustryCategory */ TRAVEL(6), /** + * + * *
    * Other
    * 
@@ -77,6 +109,8 @@ public enum IndustryCategory */ OTHER(7), /** + * + * *
    * Arts and entertainment
    * 
@@ -85,6 +119,8 @@ public enum IndustryCategory */ ARTS_AND_ENTERTAINMENT(8), /** + * + * *
    * Beauty and fitness
    * 
@@ -93,6 +129,8 @@ public enum IndustryCategory */ BEAUTY_AND_FITNESS(9), /** + * + * *
    * Books and literature
    * 
@@ -101,6 +139,8 @@ public enum IndustryCategory */ BOOKS_AND_LITERATURE(10), /** + * + * *
    * Food and drink
    * 
@@ -109,6 +149,8 @@ public enum IndustryCategory */ FOOD_AND_DRINK(11), /** + * + * *
    * Games
    * 
@@ -117,6 +159,8 @@ public enum IndustryCategory */ GAMES(12), /** + * + * *
    * Hobbies and leisure
    * 
@@ -125,6 +169,8 @@ public enum IndustryCategory */ HOBBIES_AND_LEISURE(13), /** + * + * *
    * Home and garden
    * 
@@ -133,6 +179,8 @@ public enum IndustryCategory */ HOME_AND_GARDEN(14), /** + * + * *
    * Internet and telecom
    * 
@@ -141,6 +189,8 @@ public enum IndustryCategory */ INTERNET_AND_TELECOM(15), /** + * + * *
    * Law and government
    * 
@@ -149,6 +199,8 @@ public enum IndustryCategory */ LAW_AND_GOVERNMENT(16), /** + * + * *
    * News
    * 
@@ -157,6 +209,8 @@ public enum IndustryCategory */ NEWS(17), /** + * + * *
    * Online communities
    * 
@@ -165,6 +219,8 @@ public enum IndustryCategory */ ONLINE_COMMUNITIES(18), /** + * + * *
    * People and society
    * 
@@ -173,6 +229,8 @@ public enum IndustryCategory */ PEOPLE_AND_SOCIETY(19), /** + * + * *
    * Pets and animals
    * 
@@ -181,6 +239,8 @@ public enum IndustryCategory */ PETS_AND_ANIMALS(20), /** + * + * *
    * Real estate
    * 
@@ -189,6 +249,8 @@ public enum IndustryCategory */ REAL_ESTATE(21), /** + * + * *
    * Reference
    * 
@@ -197,6 +259,8 @@ public enum IndustryCategory */ REFERENCE(22), /** + * + * *
    * Science
    * 
@@ -205,6 +269,8 @@ public enum IndustryCategory */ SCIENCE(23), /** + * + * *
    * Sports
    * 
@@ -213,6 +279,8 @@ public enum IndustryCategory */ SPORTS(24), /** + * + * *
    * Jobs and education
    * 
@@ -221,6 +289,8 @@ public enum IndustryCategory */ JOBS_AND_EDUCATION(25), /** + * + * *
    * Shopping
    * 
@@ -232,6 +302,8 @@ public enum IndustryCategory ; /** + * + * *
    * Industry category unspecified
    * 
@@ -240,6 +312,8 @@ public enum IndustryCategory */ public static final int INDUSTRY_CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Automotive
    * 
@@ -248,6 +322,8 @@ public enum IndustryCategory */ public static final int AUTOMOTIVE_VALUE = 1; /** + * + * *
    * Business and industrial markets
    * 
@@ -256,6 +332,8 @@ public enum IndustryCategory */ public static final int BUSINESS_AND_INDUSTRIAL_MARKETS_VALUE = 2; /** + * + * *
    * Finance
    * 
@@ -264,6 +342,8 @@ public enum IndustryCategory */ public static final int FINANCE_VALUE = 3; /** + * + * *
    * Healthcare
    * 
@@ -272,6 +352,8 @@ public enum IndustryCategory */ public static final int HEALTHCARE_VALUE = 4; /** + * + * *
    * Technology
    * 
@@ -280,6 +362,8 @@ public enum IndustryCategory */ public static final int TECHNOLOGY_VALUE = 5; /** + * + * *
    * Travel
    * 
@@ -288,6 +372,8 @@ public enum IndustryCategory */ public static final int TRAVEL_VALUE = 6; /** + * + * *
    * Other
    * 
@@ -296,6 +382,8 @@ public enum IndustryCategory */ public static final int OTHER_VALUE = 7; /** + * + * *
    * Arts and entertainment
    * 
@@ -304,6 +392,8 @@ public enum IndustryCategory */ public static final int ARTS_AND_ENTERTAINMENT_VALUE = 8; /** + * + * *
    * Beauty and fitness
    * 
@@ -312,6 +402,8 @@ public enum IndustryCategory */ public static final int BEAUTY_AND_FITNESS_VALUE = 9; /** + * + * *
    * Books and literature
    * 
@@ -320,6 +412,8 @@ public enum IndustryCategory */ public static final int BOOKS_AND_LITERATURE_VALUE = 10; /** + * + * *
    * Food and drink
    * 
@@ -328,6 +422,8 @@ public enum IndustryCategory */ public static final int FOOD_AND_DRINK_VALUE = 11; /** + * + * *
    * Games
    * 
@@ -336,6 +432,8 @@ public enum IndustryCategory */ public static final int GAMES_VALUE = 12; /** + * + * *
    * Hobbies and leisure
    * 
@@ -344,6 +442,8 @@ public enum IndustryCategory */ public static final int HOBBIES_AND_LEISURE_VALUE = 13; /** + * + * *
    * Home and garden
    * 
@@ -352,6 +452,8 @@ public enum IndustryCategory */ public static final int HOME_AND_GARDEN_VALUE = 14; /** + * + * *
    * Internet and telecom
    * 
@@ -360,6 +462,8 @@ public enum IndustryCategory */ public static final int INTERNET_AND_TELECOM_VALUE = 15; /** + * + * *
    * Law and government
    * 
@@ -368,6 +472,8 @@ public enum IndustryCategory */ public static final int LAW_AND_GOVERNMENT_VALUE = 16; /** + * + * *
    * News
    * 
@@ -376,6 +482,8 @@ public enum IndustryCategory */ public static final int NEWS_VALUE = 17; /** + * + * *
    * Online communities
    * 
@@ -384,6 +492,8 @@ public enum IndustryCategory */ public static final int ONLINE_COMMUNITIES_VALUE = 18; /** + * + * *
    * People and society
    * 
@@ -392,6 +502,8 @@ public enum IndustryCategory */ public static final int PEOPLE_AND_SOCIETY_VALUE = 19; /** + * + * *
    * Pets and animals
    * 
@@ -400,6 +512,8 @@ public enum IndustryCategory */ public static final int PETS_AND_ANIMALS_VALUE = 20; /** + * + * *
    * Real estate
    * 
@@ -408,6 +522,8 @@ public enum IndustryCategory */ public static final int REAL_ESTATE_VALUE = 21; /** + * + * *
    * Reference
    * 
@@ -416,6 +532,8 @@ public enum IndustryCategory */ public static final int REFERENCE_VALUE = 22; /** + * + * *
    * Science
    * 
@@ -424,6 +542,8 @@ public enum IndustryCategory */ public static final int SCIENCE_VALUE = 23; /** + * + * *
    * Sports
    * 
@@ -432,6 +552,8 @@ public enum IndustryCategory */ public static final int SPORTS_VALUE = 24; /** + * + * *
    * Jobs and education
    * 
@@ -440,6 +562,8 @@ public enum IndustryCategory */ public static final int JOBS_AND_EDUCATION_VALUE = 25; /** + * + * *
    * Shopping
    * 
@@ -448,7 +572,6 @@ public enum IndustryCategory */ public static final int SHOPPING_VALUE = 26; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -473,73 +596,97 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: return INDUSTRY_CATEGORY_UNSPECIFIED; - case 1: return AUTOMOTIVE; - case 2: return BUSINESS_AND_INDUSTRIAL_MARKETS; - case 3: return FINANCE; - case 4: return HEALTHCARE; - case 5: return TECHNOLOGY; - case 6: return TRAVEL; - case 7: return OTHER; - case 8: return ARTS_AND_ENTERTAINMENT; - case 9: return BEAUTY_AND_FITNESS; - case 10: return BOOKS_AND_LITERATURE; - case 11: return FOOD_AND_DRINK; - case 12: return GAMES; - case 13: return HOBBIES_AND_LEISURE; - case 14: return HOME_AND_GARDEN; - case 15: return INTERNET_AND_TELECOM; - case 16: return LAW_AND_GOVERNMENT; - case 17: return NEWS; - case 18: return ONLINE_COMMUNITIES; - case 19: return PEOPLE_AND_SOCIETY; - case 20: return PETS_AND_ANIMALS; - case 21: return REAL_ESTATE; - case 22: return REFERENCE; - case 23: return SCIENCE; - case 24: return SPORTS; - case 25: return JOBS_AND_EDUCATION; - case 26: return SHOPPING; - default: return null; + case 0: + return INDUSTRY_CATEGORY_UNSPECIFIED; + case 1: + return AUTOMOTIVE; + case 2: + return BUSINESS_AND_INDUSTRIAL_MARKETS; + case 3: + return FINANCE; + case 4: + return HEALTHCARE; + case 5: + return TECHNOLOGY; + case 6: + return TRAVEL; + case 7: + return OTHER; + case 8: + return ARTS_AND_ENTERTAINMENT; + case 9: + return BEAUTY_AND_FITNESS; + case 10: + return BOOKS_AND_LITERATURE; + case 11: + return FOOD_AND_DRINK; + case 12: + return GAMES; + case 13: + return HOBBIES_AND_LEISURE; + case 14: + return HOME_AND_GARDEN; + case 15: + return INTERNET_AND_TELECOM; + case 16: + return LAW_AND_GOVERNMENT; + case 17: + return NEWS; + case 18: + return ONLINE_COMMUNITIES; + case 19: + return PEOPLE_AND_SOCIETY; + case 20: + return PETS_AND_ANIMALS; + case 21: + return REAL_ESTATE; + case 22: + return REFERENCE; + case 23: + return SCIENCE; + case 24: + return SPORTS; + case 25: + return JOBS_AND_EDUCATION; + case 26: + return SHOPPING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IndustryCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndustryCategory findValueByNumber(int number) { + return IndustryCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final IndustryCategory[] VALUES = values(); - public static IndustryCategory valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndustryCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -555,4 +702,3 @@ private IndustryCategory(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.IndustryCategory) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java index d4f6ff3d1009..722888c2ee27 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalInitiatingProduct.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * An indication of which product the user initiated a link proposal from.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalInitiatingProduct} */ -public enum LinkProposalInitiatingProduct - implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalInitiatingProduct implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified product.
    * 
@@ -21,6 +39,8 @@ public enum LinkProposalInitiatingProduct */ LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED(0), /** + * + * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -29,6 +49,8 @@ public enum LinkProposalInitiatingProduct */ GOOGLE_ANALYTICS(1), /** + * + * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -41,6 +63,8 @@ public enum LinkProposalInitiatingProduct
   ;
 
   /**
+   *
+   *
    * 
    * Unspecified product.
    * 
@@ -49,6 +73,8 @@ public enum LinkProposalInitiatingProduct */ public static final int LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * This proposal was created by a user from Google Analytics.
    * 
@@ -57,6 +83,8 @@ public enum LinkProposalInitiatingProduct */ public static final int GOOGLE_ANALYTICS_VALUE = 1; /** + * + * *
    * This proposal was created by a user from a linked product (not Google
    * Analytics).
@@ -66,7 +94,6 @@ public enum LinkProposalInitiatingProduct
    */
   public static final int LINKED_PRODUCT_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -91,10 +118,14 @@ public static LinkProposalInitiatingProduct valueOf(int value) {
    */
   public static LinkProposalInitiatingProduct forNumber(int value) {
     switch (value) {
-      case 0: return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
-      case 1: return GOOGLE_ANALYTICS;
-      case 2: return LINKED_PRODUCT;
-      default: return null;
+      case 0:
+        return LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED;
+      case 1:
+        return GOOGLE_ANALYTICS;
+      case 2:
+        return LINKED_PRODUCT;
+      default:
+        return null;
     }
   }
 
@@ -102,28 +133,28 @@ public static LinkProposalInitiatingProduct forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      LinkProposalInitiatingProduct> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LinkProposalInitiatingProduct findValueByNumber(int number) {
-            return LinkProposalInitiatingProduct.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public LinkProposalInitiatingProduct findValueByNumber(int number) {
+              return LinkProposalInitiatingProduct.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(7);
   }
 
@@ -132,8 +163,7 @@ public LinkProposalInitiatingProduct findValueByNumber(int number) {
   public static LinkProposalInitiatingProduct valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -149,4 +179,3 @@ private LinkProposalInitiatingProduct(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalInitiatingProduct)
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
similarity index 77%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
index 966a667febc0..30482769bcc9 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalState.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * The state of a link proposal resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.LinkProposalState} */ -public enum LinkProposalState - implements com.google.protobuf.ProtocolMessageEnum { +public enum LinkProposalState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified state
    * 
@@ -21,6 +39,8 @@ public enum LinkProposalState */ LINK_PROPOSAL_STATE_UNSPECIFIED(0), /** + * + * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -30,6 +50,8 @@ public enum LinkProposalState
    */
   AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS(1),
   /**
+   *
+   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -39,6 +61,8 @@ public enum LinkProposalState
    */
   AWAITING_REVIEW_FROM_LINKED_PRODUCT(2),
   /**
+   *
+   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -48,6 +72,8 @@ public enum LinkProposalState
    */
   WITHDRAWN(3),
   /**
+   *
+   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -57,6 +83,8 @@ public enum LinkProposalState
    */
   DECLINED(4),
   /**
+   *
+   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -67,6 +95,8 @@ public enum LinkProposalState
    */
   EXPIRED(5),
   /**
+   *
+   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -80,6 +110,8 @@ public enum LinkProposalState
   ;
 
   /**
+   *
+   *
    * 
    * Unspecified state
    * 
@@ -88,6 +120,8 @@ public enum LinkProposalState */ public static final int LINK_PROPOSAL_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * This proposal is awaiting review from a Google Analytics user. This
    * proposal will automatically expire after some time.
@@ -97,6 +131,8 @@ public enum LinkProposalState
    */
   public static final int AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS_VALUE = 1;
   /**
+   *
+   *
    * 
    * This proposal is awaiting review from a user of a linked product. This
    * proposal will automatically expire after some time.
@@ -106,6 +142,8 @@ public enum LinkProposalState
    */
   public static final int AWAITING_REVIEW_FROM_LINKED_PRODUCT_VALUE = 2;
   /**
+   *
+   *
    * 
    * This proposal has been withdrawn by an admin on the initiating product.
    * This proposal will be automatically deleted after some time.
@@ -115,6 +153,8 @@ public enum LinkProposalState
    */
   public static final int WITHDRAWN_VALUE = 3;
   /**
+   *
+   *
    * 
    * This proposal has been declined by an admin on the receiving product. This
    * proposal will be automatically deleted after some time.
@@ -124,6 +164,8 @@ public enum LinkProposalState
    */
   public static final int DECLINED_VALUE = 4;
   /**
+   *
+   *
    * 
    * This proposal expired due to lack of response from an admin on the
    * receiving product. This proposal will be automatically deleted after some
@@ -134,6 +176,8 @@ public enum LinkProposalState
    */
   public static final int EXPIRED_VALUE = 5;
   /**
+   *
+   *
    * 
    * This proposal has become obsolete because a link was directly created to
    * the same external product resource that this proposal specifies. This
@@ -144,7 +188,6 @@ public enum LinkProposalState
    */
   public static final int OBSOLETE_VALUE = 6;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -169,43 +212,50 @@ public static LinkProposalState valueOf(int value) {
    */
   public static LinkProposalState forNumber(int value) {
     switch (value) {
-      case 0: return LINK_PROPOSAL_STATE_UNSPECIFIED;
-      case 1: return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
-      case 2: return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
-      case 3: return WITHDRAWN;
-      case 4: return DECLINED;
-      case 5: return EXPIRED;
-      case 6: return OBSOLETE;
-      default: return null;
+      case 0:
+        return LINK_PROPOSAL_STATE_UNSPECIFIED;
+      case 1:
+        return AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS;
+      case 2:
+        return AWAITING_REVIEW_FROM_LINKED_PRODUCT;
+      case 3:
+        return WITHDRAWN;
+      case 4:
+        return DECLINED;
+      case 5:
+        return EXPIRED;
+      case 6:
+        return OBSOLETE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      LinkProposalState> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LinkProposalState findValueByNumber(int number) {
-            return LinkProposalState.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public LinkProposalState findValueByNumber(int number) {
+              return LinkProposalState.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(8);
   }
 
@@ -214,8 +264,7 @@ public LinkProposalState findValueByNumber(int number) {
   public static LinkProposalState valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -231,4 +280,3 @@ private LinkProposalState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.LinkProposalState)
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
similarity index 59%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
index 5203011fa510..72d4ae1ea683 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetails.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * Status information for a link proposal.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.LinkProposalStatusDetails} */ -public final class LinkProposalStatusDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LinkProposalStatusDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.LinkProposalStatusDetails) LinkProposalStatusDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinkProposalStatusDetails.newBuilder() to construct. private LinkProposalStatusDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinkProposalStatusDetails() { linkProposalInitiatingProduct_ = 0; requestorEmail_ = ""; @@ -27,64 +45,86 @@ private LinkProposalStatusDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkProposalStatusDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_LinkProposalStatusDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); } public static final int LINK_PROPOSAL_INITIATING_PRODUCT_FIELD_NUMBER = 1; private int linkProposalInitiatingProduct_ = 0; /** + * + * *
    * Output only. The source of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ - @java.lang.Override public int getLinkProposalInitiatingProductValue() { + @java.lang.Override + public int getLinkProposalInitiatingProductValue() { return linkProposalInitiatingProduct_; } /** + * + * *
    * Output only. The source of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalInitiatingProduct. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct() { - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber(linkProposalInitiatingProduct_); - return result == null ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + getLinkProposalInitiatingProduct() { + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber( + linkProposalInitiatingProduct_); + return result == null + ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED + : result; } public static final int REQUESTOR_EMAIL_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestorEmail_ = ""; /** + * + * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestorEmail. */ @java.lang.Override @@ -93,29 +133,29 @@ public java.lang.String getRequestorEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestorEmail_ = s; return s; } } /** + * + * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for requestorEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestorEmailBytes() { + public com.google.protobuf.ByteString getRequestorEmailBytes() { java.lang.Object ref = requestorEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestorEmail_ = b; return b; } else { @@ -126,30 +166,46 @@ public java.lang.String getRequestorEmail() { public static final int LINK_PROPOSAL_STATE_FIELD_NUMBER = 3; private int linkProposalState_ = 0; /** + * + * *
    * Output only. The state of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalState. */ - @java.lang.Override public int getLinkProposalStateValue() { + @java.lang.Override + public int getLinkProposalStateValue() { return linkProposalState_; } /** + * + * *
    * Output only. The state of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalState. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { - com.google.analytics.admin.v1alpha.LinkProposalState result = com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); - return result == null ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { + com.google.analytics.admin.v1alpha.LinkProposalState result = + com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); + return result == null + ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,15 +217,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (linkProposalInitiatingProduct_ != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (linkProposalInitiatingProduct_ + != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + .LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED + .getNumber()) { output.writeEnum(1, linkProposalInitiatingProduct_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestorEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestorEmail_); } - if (linkProposalState_ != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED.getNumber()) { + if (linkProposalState_ + != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, linkProposalState_); } getUnknownFields().writeTo(output); @@ -181,16 +241,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (linkProposalInitiatingProduct_ != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, linkProposalInitiatingProduct_); + if (linkProposalInitiatingProduct_ + != com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + .LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(1, linkProposalInitiatingProduct_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestorEmail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestorEmail_); } - if (linkProposalState_ != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, linkProposalState_); + if (linkProposalState_ + != com.google.analytics.admin.v1alpha.LinkProposalState.LINK_PROPOSAL_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, linkProposalState_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,16 +264,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.LinkProposalStatusDetails)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails other = (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) obj; + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails other = + (com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) obj; if (linkProposalInitiatingProduct_ != other.linkProposalInitiatingProduct_) return false; - if (!getRequestorEmail() - .equals(other.getRequestorEmail())) return false; + if (!getRequestorEmail().equals(other.getRequestorEmail())) return false; if (linkProposalState_ != other.linkProposalState_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -234,129 +298,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( 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.LinkProposalStatusDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Status information for a link proposal.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.LinkProposalStatusDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.LinkProposalStatusDetails) com.google.analytics.admin.v1alpha.LinkProposalStatusDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.class, + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,13 +439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance(); } @@ -389,13 +461,17 @@ public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails build() { @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails buildPartial() { - com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result = new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result = + new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.LinkProposalStatusDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.linkProposalInitiatingProduct_ = linkProposalInitiatingProduct_; @@ -412,38 +488,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.LinkProposalStatus public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.LinkProposalStatusDetails) { - return mergeFrom((com.google.analytics.admin.v1alpha.LinkProposalStatusDetails)other); + return mergeFrom((com.google.analytics.admin.v1alpha.LinkProposalStatusDetails) other); } else { super.mergeFrom(other); return this; @@ -451,7 +528,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.LinkProposalStatusDetails other) { - if (other == com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.LinkProposalStatusDetails.getDefaultInstance()) + return this; if (other.linkProposalInitiatingProduct_ != 0) { setLinkProposalInitiatingProductValue(other.getLinkProposalInitiatingProductValue()); } @@ -489,27 +568,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - linkProposalInitiatingProduct_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - requestorEmail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - linkProposalState_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + linkProposalInitiatingProduct_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + requestorEmail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + linkProposalState_ = input.readEnum(); + 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) { @@ -519,26 +602,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int linkProposalInitiatingProduct_ = 0; /** + * + * *
      * Output only. The source of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ - @java.lang.Override public int getLinkProposalInitiatingProductValue() { + @java.lang.Override + public int getLinkProposalInitiatingProductValue() { return linkProposalInitiatingProduct_; } /** + * + * *
      * Output only. The source of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for linkProposalInitiatingProduct to set. * @return This builder for chaining. */ @@ -549,28 +644,44 @@ public Builder setLinkProposalInitiatingProductValue(int value) { return this; } /** + * + * *
      * Output only. The source of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalInitiatingProduct. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct() { - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber(linkProposalInitiatingProduct_); - return result == null ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + getLinkProposalInitiatingProduct() { + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct result = + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.forNumber( + linkProposalInitiatingProduct_); + return result == null + ? com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The source of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The linkProposalInitiatingProduct to set. * @return This builder for chaining. */ - public Builder setLinkProposalInitiatingProduct(com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct value) { + public Builder setLinkProposalInitiatingProduct( + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct value) { if (value == null) { throw new NullPointerException(); } @@ -580,11 +691,16 @@ public Builder setLinkProposalInitiatingProduct(com.google.analytics.admin.v1alp return this; } /** + * + * *
      * Output only. The source of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearLinkProposalInitiatingProduct() { @@ -596,18 +712,20 @@ public Builder clearLinkProposalInitiatingProduct() { private java.lang.Object requestorEmail_ = ""; /** + * + * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestorEmail. */ public java.lang.String getRequestorEmail() { java.lang.Object ref = requestorEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestorEmail_ = s; return s; @@ -616,20 +734,21 @@ public java.lang.String getRequestorEmail() { } } /** + * + * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for requestorEmail. */ - public com.google.protobuf.ByteString - getRequestorEmailBytes() { + public com.google.protobuf.ByteString getRequestorEmailBytes() { java.lang.Object ref = requestorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestorEmail_ = b; return b; } else { @@ -637,28 +756,35 @@ public java.lang.String getRequestorEmail() { } } /** + * + * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestorEmail to set. * @return This builder for chaining. */ - public Builder setRequestorEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestorEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestorEmail_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestorEmail() { @@ -668,17 +794,21 @@ public Builder clearRequestorEmail() { return this; } /** + * + * *
      * Output only. The email address of the user that proposed this linkage.
      * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for requestorEmail to set. * @return This builder for chaining. */ - public Builder setRequestorEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestorEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestorEmail_ = value; bitField0_ |= 0x00000002; @@ -688,22 +818,33 @@ public Builder setRequestorEmailBytes( private int linkProposalState_ = 0; /** + * + * *
      * Output only. The state of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalState. */ - @java.lang.Override public int getLinkProposalStateValue() { + @java.lang.Override + public int getLinkProposalStateValue() { return linkProposalState_; } /** + * + * *
      * Output only. The state of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for linkProposalState to set. * @return This builder for chaining. */ @@ -714,28 +855,42 @@ public Builder setLinkProposalStateValue(int value) { return this; } /** + * + * *
      * Output only. The state of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalState. */ @java.lang.Override public com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState() { - com.google.analytics.admin.v1alpha.LinkProposalState result = com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); - return result == null ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.LinkProposalState result = + com.google.analytics.admin.v1alpha.LinkProposalState.forNumber(linkProposalState_); + return result == null + ? com.google.analytics.admin.v1alpha.LinkProposalState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The state of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The linkProposalState to set. * @return This builder for chaining. */ - public Builder setLinkProposalState(com.google.analytics.admin.v1alpha.LinkProposalState value) { + public Builder setLinkProposalState( + com.google.analytics.admin.v1alpha.LinkProposalState value) { if (value == null) { throw new NullPointerException(); } @@ -745,11 +900,16 @@ public Builder setLinkProposalState(com.google.analytics.admin.v1alpha.LinkPropo return this; } /** + * + * *
      * Output only. The state of this proposal.
      * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearLinkProposalState() { @@ -758,9 +918,9 @@ public Builder clearLinkProposalState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -770,12 +930,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.LinkProposalStatusDetails) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.LinkProposalStatusDetails) - private static final com.google.analytics.admin.v1alpha.LinkProposalStatusDetails DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.LinkProposalStatusDetails + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.LinkProposalStatusDetails(); } @@ -784,27 +945,27 @@ public static com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinkProposalStatusDetails 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkProposalStatusDetails 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; @@ -819,6 +980,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.LinkProposalStatusDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java similarity index 52% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java index 9d2f440e5637..3fe9bf4883a0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/LinkProposalStatusDetailsOrBuilder.java @@ -1,66 +1,108 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 LinkProposalStatusDetailsOrBuilder extends +public interface LinkProposalStatusDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.LinkProposalStatusDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The source of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalInitiatingProduct. */ int getLinkProposalInitiatingProductValue(); /** + * + * *
    * Output only. The source of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalInitiatingProduct. */ - com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct getLinkProposalInitiatingProduct(); + com.google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + getLinkProposalInitiatingProduct(); /** + * + * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestorEmail. */ java.lang.String getRequestorEmail(); /** + * + * *
    * Output only. The email address of the user that proposed this linkage.
    * 
* * string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for requestorEmail. */ - com.google.protobuf.ByteString - getRequestorEmailBytes(); + com.google.protobuf.ByteString getRequestorEmailBytes(); /** + * + * *
    * Output only. The state of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for linkProposalState. */ int getLinkProposalStateValue(); /** + * + * *
    * Output only. The state of this proposal.
    * 
* - * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The linkProposalState. */ com.google.analytics.admin.v1alpha.LinkProposalState getLinkProposalState(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java index 5a54c1c93bae..0bc5a0e2e1e7 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesRequest} */ -public final class ListAccountSummariesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountSummariesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesRequest) ListAccountSummariesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountSummariesRequest.newBuilder() to construct. private ListAccountSummariesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountSummariesRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListAccountSummariesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; private int pageSize_ = 0; /** + * + * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -67,9 +89,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -78,6 +103,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -86,14 +112,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -102,16 +129,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -120,6 +146,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,8 +158,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -149,8 +175,7 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); @@ -163,17 +188,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountSummariesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest other = (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) obj; + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest other = + (com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) obj; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,129 +219,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( 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.ListAccountSummariesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountSummariesRequest) com.google.analytics.admin.v1alpha.ListAccountSummariesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -328,13 +359,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance(); } @@ -349,13 +381,17 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result = new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result = + new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListAccountSummariesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pageSize_ = pageSize_; @@ -369,38 +405,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountSummari public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListAccountSummariesRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) other); } else { super.mergeFrom(other); return this; @@ -408,7 +445,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance()) + return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -443,22 +482,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + pageToken_ = 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) { @@ -468,10 +510,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -480,6 +525,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -487,6 +533,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -495,17 +543,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -514,6 +565,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -525,6 +577,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -533,13 +587,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -548,6 +602,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -556,15 +612,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -572,6 +627,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -580,18 +637,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -600,6 +661,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -609,6 +671,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -617,21 +681,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,41 +707,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountSummariesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountSummariesRequest) - private static final com.google.analytics.admin.v1alpha.ListAccountSummariesRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListAccountSummariesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountSummariesRequest(); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAccountSummariesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesRequest 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; @@ -687,9 +755,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java index 1e33f245c682..d39388bfb6cc 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesRequestOrBuilder extends +public interface ListAccountSummariesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -16,11 +34,14 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -29,10 +50,13 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -41,8 +65,8 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java index 5cdf31ccf85b..61abc341260d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesResponse} */ -public final class ListAccountSummariesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountSummariesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountSummariesResponse) ListAccountSummariesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountSummariesResponse.newBuilder() to construct. private ListAccountSummariesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountSummariesResponse() { accountSummaries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListAccountSummariesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); } public static final int ACCOUNT_SUMMARIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accountSummaries_; /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List getAccountSummariesList() { + public java.util.List + getAccountSummariesList() { return accountSummaries_; } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -71,11 +96,13 @@ public java.util.List getAcco * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountSummariesOrBuilderList() { return accountSummaries_; } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -87,6 +114,8 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -98,6 +127,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm } 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 @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < accountSummaries_.size(); i++) { output.writeMessage(1, accountSummaries_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accountSummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accountSummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accountSummaries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountSummariesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other = (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) obj; + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other = + (com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) obj; - if (!getAccountSummariesList() - .equals(other.getAccountSummariesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAccountSummariesList().equals(other.getAccountSummariesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( 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.ListAccountSummariesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountSummariesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountSummariesResponse) com.google.analytics.admin.v1alpha.ListAccountSummariesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance(); } @@ -397,14 +438,18 @@ public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result = new com.google.analytics.admin.v1alpha.ListAccountSummariesResponse(this); + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result = + new com.google.analytics.admin.v1alpha.ListAccountSummariesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { if (accountSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accountSummaries_ = java.util.Collections.unmodifiableList(accountSummaries_); @@ -416,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListA } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +473,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountSummari public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListAccountSummariesResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountSummariesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListAccountSummariesResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance()) + return this; if (accountSummariesBuilder_ == null) { if (!other.accountSummaries_.isEmpty()) { if (accountSummaries_.isEmpty()) { @@ -485,9 +535,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountSummaries accountSummariesBuilder_ = null; accountSummaries_ = other.accountSummaries_; bitField0_ = (bitField0_ & ~0x00000001); - accountSummariesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccountSummariesFieldBuilder() : null; + accountSummariesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccountSummariesFieldBuilder() + : null; } else { accountSummariesBuilder_.addAllMessages(other.accountSummaries_); } @@ -524,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccountSummary m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccountSummary.parser(), - extensionRegistry); - if (accountSummariesBuilder_ == null) { - ensureAccountSummariesIsMutable(); - accountSummaries_.add(m); - } else { - accountSummariesBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.AccountSummary m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccountSummary.parser(), + extensionRegistry); + if (accountSummariesBuilder_ == null) { + ensureAccountSummariesIsMutable(); + accountSummaries_.add(m); + } else { + accountSummariesBuilder_.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) { @@ -557,28 +611,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accountSummaries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccountSummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accountSummaries_ = new java.util.ArrayList(accountSummaries_); + accountSummaries_ = + new java.util.ArrayList( + accountSummaries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> accountSummariesBuilder_; + com.google.analytics.admin.v1alpha.AccountSummary, + com.google.analytics.admin.v1alpha.AccountSummary.Builder, + com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> + accountSummariesBuilder_; /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List getAccountSummariesList() { + public java.util.List + getAccountSummariesList() { if (accountSummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(accountSummaries_); } else { @@ -586,6 +650,8 @@ public java.util.List getAcco } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -600,6 +666,8 @@ public int getAccountSummariesCount() { } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -614,6 +682,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -635,6 +705,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -653,6 +725,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -673,6 +747,8 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1alpha.AccountSum return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -694,6 +770,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -712,6 +790,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -730,6 +810,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -740,8 +822,7 @@ public Builder addAllAccountSummaries( java.lang.Iterable values) { if (accountSummariesBuilder_ == null) { ensureAccountSummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accountSummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accountSummaries_); onChanged(); } else { accountSummariesBuilder_.addAllMessages(values); @@ -749,6 +830,8 @@ public Builder addAllAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -766,6 +849,8 @@ public Builder clearAccountSummaries() { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -783,6 +868,8 @@ public Builder removeAccountSummaries(int index) { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -794,6 +881,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma return getAccountSummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -803,19 +892,22 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSummariesOrBuilder( int index) { if (accountSummariesBuilder_ == null) { - return accountSummaries_.get(index); } else { + return accountSummaries_.get(index); + } else { return accountSummariesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesOrBuilderList() { + public java.util.List + getAccountSummariesOrBuilderList() { if (accountSummariesBuilder_ != null) { return accountSummariesBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +915,8 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -830,10 +924,12 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSummariesBuilder() { - return getAccountSummariesFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -842,26 +938,35 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSumma */ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSummariesBuilder( int index) { - return getAccountSummariesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.AccountSummary.getDefaultInstance()); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesBuilderList() { + public java.util.List + getAccountSummariesBuilderList() { return getAccountSummariesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> + com.google.analytics.admin.v1alpha.AccountSummary, + com.google.analytics.admin.v1alpha.AccountSummary.Builder, + com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder> getAccountSummariesFieldBuilder() { if (accountSummariesBuilder_ == null) { - accountSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccountSummary, com.google.analytics.admin.v1alpha.AccountSummary.Builder, com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>( + accountSummariesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccountSummary, + com.google.analytics.admin.v1alpha.AccountSummary.Builder, + com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>( accountSummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +978,21 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder addAccountSumma 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1001,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1024,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1064,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1098,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountSummariesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountSummariesResponse) - private static final com.google.analytics.admin.v1alpha.ListAccountSummariesResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListAccountSummariesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountSummariesResponse(); } - public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListAccountSummariesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesResponse 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; @@ -1025,9 +1146,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java index d2da7b584626..0d916959fb45 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountSummariesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountSummariesResponseOrBuilder extends +public interface ListAccountSummariesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountSummariesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List - getAccountSummariesList(); + java.util.List getAccountSummariesList(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -25,6 +44,8 @@ public interface ListAccountSummariesResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int index); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -33,15 +54,19 @@ public interface ListAccountSummariesResponseOrBuilder extends */ int getAccountSummariesCount(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; */ - java.util.List + java.util.List getAccountSummariesOrBuilderList(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSummariesOr 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java index 7eeca49af813..10601694e956 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsRequest} */ -public final class ListAccountsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsRequest) ListAccountsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountsRequest.newBuilder() to construct. private ListAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListAccountsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsRequest.class, com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsRequest.class, + com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; 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.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -67,9 +89,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -78,6 +103,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -86,14 +112,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -102,16 +129,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -122,6 +148,8 @@ public java.lang.String getPageToken() { public static final int SHOW_DELETED_FIELD_NUMBER = 3; private boolean showDeleted_ = false; /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -129,6 +157,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -137,6 +166,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -169,15 +198,13 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, showDeleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -187,19 +214,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountsRequest other = (com.google.analytics.admin.v1alpha.ListAccountsRequest) obj; + com.google.analytics.admin.v1alpha.ListAccountsRequest other = + (com.google.analytics.admin.v1alpha.ListAccountsRequest) obj; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getShowDeleted() - != other.getShowDeleted()) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getShowDeleted() != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,137 +241,143 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( 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.ListAccountsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAccountsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountsRequest) com.google.analytics.admin.v1alpha.ListAccountsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsRequest.class, com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsRequest.class, + com.google.analytics.admin.v1alpha.ListAccountsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; } @java.lang.Override @@ -379,8 +410,11 @@ public com.google.analytics.admin.v1alpha.ListAccountsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountsRequest result = new com.google.analytics.admin.v1alpha.ListAccountsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListAccountsRequest result = + new com.google.analytics.admin.v1alpha.ListAccountsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -402,38 +436,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountsReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListAccountsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance()) + return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -479,27 +515,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + showDeleted_ = 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) { @@ -509,10 +549,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -521,6 +564,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -528,6 +572,8 @@ 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.
@@ -536,17 +582,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -555,6 +604,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -566,6 +616,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -574,13 +626,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -589,6 +641,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -597,15 +651,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -613,6 +666,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -621,18 +676,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -641,6 +700,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -650,6 +710,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -658,12 +720,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -671,8 +735,10 @@ public Builder setPageTokenBytes( return this; } - private boolean showDeleted_ ; + private boolean showDeleted_; /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -680,6 +746,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -687,6 +754,8 @@ public boolean getShowDeleted() { return showDeleted_; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -694,17 +763,20 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; + * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -712,6 +784,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -720,9 +793,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountsRequest) private static final com.google.analytics.admin.v1alpha.ListAccountsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountsRequest(); } @@ -746,27 +819,27 @@ public static com.google.analytics.admin.v1alpha.ListAccountsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsRequest 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; @@ -781,6 +854,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java index 50dd7121f00e..eb0adfc86232 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsRequestOrBuilder extends +public interface ListAccountsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -16,11 +34,14 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -29,10 +50,13 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -41,12 +65,14 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -54,6 +80,7 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java index 1f9a8da3307a..59aec5df9da5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsResponse} */ -public final class ListAccountsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccountsResponse) ListAccountsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountsResponse.newBuilder() to construct. private ListAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountsResponse() { accounts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListAccountsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsResponse.class, com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsResponse.class, + com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); } public static final int ACCOUNTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accounts_; /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -64,6 +86,8 @@ public java.util.List getAccountsLis return accounts_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -71,11 +95,13 @@ public java.util.List getAccountsLis * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountsOrBuilderList() { return accounts_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -87,6 +113,8 @@ public int getAccountsCount() { return accounts_.size(); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { return accounts_.get(index); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index) { return accounts_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < accounts_.size(); i++) { output.writeMessage(1, accounts_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accounts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accounts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accounts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAccountsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccountsResponse other = (com.google.analytics.admin.v1alpha.ListAccountsResponse) obj; + com.google.analytics.admin.v1alpha.ListAccountsResponse other = + (com.google.analytics.admin.v1alpha.ListAccountsResponse) obj; - if (!getAccountsList() - .equals(other.getAccountsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAccountsList().equals(other.getAccountsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( 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.ListAccountsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccountsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccountsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAccountsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccountsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccountsResponse) com.google.analytics.admin.v1alpha.ListAccountsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccountsResponse.class, com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccountsResponse.class, + com.google.analytics.admin.v1alpha.ListAccountsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccountsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1alpha.ListAccountsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccountsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAccountsResponse result = new com.google.analytics.admin.v1alpha.ListAccountsResponse(this); + com.google.analytics.admin.v1alpha.ListAccountsResponse result = + new com.google.analytics.admin.v1alpha.ListAccountsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAccountsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListAccountsResponse result) { if (accountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accounts_ = java.util.Collections.unmodifiableList(accounts_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccountsRespon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListAccountsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccountsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance()) + return this; if (accountsBuilder_ == null) { if (!other.accounts_.isEmpty()) { if (accounts_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccountsResponse accountsBuilder_ = null; accounts_ = other.accounts_; bitField0_ = (bitField0_ & ~0x00000001); - accountsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccountsFieldBuilder() : null; + accountsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccountsFieldBuilder() + : null; } else { accountsBuilder_.addAllMessages(other.accounts_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.Account m = - input.readMessage( - com.google.analytics.admin.v1alpha.Account.parser(), - extensionRegistry); - if (accountsBuilder_ == null) { - ensureAccountsIsMutable(); - accounts_.add(m); - } else { - accountsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.Account m = + input.readMessage( + com.google.analytics.admin.v1alpha.Account.parser(), extensionRegistry); + if (accountsBuilder_ == null) { + ensureAccountsIsMutable(); + accounts_.add(m); + } else { + accountsBuilder_.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) { @@ -557,21 +604,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accounts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { accounts_ = new java.util.ArrayList(accounts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountsBuilder_; + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> + accountsBuilder_; /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -586,6 +640,8 @@ public java.util.List getAccountsLis } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -600,6 +656,8 @@ public int getAccountsCount() { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -614,14 +672,15 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder setAccounts( - int index, com.google.analytics.admin.v1alpha.Account value) { + public Builder setAccounts(int index, com.google.analytics.admin.v1alpha.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +694,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -653,6 +714,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -673,14 +736,15 @@ public Builder addAccounts(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder addAccounts( - int index, com.google.analytics.admin.v1alpha.Account value) { + public Builder addAccounts(int index, com.google.analytics.admin.v1alpha.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,14 +758,15 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public Builder addAccounts( - com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder addAccounts(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(builderForValue.build()); @@ -712,6 +777,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -730,6 +797,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -740,8 +809,7 @@ public Builder addAllAccounts( java.lang.Iterable values) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accounts_); onChanged(); } else { accountsBuilder_.addAllMessages(values); @@ -749,6 +817,8 @@ public Builder addAllAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -766,6 +836,8 @@ public Builder clearAccounts() { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -783,39 +855,44 @@ public Builder removeAccounts(int index) { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.Account.Builder getAccountsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.Account.Builder getAccountsBuilder(int index) { return getAccountsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(int index) { if (accountsBuilder_ == null) { - return accounts_.get(index); } else { + return accounts_.get(index); + } else { return accountsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public java.util.List - getAccountsOrBuilderList() { + public java.util.List + getAccountsOrBuilderList() { if (accountsBuilder_ != null) { return accountsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +900,8 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -830,42 +909,48 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder() { - return getAccountsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); + return getAccountsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder( - int index) { - return getAccountsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder(int index) { + return getAccountsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.Account.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - public java.util.List - getAccountsBuilderList() { + public java.util.List + getAccountsBuilderList() { return getAccountsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountsFieldBuilder() { if (accountsBuilder_ == null) { - accountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( - accounts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + accountsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder>( + accounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); accounts_ = null; } return accountsBuilder_; @@ -873,19 +958,21 @@ public com.google.analytics.admin.v1alpha.Account.Builder addAccountsBuilder( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +981,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1004,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1044,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccountsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccountsResponse) private static final com.google.analytics.admin.v1alpha.ListAccountsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccountsResponse(); } @@ -993,27 +1092,27 @@ public static com.google.analytics.admin.v1alpha.ListAccountsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsResponse 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; @@ -1028,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java index 4d9c54f4fd03..8a80e051dd24 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccountsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAccountsResponseOrBuilder extends +public interface ListAccountsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccountsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List - getAccountsList(); + java.util.List getAccountsList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -25,6 +44,8 @@ public interface ListAccountsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.Account getAccounts(int index); /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -33,43 +54,51 @@ public interface ListAccountsResponseOrBuilder extends */ int getAccountsCount(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - java.util.List + java.util.List getAccountsOrBuilderList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Account accounts = 1; */ - com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java index 651ab419a00a..05eef4d79d16 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListAudiences RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesRequest} */ -public final class ListAudiencesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAudiencesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAudiencesRequest) ListAudiencesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAudiencesRequest.newBuilder() to construct. private ListAudiencesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAudiencesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListAudiencesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAudiencesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListAudiencesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, com.google.analytics.admin.v1alpha.ListAudiencesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, + com.google.analytics.admin.v1alpha.ListAudiencesRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAudiencesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAudiencesRequest other = (com.google.analytics.admin.v1alpha.ListAudiencesRequest) obj; + com.google.analytics.admin.v1alpha.ListAudiencesRequest other = + (com.google.analytics.admin.v1alpha.ListAudiencesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( 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.ListAudiencesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAudiencesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAudiencesRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAudiencesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAudiences RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAudiencesRequest) com.google.analytics.admin.v1alpha.ListAudiencesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, com.google.analytics.admin.v1alpha.ListAudiencesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, + com.google.analytics.admin.v1alpha.ListAudiencesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAudiencesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; } @java.lang.Override @@ -407,8 +445,11 @@ public com.google.analytics.admin.v1alpha.ListAudiencesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAudiencesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAudiencesRequest result = new com.google.analytics.admin.v1alpha.ListAudiencesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListAudiencesRequest result = + new com.google.analytics.admin.v1alpha.ListAudiencesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -430,38 +471,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAudiencesReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListAudiencesRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAudiencesRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAudiencesRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListAudiencesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +552,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +586,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +615,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +639,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +681,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +705,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +733,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -693,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -716,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -740,18 +826,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -760,6 +850,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +860,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -777,21 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAudiencesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAudiencesRequest) private static final com.google.analytics.admin.v1alpha.ListAudiencesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAudiencesRequest(); } @@ -815,27 +910,27 @@ public static com.google.analytics.admin.v1alpha.ListAudiencesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAudiencesRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAudiencesRequest 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; @@ -850,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAudiencesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java index bec7b6656706..7583ee55b925 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAudiencesRequestOrBuilder extends +public interface ListAudiencesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAudiencesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListAudiencesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListAudiencesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAudiences` call. Provide this
    * to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListAudiencesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java index cd80428fc226..a11a5f0b156f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListAudiences RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesResponse} */ -public final class ListAudiencesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAudiencesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAudiencesResponse) ListAudiencesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAudiencesResponse.newBuilder() to construct. private ListAudiencesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAudiencesResponse() { audiences_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListAudiencesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAudiencesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListAudiencesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, + com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); } public static final int AUDIENCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List audiences_; /** + * + * *
    * List of Audiences.
    * 
@@ -64,6 +86,8 @@ public java.util.List getAudiencesL return audiences_; } /** + * + * *
    * List of Audiences.
    * 
@@ -71,11 +95,13 @@ public java.util.List getAudiencesL * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAudiencesOrBuilderList() { return audiences_; } /** + * + * *
    * List of Audiences.
    * 
@@ -87,6 +113,8 @@ public int getAudiencesCount() { return audiences_.size(); } /** + * + * *
    * List of Audiences.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.Audience getAudiences(int index) { return audiences_.get(index); } /** + * + * *
    * List of Audiences.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1alpha.Audience getAudiences(int index) { * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder(int index) { return audiences_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < audiences_.size(); i++) { output.writeMessage(1, audiences_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < audiences_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, audiences_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, audiences_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListAudiencesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAudiencesResponse other = (com.google.analytics.admin.v1alpha.ListAudiencesResponse) obj; + com.google.analytics.admin.v1alpha.ListAudiencesResponse other = + (com.google.analytics.admin.v1alpha.ListAudiencesResponse) obj; - if (!getAudiencesList() - .equals(other.getAudiencesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAudiencesList().equals(other.getAudiencesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( 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.ListAudiencesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAudiencesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAudiencesResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAudiencesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListAudiences RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAudiencesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAudiencesResponse) com.google.analytics.admin.v1alpha.ListAudiencesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, + com.google.analytics.admin.v1alpha.ListAudiencesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAudiencesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1alpha.ListAudiencesResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAudiencesResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAudiencesResponse result = new com.google.analytics.admin.v1alpha.ListAudiencesResponse(this); + com.google.analytics.admin.v1alpha.ListAudiencesResponse result = + new com.google.analytics.admin.v1alpha.ListAudiencesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAudiencesResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListAudiencesResponse result) { if (audiencesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { audiences_ = java.util.Collections.unmodifiableList(audiences_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAudiencesRespo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListAudiencesResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAudiencesResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAudiencesResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAudiencesResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListAudiencesResponse.getDefaultInstance()) + return this; if (audiencesBuilder_ == null) { if (!other.audiences_.isEmpty()) { if (audiences_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAudiencesRespons audiencesBuilder_ = null; audiences_ = other.audiences_; bitField0_ = (bitField0_ & ~0x00000001); - audiencesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAudiencesFieldBuilder() : null; + audiencesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAudiencesFieldBuilder() + : null; } else { audiencesBuilder_.addAllMessages(other.audiences_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.Audience m = - input.readMessage( - com.google.analytics.admin.v1alpha.Audience.parser(), - extensionRegistry); - if (audiencesBuilder_ == null) { - ensureAudiencesIsMutable(); - audiences_.add(m); - } else { - audiencesBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.Audience m = + input.readMessage( + com.google.analytics.admin.v1alpha.Audience.parser(), extensionRegistry); + if (audiencesBuilder_ == null) { + ensureAudiencesIsMutable(); + audiences_.add(m); + } else { + audiencesBuilder_.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) { @@ -557,21 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List audiences_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAudiencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - audiences_ = new java.util.ArrayList(audiences_); + audiences_ = + new java.util.ArrayList(audiences_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> audiencesBuilder_; + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder> + audiencesBuilder_; /** + * + * *
      * List of Audiences.
      * 
@@ -586,6 +641,8 @@ public java.util.List getAudiencesL } } /** + * + * *
      * List of Audiences.
      * 
@@ -600,6 +657,8 @@ public int getAudiencesCount() { } } /** + * + * *
      * List of Audiences.
      * 
@@ -614,14 +673,15 @@ public com.google.analytics.admin.v1alpha.Audience getAudiences(int index) { } } /** + * + * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public Builder setAudiences( - int index, com.google.analytics.admin.v1alpha.Audience value) { + public Builder setAudiences(int index, com.google.analytics.admin.v1alpha.Audience value) { if (audiencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +695,8 @@ public Builder setAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -653,6 +715,8 @@ public Builder setAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -673,14 +737,15 @@ public Builder addAudiences(com.google.analytics.admin.v1alpha.Audience value) { return this; } /** + * + * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public Builder addAudiences( - int index, com.google.analytics.admin.v1alpha.Audience value) { + public Builder addAudiences(int index, com.google.analytics.admin.v1alpha.Audience value) { if (audiencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,6 +759,8 @@ public Builder addAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -712,6 +779,8 @@ public Builder addAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -730,6 +799,8 @@ public Builder addAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -740,8 +811,7 @@ public Builder addAllAudiences( java.lang.Iterable values) { if (audiencesBuilder_ == null) { ensureAudiencesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, audiences_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audiences_); onChanged(); } else { audiencesBuilder_.addAllMessages(values); @@ -749,6 +819,8 @@ public Builder addAllAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -766,6 +838,8 @@ public Builder clearAudiences() { return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -783,39 +857,44 @@ public Builder removeAudiences(int index) { return this; } /** + * + * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public com.google.analytics.admin.v1alpha.Audience.Builder getAudiencesBuilder( - int index) { + public com.google.analytics.admin.v1alpha.Audience.Builder getAudiencesBuilder(int index) { return getAudiencesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder(int index) { if (audiencesBuilder_ == null) { - return audiences_.get(index); } else { + return audiences_.get(index); + } else { return audiencesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public java.util.List - getAudiencesOrBuilderList() { + public java.util.List + getAudiencesOrBuilderList() { if (audiencesBuilder_ != null) { return audiencesBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +902,8 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilde } } /** + * + * *
      * List of Audiences.
      * 
@@ -830,42 +911,48 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilde * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder() { - return getAudiencesFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); + return getAudiencesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); } /** + * + * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder( - int index) { - return getAudiencesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder(int index) { + return getAudiencesFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()); } /** + * + * *
      * List of Audiences.
      * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - public java.util.List - getAudiencesBuilderList() { + public java.util.List + getAudiencesBuilderList() { return getAudiencesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder> getAudiencesFieldBuilder() { if (audiencesBuilder_ == null) { - audiencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder>( - audiences_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + audiencesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder>( + audiences_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); audiences_ = null; } return audiencesBuilder_; @@ -873,19 +960,21 @@ public com.google.analytics.admin.v1alpha.Audience.Builder addAudiencesBuilder( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +983,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1006,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1046,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAudiencesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAudiencesResponse) private static final com.google.analytics.admin.v1alpha.ListAudiencesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAudiencesResponse(); } @@ -993,27 +1094,27 @@ public static com.google.analytics.admin.v1alpha.ListAudiencesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAudiencesResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAudiencesResponse 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; @@ -1028,6 +1129,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAudiencesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java index c07853163232..cde775e22811 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAudiencesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListAudiencesResponseOrBuilder extends +public interface ListAudiencesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAudiencesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of Audiences.
    * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - java.util.List - getAudiencesList(); + java.util.List getAudiencesList(); /** + * + * *
    * List of Audiences.
    * 
@@ -25,6 +44,8 @@ public interface ListAudiencesResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.Audience getAudiences(int index); /** + * + * *
    * List of Audiences.
    * 
@@ -33,43 +54,51 @@ public interface ListAudiencesResponseOrBuilder extends */ int getAudiencesCount(); /** + * + * *
    * List of Audiences.
    * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - java.util.List + java.util.List getAudiencesOrBuilderList(); /** + * + * *
    * List of Audiences.
    * 
* * repeated .google.analytics.admin.v1alpha.Audience audiences = 1; */ - com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequest.java index 4ed41e23014d..47c0b58ed633 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + 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_ = ""; @@ -26,40 +44,47 @@ private ListBigQueryLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBigQueryLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,31 +93,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,6 +130,8 @@ public java.lang.String getParent() { 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.
@@ -111,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -119,9 +149,12 @@ public int getPageSize() { } 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.
@@ -130,6 +163,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -138,14 +172,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListBigQueryLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -154,16 +189,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -172,6 +206,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +218,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -207,8 +241,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -221,19 +254,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest other = (com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest) 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 (!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; } @@ -257,129 +288,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListBigQueryLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListBigQueryLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +429,9 @@ public Builder clear() { } @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; + 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 @@ -412,8 +450,11 @@ public com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest build() { @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); } + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest result = + new com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -435,38 +476,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListBigQueryLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -474,7 +516,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -514,27 +557,31 @@ public Builder mergeFrom( 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: + 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) { @@ -544,24 +591,29 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -570,22 +622,25 @@ public 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -593,32 +648,43 @@ public 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) = { ... } + * + * 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(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -628,19 +694,25 @@ public Builder clearParent() { 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) = { ... } + * + * 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(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -648,8 +720,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -658,6 +732,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -665,6 +740,8 @@ 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.
@@ -673,17 +750,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -692,6 +772,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -703,6 +784,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListBigQueryLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -711,13 +794,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -726,6 +809,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListBigQueryLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -734,15 +819,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -750,6 +834,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListBigQueryLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -758,18 +844,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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.
@@ -778,6 +868,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -787,6 +878,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListBigQueryLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -795,21 +888,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -819,12 +914,12 @@ public final Builder mergeUnknownFields( 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(); } @@ -833,27 +928,27 @@ public static com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest getDef 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(); - } - }; + 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; @@ -868,6 +963,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksRequestOrBuilder.java index b17252f57e2c..be8eed9a062a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListBigQueryLinksRequestOrBuilder extends +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) = { ... } + * + * 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -40,11 +67,14 @@ public interface ListBigQueryLinksRequestOrBuilder extends
    * 
* * 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.
@@ -53,10 +83,13 @@ public interface ListBigQueryLinksRequestOrBuilder extends
    * 
* * 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.
@@ -65,8 +98,8 @@ public interface ListBigQueryLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponse.java index cc9037af0de1..7570602bee13 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + 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_ = ""; @@ -26,33 +44,37 @@ private ListBigQueryLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBigQueryLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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.
    * 
@@ -64,6 +86,8 @@ public java.util.List getBigque return bigqueryLinks_; } /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -71,11 +95,13 @@ public java.util.List getBigque * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBigqueryLinksOrBuilderList() { return bigqueryLinks_; } /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -87,6 +113,8 @@ public int getBigqueryLinksCount() { return bigqueryLinks_.size(); } /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int inde return bigqueryLinks_.get(index); } /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -111,15 +141,19 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinks } 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 @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < bigqueryLinks_.size(); i++) { output.writeMessage(1, bigqueryLinks_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < bigqueryLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, bigqueryLinks_.get(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_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse other = (com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse) 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 (!getBigqueryLinksList().equals(other.getBigqueryLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListBigQueryLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListBigQueryLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +415,14 @@ public Builder clear() { } @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; + 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() { + public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.getDefaultInstance(); } @@ -397,14 +437,18 @@ public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse build() { @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); + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result = + new com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result) { if (bigqueryLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { bigqueryLinks_ = java.util.Collections.unmodifiableList(bigqueryLinks_); @@ -416,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListB } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListBigQueryLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse.getDefaultInstance()) + return this; if (bigqueryLinksBuilder_ == null) { if (!other.bigqueryLinks_.isEmpty()) { if (bigqueryLinks_.isEmpty()) { @@ -485,9 +533,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListBigQueryLinksRes bigqueryLinksBuilder_ = null; bigqueryLinks_ = other.bigqueryLinks_; bitField0_ = (bitField0_ & ~0x00000001); - bigqueryLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBigqueryLinksFieldBuilder() : null; + bigqueryLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBigqueryLinksFieldBuilder() + : null; } else { bigqueryLinksBuilder_.addAllMessages(other.bigqueryLinks_); } @@ -524,30 +573,33 @@ public Builder mergeFrom( 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: + 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) { @@ -557,21 +609,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List bigqueryLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBigqueryLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bigqueryLinks_ = new java.util.ArrayList(bigqueryLinks_); + 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_; + com.google.analytics.admin.v1alpha.BigQueryLink, + com.google.analytics.admin.v1alpha.BigQueryLink.Builder, + com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder> + bigqueryLinksBuilder_; /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -586,6 +647,8 @@ public java.util.List getBigque } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -600,6 +663,8 @@ public int getBigqueryLinksCount() { } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -614,6 +679,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int inde } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -635,6 +702,8 @@ public Builder setBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -653,6 +722,8 @@ public Builder setBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -673,6 +744,8 @@ public Builder addBigqueryLinks(com.google.analytics.admin.v1alpha.BigQueryLink return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -694,6 +767,8 @@ public Builder addBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -712,6 +787,8 @@ public Builder addBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -730,6 +807,8 @@ public Builder addBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -740,8 +819,7 @@ public Builder addAllBigqueryLinks( java.lang.Iterable values) { if (bigqueryLinksBuilder_ == null) { ensureBigqueryLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bigqueryLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bigqueryLinks_); onChanged(); } else { bigqueryLinksBuilder_.addAllMessages(values); @@ -749,6 +827,8 @@ public Builder addAllBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -766,6 +846,8 @@ public Builder clearBigqueryLinks() { return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -783,6 +865,8 @@ public Builder removeBigqueryLinks(int index) { return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -794,6 +878,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinksB return getBigqueryLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -803,19 +889,22 @@ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinksB public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinksOrBuilder( int index) { if (bigqueryLinksBuilder_ == null) { - return bigqueryLinks_.get(index); } else { + 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() { + public java.util.List + getBigqueryLinksOrBuilderList() { if (bigqueryLinksBuilder_ != null) { return bigqueryLinksBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +912,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinks } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -830,10 +921,12 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinks * 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()); + return getBigqueryLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()); } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -842,26 +935,34 @@ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder addBigqueryLinksB */ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder addBigqueryLinksBuilder( int index) { - return getBigqueryLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.BigQueryLink.getDefaultInstance()); + 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() { + 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> + 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>( + 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(), @@ -873,19 +974,21 @@ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder addBigqueryLinksB 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +997,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1020,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1060,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1094,13 @@ public final Builder mergeUnknownFields( 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; + private static final com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse(); } @@ -993,27 +1109,27 @@ public static com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse getDe 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(); - } - }; + 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; @@ -1028,6 +1144,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListBigQueryLinksResponseOrBuilder.java index 9aa080ea133a..464d08b709e0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListBigQueryLinksResponseOrBuilder extends +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(); + java.util.List getBigqueryLinksList(); /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -25,6 +44,8 @@ public interface ListBigQueryLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int index); /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -33,43 +54,51 @@ public interface ListBigQueryLinksResponseOrBuilder extends */ int getBigqueryLinksCount(); /** + * + * *
    * List of BigQueryLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; */ - java.util.List + 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); + 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java index 701c6f5acd1a..99e318672306 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListConversionEvents RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsRequest} */ -public final class ListConversionEventsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversionEventsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsRequest) ListConversionEventsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversionEventsRequest.newBuilder() to construct. private ListConversionEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversionEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,46 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListConversionEventsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,6 +128,8 @@ public java.lang.String getParent() { 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.
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -127,6 +160,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -135,14 +169,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -169,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +215,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -204,8 +238,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -218,19 +251,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListConversionEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListConversionEventsRequest other = (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) obj; + com.google.analytics.admin.v1alpha.ListConversionEventsRequest other = + (com.google.analytics.admin.v1alpha.ListConversionEventsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -254,129 +285,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( 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.ListConversionEventsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListConversionEventsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListConversionEvents RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListConversionEventsRequest) com.google.analytics.admin.v1alpha.ListConversionEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, + com.google.analytics.admin.v1alpha.ListConversionEventsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListConversionEventsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,13 +426,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance(); } @@ -409,13 +448,17 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListConversionEventsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListConversionEventsRequest result = new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListConversionEventsRequest result = + new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListConversionEventsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListConversionEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,38 +475,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListConversionEven public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListConversionEventsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsRequest) other); } else { super.mergeFrom(other); return this; @@ -471,7 +515,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConversionEventsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +557,31 @@ public Builder mergeFrom( 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: + 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) { @@ -541,23 +591,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -566,21 +621,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -588,30 +646,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -621,18 +690,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -640,8 +715,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -649,6 +726,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -656,6 +734,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -663,17 +743,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -681,6 +764,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -692,6 +776,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -700,13 +786,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -715,6 +801,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -723,15 +811,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -739,6 +826,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -747,18 +836,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -767,6 +860,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -776,6 +870,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -784,21 +880,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +906,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListConversionEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListConversionEventsRequest) - private static final com.google.analytics.admin.v1alpha.ListConversionEventsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListConversionEventsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListConversionEventsRequest(); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListConversionEventsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsRequest 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; @@ -854,9 +954,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java index 9cc8ee2fd27f..be1919e58db9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsRequestOrBuilder extends +public interface ListConversionEventsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -37,11 +64,14 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java index 71fcab350142..e7511ebb1431 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListConversionEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsResponse} */ -public final class ListConversionEventsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversionEventsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConversionEventsResponse) ListConversionEventsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversionEventsResponse.newBuilder() to construct. private ListConversionEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversionEventsResponse() { conversionEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListConversionEventsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); } public static final int CONVERSION_EVENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List conversionEvents_; /** + * + * *
    * The requested conversion events
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List getConversionEventsList() { + public java.util.List + getConversionEventsList() { return conversionEvents_; } /** + * + * *
    * The requested conversion events
    * 
@@ -71,11 +96,13 @@ public java.util.List getCon * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConversionEventsOrBuilderList() { return conversionEvents_; } /** + * + * *
    * The requested conversion events
    * 
@@ -87,6 +114,8 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** + * + * *
    * The requested conversion events
    * 
@@ -98,6 +127,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in return conversionEvents_.get(index); } /** + * + * *
    * The requested conversion events
    * 
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } 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 @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < conversionEvents_.size(); i++) { output.writeMessage(1, conversionEvents_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversionEvents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, conversionEvents_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversionEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListConversionEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListConversionEventsResponse other = (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) obj; + com.google.analytics.admin.v1alpha.ListConversionEventsResponse other = + (com.google.analytics.admin.v1alpha.ListConversionEventsResponse) obj; - if (!getConversionEventsList() - .equals(other.getConversionEventsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getConversionEventsList().equals(other.getConversionEventsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( 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.ListConversionEventsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListConversionEventsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListConversionEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConversionEventsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListConversionEventsResponse) com.google.analytics.admin.v1alpha.ListConversionEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, + com.google.analytics.admin.v1alpha.ListConversionEventsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListConversionEventsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance(); } @@ -397,14 +438,18 @@ public com.google.analytics.admin.v1alpha.ListConversionEventsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListConversionEventsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListConversionEventsResponse result = new com.google.analytics.admin.v1alpha.ListConversionEventsResponse(this); + com.google.analytics.admin.v1alpha.ListConversionEventsResponse result = + new com.google.analytics.admin.v1alpha.ListConversionEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { if (conversionEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { conversionEvents_ = java.util.Collections.unmodifiableList(conversionEvents_); @@ -416,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListC } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +473,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListConversionEven public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListConversionEventsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListConversionEventsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConversionEventsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListConversionEventsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance()) + return this; if (conversionEventsBuilder_ == null) { if (!other.conversionEvents_.isEmpty()) { if (conversionEvents_.isEmpty()) { @@ -485,9 +535,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConversionEvents conversionEventsBuilder_ = null; conversionEvents_ = other.conversionEvents_; bitField0_ = (bitField0_ & ~0x00000001); - conversionEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConversionEventsFieldBuilder() : null; + conversionEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConversionEventsFieldBuilder() + : null; } else { conversionEventsBuilder_.addAllMessages(other.conversionEvents_); } @@ -524,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ConversionEvent m = - input.readMessage( - com.google.analytics.admin.v1alpha.ConversionEvent.parser(), - extensionRegistry); - if (conversionEventsBuilder_ == null) { - ensureConversionEventsIsMutable(); - conversionEvents_.add(m); - } else { - conversionEventsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.ConversionEvent m = + input.readMessage( + com.google.analytics.admin.v1alpha.ConversionEvent.parser(), + extensionRegistry); + if (conversionEventsBuilder_ == null) { + ensureConversionEventsIsMutable(); + conversionEvents_.add(m); + } else { + conversionEventsBuilder_.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) { @@ -557,28 +611,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List conversionEvents_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConversionEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conversionEvents_ = new java.util.ArrayList(conversionEvents_); + conversionEvents_ = + new java.util.ArrayList( + conversionEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> conversionEventsBuilder_; + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + conversionEventsBuilder_; /** + * + * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List getConversionEventsList() { + public java.util.List + getConversionEventsList() { if (conversionEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(conversionEvents_); } else { @@ -586,6 +650,8 @@ public java.util.List getCon } } /** + * + * *
      * The requested conversion events
      * 
@@ -600,6 +666,8 @@ public int getConversionEventsCount() { } } /** + * + * *
      * The requested conversion events
      * 
@@ -614,6 +682,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in } } /** + * + * *
      * The requested conversion events
      * 
@@ -635,6 +705,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -653,6 +725,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -673,6 +747,8 @@ public Builder addConversionEvents(com.google.analytics.admin.v1alpha.Conversion return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -694,6 +770,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -712,6 +790,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -730,6 +810,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -740,8 +822,7 @@ public Builder addAllConversionEvents( java.lang.Iterable values) { if (conversionEventsBuilder_ == null) { ensureConversionEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conversionEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversionEvents_); onChanged(); } else { conversionEventsBuilder_.addAllMessages(values); @@ -749,6 +830,8 @@ public Builder addAllConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -766,6 +849,8 @@ public Builder clearConversionEvents() { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -783,6 +868,8 @@ public Builder removeConversionEvents(int index) { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -794,6 +881,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested conversion events
      * 
@@ -803,19 +892,22 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventsOrBuilder( int index) { if (conversionEventsBuilder_ == null) { - return conversionEvents_.get(index); } else { + return conversionEvents_.get(index); + } else { return conversionEventsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsOrBuilderList() { + public java.util.List + getConversionEventsOrBuilderList() { if (conversionEventsBuilder_ != null) { return conversionEventsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +915,8 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** + * + * *
      * The requested conversion events
      * 
@@ -830,10 +924,12 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionEventsBuilder() { - return getConversionEventsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); } /** + * + * *
      * The requested conversion events
      * 
@@ -842,26 +938,35 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionE */ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionEventsBuilder( int index) { - return getConversionEventsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance()); } /** + * + * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsBuilderList() { + public java.util.List + getConversionEventsBuilderList() { return getConversionEventsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder> getConversionEventsFieldBuilder() { if (conversionEventsBuilder_ == null) { - conversionEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionEvent, com.google.analytics.admin.v1alpha.ConversionEvent.Builder, com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( + conversionEventsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConversionEvent, + com.google.analytics.admin.v1alpha.ConversionEvent.Builder, + com.google.analytics.admin.v1alpha.ConversionEventOrBuilder>( conversionEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +978,21 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder addConversionE 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1001,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1024,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1064,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1098,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListConversionEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListConversionEventsResponse) - private static final com.google.analytics.admin.v1alpha.ListConversionEventsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListConversionEventsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListConversionEventsResponse(); } - public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListConversionEventsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsResponse 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; @@ -1025,9 +1146,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConversionEventsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java index 9600ab697c03..ac12d5f613cd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConversionEventsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListConversionEventsResponseOrBuilder extends +public interface ListConversionEventsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConversionEventsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List - getConversionEventsList(); + java.util.List getConversionEventsList(); /** + * + * *
    * The requested conversion events
    * 
@@ -25,6 +44,8 @@ public interface ListConversionEventsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(int index); /** + * + * *
    * The requested conversion events
    * 
@@ -33,15 +54,19 @@ public interface ListConversionEventsResponseOrBuilder extends */ int getConversionEventsCount(); /** + * + * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; */ - java.util.List + java.util.List getConversionEventsOrBuilderList(); /** + * + * *
    * The requested conversion events
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventsO 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java index 6a4f30e765d7..063f403cdecb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsRequest} */ -public final class ListCustomDimensionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomDimensionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) ListCustomDimensionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomDimensionsRequest.newBuilder() to construct. private ListCustomDimensionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomDimensionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListCustomDimensionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other = (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) obj; + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other = + (com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( 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.ListCustomDimensionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) com.google.analytics.admin.v1alpha.ListCustomDimensionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,13 +424,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance(); } @@ -407,13 +446,17 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result = new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result = + new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -430,38 +473,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomDimensio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListCustomDimensionsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +555,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +589,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +618,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +642,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +684,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +708,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +719,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +727,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +736,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +757,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +769,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +779,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +794,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +804,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +829,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +853,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +863,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +873,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,41 +899,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) - private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest(); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsRequest 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; @@ -847,9 +947,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java index 5902d9db766f..1ba10b171907 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsRequestOrBuilder extends +public interface ListCustomDimensionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java index 15a7d197f86c..15b2b63670ec 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsResponse} */ -public final class ListCustomDimensionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomDimensionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) ListCustomDimensionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomDimensionsResponse.newBuilder() to construct. private ListCustomDimensionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomDimensionsResponse() { customDimensions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListCustomDimensionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); } public static final int CUSTOM_DIMENSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List customDimensions_; /** + * + * *
    * List of CustomDimensions.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List getCustomDimensionsList() { + public java.util.List + getCustomDimensionsList() { return customDimensions_; } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -71,11 +96,13 @@ public java.util.List getCus * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomDimensionsOrBuilderList() { return customDimensions_; } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -87,6 +114,8 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -98,6 +127,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in return customDimensions_.get(index); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } 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 @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customDimensions_.size(); i++) { output.writeMessage(1, customDimensions_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customDimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, customDimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customDimensions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other = (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) obj; + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other = + (com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) obj; - if (!getCustomDimensionsList() - .equals(other.getCustomDimensionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCustomDimensionsList().equals(other.getCustomDimensionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( 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.ListCustomDimensionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomDimensionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) com.google.analytics.admin.v1alpha.ListCustomDimensionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance(); } @@ -397,14 +438,18 @@ public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result = new com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse(this); + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result = + new com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { if (customDimensionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customDimensions_ = java.util.Collections.unmodifiableList(customDimensions_); @@ -416,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListC } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +473,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomDimensio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListCustomDimensionsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance()) + return this; if (customDimensionsBuilder_ == null) { if (!other.customDimensions_.isEmpty()) { if (customDimensions_.isEmpty()) { @@ -485,9 +535,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomDimensions customDimensionsBuilder_ = null; customDimensions_ = other.customDimensions_; bitField0_ = (bitField0_ & ~0x00000001); - customDimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCustomDimensionsFieldBuilder() : null; + customDimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCustomDimensionsFieldBuilder() + : null; } else { customDimensionsBuilder_.addAllMessages(other.customDimensions_); } @@ -524,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.CustomDimension m = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomDimension.parser(), - extensionRegistry); - if (customDimensionsBuilder_ == null) { - ensureCustomDimensionsIsMutable(); - customDimensions_.add(m); - } else { - customDimensionsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.CustomDimension m = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomDimension.parser(), + extensionRegistry); + if (customDimensionsBuilder_ == null) { + ensureCustomDimensionsIsMutable(); + customDimensions_.add(m); + } else { + customDimensionsBuilder_.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) { @@ -557,28 +611,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List customDimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customDimensions_ = new java.util.ArrayList(customDimensions_); + customDimensions_ = + new java.util.ArrayList( + customDimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionsBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + customDimensionsBuilder_; /** + * + * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List getCustomDimensionsList() { + public java.util.List + getCustomDimensionsList() { if (customDimensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(customDimensions_); } else { @@ -586,6 +650,8 @@ public java.util.List getCus } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -600,6 +666,8 @@ public int getCustomDimensionsCount() { } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -614,6 +682,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -635,6 +705,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -653,6 +725,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -673,6 +747,8 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1alpha.CustomDime return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -694,6 +770,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -712,6 +790,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -730,6 +810,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -740,8 +822,7 @@ public Builder addAllCustomDimensions( java.lang.Iterable values) { if (customDimensionsBuilder_ == null) { ensureCustomDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customDimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customDimensions_); onChanged(); } else { customDimensionsBuilder_.addAllMessages(values); @@ -749,6 +830,8 @@ public Builder addAllCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -766,6 +849,8 @@ public Builder clearCustomDimensions() { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -783,6 +868,8 @@ public Builder removeCustomDimensions(int index) { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -794,6 +881,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -803,19 +892,22 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionsOrBuilder( int index) { if (customDimensionsBuilder_ == null) { - return customDimensions_.get(index); } else { + return customDimensions_.get(index); + } else { return customDimensionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsOrBuilderList() { + public java.util.List + getCustomDimensionsOrBuilderList() { if (customDimensionsBuilder_ != null) { return customDimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +915,8 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -830,10 +924,12 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimensionsBuilder() { - return getCustomDimensionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -842,26 +938,35 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimen */ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimensionsBuilder( int index) { - return getCustomDimensionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()); } /** + * + * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsBuilderList() { + public java.util.List + getCustomDimensionsBuilderList() { return getCustomDimensionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionsFieldBuilder() { if (customDimensionsBuilder_ == null) { - customDimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + customDimensionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( customDimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +978,21 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder addCustomDimen 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1001,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1024,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1064,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1098,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) - private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse(); } - public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsResponse 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; @@ -1025,9 +1146,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java index ff2551bfe71e..efb6ff0e5080 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomDimensionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomDimensionsResponseOrBuilder extends +public interface ListCustomDimensionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomDimensionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List - getCustomDimensionsList(); + java.util.List getCustomDimensionsList(); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomDimensionsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(int index); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -33,15 +54,19 @@ public interface ListCustomDimensionsResponseOrBuilder extends */ int getCustomDimensionsCount(); /** + * + * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; */ - java.util.List + java.util.List getCustomDimensionsOrBuilderList(); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionsO 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java index 7a3e34bec787..6689b39764fd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsRequest} */ -public final class ListCustomMetricsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomMetricsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsRequest) ListCustomMetricsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomMetricsRequest.newBuilder() to construct. private ListCustomMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomMetricsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListCustomMetricsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomMetricsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other = (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) obj; + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other = + (com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( 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.ListCustomMetricsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomMetricsRequest) com.google.analytics.admin.v1alpha.ListCustomMetricsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; } @java.lang.Override @@ -407,8 +445,11 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest result = new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListCustomMetricsRequest result = + new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -430,38 +471,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomMetricsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListCustomMetricsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +552,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +586,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +615,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +639,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +681,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +705,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +733,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +826,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +850,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +860,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomMetricsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomMetricsRequest) private static final com.google.analytics.admin.v1alpha.ListCustomMetricsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomMetricsRequest(); } @@ -815,27 +910,27 @@ public static com.google.analytics.admin.v1alpha.ListCustomMetricsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsRequest 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; @@ -850,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListCustomMetricsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java index 76de44f7bb93..6fc7b232ac16 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsRequestOrBuilder extends +public interface ListCustomMetricsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java index 8cf6e20a47f0..e25464cd6b30 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsResponse} */ -public final class ListCustomMetricsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomMetricsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListCustomMetricsResponse) ListCustomMetricsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomMetricsResponse.newBuilder() to construct. private ListCustomMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomMetricsResponse() { customMetrics_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListCustomMetricsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); } public static final int CUSTOM_METRICS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List customMetrics_; /** + * + * *
    * List of CustomMetrics.
    * 
@@ -64,6 +86,8 @@ public java.util.List getCustom return customMetrics_; } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -71,11 +95,13 @@ public java.util.List getCustom * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomMetricsOrBuilderList() { return customMetrics_; } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -87,6 +113,8 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde return customMetrics_.get(index); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -111,15 +141,19 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics } 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 @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customMetrics_.size(); i++) { output.writeMessage(1, customMetrics_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customMetrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, customMetrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customMetrics_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListCustomMetricsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other = (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) obj; + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other = + (com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) obj; - if (!getCustomMetricsList() - .equals(other.getCustomMetricsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCustomMetricsList().equals(other.getCustomMetricsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( 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.ListCustomMetricsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListCustomMetricsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListCustomMetricsResponse) com.google.analytics.admin.v1alpha.ListCustomMetricsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +415,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance(); } @@ -397,14 +437,18 @@ public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result = new com.google.analytics.admin.v1alpha.ListCustomMetricsResponse(this); + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result = + new com.google.analytics.admin.v1alpha.ListCustomMetricsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { if (customMetricsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customMetrics_ = java.util.Collections.unmodifiableList(customMetrics_); @@ -416,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListC } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListCustomMetricsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListCustomMetricsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListCustomMetricsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListCustomMetricsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance()) + return this; if (customMetricsBuilder_ == null) { if (!other.customMetrics_.isEmpty()) { if (customMetrics_.isEmpty()) { @@ -485,9 +533,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListCustomMetricsRes customMetricsBuilder_ = null; customMetrics_ = other.customMetrics_; bitField0_ = (bitField0_ & ~0x00000001); - customMetricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCustomMetricsFieldBuilder() : null; + customMetricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCustomMetricsFieldBuilder() + : null; } else { customMetricsBuilder_.addAllMessages(other.customMetrics_); } @@ -524,30 +573,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.CustomMetric m = - input.readMessage( - com.google.analytics.admin.v1alpha.CustomMetric.parser(), - extensionRegistry); - if (customMetricsBuilder_ == null) { - ensureCustomMetricsIsMutable(); - customMetrics_.add(m); - } else { - customMetricsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.CustomMetric m = + input.readMessage( + com.google.analytics.admin.v1alpha.CustomMetric.parser(), + extensionRegistry); + if (customMetricsBuilder_ == null) { + ensureCustomMetricsIsMutable(); + customMetrics_.add(m); + } else { + customMetricsBuilder_.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) { @@ -557,21 +609,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List customMetrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customMetrics_ = new java.util.ArrayList(customMetrics_); + customMetrics_ = + new java.util.ArrayList( + customMetrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricsBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + customMetricsBuilder_; /** + * + * *
      * List of CustomMetrics.
      * 
@@ -586,6 +647,8 @@ public java.util.List getCustom } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -600,6 +663,8 @@ public int getCustomMetricsCount() { } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -614,6 +679,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -635,6 +702,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -653,6 +722,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -673,6 +744,8 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -694,6 +767,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -712,6 +787,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -730,6 +807,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -740,8 +819,7 @@ public Builder addAllCustomMetrics( java.lang.Iterable values) { if (customMetricsBuilder_ == null) { ensureCustomMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customMetrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customMetrics_); onChanged(); } else { customMetricsBuilder_.addAllMessages(values); @@ -749,6 +827,8 @@ public Builder addAllCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -766,6 +846,8 @@ public Builder clearCustomMetrics() { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -783,6 +865,8 @@ public Builder removeCustomMetrics(int index) { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -794,6 +878,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB return getCustomMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -803,19 +889,22 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder( int index) { if (customMetricsBuilder_ == null) { - return customMetrics_.get(index); } else { + return customMetrics_.get(index); + } else { return customMetricsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsOrBuilderList() { + public java.util.List + getCustomMetricsOrBuilderList() { if (customMetricsBuilder_ != null) { return customMetricsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +912,8 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -830,10 +921,12 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsBuilder() { - return getCustomMetricsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -842,26 +935,34 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsB */ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsBuilder( int index) { - return getCustomMetricsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()); } /** + * + * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsBuilderList() { + public java.util.List + getCustomMetricsBuilderList() { return getCustomMetricsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricsFieldBuilder() { if (customMetricsBuilder_ == null) { - customMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + customMetricsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( customMetrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +974,21 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder addCustomMetricsB 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +997,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1020,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1060,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1094,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListCustomMetricsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListCustomMetricsResponse) - private static final com.google.analytics.admin.v1alpha.ListCustomMetricsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListCustomMetricsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListCustomMetricsResponse(); } @@ -993,27 +1109,27 @@ public static com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsResponse 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; @@ -1028,6 +1144,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java index e8860caed2c6..e50c688fed30 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListCustomMetricsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListCustomMetricsResponseOrBuilder extends +public interface ListCustomMetricsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListCustomMetricsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List - getCustomMetricsList(); + java.util.List getCustomMetricsList(); /** + * + * *
    * List of CustomMetrics.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomMetricsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int index); /** + * + * *
    * List of CustomMetrics.
    * 
@@ -33,43 +54,51 @@ public interface ListCustomMetricsResponseOrBuilder extends */ int getCustomMetricsCount(); /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - java.util.List + java.util.List getCustomMetricsOrBuilderList(); /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; */ - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java index 2a08ee78d2ff..e4ed24f3182e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsRequest} */ -public final class ListDataStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsRequest) ListDataStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataStreamsRequest.newBuilder() to construct. private ListDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListDataStreamsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDataStreamsRequest other = (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) obj; + com.google.analytics.admin.v1alpha.ListDataStreamsRequest other = + (com.google.analytics.admin.v1alpha.ListDataStreamsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( 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.ListDataStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDataStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDataStreamsRequest) com.google.analytics.admin.v1alpha.ListDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, com.google.analytics.admin.v1alpha.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, + com.google.analytics.admin.v1alpha.ListDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListDataStreamsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; } @java.lang.Override @@ -407,8 +445,11 @@ public com.google.analytics.admin.v1alpha.ListDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListDataStreamsRequest result = new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListDataStreamsRequest result = + new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -430,38 +471,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDataStreamsReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +552,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +586,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +615,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +639,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +681,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +705,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +733,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +826,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +850,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +860,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDataStreamsRequest) private static final com.google.analytics.admin.v1alpha.ListDataStreamsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDataStreamsRequest(); } @@ -815,27 +910,27 @@ public static com.google.analytics.admin.v1alpha.ListDataStreamsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsRequest 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; @@ -850,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java index 2f629aed9467..f4b3eeadcdcc 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDataStreamsRequestOrBuilder extends +public interface ListDataStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java index dd637ad17c1a..4693af789e3b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsResponse} */ -public final class ListDataStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDataStreamsResponse) ListDataStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataStreamsResponse.newBuilder() to construct. private ListDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataStreamsResponse() { dataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListDataStreamsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); } public static final int DATA_STREAMS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataStreams_; /** + * + * *
    * List of DataStreams.
    * 
@@ -64,6 +86,8 @@ public java.util.List getDataStre return dataStreams_; } /** + * + * *
    * List of DataStreams.
    * 
@@ -71,11 +95,13 @@ public java.util.List getDataStre * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataStreamsOrBuilderList() { return dataStreams_; } /** + * + * *
    * List of DataStreams.
    * 
@@ -87,6 +113,8 @@ public int getDataStreamsCount() { return dataStreams_.size(); } /** + * + * *
    * List of DataStreams.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { return dataStreams_.get(index); } /** + * + * *
    * List of DataStreams.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder(int index) { return dataStreams_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataStreams_.size(); i++) { output.writeMessage(1, dataStreams_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDataStreamsResponse other = (com.google.analytics.admin.v1alpha.ListDataStreamsResponse) obj; + com.google.analytics.admin.v1alpha.ListDataStreamsResponse other = + (com.google.analytics.admin.v1alpha.ListDataStreamsResponse) obj; - if (!getDataStreamsList() - .equals(other.getDataStreamsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDataStreamsList().equals(other.getDataStreamsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( 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.ListDataStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDataStreamsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDataStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDataStreamsResponse) com.google.analytics.admin.v1alpha.ListDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, + com.google.analytics.admin.v1alpha.ListDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListDataStreamsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1alpha.ListDataStreamsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListDataStreamsResponse result = new com.google.analytics.admin.v1alpha.ListDataStreamsResponse(this); + com.google.analytics.admin.v1alpha.ListDataStreamsResponse result = + new com.google.analytics.admin.v1alpha.ListDataStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListDataStreamsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListDataStreamsResponse result) { if (dataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataStreams_ = java.util.Collections.unmodifiableList(dataStreams_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDataStreamsRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListDataStreamsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance()) + return this; if (dataStreamsBuilder_ == null) { if (!other.dataStreams_.isEmpty()) { if (dataStreams_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDataStreamsRespo dataStreamsBuilder_ = null; dataStreams_ = other.dataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - dataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataStreamsFieldBuilder() : null; + dataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataStreamsFieldBuilder() + : null; } else { dataStreamsBuilder_.addAllMessages(other.dataStreams_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.DataStream m = - input.readMessage( - com.google.analytics.admin.v1alpha.DataStream.parser(), - extensionRegistry); - if (dataStreamsBuilder_ == null) { - ensureDataStreamsIsMutable(); - dataStreams_.add(m); - } else { - dataStreamsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.DataStream m = + input.readMessage( + com.google.analytics.admin.v1alpha.DataStream.parser(), extensionRegistry); + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.add(m); + } else { + dataStreamsBuilder_.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) { @@ -557,21 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataStreams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataStreams_ = new java.util.ArrayList(dataStreams_); + dataStreams_ = + new java.util.ArrayList(dataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> dataStreamsBuilder_; + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + dataStreamsBuilder_; /** + * + * *
      * List of DataStreams.
      * 
@@ -586,6 +641,8 @@ public java.util.List getDataStre } } /** + * + * *
      * List of DataStreams.
      * 
@@ -600,6 +657,8 @@ public int getDataStreamsCount() { } } /** + * + * *
      * List of DataStreams.
      * 
@@ -614,14 +673,15 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { } } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public Builder setDataStreams( - int index, com.google.analytics.admin.v1alpha.DataStream value) { + public Builder setDataStreams(int index, com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +695,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -653,6 +715,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -673,14 +737,15 @@ public Builder addDataStreams(com.google.analytics.admin.v1alpha.DataStream valu return this; } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public Builder addDataStreams( - int index, com.google.analytics.admin.v1alpha.DataStream value) { + public Builder addDataStreams(int index, com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,6 +759,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -712,6 +779,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -730,6 +799,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -740,8 +811,7 @@ public Builder addAllDataStreams( java.lang.Iterable values) { if (dataStreamsBuilder_ == null) { ensureDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataStreams_); onChanged(); } else { dataStreamsBuilder_.addAllMessages(values); @@ -749,6 +819,8 @@ public Builder addAllDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -766,6 +838,8 @@ public Builder clearDataStreams() { return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -783,17 +857,20 @@ public Builder removeDataStreams(int index) { return this; } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamsBuilder(int index) { return getDataStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of DataStreams.
      * 
@@ -803,19 +880,22 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamsBuild public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( int index) { if (dataStreamsBuilder_ == null) { - return dataStreams_.get(index); } else { + return dataStreams_.get(index); + } else { return dataStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsOrBuilderList() { + public java.util.List + getDataStreamsOrBuilderList() { if (dataStreamsBuilder_ != null) { return dataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +903,8 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBu } } /** + * + * *
      * List of DataStreams.
      * 
@@ -830,42 +912,48 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBu * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuilder() { - return getDataStreamsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); + return getDataStreamsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuilder( - int index) { - return getDataStreamsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuilder(int index) { + return getDataStreamsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()); } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsBuilderList() { + public java.util.List + getDataStreamsBuilderList() { return getDataStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamsFieldBuilder() { if (dataStreamsBuilder_ == null) { - dataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( - dataStreams_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dataStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + dataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataStreams_ = null; } return dataStreamsBuilder_; @@ -873,19 +961,21 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder addDataStreamsBuild 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +984,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1007,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1047,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDataStreamsResponse) private static final com.google.analytics.admin.v1alpha.ListDataStreamsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDataStreamsResponse(); } @@ -993,27 +1095,27 @@ public static com.google.analytics.admin.v1alpha.ListDataStreamsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsResponse 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; @@ -1028,6 +1130,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java index d2b8f8a01b1a..57bc69f362c6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDataStreamsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDataStreamsResponseOrBuilder extends +public interface ListDataStreamsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - java.util.List - getDataStreamsList(); + java.util.List getDataStreamsList(); /** + * + * *
    * List of DataStreams.
    * 
@@ -25,6 +44,8 @@ public interface ListDataStreamsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index); /** + * + * *
    * List of DataStreams.
    * 
@@ -33,43 +54,51 @@ public interface ListDataStreamsResponseOrBuilder extends */ int getDataStreamsCount(); /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - java.util.List + java.util.List getDataStreamsOrBuilderList(); /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; */ - com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java index 080a69aada22..d20980eb8a07 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.java @@ -1,24 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinkProposalsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinkProposalsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +47,47 @@ private ListDisplayVideo360AdvertiserLinkProposalsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +96,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +131,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +149,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -127,6 +165,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -135,14 +174,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -153,16 +193,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -171,6 +210,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -220,19 +258,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest other = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,130 +293,149 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + 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.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + parseFrom( + 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.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + 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.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest 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.ListDisplayVideo360AdvertiserLinkProposalsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + 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.ListDisplayVideo360AdvertiserLinkProposalsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + 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.ListDisplayVideo360AdvertiserLinkProposalsRequest + 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.ListDisplayVideo360AdvertiserLinkProposalsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListDisplayVideo360AdvertiserLinkProposals RPC.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -390,19 +447,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = buildPartial(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + build() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -410,14 +471,21 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkPropo } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -434,46 +502,55 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo36 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListDisplayVideo360AdvertiserLinkProposalsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + other) { + if (other + == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -513,27 +590,31 @@ public Builder mergeFrom( 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: + 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) { @@ -543,22 +624,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -567,20 +653,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -588,28 +677,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -619,17 +719,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -637,8 +743,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -646,6 +754,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -653,6 +762,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -660,17 +771,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -678,6 +792,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +804,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -699,13 +816,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -714,6 +831,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -724,15 +843,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -740,6 +858,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -750,18 +870,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -772,6 +896,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -781,6 +906,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -791,21 +918,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,55 +944,63 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) - private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinkProposalsRequest 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(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser< + ListDisplayVideo360AdvertiserLinkProposalsRequest>() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinkProposalsRequest 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() { + public static com.google.protobuf.Parser + parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java index 967db0f39814..6710652af49d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder extends +public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder exte
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -50,10 +80,13 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder exte
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -64,8 +97,8 @@ public interface ListDisplayVideo360AdvertiserLinkProposalsRequestOrBuilder exte
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java similarity index 53% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java index e575ff33f0cc..b1a74701cde6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.java @@ -1,24 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} */ -public final class ListDisplayVideo360AdvertiserLinkProposalsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinkProposalsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinkProposalsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinkProposalsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinkProposalsResponse() { displayVideo360AdvertiserLinkProposals_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +47,133 @@ private ListDisplayVideo360AdvertiserLinkProposalsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .Builder.class); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSALS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List displayVideo360AdvertiserLinkProposals_; + private java.util.List + displayVideo360AdvertiserLinkProposals_; /** + * + * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ @java.lang.Override - public java.util.List getDisplayVideo360AdvertiserLinkProposalsList() { + public java.util.List + getDisplayVideo360AdvertiserLinkProposalsList() { return displayVideo360AdvertiserLinkProposals_; } /** + * + * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { return displayVideo360AdvertiserLinkProposals_; } /** + * + * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ @java.lang.Override public int getDisplayVideo360AdvertiserLinkProposalsCount() { return displayVideo360AdvertiserLinkProposals_.size(); } /** + * + * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposals(int index) { return displayVideo360AdvertiserLinkProposals_.get(index); } /** + * + * *
    * List of DisplayVideo360AdvertiserLinkProposals.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index) { return displayVideo360AdvertiserLinkProposals_.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 @@ -128,30 +182,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +214,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +226,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinkProposals_.get(i)); } @@ -189,8 +243,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, displayVideo360AdvertiserLinkProposals_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, displayVideo360AdvertiserLinkProposals_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +258,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) obj; if (!getDisplayVideo360AdvertiserLinkProposalsList() .equals(other.getDisplayVideo360AdvertiserLinkProposalsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -236,130 +293,161 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + 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.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + parseFrom( + 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.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + 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.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 + .ListDisplayVideo360AdvertiserLinkProposalsResponse + 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.ListDisplayVideo360AdvertiserLinkProposalsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 + .ListDisplayVideo360AdvertiserLinkProposalsResponse + 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.ListDisplayVideo360AdvertiserLinkProposalsResponse 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 + .ListDisplayVideo360AdvertiserLinkProposalsResponse + 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.ListDisplayVideo360AdvertiserLinkProposalsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,19 +464,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = buildPartial(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + build() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -396,27 +488,38 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkPropo } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(this); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse( + this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + result) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_ = + java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); bitField0_ = (bitField0_ & ~0x00000001); } result.displayVideo360AdvertiserLinkProposals_ = displayVideo360AdvertiserLinkProposals_; } else { - result.displayVideo360AdvertiserLinkProposals_ = displayVideo360AdvertiserLinkProposalsBuilder_.build(); + result.displayVideo360AdvertiserLinkProposals_ = + displayVideo360AdvertiserLinkProposalsBuilder_.build(); } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +530,55 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo36 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListDisplayVideo360AdvertiserLinkProposalsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + other) { + if (other + == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + .getDefaultInstance()) return this; if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { if (!other.displayVideo360AdvertiserLinkProposals_.isEmpty()) { if (displayVideo360AdvertiserLinkProposals_.isEmpty()) { @@ -474,7 +586,8 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360A bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); - displayVideo360AdvertiserLinkProposals_.addAll(other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_.addAll( + other.displayVideo360AdvertiserLinkProposals_); } onChanged(); } @@ -485,11 +598,13 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360A displayVideo360AdvertiserLinkProposalsBuilder_ = null; displayVideo360AdvertiserLinkProposals_ = other.displayVideo360AdvertiserLinkProposals_; bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLinkProposalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() : null; + displayVideo360AdvertiserLinkProposalsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() + : null; } else { - displayVideo360AdvertiserLinkProposalsBuilder_.addAllMessages(other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposalsBuilder_.addAllMessages( + other.displayVideo360AdvertiserLinkProposals_); } } } @@ -524,30 +639,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal m = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.parser(), - extensionRegistry); - if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); - displayVideo360AdvertiserLinkProposals_.add(m); - } else { - displayVideo360AdvertiserLinkProposalsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal m = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .parser(), + extensionRegistry); + if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { + ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); + displayVideo360AdvertiserLinkProposals_.add(m); + } else { + displayVideo360AdvertiserLinkProposalsBuilder_.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) { @@ -557,28 +676,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List displayVideo360AdvertiserLinkProposals_ = - java.util.Collections.emptyList(); + private java.util.List + displayVideo360AdvertiserLinkProposals_ = java.util.Collections.emptyList(); + private void ensureDisplayVideo360AdvertiserLinkProposalsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinkProposals_ = new java.util.ArrayList(displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( + displayVideo360AdvertiserLinkProposals_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> displayVideo360AdvertiserLinkProposalsBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + displayVideo360AdvertiserLinkProposalsBuilder_; /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public java.util.List getDisplayVideo360AdvertiserLinkProposalsList() { + public java.util.List + getDisplayVideo360AdvertiserLinkProposalsList() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { return java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinkProposals_); } else { @@ -586,11 +718,15 @@ public java.util.List * List of DisplayVideo360AdvertiserLinkProposals. *
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public int getDisplayVideo360AdvertiserLinkProposalsCount() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -600,13 +736,18 @@ public int getDisplayVideo360AdvertiserLinkProposalsCount() { } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposals(int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { return displayVideo360AdvertiserLinkProposals_.get(index); } else { @@ -614,11 +755,15 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder setDisplayVideo360AdvertiserLinkProposals( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { @@ -635,14 +780,20 @@ public Builder setDisplayVideo360AdvertiserLinkProposals( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder setDisplayVideo360AdvertiserLinkProposals( - int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.set(index, builderForValue.build()); @@ -653,13 +804,18 @@ public Builder setDisplayVideo360AdvertiserLinkProposals( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public Builder addDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { + public Builder addDisplayVideo360AdvertiserLinkProposals( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,11 +829,15 @@ public Builder addDisplayVideo360AdvertiserLinkProposals(com.google.analytics.ad return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder addDisplayVideo360AdvertiserLinkProposals( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { @@ -694,14 +854,19 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder addDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.add(builderForValue.build()); @@ -712,14 +877,20 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder addDisplayVideo360AdvertiserLinkProposals( - int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + builderForValue) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); displayVideo360AdvertiserLinkProposals_.add(index, builderForValue.build()); @@ -730,14 +901,20 @@ public Builder addDisplayVideo360AdvertiserLinkProposals( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder addAllDisplayVideo360AdvertiserLinkProposals( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal> + values) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -749,11 +926,15 @@ public Builder addAllDisplayVideo360AdvertiserLinkProposals( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder clearDisplayVideo360AdvertiserLinkProposals() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -766,11 +947,15 @@ public Builder clearDisplayVideo360AdvertiserLinkProposals() { return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { @@ -783,39 +968,54 @@ public Builder removeDisplayVideo360AdvertiserLinkProposals(int index) { return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder getDisplayVideo360AdvertiserLinkProposalsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + getDisplayVideo360AdvertiserLinkProposalsBuilder(int index) { return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalsOrBuilder(int index) { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - return displayVideo360AdvertiserLinkProposals_.get(index); } else { + return displayVideo360AdvertiserLinkProposals_.get(index); + } else { return displayVideo360AdvertiserLinkProposalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public java.util.List - getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { + public java.util.List< + ? extends + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + getDisplayVideo360AdvertiserLinkProposalsOrBuilderList() { if (displayVideo360AdvertiserLinkProposalsBuilder_ != null) { return displayVideo360AdvertiserLinkProposalsBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +1023,70 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalO } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder addDisplayVideo360AdvertiserLinkProposalsBuilder() { - return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + addDisplayVideo360AdvertiserLinkProposalsBuilder() { + return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance()); } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder addDisplayVideo360AdvertiserLinkProposalsBuilder( - int index) { - return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder + addDisplayVideo360AdvertiserLinkProposalsBuilder(int index) { + return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + .getDefaultInstance()); } /** + * + * *
      * List of DisplayVideo360AdvertiserLinkProposals.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * */ - public java.util.List - getDisplayVideo360AdvertiserLinkProposalsBuilderList() { + public java.util.List< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder> + getDisplayVideo360AdvertiserLinkProposalsBuilderList() { return getDisplayVideo360AdvertiserLinkProposalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> getDisplayVideo360AdvertiserLinkProposalsFieldBuilder() { if (displayVideo360AdvertiserLinkProposalsBuilder_ == null) { - displayVideo360AdvertiserLinkProposalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( + displayVideo360AdvertiserLinkProposalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( displayVideo360AdvertiserLinkProposals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +1098,21 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal. 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1121,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1144,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1184,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,55 +1218,65 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha + .ListDisplayVideo360AdvertiserLinkProposalsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinkProposalsResponse 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(); - } - }; + private static final com.google.protobuf.Parser< + ListDisplayVideo360AdvertiserLinkProposalsResponse> + PARSER = + new com.google.protobuf.AbstractParser< + ListDisplayVideo360AdvertiserLinkProposalsResponse>() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinkProposalsResponse 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() { + public static com.google.protobuf.Parser + parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java new file mode 100644 index 000000000000..bc2b9f9a9e71 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java @@ -0,0 +1,119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + java.util.List + getDisplayVideo360AdvertiserLinkProposalsList(); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + getDisplayVideo360AdvertiserLinkProposals(int index); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + int getDisplayVideo360AdvertiserLinkProposalsCount(); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + java.util.List< + ? extends + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> + getDisplayVideo360AdvertiserLinkProposalsOrBuilderList(); + /** + * + * + *
+   * List of DisplayVideo360AdvertiserLinkProposals.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * + */ + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder + getDisplayVideo360AdvertiserLinkProposalsOrBuilder(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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java index 94289500a158..6ebba816434f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest} */ -public final class ListDisplayVideo360AdvertiserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinksRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) ListDisplayVideo360AdvertiserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksRequest.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +46,46 @@ private ListDisplayVideo360AdvertiserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +94,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +129,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -126,6 +162,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +171,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -151,16 +189,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -169,6 +206,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +218,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -204,8 +241,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -218,19 +254,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,130 +288,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + 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.ListDisplayVideo360AdvertiserLinksRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + parseFrom( + 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.ListDisplayVideo360AdvertiserLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + 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.ListDisplayVideo360AdvertiserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest 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.ListDisplayVideo360AdvertiserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + 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.ListDisplayVideo360AdvertiserLinksRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + 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.ListDisplayVideo360AdvertiserLinksRequest + 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.ListDisplayVideo360AdvertiserLinksRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListDisplayVideo360AdvertiserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,19 +438,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -408,14 +461,19 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequ } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,46 +490,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo36 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListDisplayVideo360AdvertiserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +575,31 @@ public Builder mergeFrom( 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: + 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) { @@ -541,22 +609,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -565,20 +638,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -586,28 +662,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -617,17 +704,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -635,8 +728,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -644,6 +739,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -651,6 +747,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -658,17 +756,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -676,6 +777,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -687,6 +789,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -696,13 +800,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -711,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -720,15 +826,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +841,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -745,18 +852,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -766,6 +877,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -775,6 +887,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -784,21 +898,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +924,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) - private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinksRequest 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(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinksRequest 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; @@ -854,9 +975,8 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java index d782e5a60161..6156500d0aeb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends +public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListDisplayVideo360AdvertiserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java similarity index 57% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java index 9dbe548fa491..f40520b1c8ad 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListDisplayVideo360AdvertiserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse} */ -public final class ListDisplayVideo360AdvertiserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDisplayVideo360AdvertiserLinksResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) ListDisplayVideo360AdvertiserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDisplayVideo360AdvertiserLinksResponse.newBuilder() to construct. - private ListDisplayVideo360AdvertiserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDisplayVideo360AdvertiserLinksResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDisplayVideo360AdvertiserLinksResponse() { displayVideo360AdvertiserLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +46,131 @@ private ListDisplayVideo360AdvertiserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder + .class); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List displayVideo360AdvertiserLinks_; + private java.util.List + displayVideo360AdvertiserLinks_; /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ @java.lang.Override - public java.util.List getDisplayVideo360AdvertiserLinksList() { + public java.util.List + getDisplayVideo360AdvertiserLinksList() { return displayVideo360AdvertiserLinks_; } /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinksOrBuilderList() { return displayVideo360AdvertiserLinks_; } /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ @java.lang.Override public int getDisplayVideo360AdvertiserLinksCount() { return displayVideo360AdvertiserLinks_.size(); } /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLinks(int index) { return displayVideo360AdvertiserLinks_.get(index); } /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinksOrBuilder(int index) { return displayVideo360AdvertiserLinks_.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 @@ -128,30 +179,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +211,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +223,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < displayVideo360AdvertiserLinks_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinks_.get(i)); } @@ -189,8 +240,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < displayVideo360AdvertiserLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, displayVideo360AdvertiserLinks_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, displayVideo360AdvertiserLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +255,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other = (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other = + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) obj; if (!getDisplayVideo360AdvertiserLinksList() .equals(other.getDisplayVideo360AdvertiserLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -236,130 +289,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + 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.ListDisplayVideo360AdvertiserLinksResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + parseFrom( + 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.ListDisplayVideo360AdvertiserLinksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + 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.ListDisplayVideo360AdvertiserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse + 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.ListDisplayVideo360AdvertiserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse + 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.ListDisplayVideo360AdvertiserLinksResponse 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.ListDisplayVideo360AdvertiserLinksResponse + 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.ListDisplayVideo360AdvertiserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListDisplayVideo360AdvertiserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,19 +444,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse build() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = buildPartial(); + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -396,18 +467,24 @@ public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(this); + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + buildPartial() { + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { if (displayVideo360AdvertiserLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinks_ = + java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); bitField0_ = (bitField0_ & ~0x00000001); } result.displayVideo360AdvertiserLinks_ = displayVideo360AdvertiserLinks_; @@ -416,7 +493,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListD } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +505,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListDisplayVideo36 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListDisplayVideo360AdvertiserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + .getDefaultInstance()) return this; if (displayVideo360AdvertiserLinksBuilder_ == null) { if (!other.displayVideo360AdvertiserLinks_.isEmpty()) { if (displayVideo360AdvertiserLinks_.isEmpty()) { @@ -485,11 +570,13 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360A displayVideo360AdvertiserLinksBuilder_ = null; displayVideo360AdvertiserLinks_ = other.displayVideo360AdvertiserLinks_; bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDisplayVideo360AdvertiserLinksFieldBuilder() : null; + displayVideo360AdvertiserLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDisplayVideo360AdvertiserLinksFieldBuilder() + : null; } else { - displayVideo360AdvertiserLinksBuilder_.addAllMessages(other.displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinksBuilder_.addAllMessages( + other.displayVideo360AdvertiserLinks_); } } } @@ -524,30 +611,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), - extensionRegistry); - if (displayVideo360AdvertiserLinksBuilder_ == null) { - ensureDisplayVideo360AdvertiserLinksIsMutable(); - displayVideo360AdvertiserLinks_.add(m); - } else { - displayVideo360AdvertiserLinksBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.parser(), + extensionRegistry); + if (displayVideo360AdvertiserLinksBuilder_ == null) { + ensureDisplayVideo360AdvertiserLinksIsMutable(); + displayVideo360AdvertiserLinks_.add(m); + } else { + displayVideo360AdvertiserLinksBuilder_.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) { @@ -557,28 +647,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List displayVideo360AdvertiserLinks_ = - java.util.Collections.emptyList(); + private java.util.List + displayVideo360AdvertiserLinks_ = java.util.Collections.emptyList(); + private void ensureDisplayVideo360AdvertiserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - displayVideo360AdvertiserLinks_ = new java.util.ArrayList(displayVideo360AdvertiserLinks_); + displayVideo360AdvertiserLinks_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( + displayVideo360AdvertiserLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinksBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + displayVideo360AdvertiserLinksBuilder_; /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public java.util.List getDisplayVideo360AdvertiserLinksList() { + public java.util.List + getDisplayVideo360AdvertiserLinksList() { if (displayVideo360AdvertiserLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(displayVideo360AdvertiserLinks_); } else { @@ -586,11 +689,15 @@ public java.util.List * List of DisplayVideo360AdvertiserLinks. *
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public int getDisplayVideo360AdvertiserLinksCount() { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -600,13 +707,18 @@ public int getDisplayVideo360AdvertiserLinksCount() { } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLinks(int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { return displayVideo360AdvertiserLinks_.get(index); } else { @@ -614,11 +726,15 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDispl } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder setDisplayVideo360AdvertiserLinks( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { @@ -635,14 +751,19 @@ public Builder setDisplayVideo360AdvertiserLinks( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder setDisplayVideo360AdvertiserLinks( - int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); displayVideo360AdvertiserLinks_.set(index, builderForValue.build()); @@ -653,13 +774,18 @@ public Builder setDisplayVideo360AdvertiserLinks( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public Builder addDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder addDisplayVideo360AdvertiserLinks( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,11 +799,15 @@ public Builder addDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1al return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder addDisplayVideo360AdvertiserLinks( int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { @@ -694,11 +824,15 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder addDisplayVideo360AdvertiserLinks( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -712,14 +846,19 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder addDisplayVideo360AdvertiserLinks( - int index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); displayVideo360AdvertiserLinks_.add(index, builderForValue.build()); @@ -730,14 +869,20 @@ public Builder addDisplayVideo360AdvertiserLinks( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder addAllDisplayVideo360AdvertiserLinks( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink> + values) { if (displayVideo360AdvertiserLinksBuilder_ == null) { ensureDisplayVideo360AdvertiserLinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -749,11 +894,15 @@ public Builder addAllDisplayVideo360AdvertiserLinks( return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder clearDisplayVideo360AdvertiserLinks() { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -766,11 +915,15 @@ public Builder clearDisplayVideo360AdvertiserLinks() { return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ public Builder removeDisplayVideo360AdvertiserLinks(int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { @@ -783,39 +936,53 @@ public Builder removeDisplayVideo360AdvertiserLinks(int index) { return this; } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + getDisplayVideo360AdvertiserLinksBuilder(int index) { return getDisplayVideo360AdvertiserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinksOrBuilder(int index) { if (displayVideo360AdvertiserLinksBuilder_ == null) { - return displayVideo360AdvertiserLinks_.get(index); } else { + return displayVideo360AdvertiserLinks_.get(index); + } else { return displayVideo360AdvertiserLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public java.util.List - getDisplayVideo360AdvertiserLinksOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + getDisplayVideo360AdvertiserLinksOrBuilderList() { if (displayVideo360AdvertiserLinksBuilder_ != null) { return displayVideo360AdvertiserLinksBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +990,69 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder } } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder addDisplayVideo360AdvertiserLinksBuilder() { - return getDisplayVideo360AdvertiserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + addDisplayVideo360AdvertiserLinksBuilder() { + return getDisplayVideo360AdvertiserLinksFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance()); } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder addDisplayVideo360AdvertiserLinksBuilder( - int index) { - return getDisplayVideo360AdvertiserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + addDisplayVideo360AdvertiserLinksBuilder(int index) { + return getDisplayVideo360AdvertiserLinksFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance()); } /** + * + * *
      * List of DisplayVideo360AdvertiserLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - public java.util.List - getDisplayVideo360AdvertiserLinksBuilderList() { + public java.util.List + getDisplayVideo360AdvertiserLinksBuilderList() { return getDisplayVideo360AdvertiserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinksFieldBuilder() { if (displayVideo360AdvertiserLinksBuilder_ == null) { - displayVideo360AdvertiserLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + displayVideo360AdvertiserLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( displayVideo360AdvertiserLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +1064,21 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1087,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1110,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1150,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1184,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse(); } - public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDisplayVideo360AdvertiserLinksResponse 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(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDisplayVideo360AdvertiserLinksResponse 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; @@ -1025,9 +1235,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java similarity index 50% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java index a1d80dfdc429..cafddafd4a2b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinksResponseOrBuilder.java @@ -1,75 +1,118 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ListDisplayVideo360AdvertiserLinksResponseOrBuilder extends +public interface ListDisplayVideo360AdvertiserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - java.util.List + java.util.List getDisplayVideo360AdvertiserLinksList(); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLinks(int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLinks(int index); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ int getDisplayVideo360AdvertiserLinksCount(); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinksOrBuilderList(); /** + * + * *
    * List of DisplayVideo360AdvertiserLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * + * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinksOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequest.java index 48b315c187ac..a52416ce6548 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksRequest} */ -public final class ListFirebaseLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFirebaseLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) ListFirebaseLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFirebaseLinksRequest.newBuilder() to construct. private ListFirebaseLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFirebaseLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,46 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListFirebaseLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,6 +128,8 @@ public java.lang.String getParent() { 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.
@@ -109,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -152,16 +187,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -170,6 +204,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -205,8 +239,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -219,19 +252,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other = (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other = + (com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,129 +286,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( 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.ListFirebaseLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) com.google.analytics.admin.v1alpha.ListFirebaseLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +427,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; } @java.lang.Override @@ -410,8 +448,11 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest result = new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest result = + new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -433,38 +474,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListFirebaseLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListFirebaseLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -472,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -512,27 +555,31 @@ public Builder mergeFrom( 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: + 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) { @@ -542,23 +589,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -567,21 +619,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -589,30 +644,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -622,18 +688,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -641,8 +713,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -651,6 +725,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -658,6 +733,8 @@ 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.
@@ -666,17 +743,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -685,6 +765,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -696,6 +777,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -704,13 +787,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -719,6 +802,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -727,15 +812,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -743,6 +827,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -751,18 +837,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -771,6 +861,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -780,6 +871,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -788,21 +881,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,12 +907,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest(); } @@ -826,27 +921,27 @@ public static com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksRequest 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; @@ -861,6 +956,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksRequestOrBuilder.java index eaf893ce2307..8bf18d8123e1 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksRequestOrBuilder extends +public interface ListFirebaseLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -38,11 +65,14 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -63,8 +96,8 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java index 807fff487cd8..1b00a5dfb1ed 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksResponse} */ -public final class ListFirebaseLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFirebaseLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) ListFirebaseLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFirebaseLinksResponse.newBuilder() to construct. private ListFirebaseLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFirebaseLinksResponse() { firebaseLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListFirebaseLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); } public static final int FIREBASE_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List firebaseLinks_; /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -64,6 +86,8 @@ public java.util.List getFireba return firebaseLinks_; } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -71,11 +95,13 @@ public java.util.List getFireba * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFirebaseLinksOrBuilderList() { return firebaseLinks_; } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -87,6 +113,8 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde return firebaseLinks_.get(index); } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -111,9 +141,12 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks } 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.
@@ -122,6 +155,7 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -130,14 +164,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -146,16 +181,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -164,6 +198,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < firebaseLinks_.size(); i++) { output.writeMessage(1, firebaseLinks_.get(i)); } @@ -193,8 +227,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < firebaseLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, firebaseLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, firebaseLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -207,17 +240,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other = (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other = + (com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) obj; - if (!getFirebaseLinksList() - .equals(other.getFirebaseLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFirebaseLinksList().equals(other.getFirebaseLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,129 +273,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( 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.ListFirebaseLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListFirebaseLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) com.google.analytics.admin.v1alpha.ListFirebaseLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,13 +419,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance(); } @@ -401,14 +441,18 @@ public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result = new com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse(this); + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result = + new com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { if (firebaseLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { firebaseLinks_ = java.util.Collections.unmodifiableList(firebaseLinks_); @@ -420,7 +464,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListF } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -431,38 +476,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListFirebaseLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListFirebaseLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -470,7 +516,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance()) + return this; if (firebaseLinksBuilder_ == null) { if (!other.firebaseLinks_.isEmpty()) { if (firebaseLinks_.isEmpty()) { @@ -489,9 +537,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListFirebaseLinksRes firebaseLinksBuilder_ = null; firebaseLinks_ = other.firebaseLinks_; bitField0_ = (bitField0_ & ~0x00000001); - firebaseLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFirebaseLinksFieldBuilder() : null; + firebaseLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFirebaseLinksFieldBuilder() + : null; } else { firebaseLinksBuilder_.addAllMessages(other.firebaseLinks_); } @@ -528,30 +577,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.FirebaseLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.FirebaseLink.parser(), - extensionRegistry); - if (firebaseLinksBuilder_ == null) { - ensureFirebaseLinksIsMutable(); - firebaseLinks_.add(m); - } else { - firebaseLinksBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.FirebaseLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.FirebaseLink.parser(), + extensionRegistry); + if (firebaseLinksBuilder_ == null) { + ensureFirebaseLinksIsMutable(); + firebaseLinks_.add(m); + } else { + firebaseLinksBuilder_.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) { @@ -561,21 +613,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List firebaseLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFirebaseLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - firebaseLinks_ = new java.util.ArrayList(firebaseLinks_); + firebaseLinks_ = + new java.util.ArrayList( + firebaseLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> firebaseLinksBuilder_; + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + firebaseLinksBuilder_; /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -590,6 +651,8 @@ public java.util.List getFireba } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -604,6 +667,8 @@ public int getFirebaseLinksCount() { } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -618,6 +683,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -639,6 +706,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -657,6 +726,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -677,6 +748,8 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -698,6 +771,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -716,6 +791,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -734,6 +811,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -744,8 +823,7 @@ public Builder addAllFirebaseLinks( java.lang.Iterable values) { if (firebaseLinksBuilder_ == null) { ensureFirebaseLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, firebaseLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, firebaseLinks_); onChanged(); } else { firebaseLinksBuilder_.addAllMessages(values); @@ -753,6 +831,8 @@ public Builder addAllFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -770,6 +850,8 @@ public Builder clearFirebaseLinks() { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -787,6 +869,8 @@ public Builder removeFirebaseLinks(int index) { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -798,6 +882,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB return getFirebaseLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -807,19 +893,22 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( int index) { if (firebaseLinksBuilder_ == null) { - return firebaseLinks_.get(index); } else { + return firebaseLinks_.get(index); + } else { return firebaseLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksOrBuilderList() { + public java.util.List + getFirebaseLinksOrBuilderList() { if (firebaseLinksBuilder_ != null) { return firebaseLinksBuilder_.getMessageOrBuilderList(); } else { @@ -827,6 +916,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -834,10 +925,12 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksBuilder() { - return getFirebaseLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -846,26 +939,34 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB */ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksBuilder( int index) { - return getFirebaseLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance()); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksBuilderList() { + public java.util.List + getFirebaseLinksBuilderList() { return getFirebaseLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder> getFirebaseLinksFieldBuilder() { if (firebaseLinksBuilder_ == null) { - firebaseLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.FirebaseLink, com.google.analytics.admin.v1alpha.FirebaseLink.Builder, com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( + firebaseLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.FirebaseLink, + com.google.analytics.admin.v1alpha.FirebaseLink.Builder, + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder>( firebaseLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -877,6 +978,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB 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.
@@ -885,13 +988,13 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder addFirebaseLinksB
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -900,6 +1003,8 @@ public 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.
@@ -908,15 +1013,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -924,6 +1028,8 @@ public 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.
@@ -932,18 +1038,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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.
@@ -952,6 +1062,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -961,6 +1072,8 @@ public Builder clearNextPageToken() { 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.
@@ -969,21 +1082,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -993,12 +1108,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse(); } @@ -1007,27 +1123,27 @@ public static com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksResponse 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; @@ -1042,6 +1158,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java index 722688cc663c..5d4f40acb8d8 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListFirebaseLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListFirebaseLinksResponseOrBuilder extends +public interface ListFirebaseLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListFirebaseLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List - getFirebaseLinksList(); + java.util.List getFirebaseLinksList(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -25,6 +44,8 @@ public interface ListFirebaseLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int index); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -33,25 +54,30 @@ public interface ListFirebaseLinksResponseOrBuilder extends */ int getFirebaseLinksCount(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - java.util.List + java.util.List getFirebaseLinksOrBuilderList(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; */ - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder(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.
@@ -60,10 +86,13 @@ com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuild
    * 
* * 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.
@@ -72,8 +101,8 @@ com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinksOrBuild
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java index 40991ab39813..39e53ef2d75e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest} */ -public final class ListGoogleAdsLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGoogleAdsLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) ListGoogleAdsLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksRequest.newBuilder() to construct. private ListGoogleAdsLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGoogleAdsLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListGoogleAdsLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other = + (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( 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.ListGoogleAdsLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,13 +424,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance(); } @@ -407,13 +446,17 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result = + new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -430,38 +473,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListGoogleAdsLinks public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListGoogleAdsLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +555,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +589,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +618,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +642,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +684,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +708,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +719,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +727,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +736,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +757,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +769,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +779,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +794,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +804,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +829,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +853,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +863,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +873,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +899,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) - private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest(); } @@ -815,27 +914,27 @@ public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksRequest 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; @@ -850,6 +949,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java index 2baacd1c63dd..ad692149d8be 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksRequestOrBuilder extends +public interface ListGoogleAdsLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java index b749dc1da21b..2b4626a740b4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse} */ -public final class ListGoogleAdsLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGoogleAdsLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) ListGoogleAdsLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksResponse.newBuilder() to construct. private ListGoogleAdsLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGoogleAdsLinksResponse() { googleAdsLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListGoogleAdsLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); } public static final int GOOGLE_ADS_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List googleAdsLinks_; /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -64,6 +86,8 @@ public java.util.List getGoogl return googleAdsLinks_; } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -71,11 +95,13 @@ public java.util.List getGoogl * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getGoogleAdsLinksOrBuilderList() { return googleAdsLinks_; } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -87,6 +113,8 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in return googleAdsLinks_.get(index); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -111,15 +141,19 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } 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 @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < googleAdsLinks_.size(); i++) { output.writeMessage(1, googleAdsLinks_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < googleAdsLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, googleAdsLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, googleAdsLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other = (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other = + (com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) obj; - if (!getGoogleAdsLinksList() - .equals(other.getGoogleAdsLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getGoogleAdsLinksList().equals(other.getGoogleAdsLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( 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.ListGoogleAdsLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +415,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance(); } @@ -397,14 +437,18 @@ public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse(this); + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result = + new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { if (googleAdsLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { googleAdsLinks_ = java.util.Collections.unmodifiableList(googleAdsLinks_); @@ -416,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListG } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListGoogleAdsLinks public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListGoogleAdsLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance()) + return this; if (googleAdsLinksBuilder_ == null) { if (!other.googleAdsLinks_.isEmpty()) { if (googleAdsLinks_.isEmpty()) { @@ -485,9 +533,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRe googleAdsLinksBuilder_ = null; googleAdsLinks_ = other.googleAdsLinks_; bitField0_ = (bitField0_ & ~0x00000001); - googleAdsLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGoogleAdsLinksFieldBuilder() : null; + googleAdsLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGoogleAdsLinksFieldBuilder() + : null; } else { googleAdsLinksBuilder_.addAllMessages(other.googleAdsLinks_); } @@ -524,30 +573,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.GoogleAdsLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), - extensionRegistry); - if (googleAdsLinksBuilder_ == null) { - ensureGoogleAdsLinksIsMutable(); - googleAdsLinks_.add(m); - } else { - googleAdsLinksBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.GoogleAdsLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.GoogleAdsLink.parser(), + extensionRegistry); + if (googleAdsLinksBuilder_ == null) { + ensureGoogleAdsLinksIsMutable(); + googleAdsLinks_.add(m); + } else { + googleAdsLinksBuilder_.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) { @@ -557,28 +609,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List googleAdsLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGoogleAdsLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - googleAdsLinks_ = new java.util.ArrayList(googleAdsLinks_); + googleAdsLinks_ = + new java.util.ArrayList( + googleAdsLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinksBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + googleAdsLinksBuilder_; /** + * + * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List getGoogleAdsLinksList() { + public java.util.List + getGoogleAdsLinksList() { if (googleAdsLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(googleAdsLinks_); } else { @@ -586,6 +648,8 @@ public java.util.List getGoogl } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -600,6 +664,8 @@ public int getGoogleAdsLinksCount() { } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -614,6 +680,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -635,6 +703,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -653,6 +723,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -673,6 +745,8 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1alpha.GoogleAdsLin return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -694,6 +768,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -712,6 +788,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -730,6 +808,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -740,8 +820,7 @@ public Builder addAllGoogleAdsLinks( java.lang.Iterable values) { if (googleAdsLinksBuilder_ == null) { ensureGoogleAdsLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, googleAdsLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googleAdsLinks_); onChanged(); } else { googleAdsLinksBuilder_.addAllMessages(values); @@ -749,6 +828,8 @@ public Builder addAllGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -766,6 +847,8 @@ public Builder clearGoogleAdsLinks() { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -783,6 +866,8 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -794,6 +879,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -803,19 +890,22 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( int index) { if (googleAdsLinksBuilder_ == null) { - return googleAdsLinks_.get(index); } else { + return googleAdsLinks_.get(index); + } else { return googleAdsLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksOrBuilderList() { + public java.util.List + getGoogleAdsLinksOrBuilderList() { if (googleAdsLinksBuilder_ != null) { return googleAdsLinksBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +913,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -830,10 +922,12 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLinksBuilder() { - return getGoogleAdsLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -842,26 +936,34 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLink */ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLinksBuilder( int index) { - return getGoogleAdsLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksBuilderList() { + public java.util.List + getGoogleAdsLinksBuilderList() { return getGoogleAdsLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinksFieldBuilder() { if (googleAdsLinksBuilder_ == null) { - googleAdsLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + googleAdsLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( googleAdsLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +975,21 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder addGoogleAdsLink 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +998,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1021,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1061,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1095,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse(); } @@ -993,27 +1110,27 @@ public static com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksResponse 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; @@ -1028,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java index 00d5f252584f..928e5d449bde 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListGoogleAdsLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListGoogleAdsLinksResponseOrBuilder extends +public interface ListGoogleAdsLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List - getGoogleAdsLinksList(); + java.util.List getGoogleAdsLinksList(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -25,6 +44,8 @@ public interface ListGoogleAdsLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int index); /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -33,43 +54,51 @@ public interface ListGoogleAdsLinksResponseOrBuilder extends */ int getGoogleAdsLinksCount(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - java.util.List + java.util.List getGoogleAdsLinksOrBuilderList(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; */ - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java index 6dde095f711d..1c3bb489248c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest} */ -public final class ListMeasurementProtocolSecretsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMeasurementProtocolSecretsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) ListMeasurementProtocolSecretsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsRequest.newBuilder() to construct. - private ListMeasurementProtocolSecretsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMeasurementProtocolSecretsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,40 +46,47 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListMeasurementProtocolSecretsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,31 +95,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,6 +132,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -110,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -118,9 +150,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -129,6 +164,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -137,14 +173,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -153,16 +190,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -171,6 +207,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,8 +242,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -220,19 +255,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) obj; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other = + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,129 +290,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( 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.ListMeasurementProtocolSecretsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest 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.ListMeasurementProtocolSecretsRequest + 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.ListMeasurementProtocolSecretsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -390,19 +434,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest build() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -411,13 +458,17 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result = + new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -434,46 +485,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListMeasurementPro public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListMeasurementProtocolSecretsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -513,27 +570,31 @@ public Builder mergeFrom( 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: + 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) { @@ -543,24 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -569,22 +635,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -592,32 +661,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -627,19 +707,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -647,8 +733,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -656,6 +744,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -663,6 +752,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -670,17 +761,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -688,6 +782,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -699,6 +794,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -707,13 +804,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -722,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -730,15 +829,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -746,6 +844,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -754,18 +854,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -774,6 +878,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -783,6 +888,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -791,21 +898,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,41 +924,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) - private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest(); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsRequest 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; @@ -861,9 +973,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java index 434d5efc8230..88b39d0cbca2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListMeasurementProtocolSecretsRequestOrBuilder extends +public interface ListMeasurementProtocolSecretsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -39,11 +66,14 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -52,10 +82,13 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -64,8 +97,8 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java index a2c333f27a41..886809cc1ed3 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse} */ -public final class ListMeasurementProtocolSecretsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMeasurementProtocolSecretsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) ListMeasurementProtocolSecretsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsResponse.newBuilder() to construct. - private ListMeasurementProtocolSecretsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMeasurementProtocolSecretsResponse() { measurementProtocolSecrets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +46,131 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListMeasurementProtocolSecretsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder + .class); } public static final int MEASUREMENT_PROTOCOL_SECRETS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List measurementProtocolSecrets_; + private java.util.List + measurementProtocolSecrets_; /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public java.util.List getMeasurementProtocolSecretsList() { + public java.util.List + getMeasurementProtocolSecretsList() { return measurementProtocolSecrets_; } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsOrBuilderList() { return measurementProtocolSecrets_; } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override public int getMeasurementProtocolSecretsCount() { return measurementProtocolSecrets_.size(); } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets( + int index) { return measurementProtocolSecrets_.get(index); } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretsOrBuilder(int index) { return measurementProtocolSecrets_.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 @@ -128,30 +179,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +211,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +223,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { output.writeMessage(1, measurementProtocolSecrets_.get(i)); } @@ -189,8 +240,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, measurementProtocolSecrets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, measurementProtocolSecrets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +255,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other = (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) obj; + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other = + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) obj; - if (!getMeasurementProtocolSecretsList() - .equals(other.getMeasurementProtocolSecretsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getMeasurementProtocolSecretsList().equals(other.getMeasurementProtocolSecretsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +290,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( 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.ListMeasurementProtocolSecretsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse 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.ListMeasurementProtocolSecretsResponse + 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.ListMeasurementProtocolSecretsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,19 +439,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse build() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = buildPartial(); + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -396,18 +462,24 @@ public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(this); + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + buildPartial() { + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result = + new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { if (measurementProtocolSecretsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = java.util.Collections.unmodifiableList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = + java.util.Collections.unmodifiableList(measurementProtocolSecrets_); bitField0_ = (bitField0_ & ~0x00000001); } result.measurementProtocolSecrets_ = measurementProtocolSecrets_; @@ -416,7 +488,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListM } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +500,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListMeasurementPro public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListMeasurementProtocolSecretsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse)other); + if (other + instanceof com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + .getDefaultInstance()) return this; if (measurementProtocolSecretsBuilder_ == null) { if (!other.measurementProtocolSecrets_.isEmpty()) { if (measurementProtocolSecrets_.isEmpty()) { @@ -485,9 +564,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListMeasurementProto measurementProtocolSecretsBuilder_ = null; measurementProtocolSecrets_ = other.measurementProtocolSecrets_; bitField0_ = (bitField0_ & ~0x00000001); - measurementProtocolSecretsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMeasurementProtocolSecretsFieldBuilder() : null; + measurementProtocolSecretsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMeasurementProtocolSecretsFieldBuilder() + : null; } else { measurementProtocolSecretsBuilder_.addAllMessages(other.measurementProtocolSecrets_); } @@ -524,30 +604,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret m = - input.readMessage( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), - extensionRegistry); - if (measurementProtocolSecretsBuilder_ == null) { - ensureMeasurementProtocolSecretsIsMutable(); - measurementProtocolSecrets_.add(m); - } else { - measurementProtocolSecretsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret m = + input.readMessage( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.parser(), + extensionRegistry); + if (measurementProtocolSecretsBuilder_ == null) { + ensureMeasurementProtocolSecretsIsMutable(); + measurementProtocolSecrets_.add(m); + } else { + measurementProtocolSecretsBuilder_.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) { @@ -557,28 +640,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List measurementProtocolSecrets_ = - java.util.Collections.emptyList(); + private java.util.List + measurementProtocolSecrets_ = java.util.Collections.emptyList(); + private void ensureMeasurementProtocolSecretsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = new java.util.ArrayList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = + new java.util.ArrayList( + measurementProtocolSecrets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretsBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretsBuilder_; /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public java.util.List getMeasurementProtocolSecretsList() { + public java.util.List + getMeasurementProtocolSecretsList() { if (measurementProtocolSecretsBuilder_ == null) { return java.util.Collections.unmodifiableList(measurementProtocolSecrets_); } else { @@ -586,11 +681,15 @@ public java.util.List * A list of secrets for the parent stream specified in the request. *
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public int getMeasurementProtocolSecretsCount() { if (measurementProtocolSecretsBuilder_ == null) { @@ -600,13 +699,18 @@ public int getMeasurementProtocolSecretsCount() { } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { return measurementProtocolSecrets_.get(index); } else { @@ -614,11 +718,15 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasureme } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder setMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { @@ -635,14 +743,19 @@ public Builder setMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder setMeasurementProtocolSecrets( - int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.set(index, builderForValue.build()); @@ -653,13 +766,18 @@ public Builder setMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public Builder addMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder addMeasurementProtocolSecrets( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,11 +791,15 @@ public Builder addMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha. return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { @@ -694,11 +816,15 @@ public Builder addMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addMeasurementProtocolSecrets( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -712,14 +838,19 @@ public Builder addMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addMeasurementProtocolSecrets( - int index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.add(index, builderForValue.build()); @@ -730,18 +861,22 @@ public Builder addMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addAllMeasurementProtocolSecrets( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, measurementProtocolSecrets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, measurementProtocolSecrets_); onChanged(); } else { measurementProtocolSecretsBuilder_.addAllMessages(values); @@ -749,11 +884,15 @@ public Builder addAllMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder clearMeasurementProtocolSecrets() { if (measurementProtocolSecretsBuilder_ == null) { @@ -766,11 +905,15 @@ public Builder clearMeasurementProtocolSecrets() { return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder removeMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { @@ -783,39 +926,53 @@ public Builder removeMeasurementProtocolSecrets(int index) { return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretsBuilder(int index) { return getMeasurementProtocolSecretsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretsOrBuilder(int index) { if (measurementProtocolSecretsBuilder_ == null) { - return measurementProtocolSecrets_.get(index); } else { + return measurementProtocolSecrets_.get(index); + } else { return measurementProtocolSecretsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public java.util.List - getMeasurementProtocolSecretsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + getMeasurementProtocolSecretsOrBuilderList() { if (measurementProtocolSecretsBuilder_ != null) { return measurementProtocolSecretsBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +980,67 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder get } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder() { - return getMeasurementProtocolSecretsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder + addMeasurementProtocolSecretsBuilder() { + return getMeasurementProtocolSecretsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder( - int index) { - return getMeasurementProtocolSecretsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder + addMeasurementProtocolSecretsBuilder(int index) { + return getMeasurementProtocolSecretsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()); } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public java.util.List - getMeasurementProtocolSecretsBuilderList() { + public java.util.List + getMeasurementProtocolSecretsBuilderList() { return getMeasurementProtocolSecretsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsFieldBuilder() { if (measurementProtocolSecretsBuilder_ == null) { - measurementProtocolSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + measurementProtocolSecretsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( measurementProtocolSecrets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +1052,21 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder addM 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1075,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1098,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1138,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1172,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) - private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse(); } - public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsResponse 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; @@ -1025,9 +1221,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java index 7a76e9447da9..32a7b109d7d4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListMeasurementProtocolSecretsResponseOrBuilder.java @@ -1,75 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ListMeasurementProtocolSecretsResponseOrBuilder extends +public interface ListMeasurementProtocolSecretsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - java.util.List + java.util.List getMeasurementProtocolSecretsList(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecrets( + int index); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ int getMeasurementProtocolSecretsCount(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - java.util.List + java.util.List getMeasurementProtocolSecretsOrBuilderList(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java similarity index 76% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java index 4f6c7a965626..4693d2e07612 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesRequest} */ -public final class ListPropertiesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPropertiesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesRequest) ListPropertiesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPropertiesRequest.newBuilder() to construct. private ListPropertiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPropertiesRequest() { filter_ = ""; pageToken_ = ""; @@ -26,33 +44,37 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListPropertiesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, + com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); } public static final int FILTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -72,6 +94,7 @@ protected java.lang.Object newInstance(
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -80,14 +103,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -107,16 +131,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -127,6 +150,8 @@ public java.lang.String getFilter() { 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.
@@ -135,6 +160,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -143,9 +169,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -154,6 +183,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -162,14 +192,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -178,16 +209,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,6 +228,8 @@ public java.lang.String getPageToken() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_ = false; /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -205,6 +237,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -213,6 +246,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -251,15 +284,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,21 +300,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListPropertiesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListPropertiesRequest other = (com.google.analytics.admin.v1alpha.ListPropertiesRequest) obj; - - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getShowDeleted() - != other.getShowDeleted()) return false; + com.google.analytics.admin.v1alpha.ListPropertiesRequest other = + (com.google.analytics.admin.v1alpha.ListPropertiesRequest) obj; + + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getShowDeleted() != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,137 +330,143 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( 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.ListPropertiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListPropertiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListPropertiesRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListPropertiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListPropertiesRequest) com.google.analytics.admin.v1alpha.ListPropertiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, + com.google.analytics.admin.v1alpha.ListPropertiesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListPropertiesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; } @java.lang.Override @@ -466,8 +500,11 @@ public com.google.analytics.admin.v1alpha.ListPropertiesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListPropertiesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListPropertiesRequest result = new com.google.analytics.admin.v1alpha.ListPropertiesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListPropertiesRequest result = + new com.google.analytics.admin.v1alpha.ListPropertiesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -492,38 +529,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListPropertiesRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListPropertiesRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesRequest) other); } else { super.mergeFrom(other); return this; @@ -531,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance()) + return this; if (!other.getFilter().isEmpty()) { filter_ = other.filter_; bitField0_ |= 0x00000001; @@ -574,32 +613,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - filter_ = 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 - case 32: { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + filter_ = 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 + case 32: + { + showDeleted_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -609,10 +653,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object filter_ = ""; /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -632,13 +679,13 @@ public Builder mergeFrom(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -647,6 +694,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -666,15 +715,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -682,6 +730,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -701,18 +751,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -732,6 +786,7 @@ public Builder setFilter(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -741,6 +796,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -760,12 +817,14 @@ public Builder clearFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000001; @@ -773,8 +832,10 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -783,6 +844,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -790,6 +852,8 @@ 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.
@@ -798,17 +862,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -817,6 +884,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -828,6 +896,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -836,13 +906,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -851,6 +921,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -859,15 +931,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -875,6 +946,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -883,18 +956,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -903,6 +980,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -912,6 +990,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -920,12 +1000,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -933,8 +1015,10 @@ public Builder setPageTokenBytes( return this; } - private boolean showDeleted_ ; + private boolean showDeleted_; /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -942,6 +1026,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -949,6 +1034,8 @@ public boolean getShowDeleted() { return showDeleted_; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -956,17 +1043,20 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; + * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -974,6 +1064,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -982,9 +1073,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -994,12 +1085,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListPropertiesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListPropertiesRequest) private static final com.google.analytics.admin.v1alpha.ListPropertiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListPropertiesRequest(); } @@ -1008,27 +1099,27 @@ public static com.google.analytics.admin.v1alpha.ListPropertiesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesRequest 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; @@ -1043,6 +1134,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java index 89bbfcb21361..24357307d528 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesRequestOrBuilder extends +public interface ListPropertiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -27,10 +45,13 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -50,12 +71,14 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -64,11 +87,14 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -77,10 +103,13 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -89,12 +118,14 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -102,6 +133,7 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java index cd264a98a729..376fb6e3b21c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesResponse} */ -public final class ListPropertiesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPropertiesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListPropertiesResponse) ListPropertiesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPropertiesResponse.newBuilder() to construct. private ListPropertiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPropertiesResponse() { properties_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListPropertiesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, + com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); } public static final int PROPERTIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List properties_; /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -64,6 +86,8 @@ public java.util.List getProperties return properties_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -71,11 +95,13 @@ public java.util.List getProperties * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -87,6 +113,8 @@ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { return properties_.get(index); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index) { return properties_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < properties_.size(); i++) { output.writeMessage(1, properties_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, properties_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListPropertiesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListPropertiesResponse other = (com.google.analytics.admin.v1alpha.ListPropertiesResponse) obj; + com.google.analytics.admin.v1alpha.ListPropertiesResponse other = + (com.google.analytics.admin.v1alpha.ListPropertiesResponse) obj; - if (!getPropertiesList() - .equals(other.getPropertiesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPropertiesList().equals(other.getPropertiesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( 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.ListPropertiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListPropertiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListPropertiesResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListPropertiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListPropertiesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListPropertiesResponse) com.google.analytics.admin.v1alpha.ListPropertiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, + com.google.analytics.admin.v1alpha.ListPropertiesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListPropertiesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1alpha.ListPropertiesResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListPropertiesResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListPropertiesResponse result = new com.google.analytics.admin.v1alpha.ListPropertiesResponse(this); + com.google.analytics.admin.v1alpha.ListPropertiesResponse result = + new com.google.analytics.admin.v1alpha.ListPropertiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListPropertiesResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListPropertiesResponse result) { if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListPropertiesResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListPropertiesResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListPropertiesResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance()) + return this; if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListPropertiesRespon propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); - propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPropertiesFieldBuilder() : null; + propertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPropertiesFieldBuilder() + : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.Property m = - input.readMessage( - com.google.analytics.admin.v1alpha.Property.parser(), - extensionRegistry); - if (propertiesBuilder_ == null) { - ensurePropertiesIsMutable(); - properties_.add(m); - } else { - propertiesBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.Property m = + input.readMessage( + com.google.analytics.admin.v1alpha.Property.parser(), extensionRegistry); + if (propertiesBuilder_ == null) { + ensurePropertiesIsMutable(); + properties_.add(m); + } else { + propertiesBuilder_.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) { @@ -557,21 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List properties_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - properties_ = new java.util.ArrayList(properties_); + properties_ = + new java.util.ArrayList(properties_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertiesBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + propertiesBuilder_; /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -586,6 +641,8 @@ public java.util.List getProperties } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -600,6 +657,8 @@ public int getPropertiesCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -614,14 +673,15 @@ public com.google.analytics.admin.v1alpha.Property getProperties(int index) { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public Builder setProperties( - int index, com.google.analytics.admin.v1alpha.Property value) { + public Builder setProperties(int index, com.google.analytics.admin.v1alpha.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +695,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -653,6 +715,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -673,14 +737,15 @@ public Builder addProperties(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public Builder addProperties( - int index, com.google.analytics.admin.v1alpha.Property value) { + public Builder addProperties(int index, com.google.analytics.admin.v1alpha.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,6 +759,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -712,6 +779,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -730,6 +799,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -740,8 +811,7 @@ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -749,6 +819,8 @@ public Builder addAllProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -766,6 +838,8 @@ public Builder clearProperties() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -783,39 +857,44 @@ public Builder removeProperties(int index) { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.Property.Builder getPropertiesBuilder( - int index) { + public com.google.analytics.admin.v1alpha.Property.Builder getPropertiesBuilder(int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); } else { + return properties_.get(index); + } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List + getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +902,8 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -830,42 +911,48 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); + return getPropertiesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder( - int index) { - return getPropertiesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder(int index) { + return getPropertiesFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.Property.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List + getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - properties_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + propertiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + properties_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; @@ -873,19 +960,21 @@ public com.google.analytics.admin.v1alpha.Property.Builder addPropertiesBuilder( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +983,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1006,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1046,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListPropertiesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListPropertiesResponse) private static final com.google.analytics.admin.v1alpha.ListPropertiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListPropertiesResponse(); } @@ -993,27 +1094,27 @@ public static com.google.analytics.admin.v1alpha.ListPropertiesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesResponse 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; @@ -1028,6 +1129,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListPropertiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java index 960eb17554dc..6547dac4ebbf 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListPropertiesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListPropertiesResponseOrBuilder extends +public interface ListPropertiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListPropertiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List - getPropertiesList(); + java.util.List getPropertiesList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -25,6 +44,8 @@ public interface ListPropertiesResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.Property getProperties(int index); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -33,43 +54,51 @@ public interface ListPropertiesResponseOrBuilder extends */ int getPropertiesCount(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1alpha.Property properties = 1; */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder( - int index); + com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequest.java index cf22d409279e..e5eb6a5acb64 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + 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_ = ""; @@ -26,38 +44,45 @@ private ListSearchAds360LinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSearchAds360LinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } 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.
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListSearchAds360Links`
    * call. Provide this to retrieve the subsequent page.
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -169,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +215,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -204,8 +238,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -218,19 +251,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest other = (com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest) 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 (!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; } @@ -254,129 +285,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListSearchAds360Links RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListSearchAds360LinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,13 +426,14 @@ public Builder clear() { } @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; + 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() { + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest.getDefaultInstance(); } @@ -409,13 +448,17 @@ public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest build() { @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,46 +475,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListSearchAds360Li public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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; @@ -511,27 +558,31 @@ public Builder mergeFrom( 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: + 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) { @@ -541,22 +592,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -565,20 +621,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -586,28 +645,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -617,17 +687,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -635,8 +711,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -644,6 +722,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -651,6 +730,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -658,17 +739,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -676,6 +760,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -687,6 +772,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListSearchAds360Links`
      * call. Provide this to retrieve the subsequent page.
@@ -696,13 +783,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -711,6 +798,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListSearchAds360Links`
      * call. Provide this to retrieve the subsequent page.
@@ -720,15 +809,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +824,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListSearchAds360Links`
      * call. Provide this to retrieve the subsequent page.
@@ -745,18 +835,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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.
@@ -766,6 +860,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -775,6 +870,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListSearchAds360Links`
      * call. Provide this to retrieve the subsequent page.
@@ -784,21 +881,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,41 +907,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + 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(); - } - }; + 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; @@ -854,9 +955,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksRequestOrBuilder.java index 77db056daf7f..36cb1b01df60 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListSearchAds360LinksRequestOrBuilder extends +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) = { ... } + * + * 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListSearchAds360LinksRequestOrBuilder extends
    * 
* * 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.
@@ -49,10 +79,13 @@ public interface ListSearchAds360LinksRequestOrBuilder extends
    * 
* * 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.
@@ -62,8 +95,8 @@ public interface ListSearchAds360LinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponse.java index 3a8ed0dd45e1..aa0726efa407 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + 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_ = ""; @@ -26,83 +44,101 @@ private ListSearchAds360LinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSearchAds360LinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ @java.lang.Override - public java.util.List getSearchAds360LinksList() { + public java.util.List + getSearchAds360LinksList() { return searchAds360Links_; } /** + * + * *
    * List of SearchAds360Links.
    * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getSearchAds360LinksOrBuilderList() { return searchAds360Links_; } /** + * + * *
    * List of SearchAds360Links.
    * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * 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; + * 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; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinksOrBuilder( @@ -111,15 +147,19 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds } 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 @@ -128,30 +168,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +200,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +212,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < searchAds360Links_.size(); i++) { output.writeMessage(1, searchAds360Links_.get(i)); } @@ -189,8 +229,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < searchAds360Links_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, searchAds360Links_.get(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_); @@ -203,17 +243,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse other = (com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse) 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 (!getSearchAds360LinksList().equals(other.getSearchAds360LinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +276,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListSearchAds360Links RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListSearchAds360LinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +422,14 @@ public Builder clear() { } @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; + 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() { + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse.getDefaultInstance(); } @@ -397,14 +444,18 @@ public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse build() @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); + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result = + new com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result) { if (searchAds360LinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { searchAds360Links_ = java.util.Collections.unmodifiableList(searchAds360Links_); @@ -416,7 +467,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListS } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +479,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListSearchAds360Li public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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()) { @@ -485,9 +541,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListSearchAds360Link searchAds360LinksBuilder_ = null; searchAds360Links_ = other.searchAds360Links_; bitField0_ = (bitField0_ & ~0x00000001); - searchAds360LinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSearchAds360LinksFieldBuilder() : null; + searchAds360LinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSearchAds360LinksFieldBuilder() + : null; } else { searchAds360LinksBuilder_.addAllMessages(other.searchAds360Links_); } @@ -524,30 +581,33 @@ public Builder mergeFrom( 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: + 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) { @@ -557,28 +617,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List searchAds360Links_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSearchAds360LinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - searchAds360Links_ = new java.util.ArrayList(searchAds360Links_); + 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_; + 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; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ - public java.util.List getSearchAds360LinksList() { + public java.util.List + getSearchAds360LinksList() { if (searchAds360LinksBuilder_ == null) { return java.util.Collections.unmodifiableList(searchAds360Links_); } else { @@ -586,11 +657,14 @@ public java.util.List getSe } } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public int getSearchAds360LinksCount() { if (searchAds360LinksBuilder_ == null) { @@ -600,11 +674,14 @@ public int getSearchAds360LinksCount() { } } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Links(int index) { if (searchAds360LinksBuilder_ == null) { @@ -614,11 +691,14 @@ public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Links( } } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder setSearchAds360Links( int index, com.google.analytics.admin.v1alpha.SearchAds360Link value) { @@ -635,11 +715,14 @@ public Builder setSearchAds360Links( return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder setSearchAds360Links( int index, com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { @@ -653,11 +736,14 @@ public Builder setSearchAds360Links( return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder addSearchAds360Links(com.google.analytics.admin.v1alpha.SearchAds360Link value) { if (searchAds360LinksBuilder_ == null) { @@ -673,11 +759,14 @@ public Builder addSearchAds360Links(com.google.analytics.admin.v1alpha.SearchAds return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder addSearchAds360Links( int index, com.google.analytics.admin.v1alpha.SearchAds360Link value) { @@ -694,11 +783,14 @@ public Builder addSearchAds360Links( return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder addSearchAds360Links( com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { @@ -712,11 +804,14 @@ public Builder addSearchAds360Links( return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder addSearchAds360Links( int index, com.google.analytics.admin.v1alpha.SearchAds360Link.Builder builderForValue) { @@ -730,18 +825,20 @@ public Builder addSearchAds360Links( return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * 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_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, searchAds360Links_); onChanged(); } else { searchAds360LinksBuilder_.addAllMessages(values); @@ -749,11 +846,14 @@ public Builder addAllSearchAds360Links( return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder clearSearchAds360Links() { if (searchAds360LinksBuilder_ == null) { @@ -766,11 +866,14 @@ public Builder clearSearchAds360Links() { return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ public Builder removeSearchAds360Links(int index) { if (searchAds360LinksBuilder_ == null) { @@ -783,39 +886,49 @@ public Builder removeSearchAds360Links(int index) { return this; } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * 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; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ - public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds360LinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder + getSearchAds360LinksOrBuilder(int index) { if (searchAds360LinksBuilder_ == null) { - return searchAds360Links_.get(index); } else { + return searchAds360Links_.get(index); + } else { return searchAds360LinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ - public java.util.List - getSearchAds360LinksOrBuilderList() { + public java.util.List + getSearchAds360LinksOrBuilderList() { if (searchAds360LinksBuilder_ != null) { return searchAds360LinksBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +936,62 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds } } /** + * + * *
      * List of SearchAds360Links.
      * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * 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()); + 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; + * 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()); + 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; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ - public java.util.List - getSearchAds360LinksBuilderList() { + 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> + 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>( + 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(), @@ -873,19 +1003,21 @@ public com.google.analytics.admin.v1alpha.SearchAds360Link.Builder addSearchAds3 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1026,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1049,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1089,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1123,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + 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(); - } - }; + 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; @@ -1025,9 +1171,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSearchAds360LinksResponseOrBuilder.java index 1fde477d309d..d90f22b74a5e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,75 +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 +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; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ - java.util.List - getSearchAds360LinksList(); + java.util.List getSearchAds360LinksList(); /** + * + * *
    * List of SearchAds360Links.
    * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * 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; + * 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; + * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * */ - java.util.List + java.util.List getSearchAds360LinksOrBuilderList(); /** + * + * *
    * List of SearchAds360Links.
    * 
* - * repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1; + * 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java index c0656e7f6219..76ddfe124951 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ -public final class ListUserLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUserLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) ListUserLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUserLinksRequest.newBuilder() to construct. private ListUserLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUserLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListUserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUserLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListUserLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -107,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -115,9 +145,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -126,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -150,16 +185,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -168,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -203,8 +237,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -217,19 +250,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksRequest other = (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListUserLinksRequest other = + (com.google.analytics.admin.v1alpha.ListUserLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,129 +284,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( 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.ListUserLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListUserLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.analytics.admin.v1alpha.ListUserLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, + com.google.analytics.admin.v1alpha.ListUserLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; } @java.lang.Override @@ -408,8 +446,11 @@ public com.google.analytics.admin.v1alpha.ListUserLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksRequest result = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListUserLinksRequest result = + new com.google.analytics.admin.v1alpha.ListUserLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -431,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListUserLinksReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListUserLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -470,7 +512,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -510,27 +553,31 @@ public Builder mergeFrom( 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: + 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) { @@ -540,22 +587,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -564,20 +616,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,28 +640,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -616,17 +682,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: accounts/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -634,8 +706,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -644,6 +718,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -651,6 +726,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -659,17 +736,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of user links to return.
      * The service may return fewer than this value.
@@ -678,6 +758,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +770,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -697,13 +780,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -712,6 +795,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -720,15 +805,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -736,6 +820,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -744,18 +830,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -764,6 +854,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +864,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListUserLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +874,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +900,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksRequest) private static final com.google.analytics.admin.v1alpha.ListUserLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksRequest(); } @@ -819,27 +914,27 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksRequest 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; @@ -854,6 +949,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java index b055d9149e29..ab4ba325b8a9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksRequestOrBuilder extends +public interface ListUserLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: accounts/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of user links to return.
    * The service may return fewer than this value.
@@ -36,11 +63,14 @@ public interface ListUserLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListUserLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -61,8 +94,8 @@ public interface ListUserLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java index 9666256fa475..66b49c29a915 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for ListUserLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ -public final class ListUserLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUserLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) ListUserLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUserLinksResponse.newBuilder() to construct. private ListUserLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUserLinksResponse() { userLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListUserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUserLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ListUserLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } public static final int USER_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List userLinks_; /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -64,6 +86,8 @@ public java.util.List getUserLinksL return userLinks_; } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -71,11 +95,13 @@ public java.util.List getUserLinksL * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUserLinksOrBuilderList() { return userLinks_; } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -87,6 +113,8 @@ public int getUserLinksCount() { return userLinks_.size(); } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { return userLinks_.get(index); } /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { return userLinks_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userLinks_.size(); i++) { output.writeMessage(1, userLinks_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < userLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, userLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, userLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ListUserLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListUserLinksResponse other = (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListUserLinksResponse other = + (com.google.analytics.admin.v1alpha.ListUserLinksResponse) obj; - if (!getUserLinksList() - .equals(other.getUserLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getUserLinksList().equals(other.getUserLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( 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.ListUserLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListUserLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListUserLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListUserLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListUserLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.analytics.admin.v1alpha.ListUserLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, + com.google.analytics.admin.v1alpha.ListUserLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListUserLinksResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1alpha.ListUserLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListUserLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListUserLinksResponse result = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); + com.google.analytics.admin.v1alpha.ListUserLinksResponse result = + new com.google.analytics.admin.v1alpha.ListUserLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListUserLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListUserLinksResponse result) { if (userLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userLinks_ = java.util.Collections.unmodifiableList(userLinks_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListUserLinksRespo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ListUserLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListUserLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance()) + return this; if (userLinksBuilder_ == null) { if (!other.userLinks_.isEmpty()) { if (userLinks_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListUserLinksRespons userLinksBuilder_ = null; userLinks_ = other.userLinks_; bitField0_ = (bitField0_ & ~0x00000001); - userLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUserLinksFieldBuilder() : null; + userLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUserLinksFieldBuilder() + : null; } else { userLinksBuilder_.addAllMessages(other.userLinks_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.UserLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.UserLink.parser(), - extensionRegistry); - if (userLinksBuilder_ == null) { - ensureUserLinksIsMutable(); - userLinks_.add(m); - } else { - userLinksBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.UserLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.UserLink.parser(), extensionRegistry); + if (userLinksBuilder_ == null) { + ensureUserLinksIsMutable(); + userLinks_.add(m); + } else { + userLinksBuilder_.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) { @@ -557,21 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List userLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUserLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - userLinks_ = new java.util.ArrayList(userLinks_); + userLinks_ = + new java.util.ArrayList(userLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinksBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinksBuilder_; /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -586,6 +641,8 @@ public java.util.List getUserLinksL } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -600,6 +657,8 @@ public int getUserLinksCount() { } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -614,14 +673,15 @@ public com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index) { } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder setUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder setUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +695,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -653,6 +715,8 @@ public Builder setUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -673,14 +737,15 @@ public Builder addUserLinks(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public Builder addUserLinks( - int index, com.google.analytics.admin.v1alpha.UserLink value) { + public Builder addUserLinks(int index, com.google.analytics.admin.v1alpha.UserLink value) { if (userLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,6 +759,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -712,6 +779,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -730,6 +799,8 @@ public Builder addUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -740,8 +811,7 @@ public Builder addAllUserLinks( java.lang.Iterable values) { if (userLinksBuilder_ == null) { ensureUserLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, userLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, userLinks_); onChanged(); } else { userLinksBuilder_.addAllMessages(values); @@ -749,6 +819,8 @@ public Builder addAllUserLinks( return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -766,6 +838,8 @@ public Builder clearUserLinks() { return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -783,39 +857,44 @@ public Builder removeUserLinks(int index) { return this; } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinksBuilder(int index) { return getUserLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(int index) { if (userLinksBuilder_ == null) { - return userLinks_.get(index); } else { + return userLinks_.get(index); + } else { return userLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksOrBuilderList() { + public java.util.List + getUserLinksOrBuilderList() { if (userLinksBuilder_ != null) { return userLinksBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +902,8 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde } } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
@@ -830,42 +911,48 @@ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilde * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder() { - return getUserLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + return getUserLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( - int index) { - return getUserLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder(int index) { + return getUserLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()); } /** + * + * *
      * List of UserLinks. These will be ordered stably, but in an arbitrary order.
      * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - public java.util.List - getUserLinksBuilderList() { + public java.util.List + getUserLinksBuilderList() { return getUserLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinksFieldBuilder() { if (userLinksBuilder_ == null) { - userLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - userLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + userLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + userLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userLinks_ = null; } return userLinksBuilder_; @@ -873,19 +960,21 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder addUserLinksBuilder( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +983,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1006,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1046,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListUserLinksResponse) private static final com.google.analytics.admin.v1alpha.ListUserLinksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListUserLinksResponse(); } @@ -993,27 +1094,27 @@ public static com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUserLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUserLinksResponse 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; @@ -1028,6 +1129,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListUserLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java index c05f6f2d166f..b7967bc7a9c2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListUserLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ListUserLinksResponseOrBuilder extends +public interface ListUserLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListUserLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List - getUserLinksList(); + java.util.List getUserLinksList(); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -25,6 +44,8 @@ public interface ListUserLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.UserLink getUserLinks(int index); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
@@ -33,43 +54,51 @@ public interface ListUserLinksResponseOrBuilder extends */ int getUserLinksCount(); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - java.util.List + java.util.List getUserLinksOrBuilderList(); /** + * + * *
    * List of UserLinks. These will be ordered stably, but in an arbitrary order.
    * 
* * repeated .google.analytics.admin.v1alpha.UserLink user_links = 1; */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinksOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecret.java index 4274948cf299..eccc208bec92 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A secret value used for sending hits to Measurement Protocol.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.MeasurementProtocolSecret} */ -public final class MeasurementProtocolSecret extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MeasurementProtocolSecret extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.MeasurementProtocolSecret) MeasurementProtocolSecretOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MeasurementProtocolSecret.newBuilder() to construct. private MeasurementProtocolSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MeasurementProtocolSecret() { name_ = ""; displayName_ = ""; @@ -27,33 +45,37 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_MeasurementProtocolSecret_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of
    * any type of stream. Format:
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of
    * any type of stream. Format:
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,14 +125,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -118,29 +145,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -149,9 +176,12 @@ public java.lang.String getDisplayName() { } public static final int SECRET_VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object secretValue_ = ""; /** + * + * *
    * 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
@@ -159,6 +189,7 @@ public java.lang.String getDisplayName() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ @java.lang.Override @@ -167,14 +198,15 @@ public java.lang.String getSecretValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; } } /** + * + * *
    * 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
@@ -182,16 +214,15 @@ public java.lang.String getSecretValue() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for secretValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecretValueBytes() { + public com.google.protobuf.ByteString getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretValue_ = b; return b; } else { @@ -200,6 +231,7 @@ public java.lang.String getSecretValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -248,19 +279,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.MeasurementProtocolSecret)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other = (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) obj; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other = + (com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getSecretValue() - .equals(other.getSecretValue())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getSecretValue().equals(other.getSecretValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,129 +313,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( 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.MeasurementProtocolSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A secret value used for sending hits to Measurement Protocol.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.MeasurementProtocolSecret} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.MeasurementProtocolSecret) com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -418,13 +454,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance(); } @@ -439,13 +476,17 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret build() { @java.lang.Override public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret buildPartial() { - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result = new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result = + new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -462,38 +503,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.MeasurementProtoco public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.MeasurementProtocolSecret) { - return mergeFrom((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret)other); + return mergeFrom((com.google.analytics.admin.v1alpha.MeasurementProtocolSecret) other); } else { super.mergeFrom(other); return this; @@ -501,7 +543,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret other) { - if (other == com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -543,27 +587,31 @@ public Builder mergeFrom( 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: { - secretValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + secretValue_ = 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) { @@ -573,10 +621,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of
      * any type of stream. Format:
@@ -584,13 +635,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -599,6 +650,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:
@@ -606,15 +659,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -622,6 +674,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:
@@ -629,18 +683,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 secret. This secret may be a child of
      * any type of stream. Format:
@@ -648,6 +706,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -657,6 +716,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of
      * any type of stream. Format:
@@ -664,12 +725,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -679,18 +742,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -699,20 +764,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -720,28 +786,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -751,17 +824,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -771,6 +848,8 @@ public Builder setDisplayNameBytes( private java.lang.Object secretValue_ = ""; /** + * + * *
      * 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
@@ -778,13 +857,13 @@ public Builder setDisplayNameBytes(
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ public java.lang.String getSecretValue() { java.lang.Object ref = secretValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; @@ -793,6 +872,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
@@ -800,15 +881,14 @@ public java.lang.String getSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for secretValue. */ - public com.google.protobuf.ByteString - getSecretValueBytes() { + public com.google.protobuf.ByteString getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretValue_ = b; return b; } else { @@ -816,6 +896,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
@@ -823,18 +905,22 @@ public java.lang.String getSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return 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
@@ -842,6 +928,7 @@ public Builder setSecretValue(
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSecretValue() { @@ -851,6 +938,8 @@ public Builder clearSecretValue() { return 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
@@ -858,21 +947,23 @@ public Builder clearSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +973,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.MeasurementProtocolSecret) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.MeasurementProtocolSecret) - private static final com.google.analytics.admin.v1alpha.MeasurementProtocolSecret DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.MeasurementProtocolSecret(); } @@ -896,27 +988,27 @@ public static com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MeasurementProtocolSecret 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MeasurementProtocolSecret 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; @@ -931,6 +1023,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MeasurementProtocolSecretOrBuilder.java index ce20bc2e4000..8a5b2d4e85c1 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface MeasurementProtocolSecretOrBuilder extends +public interface MeasurementProtocolSecretOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.MeasurementProtocolSecret) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of
    * any type of stream. Format:
@@ -15,10 +33,13 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of
    * any type of stream. Format:
@@ -26,32 +47,39 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + 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
@@ -59,10 +87,13 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ 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
@@ -70,8 +101,8 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for secretValue. */ - com.google.protobuf.ByteString - getSecretValueBytes(); + com.google.protobuf.ByteString getSecretValueBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java index 612b2b169faa..c3e4eb011908 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java @@ -1,61 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * To represent a number.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.NumericValue} */ -public final class NumericValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NumericValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.NumericValue) NumericValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericValue.newBuilder() to construct. private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NumericValue() { - } + + private NumericValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NumericValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.NumericValue.class, com.google.analytics.admin.v1alpha.NumericValue.Builder.class); + com.google.analytics.admin.v1alpha.NumericValue.class, + com.google.analytics.admin.v1alpha.NumericValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; + public enum OneValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), DOUBLE_VALUE(2), ONEVALUE_NOT_SET(0); private final int value; + private OneValueCase(int value) { this.value = value; } @@ -71,30 +92,36 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: return INT64_VALUE; - case 2: return DOUBLE_VALUE; - case 0: return ONEVALUE_NOT_SET; - default: return null; + case 1: + return INT64_VALUE; + case 2: + return DOUBLE_VALUE; + case 0: + return ONEVALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -102,11 +129,14 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -119,11 +149,14 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -131,11 +164,14 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -147,6 +183,7 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,15 +195,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneValueCase_ == 1) { - output.writeInt64( - 1, (long)((java.lang.Long) oneValue_)); + output.writeInt64(1, (long) ((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) oneValue_)); + output.writeDouble(2, (double) ((java.lang.Double) oneValue_)); } getUnknownFields().writeTo(output); } @@ -178,14 +212,14 @@ public int getSerializedSize() { size = 0; if (oneValueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 1, (long)((java.lang.Long) oneValue_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) oneValue_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, (double) ((java.lang.Double) oneValue_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -195,23 +229,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.NumericValue)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.NumericValue other = (com.google.analytics.admin.v1alpha.NumericValue) obj; + com.google.analytics.admin.v1alpha.NumericValue other = + (com.google.analytics.admin.v1alpha.NumericValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 0: default: @@ -230,13 +263,14 @@ public int hashCode() { switch (oneValueCase_) { case 1: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); break; case 2: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 0: default: @@ -246,130 +280,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.NumericValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.NumericValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * To represent a number.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.NumericValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.NumericValue) com.google.analytics.admin.v1alpha.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.NumericValue.class, com.google.analytics.admin.v1alpha.NumericValue.Builder.class); + com.google.analytics.admin.v1alpha.NumericValue.class, + com.google.analytics.admin.v1alpha.NumericValue.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.NumericValue.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AccessReportProto.internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; } @java.lang.Override @@ -401,8 +441,11 @@ public com.google.analytics.admin.v1alpha.NumericValue build() { @java.lang.Override public com.google.analytics.admin.v1alpha.NumericValue buildPartial() { - com.google.analytics.admin.v1alpha.NumericValue result = new com.google.analytics.admin.v1alpha.NumericValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.NumericValue result = + new com.google.analytics.admin.v1alpha.NumericValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -421,38 +464,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.NumericValue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NumericValue) { - return mergeFrom((com.google.analytics.admin.v1alpha.NumericValue)other); + return mergeFrom((com.google.analytics.admin.v1alpha.NumericValue) other); } else { super.mergeFrom(other); return this; @@ -460,19 +504,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.NumericValue other) { - if (other == com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()) + return this; switch (other.getOneValueCase()) { - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: { - break; - } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case ONEVALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -500,22 +548,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - oneValue_ = input.readInt64(); - oneValueCase_ = 1; - break; - } // case 8 - case 17: { - oneValue_ = input.readDouble(); - oneValueCase_ = 2; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + oneValue_ = input.readInt64(); + oneValueCase_ = 1; + break; + } // case 8 + case 17: + { + oneValue_ = input.readDouble(); + oneValueCase_ = 2; + break; + } // case 17 + 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) { @@ -525,12 +576,12 @@ public Builder mergeFrom( } // finally return this; } + private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public Builder clearOneValue() { @@ -543,22 +594,28 @@ public Builder clearOneValue() { private int bitField0_; /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return The int64Value. */ public long getInt64Value() { @@ -568,27 +625,33 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @param value The int64Value to set. * @return This builder for chaining. */ public Builder setInt64Value(long value) { - + oneValueCase_ = 1; oneValue_ = value; onChanged(); return this; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -601,22 +664,28 @@ public Builder clearInt64Value() { } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -626,27 +695,33 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ public Builder setDoubleValue(double value) { - + oneValueCase_ = 2; oneValue_ = value; onChanged(); return this; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -657,9 +732,9 @@ public Builder clearDoubleValue() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -669,12 +744,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.NumericValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.NumericValue) private static final com.google.analytics.admin.v1alpha.NumericValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.NumericValue(); } @@ -683,27 +758,27 @@ public static com.google.analytics.admin.v1alpha.NumericValue getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + 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; @@ -718,6 +793,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.NumericValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java index 792c9dd62274..c2e942f112d5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValueOrBuilder.java @@ -1,46 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/access_report.proto package com.google.analytics.admin.v1alpha; -public interface NumericValueOrBuilder extends +public interface NumericValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.NumericValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return The doubleValue. */ double getDoubleValue(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/Property.java index 5e99cb8825b1..13f93054cd5f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Google Analytics GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Property} */ -public final class Property extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Property extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.Property) PropertyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Property.newBuilder() to construct. private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Property() { name_ = ""; propertyType_ = 0; @@ -33,33 +51,37 @@ private Property() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Property(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_Property_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Property.class, com.google.analytics.admin.v1alpha.Property.Builder.class); + com.google.analytics.admin.v1alpha.Property.class, + com.google.analytics.admin.v1alpha.Property.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -67,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -75,14 +98,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -90,16 +114,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -110,6 +133,8 @@ public java.lang.String getName() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 14; private int propertyType_ = 0; /** + * + * *
    * Immutable. The property type for this Property resource. When creating a
    * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -117,13 +142,19 @@ public java.lang.String getName() {
    * types cannot yet be created via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
    * Immutable. The property type for this Property resource. When creating a
    * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -131,22 +162,31 @@ public java.lang.String getName() {
    * types cannot yet be created via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The propertyType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + @java.lang.Override + public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { + com.google.analytics.admin.v1alpha.PropertyType result = + com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -154,11 +194,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -166,11 +210,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -180,11 +227,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -192,11 +243,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -204,11 +259,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -216,9 +274,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int PARENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -227,6 +288,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ @java.lang.Override @@ -235,14 +297,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -251,16 +314,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -269,15 +331,19 @@ public java.lang.String getParent() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -286,30 +352,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -320,35 +386,49 @@ public java.lang.String getDisplayName() { public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 6; private int industryCategory_ = 0; /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override public int getIndustryCategoryValue() { + @java.lang.Override + public int getIndustryCategoryValue() { return industryCategory_; } /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The industryCategory. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1alpha.IndustryCategory result = com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); - return result == null ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { + com.google.analytics.admin.v1alpha.IndustryCategory result = + com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); + return result == null + ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED + : result; } public static final int TIME_ZONE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object timeZone_ = ""; /** + * + * *
    * Required. Reporting Time Zone, used as the day boundary for reports,
    * regardless of where the data originates. If the time zone honors DST,
@@ -360,6 +440,7 @@ public java.lang.String getDisplayName() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ @java.lang.Override @@ -368,14 +449,15 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** + * + * *
    * Required. Reporting Time Zone, used as the day boundary for reports,
    * regardless of where the data originates. If the time zone honors DST,
@@ -387,16 +469,15 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -405,9 +486,12 @@ public java.lang.String getTimeZone() { } public static final int CURRENCY_CODE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object currencyCode_ = ""; /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -415,6 +499,7 @@ public java.lang.String getTimeZone() {
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ @java.lang.Override @@ -423,14 +508,15 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -438,16 +524,15 @@ public java.lang.String getCurrencyCode() {
    * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -458,40 +543,57 @@ public java.lang.String getCurrencyCode() { public static final int SERVICE_LEVEL_FIELD_NUMBER = 10; private int serviceLevel_ = 0; /** + * + * *
    * Output only. The Google Analytics service level that applies to this
    * property.
    * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override public int getServiceLevelValue() { + @java.lang.Override + public int getServiceLevelValue() { return serviceLevel_; } /** + * + * *
    * Output only. The Google Analytics service level that applies to this
    * property.
    * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The serviceLevel. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); + @java.lang.Override + public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { + com.google.analytics.admin.v1alpha.ServiceLevel result = + com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1alpha.ServiceLevel.UNRECOGNIZED : result; } public static final int DELETE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * 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]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -499,12 +601,16 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -512,12 +618,15 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -527,13 +636,17 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * 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]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -541,13 +654,17 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -555,13 +672,16 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -569,16 +689,22 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } public static final int ACCOUNT_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ @java.lang.Override @@ -587,31 +713,33 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -620,6 +748,7 @@ public java.lang.String getAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -631,8 +760,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -648,7 +776,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (industryCategory_ != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { + if (industryCategory_ + != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED + .getNumber()) { output.writeEnum(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { @@ -657,7 +787,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, currencyCode_); } - if (serviceLevel_ != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + if (serviceLevel_ + != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(10, serviceLevel_); } if (deleteTime_ != null) { @@ -669,7 +800,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, account_); } - if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ + != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(14, propertyType_); } getUnknownFields().writeTo(output); @@ -688,19 +820,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (industryCategory_ != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, industryCategory_); + if (industryCategory_ + != com.google.analytics.admin.v1alpha.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, timeZone_); @@ -708,24 +839,22 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); } - if (serviceLevel_ != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, serviceLevel_); + if (serviceLevel_ + != com.google.analytics.admin.v1alpha.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, serviceLevel_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, account_); } - if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, propertyType_); + if (propertyType_ + != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, propertyType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -735,48 +864,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.Property)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.Property other = (com.google.analytics.admin.v1alpha.Property) obj; + com.google.analytics.admin.v1alpha.Property other = + (com.google.analytics.admin.v1alpha.Property) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (propertyType_ != other.propertyType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getParent() - .equals(other.getParent())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (industryCategory_ != other.industryCategory_) return false; - if (!getTimeZone() - .equals(other.getTimeZone())) return false; - if (!getCurrencyCode() - .equals(other.getCurrencyCode())) return false; + if (!getTimeZone().equals(other.getTimeZone())) return false; + if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; if (serviceLevel_ != other.serviceLevel_) return false; if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -827,130 +947,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.Property parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.Property parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Property parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Property parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Property parseFrom( 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.Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.Property parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Property parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Property parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Property parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.Property parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.Property parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.Property prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a Google Analytics GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.Property} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.Property) com.google.analytics.admin.v1alpha.PropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.Property.class, com.google.analytics.admin.v1alpha.Property.Builder.class); + com.google.analytics.admin.v1alpha.Property.class, + com.google.analytics.admin.v1alpha.Property.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.Property.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -988,9 +1114,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_Property_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_Property_descriptor; } @java.lang.Override @@ -1009,8 +1135,11 @@ public com.google.analytics.admin.v1alpha.Property build() { @java.lang.Override public com.google.analytics.admin.v1alpha.Property buildPartial() { - com.google.analytics.admin.v1alpha.Property result = new com.google.analytics.admin.v1alpha.Property(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.Property result = + new com.google.analytics.admin.v1alpha.Property(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1024,14 +1153,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Property result) { result.propertyType_ = propertyType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.parent_ = parent_; @@ -1052,14 +1177,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Property result) { result.serviceLevel_ = serviceLevel_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null - ? deleteTime_ - : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.account_ = account_; @@ -1070,38 +1191,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.Property result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.Property) { - return mergeFrom((com.google.analytics.admin.v1alpha.Property)other); + return mergeFrom((com.google.analytics.admin.v1alpha.Property) other); } else { super.mergeFrom(other); return this; @@ -1187,85 +1309,91 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: { - industryCategory_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - timeZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: { - currencyCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 66 - case 80: { - serviceLevel_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - input.readMessage( - getDeleteTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 112 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: + { + industryCategory_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + timeZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + currencyCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 80: + { + serviceLevel_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: + { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 112 + 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) { @@ -1275,10 +1403,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1286,13 +1417,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1301,6 +1432,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1308,15 +1441,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1324,6 +1456,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1331,18 +1465,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 property.
      * Format: properties/{property_id}
@@ -1350,6 +1488,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1359,6 +1498,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1366,12 +1507,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1381,6 +1524,8 @@ public Builder setNameBytes( private int propertyType_ = 0; /** + * + * *
      * Immutable. The property type for this Property resource. When creating a
      * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -1388,13 +1533,19 @@ public Builder setNameBytes(
      * types cannot yet be created via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a
      * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -1402,7 +1553,10 @@ public Builder setNameBytes(
      * types cannot yet be created via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -1413,6 +1567,8 @@ public Builder setPropertyTypeValue(int value) { return this; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a
      * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -1420,15 +1576,21 @@ public Builder setPropertyTypeValue(int value) {
      * types cannot yet be created via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1alpha.PropertyType result = + com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a
      * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -1436,7 +1598,10 @@ public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() {
      * types cannot yet be created via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The propertyType to set. * @return This builder for chaining. */ @@ -1450,6 +1615,8 @@ public Builder setPropertyType(com.google.analytics.admin.v1alpha.PropertyType v return this; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a
      * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -1457,7 +1624,10 @@ public Builder setPropertyType(com.google.analytics.admin.v1alpha.PropertyType v
      * types cannot yet be created via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -1469,39 +1639,58 @@ public Builder clearPropertyType() { 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1517,14 +1706,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1535,17 +1727,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1558,11 +1754,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1575,11 +1775,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1587,36 +1791,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1624,39 +1840,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1672,14 +1907,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1690,17 +1928,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1713,11 +1955,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1730,11 +1976,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1742,36 +1992,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1779,6 +2041,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1787,13 +2051,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1802,6 +2066,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1810,15 +2076,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1826,6 +2091,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1834,18 +2101,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1854,6 +2125,7 @@ public Builder setParent(
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1863,6 +2135,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1871,12 +2145,14 @@ public Builder clearParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @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(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1886,19 +2162,21 @@ public Builder setParentBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1907,21 +2185,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1929,30 +2208,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1962,18 +2248,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -1983,24 +2273,31 @@ public Builder setDisplayNameBytes( private int industryCategory_ = 0; /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override public int getIndustryCategoryValue() { + @java.lang.Override + public int getIndustryCategoryValue() { return industryCategory_; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @param value The enum numeric value on the wire for industryCategory to set. * @return This builder for chaining. */ @@ -2011,26 +2308,35 @@ public Builder setIndustryCategoryValue(int value) { return this; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The industryCategory. */ @java.lang.Override public com.google.analytics.admin.v1alpha.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1alpha.IndustryCategory result = com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); - return result == null ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.IndustryCategory result = + com.google.analytics.admin.v1alpha.IndustryCategory.forNumber(industryCategory_); + return result == null + ? com.google.analytics.admin.v1alpha.IndustryCategory.UNRECOGNIZED + : result; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @param value The industryCategory to set. * @return This builder for chaining. */ @@ -2044,12 +2350,15 @@ public Builder setIndustryCategory(com.google.analytics.admin.v1alpha.IndustryCa return this; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return This builder for chaining. */ public Builder clearIndustryCategory() { @@ -2061,6 +2370,8 @@ public Builder clearIndustryCategory() { private java.lang.Object timeZone_ = ""; /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports,
      * regardless of where the data originates. If the time zone honors DST,
@@ -2072,13 +2383,13 @@ public Builder clearIndustryCategory() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -2087,6 +2398,8 @@ 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,
@@ -2098,15 +2411,14 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -2114,6 +2426,8 @@ 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,
@@ -2125,18 +2439,22 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTimeZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } timeZone_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports,
      * regardless of where the data originates. If the time zone honors DST,
@@ -2148,6 +2466,7 @@ public Builder setTimeZone(
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -2157,6 +2476,8 @@ public Builder clearTimeZone() { return this; } /** + * + * *
      * Required. Reporting Time Zone, used as the day boundary for reports,
      * regardless of where the data originates. If the time zone honors DST,
@@ -2168,12 +2489,14 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); timeZone_ = value; bitField0_ |= 0x00000080; @@ -2183,6 +2506,8 @@ public Builder setTimeZoneBytes( private java.lang.Object currencyCode_ = ""; /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2190,13 +2515,13 @@ public Builder setTimeZoneBytes(
      * 
* * string currency_code = 8; + * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -2205,6 +2530,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2212,15 +2539,14 @@ public java.lang.String getCurrencyCode() {
      * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -2228,6 +2554,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2235,18 +2563,22 @@ public java.lang.String getCurrencyCode() {
      * 
* * string currency_code = 8; + * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCurrencyCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } currencyCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2254,6 +2586,7 @@ public Builder setCurrencyCode(
      * 
* * string currency_code = 8; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -2263,6 +2596,8 @@ public Builder clearCurrencyCode() { return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2270,12 +2605,14 @@ public Builder clearCurrencyCode() {
      * 
* * string currency_code = 8; + * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); currencyCode_ = value; bitField0_ |= 0x00000100; @@ -2285,24 +2622,35 @@ public Builder setCurrencyCodeBytes( private int serviceLevel_ = 0; /** + * + * *
      * Output only. The Google Analytics service level that applies to this
      * property.
      * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override public int getServiceLevelValue() { + @java.lang.Override + public int getServiceLevelValue() { return serviceLevel_; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this
      * property.
      * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for serviceLevel to set. * @return This builder for chaining. */ @@ -2313,26 +2661,37 @@ public Builder setServiceLevelValue(int value) { return this; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this
      * property.
      * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The serviceLevel. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1alpha.ServiceLevel result = com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); + com.google.analytics.admin.v1alpha.ServiceLevel result = + com.google.analytics.admin.v1alpha.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1alpha.ServiceLevel.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this
      * property.
      * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The serviceLevel to set. * @return This builder for chaining. */ @@ -2346,12 +2705,17 @@ public Builder setServiceLevel(com.google.analytics.admin.v1alpha.ServiceLevel v return this; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this
      * property.
      * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearServiceLevel() { @@ -2363,42 +2727,61 @@ public Builder clearServiceLevel() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -2414,15 +2797,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -2433,18 +2819,22 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -2457,12 +2847,16 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2475,12 +2869,16 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000400; @@ -2488,38 +2886,50 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -2527,45 +2937,64 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2581,16 +3010,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -2601,19 +3033,23 @@ public Builder setExpireTime( return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -2626,13 +3062,17 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -2645,13 +3085,17 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000800; @@ -2659,40 +3103,52 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2700,20 +3156,24 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object account_ = ""; /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -2722,22 +3182,25 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -2745,32 +3208,43 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -2780,28 +3254,34 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2811,12 +3291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.Property) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.Property) private static final com.google.analytics.admin.v1alpha.Property DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.Property(); } @@ -2825,27 +3305,27 @@ public static com.google.analytics.admin.v1alpha.Property getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Property 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Property 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; @@ -2860,6 +3340,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 77% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyOrBuilder.java index 087044fe6982..1c212ee18eb7 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertyOrBuilder extends +public interface PropertyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.Property) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -15,10 +33,13 @@ public interface PropertyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -26,12 +47,14 @@ public interface PropertyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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
@@ -39,11 +62,16 @@ public interface PropertyOrBuilder extends
    * types cannot yet be created via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for propertyType. */ int getPropertyTypeValue(); /** + * + * *
    * Immutable. The property type for this Property resource. When creating a
    * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
@@ -51,66 +79,93 @@ public interface PropertyOrBuilder extends
    * types cannot yet be created via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The propertyType. */ com.google.analytics.admin.v1alpha.PropertyType getPropertyType(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -119,10 +174,13 @@ public interface PropertyOrBuilder extends
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -131,55 +189,68 @@ public interface PropertyOrBuilder extends
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * * @return The industryCategory. */ 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,
@@ -191,10 +262,13 @@ public interface PropertyOrBuilder extends
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ 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,
@@ -206,12 +280,14 @@ public interface PropertyOrBuilder extends
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString - getTimeZoneBytes(); + com.google.protobuf.ByteString getTimeZoneBytes(); /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -219,10 +295,13 @@ public interface PropertyOrBuilder extends
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -230,116 +309,157 @@ public interface PropertyOrBuilder extends
    * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString - getCurrencyCodeBytes(); + com.google.protobuf.ByteString getCurrencyCodeBytes(); /** + * + * *
    * Output only. The Google Analytics service level that applies to this
    * property.
    * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for serviceLevel. */ int getServiceLevelValue(); /** + * + * *
    * Output only. The Google Analytics service level that applies to this
    * property.
    * 
* - * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The serviceLevel. */ 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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ 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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ 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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java index 4e3615da9046..1dda0fb562af 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummary.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A virtual resource representing metadata for a GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.PropertySummary} */ -public final class PropertySummary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PropertySummary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.PropertySummary) PropertySummaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PropertySummary.newBuilder() to construct. private PropertySummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PropertySummary() { property_ = ""; displayName_ = ""; @@ -28,33 +46,37 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertySummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_PropertySummary_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.PropertySummary.class, com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); + com.google.analytics.admin.v1alpha.PropertySummary.class, + com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -85,16 +109,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -103,14 +126,18 @@ public java.lang.String getProperty() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -119,29 +146,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -152,33 +179,45 @@ public java.lang.String getDisplayName() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 3; private int propertyType_ = 0; /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @return The propertyType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + @java.lang.Override + public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { + com.google.analytics.admin.v1alpha.PropertyType result = + com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } public static final int PARENT_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -187,6 +226,7 @@ public java.lang.String getDisplayName() {
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -195,14 +235,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -211,16 +252,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -229,6 +269,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,15 +281,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ + != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { @@ -269,9 +310,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (propertyType_ != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, propertyType_); + if (propertyType_ + != com.google.analytics.admin.v1alpha.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, parent_); @@ -284,20 +325,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.PropertySummary)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.PropertySummary other = (com.google.analytics.admin.v1alpha.PropertySummary) obj; + com.google.analytics.admin.v1alpha.PropertySummary other = + (com.google.analytics.admin.v1alpha.PropertySummary) obj; - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getProperty().equals(other.getProperty())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (propertyType_ != other.propertyType_) return false; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -323,129 +362,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( 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.PropertySummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.PropertySummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.PropertySummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.PropertySummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.PropertySummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A virtual resource representing metadata for a GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.PropertySummary} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.PropertySummary) com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.PropertySummary.class, com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); + com.google.analytics.admin.v1alpha.PropertySummary.class, + com.google.analytics.admin.v1alpha.PropertySummary.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.PropertySummary.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -458,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; } @java.lang.Override @@ -479,8 +524,11 @@ public com.google.analytics.admin.v1alpha.PropertySummary build() { @java.lang.Override public com.google.analytics.admin.v1alpha.PropertySummary buildPartial() { - com.google.analytics.admin.v1alpha.PropertySummary result = new com.google.analytics.admin.v1alpha.PropertySummary(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.PropertySummary result = + new com.google.analytics.admin.v1alpha.PropertySummary(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -505,38 +553,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.PropertySummary re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.PropertySummary) { - return mergeFrom((com.google.analytics.admin.v1alpha.PropertySummary)other); + return mergeFrom((com.google.analytics.admin.v1alpha.PropertySummary) other); } else { super.mergeFrom(other); return this; @@ -544,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.PropertySummary other) { - if (other == com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.PropertySummary.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -589,32 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -624,10 +679,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -635,13 +693,13 @@ public Builder mergeFrom(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -650,6 +708,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -657,15 +717,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -673,6 +732,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -680,18 +741,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -699,6 +764,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -708,6 +774,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -715,12 +783,14 @@ public Builder clearProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @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(); } + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -730,18 +800,20 @@ public Builder setPropertyBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -750,20 +822,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -771,28 +844,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -802,17 +882,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -822,22 +906,29 @@ public Builder setDisplayNameBytes( private int propertyType_ = 0; /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -848,24 +939,31 @@ public Builder setPropertyTypeValue(int value) { return this; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyType getPropertyType() { - com.google.analytics.admin.v1alpha.PropertyType result = com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1alpha.PropertyType result = + com.google.analytics.admin.v1alpha.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1alpha.PropertyType.UNRECOGNIZED : result; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @param value The propertyType to set. * @return This builder for chaining. */ @@ -879,11 +977,14 @@ public Builder setPropertyType(com.google.analytics.admin.v1alpha.PropertyType v return this; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -895,6 +996,8 @@ public Builder clearPropertyType() { private java.lang.Object parent_ = ""; /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -903,13 +1006,13 @@ public Builder clearPropertyType() {
      * 
* * string parent = 4; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -918,6 +1021,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -926,15 +1031,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -942,6 +1046,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -950,18 +1056,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -970,6 +1080,7 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -979,6 +1090,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -987,21 +1100,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; + * * @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(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.PropertySummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.PropertySummary) private static final com.google.analytics.admin.v1alpha.PropertySummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.PropertySummary(); } @@ -1025,27 +1140,27 @@ public static com.google.analytics.admin.v1alpha.PropertySummary getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertySummary 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertySummary 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; @@ -1060,6 +1175,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.PropertySummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java index 55d0f39848f9..720ce7f52adf 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertySummaryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface PropertySummaryOrBuilder extends +public interface PropertySummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.PropertySummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -15,10 +33,13 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -26,51 +47,64 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @return The enum numeric value on the wire for propertyType. */ int getPropertyTypeValue(); /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * * @return The propertyType. */ com.google.analytics.admin.v1alpha.PropertyType getPropertyType(); /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -79,10 +113,13 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -91,8 +128,8 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string parent = 4; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java index 45a56576c7a3..9a554d57a6b8 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PropertyType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Types of Property resources.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.PropertyType} */ -public enum PropertyType - implements com.google.protobuf.ProtocolMessageEnum { +public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unknown or unspecified property type
    * 
@@ -21,6 +39,8 @@ public enum PropertyType */ PROPERTY_TYPE_UNSPECIFIED(0), /** + * + * *
    * Ordinary GA4 property
    * 
@@ -29,6 +49,8 @@ public enum PropertyType */ PROPERTY_TYPE_ORDINARY(1), /** + * + * *
    * GA4 subproperty
    * 
@@ -37,6 +59,8 @@ public enum PropertyType */ PROPERTY_TYPE_SUBPROPERTY(2), /** + * + * *
    * GA4 rollup property
    * 
@@ -48,6 +72,8 @@ public enum PropertyType ; /** + * + * *
    * Unknown or unspecified property type
    * 
@@ -56,6 +82,8 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Ordinary GA4 property
    * 
@@ -64,6 +92,8 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_ORDINARY_VALUE = 1; /** + * + * *
    * GA4 subproperty
    * 
@@ -72,6 +102,8 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_SUBPROPERTY_VALUE = 2; /** + * + * *
    * GA4 rollup property
    * 
@@ -80,7 +112,6 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_ROLLUP_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static PropertyType valueOf(int value) { */ public static PropertyType forNumber(int value) { switch (value) { - case 0: return PROPERTY_TYPE_UNSPECIFIED; - case 1: return PROPERTY_TYPE_ORDINARY; - case 2: return PROPERTY_TYPE_SUBPROPERTY; - case 3: return PROPERTY_TYPE_ROLLUP; - default: return null; + case 0: + return PROPERTY_TYPE_UNSPECIFIED; + case 1: + return PROPERTY_TYPE_ORDINARY; + case 2: + return PROPERTY_TYPE_SUBPROPERTY; + case 3: + return PROPERTY_TYPE_ROLLUP; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PropertyType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PropertyType findValueByNumber(int number) { - return PropertyType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PropertyType findValueByNumber(int number) { + return PropertyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(9); } private static final PropertyType[] VALUES = values(); - public static PropertyType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PropertyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -164,4 +196,3 @@ private PropertyType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.PropertyType) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java index d15a4854bf64..74d06fe12f43 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequest.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketRequest} */ -public final class ProvisionAccountTicketRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvisionAccountTicketRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) ProvisionAccountTicketRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketRequest.newBuilder() to construct. private ProvisionAccountTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisionAccountTicketRequest() { redirectUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisionAccountTicketRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ProvisionAccountTicketRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Account account_; /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return Whether the account field is set. */ @java.lang.Override @@ -63,18 +85,25 @@ public boolean hasAccount() { return account_ != null; } /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { - return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } /** + * + * *
    * The account to create.
    * 
@@ -83,19 +112,25 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { - return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } public static final int REDIRECT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object redirectUri_ = ""; /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ @java.lang.Override @@ -104,30 +139,30 @@ public java.lang.String getRedirectUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; } } /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRedirectUriBytes() { + public com.google.protobuf.ByteString getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -136,6 +171,7 @@ public java.lang.String getRedirectUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -165,8 +200,7 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redirectUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, redirectUri_); @@ -179,20 +213,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) obj; + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other = + (com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; } - if (!getRedirectUri() - .equals(other.getRedirectUri())) return false; + if (!getRedirectUri().equals(other.getRedirectUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,129 +249,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( 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.ProvisionAccountTicketRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +393,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance(); } @@ -374,18 +415,20 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest buildPartial() { - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result = + new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null - ? account_ - : accountBuilder_.build(); + result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.redirectUri_ = redirectUri_; @@ -396,46 +439,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ProvisionAccountTi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ProvisionAccountTicketRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other) { - if (other == com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance()) + return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -470,24 +517,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAccountFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - redirectUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + redirectUri_ = 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) { @@ -497,38 +545,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountBuilder_; + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> + accountBuilder_; /** + * + * *
      * The account to create.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The account to create.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return The account. */ public com.google.analytics.admin.v1alpha.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } else { return accountBuilder_.getMessage(); } } /** + * + * *
      * The account to create.
      * 
@@ -549,14 +611,15 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
      * The account to create.
      * 
* * .google.analytics.admin.v1alpha.Account account = 1; */ - public Builder setAccount( - com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -567,6 +630,8 @@ public Builder setAccount( return this; } /** + * + * *
      * The account to create.
      * 
@@ -575,9 +640,9 @@ public Builder setAccount( */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - account_ != null && - account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && account_ != null + && account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -590,6 +655,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
      * The account to create.
      * 
@@ -607,6 +674,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * The account to create.
      * 
@@ -619,6 +688,8 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
      * The account to create.
      * 
@@ -629,11 +700,14 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null ? - com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } } /** + * + * *
      * The account to create.
      * 
@@ -641,14 +715,17 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1alpha.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( - getAccount(), - getParentForChildren(), - isClean()); + accountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder>( + getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; @@ -656,19 +733,21 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private java.lang.Object redirectUri_ = ""; /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ public java.lang.String getRedirectUri() { java.lang.Object ref = redirectUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; @@ -677,21 +756,22 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ - public com.google.protobuf.ByteString - getRedirectUriBytes() { + public com.google.protobuf.ByteString getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -699,30 +779,37 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @param value The redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRedirectUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return This builder for chaining. */ public Builder clearRedirectUri() { @@ -732,27 +819,31 @@ public Builder clearRedirectUri() { return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @param value The bytes for redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRedirectUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,41 +853,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) - private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest(); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketRequest 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; @@ -808,9 +901,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java index 2342e6903b57..126707fa468c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface ProvisionAccountTicketRequestOrBuilder extends +public interface ProvisionAccountTicketRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1alpha.Account account = 1; + * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** + * + * *
    * The account to create.
    * 
@@ -35,24 +59,29 @@ public interface ProvisionAccountTicketRequestOrBuilder extends com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder(); /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ java.lang.String getRedirectUri(); /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ - com.google.protobuf.ByteString - getRedirectUriBytes(); + com.google.protobuf.ByteString getRedirectUriBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java index 342fdfe7f384..7eaa3a8f400d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponse.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketResponse} */ -public final class ProvisionAccountTicketResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvisionAccountTicketResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) ProvisionAccountTicketResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketResponse.newBuilder() to construct. - private ProvisionAccountTicketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvisionAccountTicketResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisionAccountTicketResponse() { accountTicketId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisionAccountTicketResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_ProvisionAccountTicketResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); } public static final int ACCOUNT_TICKET_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object accountTicketId_ = ""; /** + * + * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; + * * @return The accountTicketId. */ @java.lang.Override @@ -65,29 +89,29 @@ public java.lang.String getAccountTicketId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; } } /** + * + * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; + * * @return The bytes for accountTicketId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountTicketIdBytes() { + public com.google.protobuf.ByteString getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -96,6 +120,7 @@ public java.lang.String getAccountTicketId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountTicketId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountTicketId_); } @@ -132,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other = (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) obj; + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other = + (com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) obj; - if (!getAccountTicketId() - .equals(other.getAccountTicketId())) return false; + if (!getAccountTicketId().equals(other.getAccountTicketId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +184,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( 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.ProvisionAccountTicketResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse 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.ProvisionAccountTicketResponse + 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.ProvisionAccountTicketResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ProvisionAccountTicketResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +325,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance(); } @@ -313,13 +347,17 @@ public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse build() @java.lang.Override public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse buildPartial() { - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result = + new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accountTicketId_ = accountTicketId_; @@ -330,46 +368,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ProvisionAccountTi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ProvisionAccountTicketResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other) { - if (other == com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance()) + return this; if (!other.getAccountTicketId().isEmpty()) { accountTicketId_ = other.accountTicketId_; bitField0_ |= 0x00000001; @@ -401,17 +443,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - accountTicketId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + accountTicketId_ = 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) { @@ -421,22 +465,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object accountTicketId_ = ""; /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @return The accountTicketId. */ public java.lang.String getAccountTicketId() { java.lang.Object ref = accountTicketId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; @@ -445,20 +492,21 @@ public java.lang.String getAccountTicketId() { } } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @return The bytes for accountTicketId. */ - public com.google.protobuf.ByteString - getAccountTicketIdBytes() { + public com.google.protobuf.ByteString getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -466,28 +514,35 @@ public java.lang.String getAccountTicketId() { } } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @param value The accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountTicketId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @return This builder for chaining. */ public Builder clearAccountTicketId() { @@ -497,26 +552,30 @@ public Builder clearAccountTicketId() { return this; } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @param value The bytes for accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountTicketIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +585,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) - private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse(); } - public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketResponse 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; @@ -572,9 +633,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java new file mode 100644 index 000000000000..cb7fb24b6584 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface ProvisionAccountTicketResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * + * @return The accountTicketId. + */ + java.lang.String getAccountTicketId(); + /** + * + * + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * + * @return The bytes for accountTicketId. + */ + com.google.protobuf.ByteString getAccountTicketIdBytes(); +} 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 new file mode 100644 index 000000000000..c8ea1ba73d4a --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java @@ -0,0 +1,871 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 final class ResourcesProto { + private ResourcesProto() {} + + 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_Account_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_Property_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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 + internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + 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; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/analytics/admin/v1alpha/resourc" + + "es.proto\022\036google.analytics.admin.v1alpha" + + "\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(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1alpha_Account_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_Account_descriptor, + new java.lang.String[] { + "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", + }); + internal_static_google_analytics_admin_v1alpha_Property_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_Property_descriptor, + new java.lang.String[] { + "Name", + "PropertyType", + "CreateTime", + "UpdateTime", + "Parent", + "DisplayName", + "IndustryCategory", + "TimeZone", + "CurrencyCode", + "ServiceLevel", + "DeleteTime", + "ExpireTime", + "Account", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor, + new java.lang.String[] { + "WebStreamData", + "AndroidAppStreamData", + "IosAppStreamData", + "Name", + "Type", + "DisplayName", + "CreateTime", + "UpdateTime", + "StreamData", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor, + new java.lang.String[] { + "MeasurementId", "FirebaseAppId", "DefaultUri", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor, + new java.lang.String[] { + "FirebaseAppId", "PackageName", + }); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor = + internal_static_google_analytics_admin_v1alpha_DataStream_descriptor + .getNestedTypes() + .get(2); + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor, + new java.lang.String[] { + "FirebaseAppId", "BundleId", + }); + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, + new java.lang.String[] { + "Name", "EmailAddress", "DirectRoles", + }); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, + new java.lang.String[] { + "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", + }); + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor, + new java.lang.String[] { + "Name", "Project", "CreateTime", + }); + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor, + new java.lang.String[] { + "Name", "Snippet", + }); + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor, + new java.lang.String[] { + "Name", + "CustomerId", + "CanManageClients", + "AdsPersonalizationEnabled", + "CreateTime", + "UpdateTime", + "CreatorEmailAddress", + }); + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor, + new java.lang.String[] { + "Name", + "SharingWithGoogleSupportEnabled", + "SharingWithGoogleAssignedSalesEnabled", + "SharingWithGoogleAnySalesEnabled", + "SharingWithGoogleProductsEnabled", + "SharingWithOthersEnabled", + }); + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor, + new java.lang.String[] { + "Name", "Account", "DisplayName", "PropertySummaries", + }); + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor, + new java.lang.String[] { + "Property", "DisplayName", "PropertyType", "Parent", + }); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "SecretValue", + }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor, + new java.lang.String[] { + "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", + }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor, + new java.lang.String[] { + "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", + }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor = + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor, + new java.lang.String[] { + "Account", + "Property", + "FirebaseLink", + "GoogleAdsLink", + "GoogleSignalsSettings", + "DisplayVideo360AdvertiserLink", + "DisplayVideo360AdvertiserLinkProposal", + "ConversionEvent", + "MeasurementProtocolSecret", + "CustomDimension", + "CustomMetric", + "DataRetentionSettings", + "SearchAds360Link", + "DataStream", + "AttributionSettings", + "ExpandedDataSet", + "BigqueryLink", + "Resource", + }); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor, + new java.lang.String[] { + "Name", + "AdvertiserId", + "AdvertiserDisplayName", + "AdsPersonalizationEnabled", + "CampaignDataSharingEnabled", + "CostDataSharingEnabled", + }); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, + new java.lang.String[] { + "Name", + "AdvertiserId", + "LinkProposalStatusDetails", + "AdvertiserDisplayName", + "ValidationEmail", + "AdsPersonalizationEnabled", + "CampaignDataSharingEnabled", + "CostDataSharingEnabled", + }); + 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, + new java.lang.String[] { + "LinkProposalInitiatingProduct", "RequestorEmail", "LinkProposalState", + }); + internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor = + 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, + new java.lang.String[] { + "Name", "EventName", "CreateTime", "Deletable", "Custom", + }); + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor = + 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, + new java.lang.String[] { + "Name", "State", "Consent", + }); + internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor = + 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, + new java.lang.String[] { + "Name", + "ParameterName", + "DisplayName", + "Description", + "Scope", + "DisallowAdsPersonalization", + }); + internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor = + 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, + new java.lang.String[] { + "Name", + "ParameterName", + "DisplayName", + "Description", + "MeasurementUnit", + "Scope", + "RestrictedMetricType", + }); + internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor = + 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, + new java.lang.String[] { + "Name", "EventDataRetention", "ResetUserDataOnNewActivity", + }); + internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor = + 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, + new java.lang.String[] { + "Name", + "AcquisitionConversionEventLookbackWindow", + "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); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java similarity index 80% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java index 9bf1539e4687..e75003411c73 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The request for a Data Access Record Report.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportRequest} */ -public final class RunAccessReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunAccessReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.RunAccessReportRequest) RunAccessReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunAccessReportRequest.newBuilder() to construct. private RunAccessReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunAccessReportRequest() { entity_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -30,33 +48,37 @@ private RunAccessReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAccessReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_RunAccessReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, + com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** + * + * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -64,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string entity = 1; + * * @return The entity. */ @java.lang.Override @@ -72,14 +95,15 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** + * + * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -87,16 +111,15 @@ public java.lang.String getEntity() {
    * 
* * string entity = 1; + * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -105,9 +128,12 @@ public java.lang.String getEntity() { } public static final int DIMENSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List dimensions_; /** + * + * *
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -120,6 +146,8 @@ public java.util.List getDim
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -128,11 +156,13 @@ public java.util.List getDim
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionsOrBuilderList() {
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -145,6 +175,8 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -157,6 +189,8 @@ public com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int inde
     return dimensions_.get(index);
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -171,9 +205,12 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
   }
 
   public static final int METRICS_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private java.util.List metrics_;
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -186,6 +223,8 @@ public java.util.List getMetric
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -194,11 +233,13 @@ public java.util.List getMetric
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -211,6 +252,8 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -223,6 +266,8 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -231,15 +276,17 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
-      int index) {
+  public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index) {
     return metrics_.get(index);
   }
 
   public static final int DATE_RANGES_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private java.util.List dateRanges_;
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -255,6 +302,8 @@ public java.util.List getDat
     return dateRanges_;
   }
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -266,11 +315,13 @@ public java.util.List getDat
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDateRangesOrBuilderList() {
     return dateRanges_;
   }
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -286,6 +337,8 @@ public int getDateRangesCount() {
     return dateRanges_.size();
   }
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -301,6 +354,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int inde
     return dateRanges_.get(index);
   }
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -320,6 +375,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.admin.v1alpha.AccessFilterExpression dimensionFilter_;
   /**
+   *
+   *
    * 
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -329,6 +386,7 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -336,6 +394,8 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** + * + * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -345,13 +405,18 @@ public boolean hasDimensionFilter() {
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter() { - return dimensionFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() + : dimensionFilter_; } /** + * + * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -363,13 +428,18 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFil
    * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder() {
-    return dimensionFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_;
+  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+      getDimensionFilterOrBuilder() {
+    return dimensionFilter_ == null
+        ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+        : dimensionFilter_;
   }
 
   public static final int METRIC_FILTER_FIELD_NUMBER = 6;
   private com.google.analytics.admin.v1alpha.AccessFilterExpression metricFilter_;
   /**
+   *
+   *
    * 
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -378,6 +448,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDim
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -385,6 +456,8 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** + * + * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -393,13 +466,18 @@ public boolean hasMetricFilter() {
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter() { - return metricFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() + : metricFilter_; } /** + * + * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -410,13 +488,18 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter
    * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder() {
-    return metricFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_;
+  public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+      getMetricFilterOrBuilder() {
+    return metricFilter_ == null
+        ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+        : metricFilter_;
   }
 
   public static final int OFFSET_FIELD_NUMBER = 7;
   private long offset_ = 0L;
   /**
+   *
+   *
    * 
    * The row count of the start row. The first row is counted as row 0. If
    * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -426,6 +509,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMet
    * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -436,6 +520,8 @@ public long getOffset() { public static final int LIMIT_FIELD_NUMBER = 8; private long limit_ = 0L; /** + * + * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -450,6 +536,7 @@ public long getOffset() {
    * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -458,9 +545,12 @@ public long getLimit() { } public static final int TIME_ZONE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object timeZone_ = ""; /** + * + * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -471,6 +561,7 @@ public long getLimit() {
    * 
* * string time_zone = 9; + * * @return The timeZone. */ @java.lang.Override @@ -479,14 +570,15 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** + * + * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -497,16 +589,15 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 9; + * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -515,9 +606,12 @@ public java.lang.String getTimeZone() { } public static final int ORDER_BYS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private java.util.List orderBys_; /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -529,6 +623,8 @@ public java.util.List getOrder return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -536,11 +632,13 @@ public java.util.List getOrder * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ @java.lang.Override - public java.util.List + public java.util.List getOrderBysOrBuilderList() { return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -552,6 +650,8 @@ public int getOrderBysCount() { return orderBys_.size(); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -563,6 +663,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) { return orderBys_.get(index); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -570,20 +672,22 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) { * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(int index) { return orderBys_.get(index); } public static final int RETURN_ENTITY_QUOTA_FIELD_NUMBER = 11; private boolean returnEntityQuota_ = false; /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [AccessQuota](#AccessQuota).
    * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ @java.lang.Override @@ -592,6 +696,7 @@ public boolean getReturnEntityQuota() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -603,8 +708,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } @@ -651,43 +755,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, dateRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i)); } if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDimensionFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDimensionFilter()); } if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMetricFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetricFilter()); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, offset_); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, limit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, timeZone_); } for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, orderBys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, orderBys_.get(i)); } if (returnEntityQuota_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, returnEntityQuota_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, returnEntityQuota_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -697,41 +792,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.RunAccessReportRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.RunAccessReportRequest other = (com.google.analytics.admin.v1alpha.RunAccessReportRequest) obj; + com.google.analytics.admin.v1alpha.RunAccessReportRequest other = + (com.google.analytics.admin.v1alpha.RunAccessReportRequest) obj; - if (!getEntity() - .equals(other.getEntity())) return false; - if (!getDimensionsList() - .equals(other.getDimensionsList())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; - if (!getDateRangesList() - .equals(other.getDateRangesList())) return false; + if (!getEntity().equals(other.getEntity())) return false; + if (!getDimensionsList().equals(other.getDimensionsList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getDateRangesList().equals(other.getDateRangesList())) return false; if (hasDimensionFilter() != other.hasDimensionFilter()) return false; if (hasDimensionFilter()) { - if (!getDimensionFilter() - .equals(other.getDimensionFilter())) return false; + if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; } if (hasMetricFilter() != other.hasMetricFilter()) return false; if (hasMetricFilter()) { - if (!getMetricFilter() - .equals(other.getMetricFilter())) return false; - } - if (getOffset() - != other.getOffset()) return false; - if (getLimit() - != other.getLimit()) return false; - if (!getTimeZone() - .equals(other.getTimeZone())) return false; - if (!getOrderBysList() - .equals(other.getOrderBysList())) return false; - if (getReturnEntityQuota() - != other.getReturnEntityQuota()) return false; + if (!getMetricFilter().equals(other.getMetricFilter())) return false; + } + if (getOffset() != other.getOffset()) return false; + if (getLimit() != other.getLimit()) return false; + if (!getTimeZone().equals(other.getTimeZone())) return false; + if (!getOrderBysList().equals(other.getOrderBysList())) return false; + if (getReturnEntityQuota() != other.getReturnEntityQuota()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -766,11 +851,9 @@ public int hashCode() { hash = (53 * hash) + getMetricFilter().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); hash = (37 * hash) + TIME_ZONE_FIELD_NUMBER; hash = (53 * hash) + getTimeZone().hashCode(); if (getOrderBysCount() > 0) { @@ -778,137 +861,143 @@ public int hashCode() { hash = (53 * hash) + getOrderBysList().hashCode(); } hash = (37 * hash) + RETURN_ENTITY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReturnEntityQuota()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnEntityQuota()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.RunAccessReportRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.RunAccessReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for a Data Access Record Report.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.RunAccessReportRequest) com.google.analytics.admin.v1alpha.RunAccessReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, + com.google.analytics.admin.v1alpha.RunAccessReportRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.RunAccessReportRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -960,9 +1049,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor; } @java.lang.Override @@ -981,14 +1070,18 @@ public com.google.analytics.admin.v1alpha.RunAccessReportRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.RunAccessReportRequest buildPartial() { - com.google.analytics.admin.v1alpha.RunAccessReportRequest result = new com.google.analytics.admin.v1alpha.RunAccessReportRequest(this); + com.google.analytics.admin.v1alpha.RunAccessReportRequest result = + new com.google.analytics.admin.v1alpha.RunAccessReportRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.RunAccessReportRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.RunAccessReportRequest result) { if (dimensionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -1033,14 +1126,12 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportReq result.entity_ = entity_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.dimensionFilter_ = dimensionFilterBuilder_ == null - ? dimensionFilter_ - : dimensionFilterBuilder_.build(); + result.dimensionFilter_ = + dimensionFilterBuilder_ == null ? dimensionFilter_ : dimensionFilterBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.metricFilter_ = metricFilterBuilder_ == null - ? metricFilter_ - : metricFilterBuilder_.build(); + result.metricFilter_ = + metricFilterBuilder_ == null ? metricFilter_ : metricFilterBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.offset_ = offset_; @@ -1060,38 +1151,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.RunAccessReportRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportRequest) other); } else { super.mergeFrom(other); return this; @@ -1099,7 +1191,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRequest other) { - if (other == com.google.analytics.admin.v1alpha.RunAccessReportRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.RunAccessReportRequest.getDefaultInstance()) + return this; if (!other.getEntity().isEmpty()) { entity_ = other.entity_; bitField0_ |= 0x00000001; @@ -1123,9 +1216,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000002); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionsFieldBuilder() : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionsFieldBuilder() + : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1149,9 +1243,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000004); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricsFieldBuilder() : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() + : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1175,9 +1270,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque dateRangesBuilder_ = null; dateRanges_ = other.dateRanges_; bitField0_ = (bitField0_ & ~0x00000008); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDateRangesFieldBuilder() : null; + dateRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDateRangesFieldBuilder() + : null; } else { dateRangesBuilder_.addAllMessages(other.dateRanges_); } @@ -1218,9 +1314,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportReque orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000200); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOrderBysFieldBuilder() : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderBysFieldBuilder() + : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -1255,103 +1352,111 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1alpha.AccessDimension m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDimension.parser(), - extensionRegistry); - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(m); - } else { - dimensionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.analytics.admin.v1alpha.AccessMetric m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessMetric.parser(), - extensionRegistry); - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(m); - } else { - metricsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - com.google.analytics.admin.v1alpha.AccessDateRange m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDateRange.parser(), - extensionRegistry); - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.add(m); - } else { - dateRangesBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - input.readMessage( - getDimensionFilterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getMetricFilterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - offset_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - limit_ = input.readInt64(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 74: { - timeZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - com.google.analytics.admin.v1alpha.AccessOrderBy m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessOrderBy.parser(), - extensionRegistry); - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(m); - } else { - orderBysBuilder_.addMessage(m); - } - break; - } // case 82 - case 88: { - returnEntityQuota_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + entity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1alpha.AccessDimension m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDimension.parser(), + extensionRegistry); + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.add(m); + } else { + dimensionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.analytics.admin.v1alpha.AccessMetric m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessMetric.parser(), + extensionRegistry); + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(m); + } else { + metricsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + com.google.analytics.admin.v1alpha.AccessDateRange m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDateRange.parser(), + extensionRegistry); + if (dateRangesBuilder_ == null) { + ensureDateRangesIsMutable(); + dateRanges_.add(m); + } else { + dateRangesBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + input.readMessage(getDimensionFilterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getMetricFilterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + offset_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: + { + limit_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: + { + timeZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + com.google.analytics.admin.v1alpha.AccessOrderBy m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessOrderBy.parser(), + extensionRegistry); + if (orderBysBuilder_ == null) { + ensureOrderBysIsMutable(); + orderBys_.add(m); + } else { + orderBysBuilder_.addMessage(m); + } + break; + } // case 82 + case 88: + { + returnEntityQuota_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + 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) { @@ -1361,10 +1466,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object entity_ = ""; /** + * + * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1372,13 +1480,13 @@ public Builder mergeFrom(
      * 
* * string entity = 1; + * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -1387,6 +1495,8 @@ public java.lang.String getEntity() { } } /** + * + * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1394,15 +1504,14 @@ public java.lang.String getEntity() {
      * 
* * string entity = 1; + * * @return The bytes for entity. */ - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -1410,6 +1519,8 @@ public java.lang.String getEntity() { } } /** + * + * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1417,18 +1528,22 @@ public java.lang.String getEntity() {
      * 
* * string entity = 1; + * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1436,6 +1551,7 @@ public Builder setEntity(
      * 
* * string entity = 1; + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1445,6 +1561,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * The Data Access Report is requested for this property.
      * For example if "123" is your GA4 property ID, then entity should be
@@ -1452,12 +1570,14 @@ public Builder clearEntity() {
      * 
* * string entity = 1; + * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000001; @@ -1466,18 +1586,26 @@ public Builder setEntityBytes( } private java.util.List dimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dimensions_ = new java.util.ArrayList(dimensions_); + dimensions_ = + new java.util.ArrayList( + dimensions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimension, com.google.analytics.admin.v1alpha.AccessDimension.Builder, com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder> dimensionsBuilder_; + com.google.analytics.admin.v1alpha.AccessDimension, + com.google.analytics.admin.v1alpha.AccessDimension.Builder, + com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder> + dimensionsBuilder_; /** + * + * *
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1493,6 +1621,8 @@ public java.util.List getDim
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1508,6 +1638,8 @@ public int getDimensionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1523,6 +1655,8 @@ public com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int inde
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1545,6 +1679,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1564,6 +1700,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1585,6 +1723,8 @@ public Builder addDimensions(com.google.analytics.admin.v1alpha.AccessDimension
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1607,6 +1747,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1626,6 +1768,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1645,6 +1789,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1656,8 +1802,7 @@ public Builder addAllDimensions(
         java.lang.Iterable values) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
         onChanged();
       } else {
         dimensionsBuilder_.addAllMessages(values);
@@ -1665,6 +1810,8 @@ public Builder addAllDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1683,6 +1830,8 @@ public Builder clearDimensions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1701,6 +1850,8 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1713,6 +1864,8 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder getDimensionsB
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1723,11 +1876,14 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder getDimensionsB
     public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(
         int index) {
       if (dimensionsBuilder_ == null) {
-        return dimensions_.get(index);  } else {
+        return dimensions_.get(index);
+      } else {
         return dimensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1735,8 +1891,8 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
      *
      * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsOrBuilderList() {
+    public java.util.List
+        getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1744,6 +1900,8 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1752,10 +1910,12 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
      * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
      */
     public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1765,10 +1925,13 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsB
      */
     public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsBuilder(
         int index) {
-      return getDimensionsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1776,38 +1939,48 @@ public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsB
      *
      * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsBuilderList() {
+    public java.util.List
+        getDimensionsBuilderList() {
       return getDimensionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessDimension, com.google.analytics.admin.v1alpha.AccessDimension.Builder, com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessDimension,
+            com.google.analytics.admin.v1alpha.AccessDimension.Builder,
+            com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessDimension, com.google.analytics.admin.v1alpha.AccessDimension.Builder, com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>(
-                dimensions_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        dimensionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessDimension,
+                com.google.analytics.admin.v1alpha.AccessDimension.Builder,
+                com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>(
+                dimensions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         dimensions_ = null;
       }
       return dimensionsBuilder_;
     }
 
     private java.util.List metrics_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMetricsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        metrics_ = new java.util.ArrayList(metrics_);
+        metrics_ =
+            new java.util.ArrayList(metrics_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessMetric, com.google.analytics.admin.v1alpha.AccessMetric.Builder, com.google.analytics.admin.v1alpha.AccessMetricOrBuilder> metricsBuilder_;
+            com.google.analytics.admin.v1alpha.AccessMetric,
+            com.google.analytics.admin.v1alpha.AccessMetric.Builder,
+            com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>
+        metricsBuilder_;
 
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1823,6 +1996,8 @@ public java.util.List getMetric
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1838,6 +2013,8 @@ public int getMetricsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1853,6 +2030,8 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1860,8 +2039,7 @@ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public Builder setMetrics(
-        int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
+    public Builder setMetrics(int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1875,6 +2053,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1894,6 +2074,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1915,6 +2097,8 @@ public Builder addMetrics(com.google.analytics.admin.v1alpha.AccessMetric value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1922,8 +2106,7 @@ public Builder addMetrics(com.google.analytics.admin.v1alpha.AccessMetric value)
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public Builder addMetrics(
-        int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
+    public Builder addMetrics(int index, com.google.analytics.admin.v1alpha.AccessMetric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1937,6 +2120,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1956,6 +2141,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1975,6 +2162,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1986,8 +2175,7 @@ public Builder addAllMetrics(
         java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -1995,6 +2183,8 @@ public Builder addAllMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2013,6 +2203,8 @@ public Builder clearMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2031,6 +2223,8 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2038,11 +2232,12 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1alpha.AccessMetric.Builder getMetricsBuilder(
-        int index) {
+    public com.google.analytics.admin.v1alpha.AccessMetric.Builder getMetricsBuilder(int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2050,14 +2245,16 @@ public com.google.analytics.admin.v1alpha.AccessMetric.Builder getMetricsBuilder
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
-        int index) {
+    public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);  } else {
+        return metrics_.get(index);
+      } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2065,8 +2262,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuil
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public java.util.List 
-         getMetricsOrBuilderList() {
+    public java.util.List
+        getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2074,6 +2271,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2082,10 +2281,12 @@ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuil
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
     public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
+      return getMetricsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2093,12 +2294,13 @@ public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder(
-        int index) {
-      return getMetricsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
+    public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder(int index) {
+      return getMetricsFieldBuilder()
+          .addBuilder(index, com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2106,38 +2308,49 @@ public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
      */
-    public java.util.List 
-         getMetricsBuilderList() {
+    public java.util.List
+        getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessMetric, com.google.analytics.admin.v1alpha.AccessMetric.Builder, com.google.analytics.admin.v1alpha.AccessMetricOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessMetric,
+            com.google.analytics.admin.v1alpha.AccessMetric.Builder,
+            com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessMetric, com.google.analytics.admin.v1alpha.AccessMetric.Builder, com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>(
-                metrics_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        metricsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessMetric,
+                com.google.analytics.admin.v1alpha.AccessMetric.Builder,
+                com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>(
+                metrics_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List dateRanges_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureDateRangesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        dateRanges_ = new java.util.ArrayList(dateRanges_);
+        dateRanges_ =
+            new java.util.ArrayList(
+                dateRanges_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessDateRange, com.google.analytics.admin.v1alpha.AccessDateRange.Builder, com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder> dateRangesBuilder_;
+            com.google.analytics.admin.v1alpha.AccessDateRange,
+            com.google.analytics.admin.v1alpha.AccessDateRange.Builder,
+            com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>
+        dateRangesBuilder_;
 
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2156,6 +2369,8 @@ public java.util.List getDat
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2174,6 +2389,8 @@ public int getDateRangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2192,6 +2409,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int inde
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2217,6 +2436,8 @@ public Builder setDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2239,6 +2460,8 @@ public Builder setDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2263,6 +2486,8 @@ public Builder addDateRanges(com.google.analytics.admin.v1alpha.AccessDateRange
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2288,6 +2513,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2310,6 +2537,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2332,6 +2561,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2346,8 +2577,7 @@ public Builder addAllDateRanges(
         java.lang.Iterable values) {
       if (dateRangesBuilder_ == null) {
         ensureDateRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dateRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_);
         onChanged();
       } else {
         dateRangesBuilder_.addAllMessages(values);
@@ -2355,6 +2585,8 @@ public Builder addAllDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2376,6 +2608,8 @@ public Builder clearDateRanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2397,6 +2631,8 @@ public Builder removeDateRanges(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2412,6 +2648,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder getDateRangesB
       return getDateRangesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2425,11 +2663,14 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder getDateRangesB
     public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(
         int index) {
       if (dateRangesBuilder_ == null) {
-        return dateRanges_.get(index);  } else {
+        return dateRanges_.get(index);
+      } else {
         return dateRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2440,8 +2681,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
      *
      * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
      */
-    public java.util.List 
-         getDateRangesOrBuilderList() {
+    public java.util.List
+        getDateRangesOrBuilderList() {
       if (dateRangesBuilder_ != null) {
         return dateRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2449,6 +2690,8 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2460,10 +2703,12 @@ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRanges
      * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
      */
     public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesBuilder() {
-      return getDateRangesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2476,10 +2721,13 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
      */
     public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesBuilder(
         int index) {
-      return getDateRangesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Date ranges of access records to read. If multiple date ranges are
      * requested, each response row will contain a zero based date range index. If
@@ -2490,20 +2738,23 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
      *
      * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
      */
-    public java.util.List 
-         getDateRangesBuilderList() {
+    public java.util.List
+        getDateRangesBuilderList() {
       return getDateRangesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessDateRange, com.google.analytics.admin.v1alpha.AccessDateRange.Builder, com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessDateRange,
+            com.google.analytics.admin.v1alpha.AccessDateRange.Builder,
+            com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>
         getDateRangesFieldBuilder() {
       if (dateRangesBuilder_ == null) {
-        dateRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessDateRange, com.google.analytics.admin.v1alpha.AccessDateRange.Builder, com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>(
-                dateRanges_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        dateRangesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessDateRange,
+                com.google.analytics.admin.v1alpha.AccessDateRange.Builder,
+                com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>(
+                dateRanges_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         dateRanges_ = null;
       }
       return dateRangesBuilder_;
@@ -2511,8 +2762,13 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
 
     private com.google.analytics.admin.v1alpha.AccessFilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> dimensionFilterBuilder_;
+            com.google.analytics.admin.v1alpha.AccessFilterExpression,
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+        dimensionFilterBuilder_;
     /**
+     *
+     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2522,12 +2778,15 @@ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesB
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2537,16 +2796,21 @@ public boolean hasDimensionFilter() {
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() + : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** + * + * *
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2557,7 +2821,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFil
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public Builder setDimensionFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder setDimensionFilter(
+        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (dimensionFilterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2571,6 +2836,8 @@ public Builder setDimensionFilter(com.google.analytics.admin.v1alpha.AccessFilte
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2593,6 +2860,8 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2603,11 +2872,13 @@ public Builder setDimensionFilter(
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public Builder mergeDimensionFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder mergeDimensionFilter(
+        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (dimensionFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          dimensionFilter_ != null &&
-          dimensionFilter_ != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && dimensionFilter_ != null
+            && dimensionFilter_
+                != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
           getDimensionFilterBuilder().mergeFrom(value);
         } else {
           dimensionFilter_ = value;
@@ -2620,6 +2891,8 @@ public Builder mergeDimensionFilter(com.google.analytics.admin.v1alpha.AccessFil
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2641,6 +2914,8 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2651,12 +2926,15 @@ public Builder clearDimensionFilter() {
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getDimensionFilterBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
+        getDimensionFilterBuilder() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2667,15 +2945,19 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getDime
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+        getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null ?
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : dimensionFilter_;
+        return dimensionFilter_ == null
+            ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+            : dimensionFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2687,14 +2969,17 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDim
      * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessFilterExpression,
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
-                getDimensionFilter(),
-                getParentForChildren(),
-                isClean());
+        dimensionFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessFilterExpression,
+                com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+                com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
+                getDimensionFilter(), getParentForChildren(), isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -2702,8 +2987,13 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDim
 
     private com.google.analytics.admin.v1alpha.AccessFilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> metricFilterBuilder_;
+            com.google.analytics.admin.v1alpha.AccessFilterExpression,
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+        metricFilterBuilder_;
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2712,12 +3002,15 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDim
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2726,16 +3019,21 @@ public boolean hasMetricFilter() {
      * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * * @return The metricFilter. */ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() + : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** + * + * *
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2745,7 +3043,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public Builder setMetricFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder setMetricFilter(
+        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (metricFilterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2759,6 +3058,8 @@ public Builder setMetricFilter(com.google.analytics.admin.v1alpha.AccessFilterEx
       return this;
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2780,6 +3081,8 @@ public Builder setMetricFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2789,11 +3092,13 @@ public Builder setMetricFilter(
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public Builder mergeMetricFilter(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+    public Builder mergeMetricFilter(
+        com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
       if (metricFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          metricFilter_ != null &&
-          metricFilter_ != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && metricFilter_ != null
+            && metricFilter_
+                != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
           getMetricFilterBuilder().mergeFrom(value);
         } else {
           metricFilter_ = value;
@@ -2806,6 +3111,8 @@ public Builder mergeMetricFilter(com.google.analytics.admin.v1alpha.AccessFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2826,6 +3133,8 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2835,12 +3144,15 @@ public Builder clearMetricFilter() {
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getMetricFilterBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
+        getMetricFilterBuilder() {
       bitField0_ |= 0x00000020;
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2850,15 +3162,19 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getMetr
      *
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
-    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder() {
+    public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+        getMetricFilterOrBuilder() {
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null ?
-            com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance() : metricFilter_;
+        return metricFilter_ == null
+            ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+            : metricFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2869,21 +3185,26 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMet
      * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessFilterExpression,
+            com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessFilterExpression, com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder, com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
-                getMetricFilter(),
-                getParentForChildren(),
-                isClean());
+        metricFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessFilterExpression,
+                com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+                com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
+                getMetricFilter(), getParentForChildren(), isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
     }
 
-    private long offset_ ;
+    private long offset_;
     /**
+     *
+     *
      * 
      * The row count of the start row. The first row is counted as row 0. If
      * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -2893,6 +3214,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMet
      * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -2900,6 +3222,8 @@ public long getOffset() { return offset_; } /** + * + * *
      * The row count of the start row. The first row is counted as row 0. If
      * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -2909,17 +3233,20 @@ public long getOffset() {
      * 
* * int64 offset = 7; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The row count of the start row. The first row is counted as row 0. If
      * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -2929,6 +3256,7 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 7; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -2938,8 +3266,10 @@ public Builder clearOffset() { return this; } - private long limit_ ; + private long limit_; /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2954,6 +3284,7 @@ public Builder clearOffset() {
      * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -2961,6 +3292,8 @@ public long getLimit() { return limit_; } /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2975,17 +3308,20 @@ public long getLimit() {
      * 
* * int64 limit = 8; + * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3000,6 +3336,7 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; + * * @return This builder for chaining. */ public Builder clearLimit() { @@ -3011,6 +3348,8 @@ public Builder clearLimit() { private java.lang.Object timeZone_ = ""; /** + * + * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3021,13 +3360,13 @@ public Builder clearLimit() {
      * 
* * string time_zone = 9; + * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -3036,6 +3375,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3046,15 +3387,14 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 9; + * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -3062,6 +3402,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3072,18 +3414,22 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 9; + * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTimeZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } timeZone_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3094,6 +3440,7 @@ public Builder setTimeZone(
      * 
* * string time_zone = 9; + * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -3103,6 +3450,8 @@ public Builder clearTimeZone() { return this; } /** + * + * *
      * This request's time zone if specified. If unspecified, the property's time
      * zone is used. The request's time zone is used to interpret the start & end
@@ -3113,12 +3462,14 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 9; + * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); timeZone_ = value; bitField0_ |= 0x00000100; @@ -3127,18 +3478,25 @@ public Builder setTimeZoneBytes( } private java.util.List orderBys_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { - orderBys_ = new java.util.ArrayList(orderBys_); + orderBys_ = + new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> orderBysBuilder_; + com.google.analytics.admin.v1alpha.AccessOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> + orderBysBuilder_; /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3153,6 +3511,8 @@ public java.util.List getOrder } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3167,6 +3527,8 @@ public int getOrderBysCount() { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3181,14 +3543,15 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public Builder setOrderBys( - int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { + public Builder setOrderBys(int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3202,6 +3565,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3220,6 +3585,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3240,14 +3607,15 @@ public Builder addOrderBys(com.google.analytics.admin.v1alpha.AccessOrderBy valu return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public Builder addOrderBys( - int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { + public Builder addOrderBys(int index, com.google.analytics.admin.v1alpha.AccessOrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3261,6 +3629,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3279,6 +3649,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3297,6 +3669,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3307,8 +3681,7 @@ public Builder addAllOrderBys( java.lang.Iterable values) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, orderBys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); onChanged(); } else { orderBysBuilder_.addAllMessages(values); @@ -3316,6 +3689,8 @@ public Builder addAllOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3333,6 +3708,8 @@ public Builder clearOrderBys() { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3350,17 +3727,20 @@ public Builder removeOrderBys(int index) { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder getOrderBysBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder getOrderBysBuilder(int index) { return getOrderBysFieldBuilder().getBuilder(index); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3370,19 +3750,22 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder getOrderBysBuild public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder( int index) { if (orderBysBuilder_ == null) { - return orderBys_.get(index); } else { + return orderBys_.get(index); + } else { return orderBysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public java.util.List - getOrderBysOrBuilderList() { + public java.util.List + getOrderBysOrBuilderList() { if (orderBysBuilder_ != null) { return orderBysBuilder_.getMessageOrBuilderList(); } else { @@ -3390,6 +3773,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBu } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3397,55 +3782,64 @@ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBu * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); + return getOrderBysFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder( - int index) { - return getOrderBysFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder(int index) { + return getOrderBysFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - public java.util.List - getOrderBysBuilderList() { + public java.util.List + getOrderBysBuilderList() { return getOrderBysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> + com.google.analytics.admin.v1alpha.AccessOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder> getOrderBysFieldBuilder() { if (orderBysBuilder_ == null) { - orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessOrderBy, com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder>( - orderBys_, - ((bitField0_ & 0x00000200) != 0), - getParentForChildren(), - isClean()); + orderBysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessOrderBy, + com.google.analytics.admin.v1alpha.AccessOrderBy.Builder, + com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder>( + orderBys_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); orderBys_ = null; } return orderBysBuilder_; } - private boolean returnEntityQuota_ ; + private boolean returnEntityQuota_; /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota).
      * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ @java.lang.Override @@ -3453,29 +3847,35 @@ public boolean getReturnEntityQuota() { return returnEntityQuota_; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota).
      * 
* * bool return_entity_quota = 11; + * * @param value The returnEntityQuota to set. * @return This builder for chaining. */ public Builder setReturnEntityQuota(boolean value) { - + returnEntityQuota_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota).
      * 
* * bool return_entity_quota = 11; + * * @return This builder for chaining. */ public Builder clearReturnEntityQuota() { @@ -3484,9 +3884,9 @@ public Builder clearReturnEntityQuota() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3496,12 +3896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.RunAccessReportRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.RunAccessReportRequest) private static final com.google.analytics.admin.v1alpha.RunAccessReportRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.RunAccessReportRequest(); } @@ -3510,27 +3910,27 @@ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunAccessReportRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunAccessReportRequest 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; @@ -3545,6 +3945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.RunAccessReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java similarity index 90% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java index 02a54f470f96..a5181e0abd9b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface RunAccessReportRequestOrBuilder extends +public interface RunAccessReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.RunAccessReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -15,10 +33,13 @@ public interface RunAccessReportRequestOrBuilder extends
    * 
* * string entity = 1; + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
    * The Data Access Report is requested for this property.
    * For example if "123" is your GA4 property ID, then entity should be
@@ -26,12 +47,14 @@ public interface RunAccessReportRequestOrBuilder extends
    * 
* * string entity = 1; + * * @return The bytes for entity. */ - com.google.protobuf.ByteString - getEntityBytes(); + com.google.protobuf.ByteString getEntityBytes(); /** + * + * *
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -39,9 +62,10 @@ public interface RunAccessReportRequestOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
-  java.util.List 
-      getDimensionsList();
+  java.util.List getDimensionsList();
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -51,6 +75,8 @@ public interface RunAccessReportRequestOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int index);
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -60,6 +86,8 @@ public interface RunAccessReportRequestOrBuilder extends
    */
   int getDimensionsCount();
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -67,9 +95,11 @@ public interface RunAccessReportRequestOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
-  java.util.List 
+  java.util.List
       getDimensionsOrBuilderList();
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -77,10 +107,11 @@ public interface RunAccessReportRequestOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
    */
-  com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -88,9 +119,10 @@ com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuild
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
-  java.util.List 
-      getMetricsList();
+  java.util.List getMetricsList();
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -100,6 +132,8 @@ com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuild
    */
   com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index);
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -109,6 +143,8 @@ com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuild
    */
   int getMetricsCount();
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -116,9 +152,11 @@ com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuild
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
-  java.util.List 
+  java.util.List
       getMetricsOrBuilderList();
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -126,10 +164,11 @@ com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuild
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
    */
-  com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -140,9 +179,10 @@ com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
-  java.util.List 
-      getDateRangesList();
+  java.util.List getDateRangesList();
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -155,6 +195,8 @@ com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
    */
   com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int index);
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -167,6 +209,8 @@ com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
    */
   int getDateRangesCount();
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -177,9 +221,11 @@ com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
-  java.util.List 
+  java.util.List
       getDateRangesOrBuilderList();
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -190,10 +236,11 @@ com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
    */
-  com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -203,10 +250,13 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** + * + * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -216,10 +266,13 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter(); /** + * + * *
    * Dimension filters allow you to restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -233,6 +286,8 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
   com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -241,10 +296,13 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** + * + * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -253,10 +311,13 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * * @return The metricFilter. */ com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter(); /** + * + * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -269,6 +330,8 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
   com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The row count of the start row. The first row is counted as row 0. If
    * offset is unspecified, it is treated as 0. If offset is zero, then this
@@ -278,11 +341,14 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * int64 offset = 7; + * * @return The offset. */ long getOffset(); /** + * + * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -297,11 +363,14 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * int64 limit = 8; + * * @return The limit. */ long getLimit(); /** + * + * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -312,10 +381,13 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * string time_zone = 9; + * * @return The timeZone. */ java.lang.String getTimeZone(); /** + * + * *
    * This request's time zone if specified. If unspecified, the property's time
    * zone is used. The request's time zone is used to interpret the start & end
@@ -326,21 +398,24 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild
    * 
* * string time_zone = 9; + * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString - getTimeZoneBytes(); + com.google.protobuf.ByteString getTimeZoneBytes(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - java.util.List - getOrderBysList(); + java.util.List getOrderBysList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -349,6 +424,8 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild */ com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -357,31 +434,37 @@ com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuild */ int getOrderBysCount(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - java.util.List + java.util.List getOrderBysOrBuilderList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; */ - com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(int index); /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [AccessQuota](#AccessQuota).
    * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ boolean getReturnEntityQuota(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java similarity index 76% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java index f3dc642fdda2..eff9875f3ca6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The customized Data Access Record Report response.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportResponse} */ -public final class RunAccessReportResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunAccessReportResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.RunAccessReportResponse) RunAccessReportResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunAccessReportResponse.newBuilder() to construct. private RunAccessReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunAccessReportResponse() { dimensionHeaders_ = java.util.Collections.emptyList(); metricHeaders_ = java.util.Collections.emptyList(); @@ -27,104 +45,126 @@ private RunAccessReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAccessReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_RunAccessReportResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, + com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); } public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List dimensionHeaders_; + private java.util.List + dimensionHeaders_; /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ @java.lang.Override - public java.util.List getDimensionHeadersList() { + public java.util.List + getDimensionHeadersList() { return dimensionHeaders_; } /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getDimensionHeadersOrBuilderList() { return dimensionHeaders_; } /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ @java.lang.Override public int getDimensionHeadersCount() { return dimensionHeaders_.size(); } /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHeaders(int index) { return dimensionHeaders_.get(index); } /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder + getDimensionHeadersOrBuilder(int index) { return dimensionHeaders_.get(index); } public static final int METRIC_HEADERS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List metricHeaders_; /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -134,10 +174,13 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDime
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List getMetricHeadersList() {
+  public java.util.List
+      getMetricHeadersList() {
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -147,11 +190,13 @@ public java.util.List get
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -165,6 +210,8 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -178,6 +225,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader getMetricHeaders(in
     return metricHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -193,9 +242,12 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
   }
 
   public static final int ROWS_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private java.util.List rows_;
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -207,6 +259,8 @@ public java.util.List getRowsList( return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -214,11 +268,13 @@ public java.util.List getRowsList( * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -230,6 +286,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -241,6 +299,8 @@ public com.google.analytics.admin.v1alpha.AccessRow getRows(int index) { return rows_.get(index); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -248,14 +308,15 @@ public com.google.analytics.admin.v1alpha.AccessRow getRows(int index) { * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(int index) { return rows_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 4; private int rowCount_ = 0; /** + * + * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -267,6 +328,7 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(
    * 
* * int32 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -277,11 +339,14 @@ public int getRowCount() { public static final int QUOTA_FIELD_NUMBER = 5; private com.google.analytics.admin.v1alpha.AccessQuota quota_; /** + * + * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * * @return Whether the quota field is set. */ @java.lang.Override @@ -289,18 +354,25 @@ public boolean hasQuota() { return quota_ != null; } /** + * + * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * * @return The quota. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuota getQuota() { - return quota_ == null ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; + return quota_ == null + ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() + : quota_; } /** + * + * *
    * The quota state for this Analytics property including this request.
    * 
@@ -309,10 +381,13 @@ public com.google.analytics.admin.v1alpha.AccessQuota getQuota() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder getQuotaOrBuilder() { - return quota_ == null ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; + return quota_ == null + ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() + : quota_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dimensionHeaders_.size(); i++) { output.writeMessage(1, dimensionHeaders_.get(i)); } @@ -351,24 +425,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, rowCount_); } if (quota_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getQuota()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getQuota()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -378,25 +447,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.RunAccessReportResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.RunAccessReportResponse other = (com.google.analytics.admin.v1alpha.RunAccessReportResponse) obj; + com.google.analytics.admin.v1alpha.RunAccessReportResponse other = + (com.google.analytics.admin.v1alpha.RunAccessReportResponse) obj; - if (!getDimensionHeadersList() - .equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList() - .equals(other.getMetricHeadersList())) return false; - if (!getRowsList() - .equals(other.getRowsList())) return false; - if (getRowCount() - != other.getRowCount()) return false; + if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; + if (!getRowsList().equals(other.getRowsList())) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasQuota() != other.hasQuota()) return false; if (hasQuota()) { - if (!getQuota() - .equals(other.getQuota())) return false; + if (!getQuota().equals(other.getQuota())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -433,129 +498,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( 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.RunAccessReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RunAccessReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.RunAccessReportResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.RunAccessReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The customized Data Access Record Report response.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.RunAccessReportResponse) com.google.analytics.admin.v1alpha.RunAccessReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); + com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, + com.google.analytics.admin.v1alpha.RunAccessReportResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.RunAccessReportResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -591,9 +663,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; } @java.lang.Override @@ -612,14 +684,18 @@ public com.google.analytics.admin.v1alpha.RunAccessReportResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.RunAccessReportResponse buildPartial() { - com.google.analytics.admin.v1alpha.RunAccessReportResponse result = new com.google.analytics.admin.v1alpha.RunAccessReportResponse(this); + com.google.analytics.admin.v1alpha.RunAccessReportResponse result = + new com.google.analytics.admin.v1alpha.RunAccessReportResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.RunAccessReportResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.RunAccessReportResponse result) { if (dimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); @@ -655,9 +731,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportRes result.rowCount_ = rowCount_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.quota_ = quotaBuilder_ == null - ? quota_ - : quotaBuilder_.build(); + result.quota_ = quotaBuilder_ == null ? quota_ : quotaBuilder_.build(); } } @@ -665,38 +739,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RunAccessReportRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.RunAccessReportResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.RunAccessReportResponse) other); } else { super.mergeFrom(other); return this; @@ -704,7 +779,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportResponse other) { - if (other == com.google.analytics.admin.v1alpha.RunAccessReportResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.RunAccessReportResponse.getDefaultInstance()) + return this; if (dimensionHeadersBuilder_ == null) { if (!other.dimensionHeaders_.isEmpty()) { if (dimensionHeaders_.isEmpty()) { @@ -723,9 +799,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRespo dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionHeadersFieldBuilder() : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionHeadersFieldBuilder() + : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -749,9 +826,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRespo metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricHeadersFieldBuilder() : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricHeadersFieldBuilder() + : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -775,9 +853,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.RunAccessReportRespo rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRowsFieldBuilder() : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRowsFieldBuilder() + : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -815,63 +894,66 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccessDimensionHeader m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessDimensionHeader.parser(), - extensionRegistry); - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(m); - } else { - dimensionHeadersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1alpha.AccessMetricHeader m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessMetricHeader.parser(), - extensionRegistry); - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(m); - } else { - metricHeadersBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.analytics.admin.v1alpha.AccessRow m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessRow.parser(), - extensionRegistry); - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(m); - } else { - rowsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - rowCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - input.readMessage( - getQuotaFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.analytics.admin.v1alpha.AccessDimensionHeader m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDimensionHeader.parser(), + extensionRegistry); + if (dimensionHeadersBuilder_ == null) { + ensureDimensionHeadersIsMutable(); + dimensionHeaders_.add(m); + } else { + dimensionHeadersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1alpha.AccessMetricHeader m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessMetricHeader.parser(), + extensionRegistry); + if (metricHeadersBuilder_ == null) { + ensureMetricHeadersIsMutable(); + metricHeaders_.add(m); + } else { + metricHeadersBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.analytics.admin.v1alpha.AccessRow m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessRow.parser(), extensionRegistry); + if (rowsBuilder_ == null) { + ensureRowsIsMutable(); + rows_.add(m); + } else { + rowsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + rowCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + input.readMessage(getQuotaFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + 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) { @@ -881,30 +963,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); + private java.util.List + dimensionHeaders_ = java.util.Collections.emptyList(); + private void ensureDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_); + dimensionHeaders_ = + new java.util.ArrayList( + dimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionHeader, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> dimensionHeadersBuilder_; + com.google.analytics.admin.v1alpha.AccessDimensionHeader, + com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, + com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> + dimensionHeadersBuilder_; /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public java.util.List getDimensionHeadersList() { + public java.util.List + getDimensionHeadersList() { if (dimensionHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionHeaders_); } else { @@ -912,13 +1005,16 @@ public java.util.List } } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public int getDimensionHeadersCount() { if (dimensionHeadersBuilder_ == null) { @@ -928,13 +1024,16 @@ public int getDimensionHeadersCount() { } } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHeaders(int index) { if (dimensionHeadersBuilder_ == null) { @@ -944,13 +1043,16 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHead } } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder setDimensionHeaders( int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { @@ -967,16 +1069,20 @@ public Builder setDimensionHeaders( return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder setDimensionHeaders( - int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); dimensionHeaders_.set(index, builderForValue.build()); @@ -987,15 +1093,19 @@ public Builder setDimensionHeaders( return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public Builder addDimensionHeaders(com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { + public Builder addDimensionHeaders( + com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { if (dimensionHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1009,13 +1119,16 @@ public Builder addDimensionHeaders(com.google.analytics.admin.v1alpha.AccessDime return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder addDimensionHeaders( int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader value) { @@ -1032,13 +1145,16 @@ public Builder addDimensionHeaders( return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder addDimensionHeaders( com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { @@ -1052,16 +1168,20 @@ public Builder addDimensionHeaders( return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder addDimensionHeaders( - int index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder builderForValue) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); dimensionHeaders_.add(index, builderForValue.build()); @@ -1072,20 +1192,23 @@ public Builder addDimensionHeaders( return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder addAllDimensionHeaders( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensionHeaders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_); onChanged(); } else { dimensionHeadersBuilder_.addAllMessages(values); @@ -1093,13 +1216,16 @@ public Builder addAllDimensionHeaders( return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder clearDimensionHeaders() { if (dimensionHeadersBuilder_ == null) { @@ -1112,13 +1238,16 @@ public Builder clearDimensionHeaders() { return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ public Builder removeDimensionHeaders(int index) { if (dimensionHeadersBuilder_ == null) { @@ -1131,45 +1260,56 @@ public Builder removeDimensionHeaders(int index) { return this; } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder getDimensionHeadersBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder + getDimensionHeadersBuilder(int index) { return getDimensionHeadersFieldBuilder().getBuilder(index); } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder + getDimensionHeadersOrBuilder(int index) { if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); } else { + return dimensionHeaders_.get(index); + } else { return dimensionHeadersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public java.util.List - getDimensionHeadersOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> + getDimensionHeadersOrBuilderList() { if (dimensionHeadersBuilder_ != null) { return dimensionHeadersBuilder_.getMessageOrBuilderList(); } else { @@ -1177,51 +1317,69 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDime } } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder addDimensionHeadersBuilder() { - return getDimensionHeadersFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder + addDimensionHeadersBuilder() { + return getDimensionHeadersFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder addDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder + addDimensionHeadersBuilder(int index) { + return getDimensionHeadersFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.AccessDimensionHeader.getDefaultInstance()); } /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
      * matches the dimensions present in rows.
      * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - public java.util.List - getDimensionHeadersBuilderList() { + public java.util.List + getDimensionHeadersBuilderList() { return getDimensionHeadersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionHeader, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> + com.google.analytics.admin.v1alpha.AccessDimensionHeader, + com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, + com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder> getDimensionHeadersFieldBuilder() { if (dimensionHeadersBuilder_ == null) { - dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessDimensionHeader, com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder>( + dimensionHeadersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessDimensionHeader, + com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder, + com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder>( dimensionHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1232,18 +1390,26 @@ public com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder addDimen } private java.util.List metricHeaders_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricHeadersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = new java.util.ArrayList(metricHeaders_); + metricHeaders_ = + new java.util.ArrayList( + metricHeaders_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessMetricHeader, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder> metricHeadersBuilder_; + com.google.analytics.admin.v1alpha.AccessMetricHeader, + com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, + com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder> + metricHeadersBuilder_; /** + * + * *
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1252,7 +1418,8 @@ private void ensureMetricHeadersIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List getMetricHeadersList() {
+    public java.util.List
+        getMetricHeadersList() {
       if (metricHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(metricHeaders_);
       } else {
@@ -1260,6 +1427,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1276,6 +1445,8 @@ public int getMetricHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1292,6 +1463,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader getMetricHeaders(in
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1315,6 +1488,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1335,6 +1510,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1357,6 +1534,8 @@ public Builder addMetricHeaders(com.google.analytics.admin.v1alpha.AccessMetricH
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1380,6 +1559,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1400,6 +1581,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1420,6 +1603,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1429,11 +1614,11 @@ public Builder addMetricHeaders(
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
     public Builder addAllMetricHeaders(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -1441,6 +1626,8 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1460,6 +1647,8 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1479,6 +1668,8 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1492,6 +1683,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder getMetricHe
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1503,11 +1696,14 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder getMetricHe
     public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);  } else {
+        return metricHeaders_.get(index);
+      } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1516,8 +1712,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List 
-         getMetricHeadersOrBuilderList() {
+    public java.util.List
+        getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1525,6 +1721,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1534,10 +1732,12 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricH
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
     public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1548,10 +1748,13 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHe
      */
     public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.AccessMetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1560,16 +1763,22 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHe
      *
      * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List 
-         getMetricHeadersBuilderList() {
+    public java.util.List
+        getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessMetricHeader, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessMetricHeader,
+            com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder,
+            com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder>
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessMetricHeader, com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder, com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder>(
+        metricHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessMetricHeader,
+                com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder,
+                com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1580,18 +1789,24 @@ public com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder addMetricHe
     }
 
     private java.util.List rows_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessRow, com.google.analytics.admin.v1alpha.AccessRow.Builder, com.google.analytics.admin.v1alpha.AccessRowOrBuilder> rowsBuilder_;
+            com.google.analytics.admin.v1alpha.AccessRow,
+            com.google.analytics.admin.v1alpha.AccessRow.Builder,
+            com.google.analytics.admin.v1alpha.AccessRowOrBuilder>
+        rowsBuilder_;
 
     /**
+     *
+     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1606,6 +1821,8 @@ public java.util.List getRowsList( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1620,6 +1837,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1634,14 +1853,15 @@ public com.google.analytics.admin.v1alpha.AccessRow getRows(int index) { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public Builder setRows( - int index, com.google.analytics.admin.v1alpha.AccessRow value) { + public Builder setRows(int index, com.google.analytics.admin.v1alpha.AccessRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1655,6 +1875,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1673,6 +1895,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1693,14 +1917,15 @@ public Builder addRows(com.google.analytics.admin.v1alpha.AccessRow value) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public Builder addRows( - int index, com.google.analytics.admin.v1alpha.AccessRow value) { + public Builder addRows(int index, com.google.analytics.admin.v1alpha.AccessRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1714,14 +1939,15 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public Builder addRows( - com.google.analytics.admin.v1alpha.AccessRow.Builder builderForValue) { + public Builder addRows(com.google.analytics.admin.v1alpha.AccessRow.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -1732,6 +1958,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1750,6 +1978,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1760,8 +1990,7 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -1769,6 +1998,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1786,6 +2017,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1803,39 +2036,44 @@ public Builder removeRows(int index) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public com.google.analytics.admin.v1alpha.AccessRow.Builder getRowsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessRow.Builder getRowsBuilder(int index) { return getRowsFieldBuilder().getBuilder(index); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(int index) { if (rowsBuilder_ == null) { - return rows_.get(index); } else { + return rows_.get(index); + } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -1843,6 +2081,8 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1850,49 +2090,57 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); + return getRowsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder( - int index) { - return getRowsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder(int index) { + return getRowsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.AccessRow.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - public java.util.List - getRowsBuilderList() { + public java.util.List + getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessRow, com.google.analytics.admin.v1alpha.AccessRow.Builder, com.google.analytics.admin.v1alpha.AccessRowOrBuilder> + com.google.analytics.admin.v1alpha.AccessRow, + com.google.analytics.admin.v1alpha.AccessRow.Builder, + com.google.analytics.admin.v1alpha.AccessRowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessRow, com.google.analytics.admin.v1alpha.AccessRow.Builder, com.google.analytics.admin.v1alpha.AccessRowOrBuilder>( - rows_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessRow, + com.google.analytics.admin.v1alpha.AccessRow.Builder, + com.google.analytics.admin.v1alpha.AccessRowOrBuilder>( + rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } - private int rowCount_ ; + private int rowCount_; /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -1904,6 +2152,7 @@ public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder(
      * 
* * int32 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -1911,6 +2160,8 @@ public int getRowCount() { return rowCount_; } /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -1922,17 +2173,20 @@ public int getRowCount() {
      * 
* * int32 row_count = 4; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -1944,6 +2198,7 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 4; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1955,34 +2210,47 @@ public Builder clearRowCount() { private com.google.analytics.admin.v1alpha.AccessQuota quota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuota, com.google.analytics.admin.v1alpha.AccessQuota.Builder, com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> quotaBuilder_; + com.google.analytics.admin.v1alpha.AccessQuota, + com.google.analytics.admin.v1alpha.AccessQuota.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> + quotaBuilder_; /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * * @return Whether the quota field is set. */ public boolean hasQuota() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * * @return The quota. */ public com.google.analytics.admin.v1alpha.AccessQuota getQuota() { if (quotaBuilder_ == null) { - return quota_ == null ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; + return quota_ == null + ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() + : quota_; } else { return quotaBuilder_.getMessage(); } } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2003,6 +2271,8 @@ public Builder setQuota(com.google.analytics.admin.v1alpha.AccessQuota value) { return this; } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2021,6 +2291,8 @@ public Builder setQuota( return this; } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2029,9 +2301,9 @@ public Builder setQuota( */ public Builder mergeQuota(com.google.analytics.admin.v1alpha.AccessQuota value) { if (quotaBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - quota_ != null && - quota_ != com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && quota_ != null + && quota_ != com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance()) { getQuotaBuilder().mergeFrom(value); } else { quota_ = value; @@ -2044,6 +2316,8 @@ public Builder mergeQuota(com.google.analytics.admin.v1alpha.AccessQuota value) return this; } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2061,6 +2335,8 @@ public Builder clearQuota() { return this; } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2073,6 +2349,8 @@ public com.google.analytics.admin.v1alpha.AccessQuota.Builder getQuotaBuilder() return getQuotaFieldBuilder().getBuilder(); } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2083,11 +2361,14 @@ public com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder getQuotaOrBuilder if (quotaBuilder_ != null) { return quotaBuilder_.getMessageOrBuilder(); } else { - return quota_ == null ? - com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() : quota_; + return quota_ == null + ? com.google.analytics.admin.v1alpha.AccessQuota.getDefaultInstance() + : quota_; } } /** + * + * *
      * The quota state for this Analytics property including this request.
      * 
@@ -2095,21 +2376,24 @@ public com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder getQuotaOrBuilder * .google.analytics.admin.v1alpha.AccessQuota quota = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuota, com.google.analytics.admin.v1alpha.AccessQuota.Builder, com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> + com.google.analytics.admin.v1alpha.AccessQuota, + com.google.analytics.admin.v1alpha.AccessQuota.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder> getQuotaFieldBuilder() { if (quotaBuilder_ == null) { - quotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessQuota, com.google.analytics.admin.v1alpha.AccessQuota.Builder, com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder>( - getQuota(), - getParentForChildren(), - isClean()); + quotaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessQuota, + com.google.analytics.admin.v1alpha.AccessQuota.Builder, + com.google.analytics.admin.v1alpha.AccessQuotaOrBuilder>( + getQuota(), getParentForChildren(), isClean()); quota_ = null; } return quotaBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2119,12 +2403,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.RunAccessReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.RunAccessReportResponse) private static final com.google.analytics.admin.v1alpha.RunAccessReportResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.RunAccessReportResponse(); } @@ -2133,27 +2417,27 @@ public static com.google.analytics.admin.v1alpha.RunAccessReportResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunAccessReportResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunAccessReportResponse 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; @@ -2168,6 +2452,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.RunAccessReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java similarity index 84% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java index 18749d2b1863..e066a602861a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportResponseOrBuilder.java @@ -1,67 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 RunAccessReportResponseOrBuilder extends +public interface RunAccessReportResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.RunAccessReportResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - java.util.List + java.util.List getDimensionHeadersList(); /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ com.google.analytics.admin.v1alpha.AccessDimensionHeader getDimensionHeaders(int index); /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ int getDimensionHeadersCount(); /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ - java.util.List + java.util.List getDimensionHeadersOrBuilderList(); /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * dimension. The number of DimensionHeaders and ordering of DimensionHeaders
    * matches the dimensions present in rows.
    * 
* - * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * */ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( int index); /** + * + * *
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -70,9 +103,10 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
-  java.util.List 
-      getMetricHeadersList();
+  java.util.List getMetricHeadersList();
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -83,6 +117,8 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    */
   com.google.analytics.admin.v1alpha.AccessMetricHeader getMetricHeaders(int index);
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -93,6 +129,8 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    */
   int getMetricHeadersCount();
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -101,9 +139,11 @@ com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder getDimensionHe
    *
    * repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;
    */
-  java.util.List 
+  java.util.List
       getMetricHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * The header for a column in the report that corresponds to a specific
    * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -116,15 +156,18 @@ com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersO
       int index);
 
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - java.util.List - getRowsList(); + java.util.List getRowsList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -133,6 +176,8 @@ com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersO */ com.google.analytics.admin.v1alpha.AccessRow getRows(int index); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -141,25 +186,30 @@ com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder getMetricHeadersO */ int getRowsCount(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - java.util.List + java.util.List getRowsOrBuilderList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; */ - com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(int index); /** + * + * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -171,29 +221,38 @@ com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(
    * 
* * int32 row_count = 4; + * * @return The rowCount. */ int getRowCount(); /** + * + * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * * @return Whether the quota field is set. */ boolean hasQuota(); /** + * + * *
    * The quota state for this Analytics property including this request.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * * @return The quota. */ com.google.analytics.admin.v1alpha.AccessQuota getQuota(); /** + * + * *
    * The quota state for this Analytics property including this request.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360Link.java index 985b74008f87..c43d4ce3c6d1 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + 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_ = ""; @@ -27,33 +45,37 @@ private SearchAds360Link() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAds360Link(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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}
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The resource name for this SearchAds360Link resource.
    * Format: properties/{propertyId}/searchAds360Links/{linkId}
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,15 +125,19 @@ public java.lang.String getName() { } 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 @@ -119,30 +146,30 @@ public java.lang.String getAdvertiserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -153,6 +180,8 @@ public java.lang.String getAdvertiserId() { 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
@@ -160,7 +189,10 @@ public java.lang.String getAdvertiserId() {
    * 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]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the campaignDataSharingEnabled field is set. */ @java.lang.Override @@ -168,6 +200,8 @@ 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
@@ -175,14 +209,21 @@ public boolean hasCampaignDataSharingEnabled() {
    * 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]; + * + * .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_; + 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
@@ -190,16 +231,22 @@ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() {
    * 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]; + * + * .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_; + 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
@@ -208,7 +255,10 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui
    * 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]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the costDataSharingEnabled field is set. */ @java.lang.Override @@ -216,6 +266,8 @@ 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
@@ -224,14 +276,21 @@ public boolean hasCostDataSharingEnabled() {
    * 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]; + * + * .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_; + 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
@@ -240,23 +299,31 @@ public com.google.protobuf.BoolValue getCostDataSharingEnabled() {
    * 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]; + * + * .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_; + 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 @@ -265,30 +332,30 @@ public java.lang.String getAdvertiserDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + 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() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -299,12 +366,15 @@ public java.lang.String getAdvertiserDisplayName() { 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 @@ -312,19 +382,26 @@ 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_; + 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.
@@ -334,18 +411,23 @@ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() {
-    return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+    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 @@ -353,19 +435,26 @@ 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_; + 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.
@@ -375,10 +464,13 @@ public com.google.protobuf.BoolValue getSiteStatsSharingEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilder() {
-    return siteStatsSharingEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : siteStatsSharingEnabled_;
+    return siteStatsSharingEnabled_ == null
+        ? com.google.protobuf.BoolValue.getDefaultInstance()
+        : siteStatsSharingEnabled_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -390,8 +482,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -429,23 +520,25 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, advertiserId_);
     }
     if (campaignDataSharingEnabled_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getCampaignDataSharingEnabled());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, getCampaignDataSharingEnabled());
     }
     if (costDataSharingEnabled_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCostDataSharingEnabled());
+      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());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, getAdsPersonalizationEnabled());
     }
     if (siteStatsSharingEnabled_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getSiteStatsSharingEnabled());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSiteStatsSharingEnabled());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -455,38 +548,34 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1alpha.SearchAds360Link)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.SearchAds360Link other = (com.google.analytics.admin.v1alpha.SearchAds360Link) 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 (!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 (!getCampaignDataSharingEnabled().equals(other.getCampaignDataSharingEnabled()))
+        return false;
     }
     if (hasCostDataSharingEnabled() != other.hasCostDataSharingEnabled()) return false;
     if (hasCostDataSharingEnabled()) {
-      if (!getCostDataSharingEnabled()
-          .equals(other.getCostDataSharingEnabled())) return false;
+      if (!getCostDataSharingEnabled().equals(other.getCostDataSharingEnabled())) return false;
     }
-    if (!getAdvertiserDisplayName()
-        .equals(other.getAdvertiserDisplayName())) 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 (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled()))
+        return false;
     }
     if (hasSiteStatsSharingEnabled() != other.hasSiteStatsSharingEnabled()) return false;
     if (hasSiteStatsSharingEnabled()) {
-      if (!getSiteStatsSharingEnabled()
-          .equals(other.getSiteStatsSharingEnabled())) return false;
+      if (!getSiteStatsSharingEnabled().equals(other.getSiteStatsSharingEnabled())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -527,129 +616,135 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.SearchAds360Link parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.SearchAds360Link parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.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)
+      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) 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)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.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) 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)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.SearchAds360Link parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.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);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.analytics.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);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A 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 + 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; + 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 + 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); + 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() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -681,9 +776,9 @@ public Builder clear() { } @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; + 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 @@ -702,8 +797,11 @@ public com.google.analytics.admin.v1alpha.SearchAds360Link build() { @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); } + com.google.analytics.admin.v1alpha.SearchAds360Link result = + new com.google.analytics.admin.v1alpha.SearchAds360Link(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -717,27 +815,31 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SearchAds360Link r result.advertiserId_ = advertiserId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.campaignDataSharingEnabled_ = campaignDataSharingEnabledBuilder_ == null - ? campaignDataSharingEnabled_ - : campaignDataSharingEnabledBuilder_.build(); + result.campaignDataSharingEnabled_ = + campaignDataSharingEnabledBuilder_ == null + ? campaignDataSharingEnabled_ + : campaignDataSharingEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.costDataSharingEnabled_ = costDataSharingEnabledBuilder_ == null - ? costDataSharingEnabled_ - : costDataSharingEnabledBuilder_.build(); + 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(); + result.adsPersonalizationEnabled_ = + adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.siteStatsSharingEnabled_ = siteStatsSharingEnabledBuilder_ == null - ? siteStatsSharingEnabled_ - : siteStatsSharingEnabledBuilder_.build(); + result.siteStatsSharingEnabled_ = + siteStatsSharingEnabledBuilder_ == null + ? siteStatsSharingEnabled_ + : siteStatsSharingEnabledBuilder_.build(); } } @@ -745,38 +847,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SearchAds360Link r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + return mergeFrom((com.google.analytics.admin.v1alpha.SearchAds360Link) other); } else { super.mergeFrom(other); return this; @@ -784,7 +887,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.SearchAds360Link other) { - if (other == com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -838,55 +942,59 @@ public Builder mergeFrom( 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: + 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) { @@ -896,10 +1004,13 @@ public Builder mergeFrom( } // 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}
@@ -907,13 +1018,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -922,6 +1033,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
@@ -929,15 +1042,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -945,6 +1057,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
@@ -952,18 +1066,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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}
@@ -971,6 +1089,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -980,6 +1099,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
@@ -987,12 +1108,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1002,19 +1125,21 @@ public Builder setNameBytes( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserId_ = s; return s; @@ -1023,21 +1148,22 @@ public 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. */ - public com.google.protobuf.ByteString - getAdvertiserIdBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserId_ = b; return b; } else { @@ -1045,30 +1171,37 @@ public 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]; + * * @param value The advertiserId to set. * @return This builder for chaining. */ - public Builder setAdvertiserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -1078,18 +1211,22 @@ public Builder clearAdvertiserId() { 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(); } + public Builder setAdvertiserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); advertiserId_ = value; bitField0_ |= 0x00000002; @@ -1099,8 +1236,13 @@ public Builder setAdvertiserIdBytes( 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_; + 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
@@ -1108,13 +1250,18 @@ public Builder setAdvertiserIdBytes(
      * 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]; + * + * .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
@@ -1122,17 +1269,24 @@ public boolean hasCampaignDataSharingEnabled() {
      * 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]; + * + * .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_; + 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
@@ -1140,7 +1294,9 @@ public com.google.protobuf.BoolValue getCampaignDataSharingEnabled() {
      * 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]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value) { if (campaignDataSharingEnabledBuilder_ == null) { @@ -1156,6 +1312,8 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value 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
@@ -1163,7 +1321,9 @@ public Builder setCampaignDataSharingEnabled(com.google.protobuf.BoolValue value
      * 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]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCampaignDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1177,6 +1337,8 @@ public Builder setCampaignDataSharingEnabled( 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
@@ -1184,13 +1346,15 @@ public Builder setCampaignDataSharingEnabled(
      * 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]; + * + * .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()) { + if (((bitField0_ & 0x00000004) != 0) + && campaignDataSharingEnabled_ != null + && campaignDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCampaignDataSharingEnabledBuilder().mergeFrom(value); } else { campaignDataSharingEnabled_ = value; @@ -1203,6 +1367,8 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val 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
@@ -1210,7 +1376,9 @@ public Builder mergeCampaignDataSharingEnabled(com.google.protobuf.BoolValue val
      * 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]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCampaignDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1223,6 +1391,8 @@ public Builder clearCampaignDataSharingEnabled() { 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
@@ -1230,7 +1400,9 @@ public Builder clearCampaignDataSharingEnabled() {
      * 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]; + * + * .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilder() { bitField0_ |= 0x00000004; @@ -1238,6 +1410,8 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde 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
@@ -1245,17 +1419,22 @@ public com.google.protobuf.BoolValue.Builder getCampaignDataSharingEnabledBuilde
      * 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]; + * + * .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_; + 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
@@ -1263,17 +1442,22 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui
      * 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]; + * + * .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> + 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()); + 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_; @@ -1281,8 +1465,13 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui 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_; + 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
@@ -1291,13 +1480,18 @@ public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBui
      * 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]; + * + * .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
@@ -1306,17 +1500,24 @@ public boolean hasCostDataSharingEnabled() {
      * 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]; + * + * .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_; + 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
@@ -1325,7 +1526,9 @@ public com.google.protobuf.BoolValue getCostDataSharingEnabled() {
      * 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]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { if (costDataSharingEnabledBuilder_ == null) { @@ -1341,6 +1544,8 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) { 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
@@ -1349,7 +1554,9 @@ public Builder setCostDataSharingEnabled(com.google.protobuf.BoolValue value) {
      * 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]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCostDataSharingEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -1363,6 +1570,8 @@ public Builder setCostDataSharingEnabled( 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
@@ -1371,13 +1580,15 @@ public Builder setCostDataSharingEnabled(
      * 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]; + * + * .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()) { + if (((bitField0_ & 0x00000008) != 0) + && costDataSharingEnabled_ != null + && costDataSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getCostDataSharingEnabledBuilder().mergeFrom(value); } else { costDataSharingEnabled_ = value; @@ -1390,6 +1601,8 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value) 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
@@ -1398,7 +1611,9 @@ public Builder mergeCostDataSharingEnabled(com.google.protobuf.BoolValue value)
      * 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]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCostDataSharingEnabled() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1411,6 +1626,8 @@ public Builder clearCostDataSharingEnabled() { 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
@@ -1419,7 +1636,9 @@ public Builder clearCostDataSharingEnabled() {
      * 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]; + * + * .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() { bitField0_ |= 0x00000008; @@ -1427,6 +1646,8 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder() 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
@@ -1435,17 +1656,22 @@ public com.google.protobuf.BoolValue.Builder getCostDataSharingEnabledBuilder()
      * 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]; + * + * .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_; + 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
@@ -1454,17 +1680,22 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder
      * 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]; + * + * .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> + 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()); + 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_; @@ -1472,19 +1703,21 @@ public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); advertiserDisplayName_ = s; return s; @@ -1493,21 +1726,22 @@ public 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. */ - public com.google.protobuf.ByteString - getAdvertiserDisplayNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); advertiserDisplayName_ = b; return b; } else { @@ -1515,30 +1749,37 @@ public 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]; + * * @param value The advertiserDisplayName to set. * @return This builder for chaining. */ - public Builder setAdvertiserDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -1548,18 +1789,22 @@ public Builder clearAdvertiserDisplayName() { 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(); } + public Builder setAdvertiserDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); advertiserDisplayName_ = value; bitField0_ |= 0x00000010; @@ -1569,36 +1814,49 @@ public Builder setAdvertiserDisplayNameBytes( 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_; + 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_; + 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.
@@ -1620,6 +1878,8 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1639,6 +1899,8 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1648,9 +1910,9 @@ public Builder setAdsPersonalizationEnabled(
      */
     public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          adsPersonalizationEnabled_ != null &&
-          adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && adsPersonalizationEnabled_ != null
+            && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getAdsPersonalizationEnabledBuilder().mergeFrom(value);
         } else {
           adsPersonalizationEnabled_ = value;
@@ -1663,6 +1925,8 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1681,6 +1945,8 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1694,6 +1960,8 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enables personalized advertising features with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1705,11 +1973,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+        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.
@@ -1718,14 +1989,17 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .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> 
+            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());
+        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_;
@@ -1733,36 +2007,49 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     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_;
+            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_; + 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.
@@ -1784,6 +2071,8 @@ public Builder setSiteStatsSharingEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables export of site stats with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1803,6 +2092,8 @@ public Builder setSiteStatsSharingEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables export of site stats with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1812,9 +2103,9 @@ public Builder setSiteStatsSharingEnabled(
      */
     public Builder mergeSiteStatsSharingEnabled(com.google.protobuf.BoolValue value) {
       if (siteStatsSharingEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0) &&
-          siteStatsSharingEnabled_ != null &&
-          siteStatsSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0)
+            && siteStatsSharingEnabled_ != null
+            && siteStatsSharingEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getSiteStatsSharingEnabledBuilder().mergeFrom(value);
         } else {
           siteStatsSharingEnabled_ = value;
@@ -1827,6 +2118,8 @@ public Builder mergeSiteStatsSharingEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables export of site stats with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1845,6 +2138,8 @@ public Builder clearSiteStatsSharingEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enables export of site stats with this integration.
      * If this field is not set on create, it will be defaulted to true.
@@ -1858,6 +2153,8 @@ public com.google.protobuf.BoolValue.Builder getSiteStatsSharingEnabledBuilder()
       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.
@@ -1869,11 +2166,14 @@ public com.google.protobuf.BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilde
       if (siteStatsSharingEnabledBuilder_ != null) {
         return siteStatsSharingEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return siteStatsSharingEnabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : siteStatsSharingEnabled_;
+        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.
@@ -1882,21 +2182,24 @@ public com.google.protobuf.BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilde
      * .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> 
+            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());
+        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) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1906,12 +2209,12 @@ public final Builder mergeUnknownFields(
       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();
   }
@@ -1920,27 +2223,27 @@ public static com.google.analytics.admin.v1alpha.SearchAds360Link getDefaultInst
     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();
-    }
-  };
+  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;
@@ -1955,6 +2258,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1alpha.SearchAds360Link getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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
similarity index 100%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkName.java
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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
similarity index 78%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchAds360LinkOrBuilder.java
index 564071059581..30bcc2e21a44 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/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
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/resources.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface SearchAds360LinkOrBuilder extends
+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}
@@ -15,10 +33,13 @@ public interface SearchAds360LinkOrBuilder extends
    * 
* * 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}
@@ -26,34 +47,41 @@ public interface SearchAds360LinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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(); + 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
@@ -61,11 +89,16 @@ public interface SearchAds360LinkOrBuilder extends
    * 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]; + * + * .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
@@ -73,11 +106,16 @@ public interface SearchAds360LinkOrBuilder extends
    * 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]; + * + * .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
@@ -85,11 +123,15 @@ public interface SearchAds360LinkOrBuilder extends
    * 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]; + * + * .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
@@ -98,11 +140,16 @@ public interface SearchAds360LinkOrBuilder extends
    * 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]; + * + * .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
@@ -111,11 +158,16 @@ public interface SearchAds360LinkOrBuilder extends
    * 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]; + * + * .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
@@ -124,53 +176,68 @@ public interface SearchAds360LinkOrBuilder extends
    * 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]; + * + * .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(); + 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.
@@ -181,26 +248,34 @@ public interface SearchAds360LinkOrBuilder extends
   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.
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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
similarity index 65%
rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequest.java
index 2a807163e187..bdb2939acca8 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/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
@@ -1,24 +1,43 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/analytics_admin.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * Request message for SearchChangeHistoryEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest} */ -public final class SearchChangeHistoryEventsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchChangeHistoryEventsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) SearchChangeHistoryEventsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsRequest.newBuilder() to construct. - private SearchChangeHistoryEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchChangeHistoryEventsRequest() { account_ = ""; property_ = ""; @@ -30,39 +49,46 @@ private SearchChangeHistoryEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_SearchChangeHistoryEventsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** + * + * *
    * Required. The account resource for which to return change history
    * resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ @java.lang.Override @@ -71,30 +97,32 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Required. The account resource for which to return change history
    * resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -103,15 +131,21 @@ public java.lang.String getAccount() { } public static final int PROPERTY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ @java.lang.Override @@ -120,30 +154,32 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -152,38 +188,57 @@ public java.lang.String getProperty() { } public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List resourceType_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType> resourceType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType> + resourceType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>() { - public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert(java.lang.Integer from) { - com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.forNumber(from); - return result == null ? com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType convert( + java.lang.Integer from) { + com.google.analytics.admin.v1alpha.ChangeHistoryResourceType result = + com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.forNumber(from); + return result == null + ? com.google.analytics.admin.v1alpha.ChangeHistoryResourceType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the resourceType. */ @java.lang.Override - public java.util.List getResourceTypeList() { + public java.util.List + getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>( + resourceType_, resourceType_converter_); } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of resourceType. */ @java.lang.Override @@ -191,12 +246,17 @@ public int getResourceTypeCount() { return resourceType_.size(); } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -205,26 +265,35 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT return resourceType_converter_.convert(resourceType_.get(index)); } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for resourceType. */ @java.lang.Override - public java.util.List - getResourceTypeValueList() { + public java.util.List getResourceTypeValueList() { return resourceType_; } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -232,41 +301,59 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT public int getResourceTypeValue(int index) { return resourceType_.get(index); } + private int resourceTypeMemoizedSerializedSize; public static final int ACTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List action_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType> action_converter_ = + java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType> + action_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>() { public com.google.analytics.admin.v1alpha.ActionType convert(java.lang.Integer from) { - com.google.analytics.admin.v1alpha.ActionType result = com.google.analytics.admin.v1alpha.ActionType.forNumber(from); - return result == null ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.ActionType result = + com.google.analytics.admin.v1alpha.ActionType.forNumber(from); + return result == null + ? com.google.analytics.admin.v1alpha.ActionType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the action. */ @java.lang.Override public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>(action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>( + action_, action_converter_); } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of action. */ @java.lang.Override @@ -274,12 +361,17 @@ public int getActionCount() { return action_.size(); } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The action at the given index. */ @@ -288,26 +380,35 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for action. */ @java.lang.Override - public java.util.List - getActionValueList() { + public java.util.List getActionValueList() { return action_; } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -315,43 +416,53 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { public int getActionValue(int index) { return action_.get(index); } + private int actionMemoizedSerializedSize; public static final int ACTOR_EMAIL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList actorEmail_; /** + * + * *
    * 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]; + * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList - getActorEmailList() { + public com.google.protobuf.ProtocolStringList getActorEmailList() { return actorEmail_; } /** + * + * *
    * 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]; + * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** + * + * *
    * 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]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -359,28 +470,35 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** + * + * *
    * 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]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString - getActorEmailBytes(int index) { + public com.google.protobuf.ByteString getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp earliestChangeTime_; /** + * + * *
    * 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]; + * + * * @return Whether the earliestChangeTime field is set. */ @java.lang.Override @@ -388,37 +506,55 @@ public boolean hasEarliestChangeTime() { return earliestChangeTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The earliestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestChangeTime() { - return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { - return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } public static final int LATEST_CHANGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp latestChangeTime_; /** + * + * *
    * 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]; + * + * * @return Whether the latestChangeTime field is set. */ @java.lang.Override @@ -426,32 +562,47 @@ public boolean hasLatestChangeTime() { return latestChangeTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The latestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestChangeTime() { - return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { - return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -460,6 +611,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -468,9 +620,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous
    * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -480,6 +635,7 @@ public int getPageSize() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -488,14 +644,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token, received from a previous
    * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -505,16 +662,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -523,6 +679,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -534,8 +691,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); @@ -590,26 +746,27 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < resourceType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(resourceType_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(resourceType_.get(i)); } size += dataSize; - if (!getResourceTypeList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }resourceTypeMemoizedSerializedSize = dataSize; + if (!getResourceTypeList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + resourceTypeMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < action_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(action_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(action_.get(i)); } size += dataSize; - if (!getActionList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }actionMemoizedSerializedSize = dataSize; + if (!getActionList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + actionMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -620,16 +777,13 @@ public int getSerializedSize() { size += 1 * getActorEmailList().size(); } if (earliestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getEarliestChangeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEarliestChangeTime()); } if (latestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLatestChangeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLatestChangeTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pageToken_); @@ -642,35 +796,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) obj; + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other = + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) obj; - if (!getAccount() - .equals(other.getAccount())) return false; - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (!getProperty().equals(other.getProperty())) return false; if (!resourceType_.equals(other.resourceType_)) return false; if (!action_.equals(other.action_)) return false; - if (!getActorEmailList() - .equals(other.getActorEmailList())) return false; + if (!getActorEmailList().equals(other.getActorEmailList())) return false; if (hasEarliestChangeTime() != other.hasEarliestChangeTime()) return false; if (hasEarliestChangeTime()) { - if (!getEarliestChangeTime() - .equals(other.getEarliestChangeTime())) return false; + if (!getEarliestChangeTime().equals(other.getEarliestChangeTime())) return false; } if (hasLatestChangeTime() != other.hasLatestChangeTime()) return false; if (hasLatestChangeTime()) { - if (!getLatestChangeTime() - .equals(other.getLatestChangeTime())) return false; + if (!getLatestChangeTime().equals(other.getLatestChangeTime())) return false; } - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -716,129 +864,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( 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.SearchChangeHistoryEventsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest 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.SearchChangeHistoryEventsRequest + 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.SearchChangeHistoryEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for SearchChangeHistoryEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -867,14 +1024,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + .getDefaultInstance(); } @java.lang.Override @@ -888,14 +1047,18 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest buildPartial() { - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest(this); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result = + new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { resourceType_ = java.util.Collections.unmodifiableList(resourceType_); bitField0_ = (bitField0_ & ~0x00000004); @@ -913,7 +1076,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Searc result.actorEmail_ = actorEmail_; } - private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.account_ = account_; @@ -922,14 +1086,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistor result.property_ = property_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.earliestChangeTime_ = earliestChangeTimeBuilder_ == null - ? earliestChangeTime_ - : earliestChangeTimeBuilder_.build(); + result.earliestChangeTime_ = + earliestChangeTimeBuilder_ == null + ? earliestChangeTime_ + : earliestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.latestChangeTime_ = latestChangeTimeBuilder_ == null - ? latestChangeTime_ - : latestChangeTimeBuilder_.build(); + result.latestChangeTime_ = + latestChangeTimeBuilder_ == null ? latestChangeTime_ : latestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.pageSize_ = pageSize_; @@ -943,46 +1107,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistor public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.SearchChangeHistoryEventsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other) { - if (other == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + .getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; bitField0_ |= 0x00000001; @@ -1063,86 +1232,96 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - int tmpRaw = input.readEnum(); - ensureResourceTypeIsMutable(); - resourceType_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { int tmpRaw = input.readEnum(); ensureResourceTypeIsMutable(); resourceType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - case 32: { - int tmpRaw = input.readEnum(); - ensureActionIsMutable(); - action_.add(tmpRaw); - break; - } // case 32 - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureResourceTypeIsMutable(); + resourceType_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + case 32: + { int tmpRaw = input.readEnum(); ensureActionIsMutable(); action_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureActorEmailIsMutable(); - actorEmail_.add(s); - break; - } // case 42 - case 50: { - input.readMessage( - getEarliestChangeTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getLatestChangeTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 64: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 74: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureActionIsMutable(); + action_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureActorEmailIsMutable(); + actorEmail_.add(s); + break; + } // case 42 + case 50: + { + input.readMessage( + getEarliestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage( + getLatestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + 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) { @@ -1152,23 +1331,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object account_ = ""; /** + * + * *
      * Required. The account resource for which to return change history
      * resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -1177,21 +1361,24 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. The account resource for which to return change history
      * resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -1199,30 +1386,41 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. The account resource for which to return change history
      * resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } account_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account resource for which to return change history
      * resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -1232,18 +1430,24 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Required. The account resource for which to return change history
      * resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000001; @@ -1253,19 +1457,23 @@ public Builder setAccountBytes( private java.lang.Object property_ = ""; /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1274,21 +1482,24 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -1296,30 +1507,41 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } property_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -1329,18 +1551,24 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000002; @@ -1348,8 +1576,8 @@ public Builder setPropertyBytes( return this; } - private java.util.List resourceType_ = - java.util.Collections.emptyList(); + private java.util.List resourceType_ = java.util.Collections.emptyList(); + private void ensureResourceTypeIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { resourceType_ = new java.util.ArrayList(resourceType_); @@ -1357,37 +1585,54 @@ private void ensureResourceTypeIsMutable() { } } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the resourceType. */ - public java.util.List getResourceTypeList() { + public java.util.List + getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ChangeHistoryResourceType>( + resourceType_, resourceType_converter_); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of resourceType. */ public int getResourceTypeCount() { return resourceType_.size(); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -1395,12 +1640,17 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceT return resourceType_converter_.convert(resourceType_.get(index)); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The resourceType to set. * @return This builder for chaining. @@ -1416,16 +1666,22 @@ public Builder setResourceType( return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The resourceType to add. * @return This builder for chaining. */ - public Builder addResourceType(com.google.analytics.admin.v1alpha.ChangeHistoryResourceType value) { + public Builder addResourceType( + com.google.analytics.admin.v1alpha.ChangeHistoryResourceType value) { if (value == null) { throw new NullPointerException(); } @@ -1435,17 +1691,23 @@ public Builder addResourceType(com.google.analytics.admin.v1alpha.ChangeHistoryR return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The resourceType to add. * @return This builder for chaining. */ public Builder addAllResourceType( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureResourceTypeIsMutable(); for (com.google.analytics.admin.v1alpha.ChangeHistoryResourceType value : values) { resourceType_.add(value.getNumber()); @@ -1454,12 +1716,17 @@ public Builder addAllResourceType( return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearResourceType() { @@ -1469,25 +1736,34 @@ public Builder clearResourceType() { return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for resourceType. */ - public java.util.List - getResourceTypeValueList() { + public java.util.List getResourceTypeValueList() { return java.util.Collections.unmodifiableList(resourceType_); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -1495,30 +1771,39 @@ public int getResourceTypeValue(int index) { return resourceType_.get(index); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeValue( - int index, int value) { + public Builder setResourceTypeValue(int index, int value) { ensureResourceTypeIsMutable(); resourceType_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for resourceType to add. * @return This builder for chaining. */ @@ -1529,17 +1814,21 @@ public Builder addResourceTypeValue(int value) { return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that
      * matches at least one of these types.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for resourceType to add. * @return This builder for chaining. */ - public Builder addAllResourceTypeValue( - java.lang.Iterable values) { + public Builder addAllResourceTypeValue(java.lang.Iterable values) { ensureResourceTypeIsMutable(); for (int value : values) { resourceType_.add(value); @@ -1548,8 +1837,8 @@ public Builder addAllResourceTypeValue( return this; } - private java.util.List action_ = - java.util.Collections.emptyList(); + private java.util.List action_ = java.util.Collections.emptyList(); + private void ensureActionIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { action_ = new java.util.ArrayList(action_); @@ -1557,37 +1846,53 @@ private void ensureActionIsMutable() { } } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the action. */ public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>(action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1alpha.ActionType>( + action_, action_converter_); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of action. */ public int getActionCount() { return action_.size(); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The action at the given index. */ @@ -1595,18 +1900,22 @@ public com.google.analytics.admin.v1alpha.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction( - int index, com.google.analytics.admin.v1alpha.ActionType value) { + public Builder setAction(int index, com.google.analytics.admin.v1alpha.ActionType value) { if (value == null) { throw new NullPointerException(); } @@ -1616,12 +1925,17 @@ public Builder setAction( return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The action to add. * @return This builder for chaining. */ @@ -1635,12 +1949,17 @@ public Builder addAction(com.google.analytics.admin.v1alpha.ActionType value) { return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The action to add. * @return This builder for chaining. */ @@ -1654,12 +1973,17 @@ public Builder addAllAction( return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearAction() { @@ -1669,25 +1993,34 @@ public Builder clearAction() { return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for action. */ - public java.util.List - getActionValueList() { + public java.util.List getActionValueList() { return java.util.Collections.unmodifiableList(action_); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -1695,30 +2028,39 @@ public int getActionValue(int index) { return action_.get(index); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ - public Builder setActionValue( - int index, int value) { + public Builder setActionValue(int index, int value) { ensureActionIsMutable(); action_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for action to add. * @return This builder for chaining. */ @@ -1729,17 +2071,21 @@ public Builder addActionValue(int value) { return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types
      * of actions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for action to add. * @return This builder for chaining. */ - public Builder addAllActionValue( - java.lang.Iterable values) { + public Builder addAllActionValue(java.lang.Iterable values) { ensureActionIsMutable(); for (int value : values) { action_.add(value); @@ -1748,45 +2094,55 @@ public Builder addAllActionValue( return this; } - private com.google.protobuf.LazyStringList actorEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList actorEmail_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureActorEmailIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * 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]; + * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList - getActorEmailList() { + public com.google.protobuf.ProtocolStringList getActorEmailList() { return actorEmail_.getUnmodifiableView(); } /** + * + * *
      * 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]; + * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** + * + * *
      * 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]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -1794,81 +2150,95 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** + * + * *
      * 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]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString - getActorEmailBytes(int index) { + public com.google.protobuf.ByteString getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } /** + * + * *
      * 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]; + * * @param index The index to set the value at. * @param value The actorEmail to set. * @return This builder for chaining. */ - public Builder setActorEmail( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActorEmail(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActorEmailIsMutable(); actorEmail_.set(index, value); onChanged(); return this; } /** + * + * *
      * 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]; + * * @param value The actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActorEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); return this; } /** + * + * *
      * 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]; + * * @param values The actorEmail to add. * @return This builder for chaining. */ - public Builder addAllActorEmail( - java.lang.Iterable values) { + public Builder addAllActorEmail(java.lang.Iterable values) { ensureActorEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actorEmail_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actorEmail_); onChanged(); return this; } /** + * + * *
      * 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]; + * * @return This builder for chaining. */ public Builder clearActorEmail() { @@ -1878,18 +2248,22 @@ public Builder clearActorEmail() { return this; } /** + * + * *
      * 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]; + * * @param value The bytes of the actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureActorEmailIsMutable(); actorEmail_.add(value); @@ -1899,39 +2273,58 @@ public Builder addActorEmailBytes( private com.google.protobuf.Timestamp earliestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestChangeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + earliestChangeTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the earliestChangeTime field is set. */ public boolean hasEarliestChangeTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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]; + * + * * @return The earliestChangeTime. */ public com.google.protobuf.Timestamp getEarliestChangeTime() { if (earliestChangeTimeBuilder_ == null) { - return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } else { return earliestChangeTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { @@ -1947,14 +2340,17 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setEarliestChangeTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestChangeTimeBuilder_ == null) { earliestChangeTime_ = builderForValue.build(); } else { @@ -1965,17 +2361,21 @@ public Builder setEarliestChangeTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - earliestChangeTime_ != null && - earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && earliestChangeTime_ != null + && earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestChangeTimeBuilder().mergeFrom(value); } else { earliestChangeTime_ = value; @@ -1988,11 +2388,15 @@ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearEarliestChangeTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2005,11 +2409,15 @@ public Builder clearEarliestChangeTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { bitField0_ |= 0x00000020; @@ -2017,36 +2425,48 @@ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { return getEarliestChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { if (earliestChangeTimeBuilder_ != null) { return earliestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return earliestChangeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEarliestChangeTimeFieldBuilder() { if (earliestChangeTimeBuilder_ == null) { - earliestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEarliestChangeTime(), - getParentForChildren(), - isClean()); + earliestChangeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEarliestChangeTime(), getParentForChildren(), isClean()); earliestChangeTime_ = null; } return earliestChangeTimeBuilder_; @@ -2054,39 +2474,58 @@ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { private com.google.protobuf.Timestamp latestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestChangeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + latestChangeTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the latestChangeTime field is set. */ public boolean hasLatestChangeTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * 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]; + * + * * @return The latestChangeTime. */ public com.google.protobuf.Timestamp getLatestChangeTime() { if (latestChangeTimeBuilder_ == null) { - return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } else { return latestChangeTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { @@ -2102,14 +2541,17 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setLatestChangeTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestChangeTimeBuilder_ == null) { latestChangeTime_ = builderForValue.build(); } else { @@ -2120,17 +2562,21 @@ public Builder setLatestChangeTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - latestChangeTime_ != null && - latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && latestChangeTime_ != null + && latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestChangeTimeBuilder().mergeFrom(value); } else { latestChangeTime_ = value; @@ -2143,11 +2589,15 @@ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearLatestChangeTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2160,11 +2610,15 @@ public Builder clearLatestChangeTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { bitField0_ |= 0x00000040; @@ -2172,43 +2626,57 @@ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { return getLatestChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { if (latestChangeTimeBuilder_ != null) { return latestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return latestChangeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLatestChangeTimeFieldBuilder() { if (latestChangeTimeBuilder_ == null) { - latestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLatestChangeTime(), - getParentForChildren(), - isClean()); + latestChangeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLatestChangeTime(), getParentForChildren(), isClean()); latestChangeTime_ = null; } return latestChangeTimeBuilder_; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2217,6 +2685,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2224,6 +2693,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2232,17 +2703,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2251,6 +2725,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -2262,6 +2737,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2271,13 +2748,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -2286,6 +2763,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2295,15 +2774,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2311,6 +2789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2320,18 +2800,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2341,6 +2825,7 @@ public Builder setPageToken(
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2350,6 +2835,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2359,21 +2846,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2383,41 +2872,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) - private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest(); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsRequest 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; @@ -2429,9 +2920,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsRequestOrBuilder.java index f65896529a82..d8fe5b1e8cb4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,264 +1,387 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 SearchChangeHistoryEventsRequestOrBuilder extends +public interface SearchChangeHistoryEventsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account resource for which to return change history
    * resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Required. The account resource for which to return change history
    * resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the resourceType. */ - java.util.List getResourceTypeList(); + java.util.List + getResourceTypeList(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of resourceType. */ int getResourceTypeCount(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The resourceType at the given index. */ com.google.analytics.admin.v1alpha.ChangeHistoryResourceType getResourceType(int index); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for resourceType. */ - java.util.List - getResourceTypeValueList(); + java.util.List getResourceTypeValueList(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that
    * matches at least one of these types.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ int getResourceTypeValue(int index); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the action. */ java.util.List getActionList(); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of action. */ int getActionCount(); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The action at the given index. */ 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.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for action. */ - java.util.List - getActionValueList(); + java.util.List getActionValueList(); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types
    * of actions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ int getActionValue(int index); /** + * + * *
    * 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]; + * * @return A list containing the actorEmail. */ - java.util.List - getActorEmailList(); + java.util.List getActorEmailList(); /** + * + * *
    * 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]; + * * @return The count of actorEmail. */ int getActorEmailCount(); /** + * + * *
    * 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]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ java.lang.String getActorEmail(int index); /** + * + * *
    * 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]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - com.google.protobuf.ByteString - getActorEmailBytes(int index); + com.google.protobuf.ByteString getActorEmailBytes(int index); /** + * + * *
    * 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]; + * + * * @return Whether the earliestChangeTime field is set. */ boolean hasEarliestChangeTime(); /** + * + * *
    * 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]; + * + * * @return The earliestChangeTime. */ com.google.protobuf.Timestamp getEarliestChangeTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the latestChangeTime field is set. */ boolean hasLatestChangeTime(); /** + * + * *
    * 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]; + * + * * @return The latestChangeTime. */ com.google.protobuf.Timestamp getLatestChangeTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder(); /** + * + * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -267,11 +390,14 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous
    * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -281,10 +407,13 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous
    * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -294,8 +423,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java index 6f1f1f1a173a..3f0d48483446 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Response message for SearchAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse} */ -public final class SearchChangeHistoryEventsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchChangeHistoryEventsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) SearchChangeHistoryEventsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsResponse.newBuilder() to construct. - private SearchChangeHistoryEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchChangeHistoryEventsResponse() { changeHistoryEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +45,123 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_SearchChangeHistoryEventsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); } public static final int CHANGE_HISTORY_EVENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List changeHistoryEvents_; + private java.util.List + changeHistoryEvents_; /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override - public java.util.List getChangeHistoryEventsList() { + public java.util.List + getChangeHistoryEventsList() { return changeHistoryEvents_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getChangeHistoryEventsOrBuilderList() { return changeHistoryEvents_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override public int getChangeHistoryEventsCount() { return changeHistoryEvents_.size(); } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index) { return changeHistoryEvents_.get(index); } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder + getChangeHistoryEventsOrBuilder(int index) { return changeHistoryEvents_.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 @@ -128,30 +170,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +202,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < changeHistoryEvents_.size(); i++) { output.writeMessage(1, changeHistoryEvents_.get(i)); } @@ -189,8 +231,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < changeHistoryEvents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, changeHistoryEvents_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, changeHistoryEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +245,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other = (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) obj; + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other = + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) obj; - if (!getChangeHistoryEventsList() - .equals(other.getChangeHistoryEventsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getChangeHistoryEventsList().equals(other.getChangeHistoryEventsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +278,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( 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.SearchChangeHistoryEventsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse 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.SearchChangeHistoryEventsResponse + 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.SearchChangeHistoryEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for SearchAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,14 +426,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + .getDefaultInstance(); } @java.lang.Override @@ -397,14 +449,18 @@ public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse buil @java.lang.Override public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse buildPartial() { - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse(this); + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result = + new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { if (changeHistoryEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { changeHistoryEvents_ = java.util.Collections.unmodifiableList(changeHistoryEvents_); @@ -416,7 +472,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Searc } } - private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +484,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistor public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.SearchChangeHistoryEventsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other) { - if (other == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + .getDefaultInstance()) return this; if (changeHistoryEventsBuilder_ == null) { if (!other.changeHistoryEvents_.isEmpty()) { if (changeHistoryEvents_.isEmpty()) { @@ -485,9 +547,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.SearchChangeHistoryE changeHistoryEventsBuilder_ = null; changeHistoryEvents_ = other.changeHistoryEvents_; bitField0_ = (bitField0_ & ~0x00000001); - changeHistoryEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChangeHistoryEventsFieldBuilder() : null; + changeHistoryEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChangeHistoryEventsFieldBuilder() + : null; } else { changeHistoryEventsBuilder_.addAllMessages(other.changeHistoryEvents_); } @@ -524,30 +587,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ChangeHistoryEvent m = - input.readMessage( - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), - extensionRegistry); - if (changeHistoryEventsBuilder_ == null) { - ensureChangeHistoryEventsIsMutable(); - changeHistoryEvents_.add(m); - } else { - changeHistoryEventsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1alpha.ChangeHistoryEvent m = + input.readMessage( + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.parser(), + extensionRegistry); + if (changeHistoryEventsBuilder_ == null) { + ensureChangeHistoryEventsIsMutable(); + changeHistoryEvents_.add(m); + } else { + changeHistoryEventsBuilder_.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) { @@ -557,28 +623,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List changeHistoryEvents_ = - java.util.Collections.emptyList(); + private java.util.List + changeHistoryEvents_ = java.util.Collections.emptyList(); + private void ensureChangeHistoryEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - changeHistoryEvents_ = new java.util.ArrayList(changeHistoryEvents_); + changeHistoryEvents_ = + new java.util.ArrayList( + changeHistoryEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> changeHistoryEventsBuilder_; + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> + changeHistoryEventsBuilder_; /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public java.util.List getChangeHistoryEventsList() { + public java.util.List + getChangeHistoryEventsList() { if (changeHistoryEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(changeHistoryEvents_); } else { @@ -586,11 +663,14 @@ public java.util.List get } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public int getChangeHistoryEventsCount() { if (changeHistoryEventsBuilder_ == null) { @@ -600,11 +680,14 @@ public int getChangeHistoryEventsCount() { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -614,11 +697,14 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEve } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { @@ -635,11 +721,14 @@ public Builder setChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -653,13 +742,17 @@ public Builder setChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public Builder addChangeHistoryEvents(com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { + public Builder addChangeHistoryEvents( + com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { if (changeHistoryEventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,11 +766,14 @@ public Builder addChangeHistoryEvents(com.google.analytics.admin.v1alpha.ChangeH return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent value) { @@ -694,11 +790,14 @@ public Builder addChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addChangeHistoryEvents( com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -712,11 +811,14 @@ public Builder addChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder builderForValue) { @@ -730,18 +832,21 @@ public Builder addChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addAllChangeHistoryEvents( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (changeHistoryEventsBuilder_ == null) { ensureChangeHistoryEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, changeHistoryEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changeHistoryEvents_); onChanged(); } else { changeHistoryEventsBuilder_.addAllMessages(values); @@ -749,11 +854,14 @@ public Builder addAllChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder clearChangeHistoryEvents() { if (changeHistoryEventsBuilder_ == null) { @@ -766,11 +874,14 @@ public Builder clearChangeHistoryEvents() { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ public Builder removeChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -783,39 +894,49 @@ public Builder removeChangeHistoryEvents(int index) { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder getChangeHistoryEventsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder + getChangeHistoryEventsBuilder(int index) { return getChangeHistoryEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder + getChangeHistoryEventsOrBuilder(int index) { if (changeHistoryEventsBuilder_ == null) { - return changeHistoryEvents_.get(index); } else { + return changeHistoryEvents_.get(index); + } else { return changeHistoryEventsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public java.util.List - getChangeHistoryEventsOrBuilderList() { + public java.util.List + getChangeHistoryEventsOrBuilderList() { if (changeHistoryEventsBuilder_ != null) { return changeHistoryEventsBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +944,62 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeH } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder() { - return getChangeHistoryEventsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder + addChangeHistoryEventsBuilder() { + return getChangeHistoryEventsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder( - int index) { - return getChangeHistoryEventsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder + addChangeHistoryEventsBuilder(int index) { + return getChangeHistoryEventsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - public java.util.List - getChangeHistoryEventsBuilderList() { + public java.util.List + getChangeHistoryEventsBuilderList() { return getChangeHistoryEventsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder> getChangeHistoryEventsFieldBuilder() { if (changeHistoryEventsBuilder_ == null) { - changeHistoryEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChangeHistoryEvent, com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder>( + changeHistoryEventsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChangeHistoryEvent, + com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder, + com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder>( changeHistoryEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +1011,21 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryEvent.Builder addChangeHi 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1034,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1057,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1097,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1131,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) - private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse(); } - public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsResponse 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; @@ -1025,9 +1179,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java index bcf0e3b0ad08..2eb7cc150f5a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SearchChangeHistoryEventsResponseOrBuilder.java @@ -1,75 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 SearchChangeHistoryEventsResponseOrBuilder extends +public interface SearchChangeHistoryEventsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - java.util.List + java.util.List getChangeHistoryEventsList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ com.google.analytics.admin.v1alpha.ChangeHistoryEvent getChangeHistoryEvents(int index); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ int getChangeHistoryEventsCount(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ - java.util.List + java.util.List getChangeHistoryEventsOrBuilderList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * */ com.google.analytics.admin.v1alpha.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java index 6af0b872d616..5b0da43a1782 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ServiceLevel.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Various levels of service for Google Analytics.
  * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.ServiceLevel} */ -public enum ServiceLevel - implements com.google.protobuf.ProtocolMessageEnum { +public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Service level not specified or invalid.
    * 
@@ -21,6 +39,8 @@ public enum ServiceLevel */ SERVICE_LEVEL_UNSPECIFIED(0), /** + * + * *
    * The standard version of Google Analytics.
    * 
@@ -29,6 +49,8 @@ public enum ServiceLevel */ GOOGLE_ANALYTICS_STANDARD(1), /** + * + * *
    * The paid, premium version of Google Analytics.
    * 
@@ -40,6 +62,8 @@ public enum ServiceLevel ; /** + * + * *
    * Service level not specified or invalid.
    * 
@@ -48,6 +72,8 @@ public enum ServiceLevel */ public static final int SERVICE_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The standard version of Google Analytics.
    * 
@@ -56,6 +82,8 @@ public enum ServiceLevel */ public static final int GOOGLE_ANALYTICS_STANDARD_VALUE = 1; /** + * + * *
    * The paid, premium version of Google Analytics.
    * 
@@ -64,7 +92,6 @@ public enum ServiceLevel */ public static final int GOOGLE_ANALYTICS_360_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static ServiceLevel valueOf(int value) { */ public static ServiceLevel forNumber(int value) { switch (value) { - case 0: return SERVICE_LEVEL_UNSPECIFIED; - case 1: return GOOGLE_ANALYTICS_STANDARD; - case 2: return GOOGLE_ANALYTICS_360; - default: return null; + case 0: + return SERVICE_LEVEL_UNSPECIFIED; + case 1: + return GOOGLE_ANALYTICS_STANDARD; + case 2: + return GOOGLE_ANALYTICS_360; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ServiceLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ServiceLevel findValueByNumber(int number) { - return ServiceLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServiceLevel findValueByNumber(int number) { + return ServiceLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(1); } private static final ServiceLevel[] VALUES = values(); - public static ServiceLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ServiceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +174,3 @@ private ServiceLevel(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.ServiceLevel) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequest.java index f0b516c20505..386b2e10e04e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,57 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/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 +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; + private static final long serialVersionUID = 0L; // Use SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() to construct. - private SetAutomatedGa4ConfigurationOptOutRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + 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) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetAutomatedGa4ConfigurationOptOutRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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.
@@ -60,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The property. */ @java.lang.Override @@ -68,14 +94,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * 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.
@@ -84,16 +111,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -104,11 +130,14 @@ public java.lang.String getProperty() { 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 @@ -117,6 +146,7 @@ public boolean getOptOut() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,8 +158,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -149,8 +178,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } if (optOut_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, optOut_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, optOut_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -160,17 +188,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest)) { + 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; + 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 (!getProperty().equals(other.getProperty())) return false; + if (getOptOut() != other.getOptOut()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,137 +213,151 @@ public int 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 = (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 { + 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 { + + 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 { + + 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 { + + 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 { + + 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 { + + 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); + + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for 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 + 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; + 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 + 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); + 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() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -326,19 +368,22 @@ public Builder clear() { } @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; + 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(); + 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(); + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -346,14 +391,19 @@ public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequ } @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); } + 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) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -367,46 +417,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SetAutomatedGa4Con public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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; @@ -441,22 +497,25 @@ public Builder mergeFrom( 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: + 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) { @@ -466,10 +525,13 @@ public Builder mergeFrom( } // 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.
@@ -478,13 +540,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -493,6 +555,8 @@ public 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.
@@ -501,15 +565,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -517,6 +580,8 @@ public 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.
@@ -525,18 +590,22 @@ public java.lang.String getProperty() {
      * 
* * 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(); } + 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.
@@ -545,6 +614,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -554,6 +624,8 @@ public Builder clearProperty() { 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.
@@ -562,12 +634,14 @@ public Builder clearProperty() {
      * 
* * 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(); } + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -575,13 +649,16 @@ public Builder setPropertyBytes( return this; } - private boolean optOut_ ; + private boolean optOut_; /** + * + * *
      * The status to set.
      * 
* * bool opt_out = 2; + * * @return The optOut. */ @java.lang.Override @@ -589,27 +666,33 @@ 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() { @@ -618,9 +701,9 @@ public Builder clearOptOut() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -630,41 +713,46 @@ public final Builder mergeUnknownFields( 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; + private static final com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest(); } - public static com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest getDefaultInstance() { + 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(); - } - }; + 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; @@ -676,9 +764,8 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutRequestOrBuilder.java index 7b29653f0ddb..6828842a0834 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface SetAutomatedGa4ConfigurationOptOutRequestOrBuilder extends +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.
@@ -16,10 +34,13 @@ public interface SetAutomatedGa4ConfigurationOptOutRequestOrBuilder extends
    * 
* * 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.
@@ -28,17 +49,20 @@ public interface SetAutomatedGa4ConfigurationOptOutRequestOrBuilder extends
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + 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/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequest.java index 77dd5e3ebaff..50e1483f43cb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,61 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccountRequest} */ -public final class UpdateAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAccountRequest) UpdateAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAccountRequest.newBuilder() to construct. private UpdateAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAccountRequest() { - } + + private UpdateAccountRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateAccountRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, + com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Account account_; /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the account field is set. */ @java.lang.Override @@ -63,34 +86,49 @@ public boolean hasAccount() { return account_ != null; } /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Account getAccount() { - return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { - return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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
@@ -98,7 +136,9 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder()
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -106,6 +146,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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
@@ -113,7 +155,9 @@ public boolean hasUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -121,6 +165,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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
@@ -128,7 +174,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -136,6 +183,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -165,12 +212,10 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,22 +225,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAccountRequest other = (com.google.analytics.admin.v1alpha.UpdateAccountRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAccountRequest other = + (com.google.analytics.admin.v1alpha.UpdateAccountRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +266,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( 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.UpdateAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAccountRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccountRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAccountRequest) com.google.analytics.admin.v1alpha.UpdateAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, + com.google.analytics.admin.v1alpha.UpdateAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateAccountRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; } @java.lang.Override @@ -384,8 +435,11 @@ public com.google.analytics.admin.v1alpha.UpdateAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAccountRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAccountRequest result = new com.google.analytics.admin.v1alpha.UpdateAccountRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateAccountRequest result = + new com.google.analytics.admin.v1alpha.UpdateAccountRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,14 +447,10 @@ public com.google.analytics.admin.v1alpha.UpdateAccountRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAccountRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null - ? account_ - : accountBuilder_.build(); + result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,38 +458,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAccountReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAccountRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAccountRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +498,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAccountRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance()) + return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -480,26 +532,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAccountFieldBuilder().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: + case 10: + { + input.readMessage(getAccountFieldBuilder().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) { @@ -509,46 +560,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> accountBuilder_; + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> + accountBuilder_; /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The account. */ public com.google.analytics.admin.v1alpha.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } else { return accountBuilder_.getMessage(); } } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { @@ -564,15 +635,18 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAccount( - com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { + public Builder setAccount(com.google.analytics.admin.v1alpha.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -583,18 +657,22 @@ public Builder setAccount( return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - account_ != null && - account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && account_ != null + && account_ != com.google.analytics.admin.v1alpha.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -607,12 +685,16 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAccount() { bitField0_ = (bitField0_ & ~0x00000001); @@ -625,12 +707,16 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { bitField0_ |= 0x00000001; @@ -638,38 +724,50 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null ? - com.google.analytics.admin.v1alpha.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1alpha.Account.getDefaultInstance() + : account_; } } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder> + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Account, com.google.analytics.admin.v1alpha.Account.Builder, com.google.analytics.admin.v1alpha.AccountOrBuilder>( - getAccount(), - getParentForChildren(), - isClean()); + accountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Account, + com.google.analytics.admin.v1alpha.Account.Builder, + com.google.analytics.admin.v1alpha.AccountOrBuilder>( + getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; @@ -677,8 +775,13 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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
@@ -686,13 +789,17 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder()
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
      * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -700,17 +807,23 @@ public boolean hasUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -718,7 +831,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -734,6 +848,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -741,10 +857,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -755,6 +871,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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
@@ -762,13 +880,14 @@ public Builder setUpdateMask(
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -781,6 +900,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -788,7 +909,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -801,6 +923,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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
@@ -808,7 +932,8 @@ public Builder clearUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -816,6 +941,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -823,17 +950,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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
@@ -841,24 +972,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAccountRequest) private static final com.google.analytics.admin.v1alpha.UpdateAccountRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAccountRequest(); } @@ -882,27 +1017,27 @@ public static com.google.analytics.admin.v1alpha.UpdateAccountRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAccountRequest 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; @@ -917,6 +1052,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccountRequestOrBuilder.java index 5abb92c3115b..0b227a0decbe 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,43 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateAccountRequestOrBuilder extends +public interface UpdateAccountRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAccountRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The account. */ com.google.analytics.admin.v1alpha.Account getAccount(); /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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
@@ -45,11 +77,15 @@ public interface UpdateAccountRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -57,11 +93,15 @@ public interface UpdateAccountRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -69,7 +109,8 @@ public interface UpdateAccountRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequest.java index ad13c7be9dcd..a0c0a03312e9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,61 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateAttributionSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest} */ -public final class UpdateAttributionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAttributionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) UpdateAttributionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAttributionSettingsRequest.newBuilder() to construct. - private UpdateAttributionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateAttributionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAttributionSettingsRequest() { - } + + private UpdateAttributionSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAttributionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateAttributionSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); } public static final int ATTRIBUTION_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.AttributionSettings attributionSettings_; /** + * + * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attributionSettings field is set. */ @java.lang.Override @@ -63,34 +87,50 @@ public boolean hasAttributionSettings() { return attributionSettings_ != null; } /** + * + * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attributionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings() { - return attributionSettings_ == null ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; + return attributionSettings_ == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() + : attributionSettings_; } /** + * + * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { - return attributionSettings_ == null ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder + getAttributionSettingsOrBuilder() { + return attributionSettings_ == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() + : attributionSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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
@@ -98,7 +138,9 @@ public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttrib
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -106,6 +148,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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
@@ -113,7 +157,9 @@ public boolean hasUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -121,6 +167,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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
@@ -128,7 +176,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -136,6 +185,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (attributionSettings_ != null) { output.writeMessage(1, getAttributionSettings()); } @@ -165,12 +214,10 @@ public int getSerializedSize() { size = 0; if (attributionSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributionSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttributionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,22 +227,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other = + (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) obj; if (hasAttributionSettings() != other.hasAttributionSettings()) return false; if (hasAttributionSettings()) { - if (!getAttributionSettings() - .equals(other.getAttributionSettings())) return false; + if (!getAttributionSettings().equals(other.getAttributionSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +268,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( 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.UpdateAttributionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest 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.UpdateAttributionSettingsRequest + 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.UpdateAttributionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateAttributionSettings RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,14 +418,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -384,23 +441,26 @@ public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result = + new com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attributionSettings_ = attributionSettingsBuilder_ == null - ? attributionSettings_ - : attributionSettingsBuilder_.build(); + result.attributionSettings_ = + attributionSettingsBuilder_ == null + ? attributionSettings_ + : attributionSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,46 +468,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAttributionS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateAttributionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + .getDefaultInstance()) return this; if (other.hasAttributionSettings()) { mergeAttributionSettings(other.getAttributionSettings()); } @@ -480,26 +545,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAttributionSettingsFieldBuilder().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: + case 10: + { + input.readMessage( + getAttributionSettingsFieldBuilder().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) { @@ -509,48 +574,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.AttributionSettings attributionSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> attributionSettingsBuilder_; + com.google.analytics.admin.v1alpha.AttributionSettings, + com.google.analytics.admin.v1alpha.AttributionSettings.Builder, + com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> + attributionSettingsBuilder_; /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attributionSettings field is set. */ public boolean hasAttributionSettings() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attributionSettings. */ public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings() { if (attributionSettingsBuilder_ == null) { - return attributionSettings_ == null ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; + return attributionSettings_ == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() + : attributionSettings_; } else { return attributionSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { + public Builder setAttributionSettings( + com.google.analytics.admin.v1alpha.AttributionSettings value) { if (attributionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -564,12 +650,16 @@ public Builder setAttributionSettings(com.google.analytics.admin.v1alpha.Attribu return this; } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttributionSettings( com.google.analytics.admin.v1alpha.AttributionSettings.Builder builderForValue) { @@ -583,18 +673,24 @@ public Builder setAttributionSettings( return this; } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAttributionSettings(com.google.analytics.admin.v1alpha.AttributionSettings value) { + public Builder mergeAttributionSettings( + com.google.analytics.admin.v1alpha.AttributionSettings value) { if (attributionSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - attributionSettings_ != null && - attributionSettings_ != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && attributionSettings_ != null + && attributionSettings_ + != com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance()) { getAttributionSettingsBuilder().mergeFrom(value); } else { attributionSettings_ = value; @@ -607,12 +703,16 @@ public Builder mergeAttributionSettings(com.google.analytics.admin.v1alpha.Attri return this; } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttributionSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -625,51 +725,69 @@ public Builder clearAttributionSettings() { return this; } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AttributionSettings.Builder getAttributionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettings.Builder + getAttributionSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAttributionSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder + getAttributionSettingsOrBuilder() { if (attributionSettingsBuilder_ != null) { return attributionSettingsBuilder_.getMessageOrBuilder(); } else { - return attributionSettings_ == null ? - com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() : attributionSettings_; + return attributionSettings_ == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance() + : attributionSettings_; } } /** + * + * *
      * Required. The attribution settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.AttributionSettings, + com.google.analytics.admin.v1alpha.AttributionSettings.Builder, + com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder> getAttributionSettingsFieldBuilder() { if (attributionSettingsBuilder_ == null) { - attributionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AttributionSettings, com.google.analytics.admin.v1alpha.AttributionSettings.Builder, com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( - getAttributionSettings(), - getParentForChildren(), - isClean()); + attributionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AttributionSettings, + com.google.analytics.admin.v1alpha.AttributionSettings.Builder, + com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder>( + getAttributionSettings(), getParentForChildren(), isClean()); attributionSettings_ = null; } return attributionSettingsBuilder_; @@ -677,8 +795,13 @@ public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttrib private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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
@@ -686,13 +809,17 @@ public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttrib
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
      * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -700,17 +827,23 @@ public boolean hasUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -718,7 +851,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -734,6 +868,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -741,10 +877,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -755,6 +891,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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
@@ -762,13 +900,14 @@ public Builder setUpdateMask(
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -781,6 +920,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -788,7 +929,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -801,6 +943,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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
@@ -808,7 +952,8 @@ public Builder clearUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -816,6 +961,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -823,17 +970,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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
@@ -841,24 +992,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,41 +1023,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttributionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttributionSettingsRequest 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; @@ -914,9 +1071,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAttributionSettingsRequestOrBuilder.java index 0752845cf767..25b25d8b661e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,43 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateAttributionSettingsRequestOrBuilder extends +public interface UpdateAttributionSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attributionSettings field is set. */ boolean hasAttributionSettings(); /** + * + * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attributionSettings. */ com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings(); /** + * + * *
    * Required. The attribution settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttributionSettingsOrBuilder(); /** + * + * *
    * 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
@@ -45,11 +77,15 @@ public interface UpdateAttributionSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -57,11 +93,15 @@ public interface UpdateAttributionSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -69,7 +109,8 @@ public interface UpdateAttributionSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequest.java index e0f224441a1d..ddc747a93172 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,61 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateAudience RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAudienceRequest} */ -public final class UpdateAudienceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAudienceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAudienceRequest) UpdateAudienceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAudienceRequest.newBuilder() to construct. private UpdateAudienceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAudienceRequest() { - } + + private UpdateAudienceRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAudienceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateAudienceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, + com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); } public static final int AUDIENCE_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Audience audience_; /** + * + * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the audience field is set. */ @java.lang.Override @@ -63,34 +86,49 @@ public boolean hasAudience() { return audience_ != null; } /** + * + * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The audience. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Audience getAudience() { - return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } /** + * + * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { - return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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
@@ -98,7 +136,9 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -106,6 +146,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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
@@ -113,7 +155,9 @@ public boolean hasUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -121,6 +165,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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
@@ -128,7 +174,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -136,6 +183,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (audience_ != null) { output.writeMessage(1, getAudience()); } @@ -165,12 +212,10 @@ public int getSerializedSize() { size = 0; if (audience_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAudience()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAudience()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,22 +225,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateAudienceRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAudienceRequest other = (com.google.analytics.admin.v1alpha.UpdateAudienceRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAudienceRequest other = + (com.google.analytics.admin.v1alpha.UpdateAudienceRequest) obj; if (hasAudience() != other.hasAudience()) return false; if (hasAudience()) { - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getAudience().equals(other.getAudience())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +266,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( 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.UpdateAudienceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAudienceRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateAudienceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateAudience RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAudienceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAudienceRequest) com.google.analytics.admin.v1alpha.UpdateAudienceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, + com.google.analytics.admin.v1alpha.UpdateAudienceRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateAudienceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; } @java.lang.Override @@ -384,8 +435,11 @@ public com.google.analytics.admin.v1alpha.UpdateAudienceRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAudienceRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAudienceRequest result = new com.google.analytics.admin.v1alpha.UpdateAudienceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateAudienceRequest result = + new com.google.analytics.admin.v1alpha.UpdateAudienceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,14 +447,10 @@ public com.google.analytics.admin.v1alpha.UpdateAudienceRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAudienceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.audience_ = audienceBuilder_ == null - ? audience_ - : audienceBuilder_.build(); + result.audience_ = audienceBuilder_ == null ? audience_ : audienceBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,38 +458,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAudienceRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateAudienceRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAudienceRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAudienceRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +498,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAudienceRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAudienceRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.UpdateAudienceRequest.getDefaultInstance()) + return this; if (other.hasAudience()) { mergeAudience(other.getAudience()); } @@ -480,26 +532,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAudienceFieldBuilder().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: + case 10: + { + input.readMessage(getAudienceFieldBuilder().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) { @@ -509,46 +560,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Audience audience_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> audienceBuilder_; + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder> + audienceBuilder_; /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the audience field is set. */ public boolean hasAudience() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The audience. */ public com.google.analytics.admin.v1alpha.Audience getAudience() { if (audienceBuilder_ == null) { - return audience_ == null ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } else { return audienceBuilder_.getMessage(); } } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { @@ -564,12 +635,16 @@ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { return this; } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAudience( com.google.analytics.admin.v1alpha.Audience.Builder builderForValue) { @@ -583,18 +658,22 @@ public Builder setAudience( return this; } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - audience_ != null && - audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && audience_ != null + && audience_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { getAudienceBuilder().mergeFrom(value); } else { audience_ = value; @@ -607,12 +686,16 @@ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) return this; } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAudience() { bitField0_ = (bitField0_ & ~0x00000001); @@ -625,12 +708,16 @@ public Builder clearAudience() { return this; } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() { bitField0_ |= 0x00000001; @@ -638,38 +725,50 @@ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() return getAudienceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { if (audienceBuilder_ != null) { return audienceBuilder_.getMessageOrBuilder(); } else { - return audience_ == null ? - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() : audience_; + return audience_ == null + ? com.google.analytics.admin.v1alpha.Audience.getDefaultInstance() + : audience_; } } /** + * + * *
      * Required. The audience to update.
      * The audience's `name` field is used to identify the audience to be updated.
      * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder> + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder> getAudienceFieldBuilder() { if (audienceBuilder_ == null) { - audienceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Audience, com.google.analytics.admin.v1alpha.Audience.Builder, com.google.analytics.admin.v1alpha.AudienceOrBuilder>( - getAudience(), - getParentForChildren(), - isClean()); + audienceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Audience, + com.google.analytics.admin.v1alpha.Audience.Builder, + com.google.analytics.admin.v1alpha.AudienceOrBuilder>( + getAudience(), getParentForChildren(), isClean()); audience_ = null; } return audienceBuilder_; @@ -677,8 +776,13 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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
@@ -686,13 +790,17 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
      * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -700,17 +808,23 @@ public boolean hasUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -718,7 +832,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -734,6 +849,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -741,10 +858,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -755,6 +872,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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
@@ -762,13 +881,14 @@ public Builder setUpdateMask(
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -781,6 +901,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -788,7 +910,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -801,6 +924,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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
@@ -808,7 +933,8 @@ public Builder clearUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -816,6 +942,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -823,17 +951,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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
@@ -841,24 +973,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +1004,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAudienceRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAudienceRequest) private static final com.google.analytics.admin.v1alpha.UpdateAudienceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAudienceRequest(); } @@ -882,27 +1018,27 @@ public static com.google.analytics.admin.v1alpha.UpdateAudienceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAudienceRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAudienceRequest 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; @@ -917,6 +1053,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateAudienceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAudienceRequestOrBuilder.java index 731c2b05dd0d..725e3eca9a6e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,43 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateAudienceRequestOrBuilder extends +public interface UpdateAudienceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAudienceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the audience field is set. */ boolean hasAudience(); /** + * + * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The audience. */ com.google.analytics.admin.v1alpha.Audience getAudience(); /** + * + * *
    * Required. The audience to update.
    * The audience's `name` field is used to identify the audience to be updated.
    * 
* - * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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
@@ -45,11 +77,15 @@ public interface UpdateAudienceRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -57,11 +93,15 @@ public interface UpdateAudienceRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -69,7 +109,8 @@ public interface UpdateAudienceRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequest.java index 1bfe70f0f63d..6ca274079ac2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomDimensionRequest} */ -public final class UpdateCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) UpdateCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCustomDimensionRequest.newBuilder() to construct. private UpdateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCustomDimensionRequest() { - } + + private UpdateCustomDimensionRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); } public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { - return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } /** + * + * *
    * The CustomDimension to update
    * 
@@ -82,19 +110,25 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +136,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +154,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -159,12 +200,10 @@ public int getSerializedSize() { size = 0; if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomDimension()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other = (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) obj; + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other = + (com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) obj; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension() - .equals(other.getCustomDimension())) return false; + if (!getCustomDimension().equals(other.getCustomDimension())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( 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.UpdateCustomDimensionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,13 +402,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance(); } @@ -378,23 +424,24 @@ public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result = new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result = + new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customDimension_ = customDimensionBuilder_ == null - ? customDimension_ - : customDimensionBuilder_.build(); + result.customDimension_ = + customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,46 +449,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateCustomDimens public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance()) + return this; if (other.hasCustomDimension()) { mergeCustomDimension(other.getCustomDimension()); } @@ -474,26 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCustomDimensionFieldBuilder().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: + case 10: + { + input.readMessage(getCustomDimensionFieldBuilder().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) { @@ -503,38 +553,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> customDimensionBuilder_; + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + customDimensionBuilder_; /** + * + * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return The customDimension. */ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** + * + * *
      * The CustomDimension to update
      * 
@@ -555,6 +619,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -573,6 +639,8 @@ public Builder setCustomDimension( return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -581,9 +649,10 @@ public Builder setCustomDimension( */ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - customDimension_ != null && - customDimension_ != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && customDimension_ != null + && customDimension_ + != com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -596,6 +665,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -613,6 +684,8 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -625,21 +698,27 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; */ - public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder + getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null ? - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance() + : customDimension_; } } /** + * + * *
      * The CustomDimension to update
      * 
@@ -647,14 +726,17 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomDimension, com.google.analytics.admin.v1alpha.CustomDimension.Builder, com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( - getCustomDimension(), - getParentForChildren(), - isClean()); + customDimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomDimension, + com.google.analytics.admin.v1alpha.CustomDimension.Builder, + com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder>( + getCustomDimension(), getParentForChildren(), isClean()); customDimension_ = null; } return customDimensionBuilder_; @@ -662,45 +744,61 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +814,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +836,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +864,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +886,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +903,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,41 +963,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) - private static final com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomDimensionRequest 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; @@ -890,9 +1011,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomDimensionRequestOrBuilder.java index c4e90f4160af..919c86809f3a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomDimensionRequestOrBuilder extends +public interface UpdateCustomDimensionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * * @return The customDimension. */ com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); /** + * + * *
    * The CustomDimension to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateCustomDimensionRequestOrBuilder extends com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** + * + * *
    * 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequest.java index 11da3853490f..581b7dd065a6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomMetricRequest} */ -public final class UpdateCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) UpdateCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCustomMetricRequest.newBuilder() to construct. private UpdateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCustomMetricRequest() { - } + + private UpdateCustomMetricRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); } public static final int CUSTOM_METRIC_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { - return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } /** + * + * *
    * The CustomMetric to update
    * 
@@ -82,19 +110,25 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +136,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +154,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customMetric_ != null) { output.writeMessage(1, getCustomMetric()); } @@ -159,12 +200,10 @@ public int getSerializedSize() { size = 0; if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomMetric()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other = (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) obj; + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other = + (com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) obj; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric() - .equals(other.getCustomMetric())) return false; + if (!getCustomMetric().equals(other.getCustomMetric())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( 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.UpdateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) com.google.analytics.admin.v1alpha.UpdateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,13 +402,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance(); } @@ -378,23 +424,24 @@ public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result = new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result = + new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customMetric_ = customMetricBuilder_ == null - ? customMetric_ - : customMetricBuilder_.build(); + result.customMetric_ = + customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,38 +449,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateCustomMetric public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +489,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance()) + return this; if (other.hasCustomMetric()) { mergeCustomMetric(other.getCustomMetric()); } @@ -474,26 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCustomMetricFieldBuilder().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: + case 10: + { + input.readMessage(getCustomMetricFieldBuilder().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) { @@ -503,38 +552,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> customMetricBuilder_; + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + customMetricBuilder_; /** + * + * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return The customMetric. */ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** + * + * *
      * The CustomMetric to update
      * 
@@ -555,6 +618,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -573,6 +638,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -581,9 +648,10 @@ public Builder setCustomMetric( */ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - customMetric_ != null && - customMetric_ != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && customMetric_ != null + && customMetric_ + != com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -596,6 +664,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -613,6 +683,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -625,6 +697,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
      * The CustomMetric to update
      * 
@@ -635,11 +709,14 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null ? - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance() + : customMetric_; } } /** + * + * *
      * The CustomMetric to update
      * 
@@ -647,14 +724,17 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.CustomMetric, com.google.analytics.admin.v1alpha.CustomMetric.Builder, com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( - getCustomMetric(), - getParentForChildren(), - isClean()); + customMetricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.CustomMetric, + com.google.analytics.admin.v1alpha.CustomMetric.Builder, + com.google.analytics.admin.v1alpha.CustomMetricOrBuilder>( + getCustomMetric(), getParentForChildren(), isClean()); customMetric_ = null; } return customMetricBuilder_; @@ -662,45 +742,61 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +812,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +834,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +862,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +884,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +901,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +961,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) - private static final com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest(); } @@ -858,27 +976,27 @@ public static com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomMetricRequest 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; @@ -893,6 +1011,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateCustomMetricRequestOrBuilder.java index b82467f135cf..f349b2071047 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateCustomMetricRequestOrBuilder extends +public interface UpdateCustomMetricRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateCustomMetricRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * * @return The customMetric. */ com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); /** + * + * *
    * The CustomMetric to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateCustomMetricRequestOrBuilder extends com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** + * + * *
    * 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequest.java index 9a2416222d25..f211a92c2f18 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,61 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest} */ -public final class UpdateDataRetentionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) UpdateDataRetentionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataRetentionSettingsRequest.newBuilder() to construct. - private UpdateDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataRetentionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataRetentionSettingsRequest() { - } + + private UpdateDataRetentionSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateDataRetentionSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.DataRetentionSettings dataRetentionSettings_; /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -63,34 +87,50 @@ public boolean hasDataRetentionSettings() { return dataRetentionSettings_ != null; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings() { - return dataRetentionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { - return dataRetentionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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
@@ -98,7 +138,9 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getData
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -106,6 +148,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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
@@ -113,7 +157,9 @@ public boolean hasUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -121,6 +167,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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
@@ -128,7 +176,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -136,6 +185,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataRetentionSettings_ != null) { output.writeMessage(1, getDataRetentionSettings()); } @@ -165,12 +214,11 @@ public int getSerializedSize() { size = 0; if (dataRetentionSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataRetentionSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataRetentionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,22 +228,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other = + (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) obj; if (hasDataRetentionSettings() != other.hasDataRetentionSettings()) return false; if (hasDataRetentionSettings()) { - if (!getDataRetentionSettings() - .equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +269,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( 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.UpdateDataRetentionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest 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.UpdateDataRetentionSettingsRequest + 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.UpdateDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,14 +419,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -384,23 +442,26 @@ public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest bui @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result = + new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataRetentionSettings_ = dataRetentionSettingsBuilder_ == null - ? dataRetentionSettings_ - : dataRetentionSettingsBuilder_.build(); + result.dataRetentionSettings_ = + dataRetentionSettingsBuilder_ == null + ? dataRetentionSettings_ + : dataRetentionSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,46 +469,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataRetentio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateDataRetentionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + .getDefaultInstance()) return this; if (other.hasDataRetentionSettings()) { mergeDataRetentionSettings(other.getDataRetentionSettings()); } @@ -480,26 +546,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataRetentionSettingsFieldBuilder().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: + case 10: + { + input.readMessage( + getDataRetentionSettingsFieldBuilder().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) { @@ -509,48 +575,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.DataRetentionSettings dataRetentionSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1alpha.DataRetentionSettings, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> + dataRetentionSettingsBuilder_; /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRetentionSettings field is set. */ public boolean hasDataRetentionSettings() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRetentionSettings. */ public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { - return dataRetentionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } else { return dataRetentionSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder setDataRetentionSettings( + com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -564,12 +651,16 @@ public Builder setDataRetentionSettings(com.google.analytics.admin.v1alpha.DataR return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder builderForValue) { @@ -583,18 +674,24 @@ public Builder setDataRetentionSettings( return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings( + com.google.analytics.admin.v1alpha.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dataRetentionSettings_ != null && - dataRetentionSettings_ != com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dataRetentionSettings_ != null + && dataRetentionSettings_ + != com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance()) { getDataRetentionSettingsBuilder().mergeFrom(value); } else { dataRetentionSettings_ = value; @@ -607,12 +704,16 @@ public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1alpha.Dat return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataRetentionSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -625,51 +726,69 @@ public Builder clearDataRetentionSettings() { return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder + getDataRetentionSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { if (dataRetentionSettingsBuilder_ != null) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { - return dataRetentionSettings_ == null ? - com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.DataRetentionSettings, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { - dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRetentionSettings, com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( - getDataRetentionSettings(), - getParentForChildren(), - isClean()); + dataRetentionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataRetentionSettings, + com.google.analytics.admin.v1alpha.DataRetentionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder>( + getDataRetentionSettings(), getParentForChildren(), isClean()); dataRetentionSettings_ = null; } return dataRetentionSettingsBuilder_; @@ -677,8 +796,13 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getData private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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
@@ -686,13 +810,17 @@ public com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getData
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
      * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -700,17 +828,23 @@ public boolean hasUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -718,7 +852,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -734,6 +869,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -741,10 +878,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -755,6 +892,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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
@@ -762,13 +901,14 @@ public Builder setUpdateMask(
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -781,6 +921,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -788,7 +930,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -801,6 +944,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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
@@ -808,7 +953,8 @@ public Builder clearUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -816,6 +962,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -823,17 +971,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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
@@ -841,24 +993,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,41 +1024,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataRetentionSettingsRequest 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; @@ -914,9 +1072,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRetentionSettingsRequestOrBuilder.java index 62f3e92351af..8490f71f3712 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,43 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateDataRetentionSettingsRequestOrBuilder extends +public interface UpdateDataRetentionSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRetentionSettings. */ com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder(); /** + * + * *
    * 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
@@ -45,11 +78,15 @@ public interface UpdateDataRetentionSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -57,11 +94,15 @@ public interface UpdateDataRetentionSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -69,7 +110,8 @@ public interface UpdateDataRetentionSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequest.java index 887cde846bf6..32d1fdf98707 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataStreamRequest} */ -public final class UpdateDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataStreamRequest) UpdateDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataStreamRequest.newBuilder() to construct. private UpdateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataStreamRequest() { - } + + private UpdateDataStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); } public static final int DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.DataStream dataStream_; /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasDataStream() { return dataStream_ != null; } /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStream getDataStream() { - return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } /** + * + * *
    * The DataStream to update
    * 
@@ -82,19 +110,25 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +136,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +154,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataStream_ != null) { output.writeMessage(1, getDataStream()); } @@ -159,12 +200,10 @@ public int getSerializedSize() { size = 0; if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest other = (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest other = + (com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) obj; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream() - .equals(other.getDataStream())) return false; + if (!getDataStream().equals(other.getDataStream())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( 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.UpdateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateDataStreamRequest) com.google.analytics.admin.v1alpha.UpdateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; } @java.lang.Override @@ -378,8 +423,11 @@ public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result = new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result = + new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -387,14 +435,10 @@ public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest buildPartial() private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null - ? dataStream_ - : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,38 +446,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataStreamRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance()) + return this; if (other.hasDataStream()) { mergeDataStream(other.getDataStream()); } @@ -474,26 +520,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataStreamFieldBuilder().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: + case 10: + { + input.readMessage(getDataStreamFieldBuilder().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) { @@ -503,38 +548,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.DataStream dataStream_; 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.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + dataStreamBuilder_; /** + * + * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return The dataStream. */ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** + * + * *
      * The DataStream to update
      * 
@@ -555,6 +614,8 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -573,6 +634,8 @@ public Builder setDataStream( return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -581,9 +644,9 @@ public Builder setDataStream( */ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dataStream_ != null && - dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dataStream_ != null + && dataStream_ != com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -596,6 +659,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -613,6 +678,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -625,6 +692,8 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * The DataStream to update
      * 
@@ -635,11 +704,14 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null ? - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance() + : dataStream_; } } /** + * + * *
      * The DataStream to update
      * 
@@ -647,14 +719,17 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui * .google.analytics.admin.v1alpha.DataStream data_stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder> + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataStream, com.google.analytics.admin.v1alpha.DataStream.Builder, com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( - getDataStream(), - getParentForChildren(), - isClean()); + dataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataStream, + com.google.analytics.admin.v1alpha.DataStream.Builder, + com.google.analytics.admin.v1alpha.DataStreamOrBuilder>( + getDataStream(), getParentForChildren(), isClean()); dataStream_ = null; } return dataStreamBuilder_; @@ -662,45 +737,61 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +807,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +829,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +857,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +879,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +896,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateDataStreamRequest) private static final com.google.analytics.admin.v1alpha.UpdateDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateDataStreamRequest(); } @@ -858,27 +970,27 @@ public static com.google.analytics.admin.v1alpha.UpdateDataStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataStreamRequest 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; @@ -893,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataStreamRequestOrBuilder.java index cd38517641d5..2a7dd37c7109 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateDataStreamRequestOrBuilder extends +public interface UpdateDataStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * * @return The dataStream. */ com.google.analytics.admin.v1alpha.DataStream getDataStream(); /** + * + * *
    * The DataStream to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateDataStreamRequestOrBuilder extends com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); /** + * + * *
    * 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 56% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.java index 5f0ba2e6235d..69af8dfaba0f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,60 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateDisplayVideo360AdvertiserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest} */ -public final class UpdateDisplayVideo360AdvertiserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDisplayVideo360AdvertiserLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() to construct. - private UpdateDisplayVideo360AdvertiserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDisplayVideo360AdvertiserLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDisplayVideo360AdvertiserLinkRequest() { - } + + private UpdateDisplayVideo360AdvertiserLinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDisplayVideo360AdvertiserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder + .class); } public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + displayVideo360AdvertiserLink_; /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ @java.lang.Override @@ -62,39 +89,58 @@ public boolean hasDisplayVideo360AdvertiserLink() { return displayVideo360AdvertiserLink_ != null; } /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return The displayVideo360AdvertiserLink. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +148,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +166,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +183,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (displayVideo360AdvertiserLink_ != null) { output.writeMessage(1, getDisplayVideo360AdvertiserLink()); } @@ -159,12 +212,12 @@ public int getSerializedSize() { size = 0; if (displayVideo360AdvertiserLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDisplayVideo360AdvertiserLink()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getDisplayVideo360AdvertiserLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +227,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other = + (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) obj; - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; + if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) + return false; if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink() - .equals(other.getDisplayVideo360AdvertiserLink())) return false; + if (!getDisplayVideo360AdvertiserLink().equals(other.getDisplayVideo360AdvertiserLink())) + return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -215,130 +270,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + 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.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + parseFrom( + 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.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + 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.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest 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.UpdateDisplayVideo360AdvertiserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + 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.UpdateDisplayVideo360AdvertiserLinkRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + 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.UpdateDisplayVideo360AdvertiserLinkRequest + 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.UpdateDisplayVideo360AdvertiserLinkRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateDisplayVideo360AdvertiserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,19 +427,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest build() { - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -377,24 +450,28 @@ public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkReq } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + buildPartial() { + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result = + new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_ == null - ? displayVideo360AdvertiserLink_ - : displayVideo360AdvertiserLinkBuilder_.build(); + result.displayVideo360AdvertiserLink_ = + displayVideo360AdvertiserLinkBuilder_ == null + ? displayVideo360AdvertiserLink_ + : displayVideo360AdvertiserLinkBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,46 +479,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDisplayVideo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateDisplayVideo360AdvertiserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + .getDefaultInstance()) return this; if (other.hasDisplayVideo360AdvertiserLink()) { mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); } @@ -474,26 +558,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDisplayVideo360AdvertiserLinkFieldBuilder().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: + case 10: + { + input.readMessage( + getDisplayVideo360AdvertiserLinkFieldBuilder().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) { @@ -503,45 +587,68 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; + private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + displayVideo360AdvertiserLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + displayVideo360AdvertiserLinkBuilder_; /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ public boolean hasDisplayVideo360AdvertiserLink() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return The displayVideo360AdvertiserLink. */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } else { return displayVideo360AdvertiserLinkBuilder_.getMessage(); } } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ - public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder setDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -555,11 +662,15 @@ public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alp return this; } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ public Builder setDisplayVideo360AdvertiserLink( com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { @@ -573,17 +684,24 @@ public Builder setDisplayVideo360AdvertiserLink( return this; } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ - public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { + public Builder mergeDisplayVideo360AdvertiserLink( + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - displayVideo360AdvertiserLink_ != null && - displayVideo360AdvertiserLink_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && displayVideo360AdvertiserLink_ != null + && displayVideo360AdvertiserLink_ + != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + .getDefaultInstance()) { getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); } else { displayVideo360AdvertiserLink_ = value; @@ -596,11 +714,15 @@ public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1a return this; } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ public Builder clearDisplayVideo360AdvertiserLink() { bitField0_ = (bitField0_ & ~0x00000001); @@ -613,48 +735,66 @@ public Builder clearDisplayVideo360AdvertiserLink() { return this; } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder + getDisplayVideo360AdvertiserLinkBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder() { if (displayVideo360AdvertiserLinkBuilder_ != null) { return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); } else { - return displayVideo360AdvertiserLink_ == null ? - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; + return displayVideo360AdvertiserLink_ == null + ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() + : displayVideo360AdvertiserLink_; } } /** + * + * *
      * The DisplayVideo360AdvertiserLink to update
      * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> getDisplayVideo360AdvertiserLinkFieldBuilder() { if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( - getDisplayVideo360AdvertiserLink(), - getParentForChildren(), - isClean()); + displayVideo360AdvertiserLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( + getDisplayVideo360AdvertiserLink(), getParentForChildren(), isClean()); displayVideo360AdvertiserLink_ = null; } return displayVideo360AdvertiserLinkBuilder_; @@ -662,45 +802,61 @@ public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +872,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +894,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +922,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +944,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +961,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,41 +1021,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) - private static final com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDisplayVideo360AdvertiserLinkRequest 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(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDisplayVideo360AdvertiserLinkRequest 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; @@ -890,9 +1072,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder.java index 66ea7e522c4a..3ba2aea0a627 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,69 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder extends +public interface UpdateDisplayVideo360AdvertiserLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return Whether the displayVideo360AdvertiserLink field is set. */ boolean hasDisplayVideo360AdvertiserLink(); /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * * @return The displayVideo360AdvertiserLink. */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + getDisplayVideo360AdvertiserLink(); /** + * + * *
    * The DisplayVideo360AdvertiserLink to update
    * 
* - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * + * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); + com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder + getDisplayVideo360AdvertiserLinkOrBuilder(); /** + * + * *
    * 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequest.java index 87635dfd0f29..e0fb79bf792d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest} */ -public final class UpdateGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) UpdateGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGoogleAdsLinkRequest.newBuilder() to construct. private UpdateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGoogleAdsLinkRequest() { - } + + private UpdateGoogleAdsLinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateGoogleAdsLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } /** + * + * *
    * The GoogleAdsLink to update
    * 
@@ -82,12 +110,16 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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
@@ -95,7 +127,9 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -103,6 +137,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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
@@ -110,7 +146,9 @@ public boolean hasUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -118,6 +156,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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
@@ -125,7 +165,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -133,6 +174,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (googleAdsLink_ != null) { output.writeMessage(1, getGoogleAdsLink()); } @@ -162,12 +203,10 @@ public int getSerializedSize() { size = 0; if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleAdsLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,22 +216,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other = + (com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) obj; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink() - .equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -219,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( 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.UpdateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,13 +405,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -381,23 +427,24 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.googleAdsLink_ = googleAdsLinkBuilder_ == null - ? googleAdsLink_ - : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = + googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -405,38 +452,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -444,7 +492,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance()) + return this; if (other.hasGoogleAdsLink()) { mergeGoogleAdsLink(other.getGoogleAdsLink()); } @@ -477,26 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGoogleAdsLinkFieldBuilder().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: + case 10: + { + input.readMessage(getGoogleAdsLinkFieldBuilder().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) { @@ -506,38 +555,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + googleAdsLinkBuilder_; /** + * + * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return The googleAdsLink. */ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -558,6 +621,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -576,6 +641,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -584,9 +651,10 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - googleAdsLink_ != null && - googleAdsLink_ != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && googleAdsLink_ != null + && googleAdsLink_ + != com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -599,6 +667,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -616,6 +686,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -628,6 +700,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -638,11 +712,14 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null ? - com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -650,14 +727,17 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleAdsLink, com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), - getParentForChildren(), - isClean()); + googleAdsLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleAdsLink, + com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder, + com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), getParentForChildren(), isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; @@ -665,8 +745,13 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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
@@ -674,13 +759,17 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
      * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -688,17 +777,23 @@ public boolean hasUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -706,7 +801,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -722,6 +818,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -729,10 +827,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -743,6 +841,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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
@@ -750,13 +850,14 @@ public Builder setUpdateMask(
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -769,6 +870,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -776,7 +879,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -789,6 +893,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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
@@ -796,7 +902,8 @@ public Builder clearUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -804,6 +911,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -811,17 +920,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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
@@ -829,24 +942,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +973,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest(); } @@ -870,27 +988,27 @@ public static com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGoogleAdsLinkRequest 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; @@ -905,6 +1023,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleAdsLinkRequestOrBuilder.java index 87e490bf5052..3ba33eb56f0d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateGoogleAdsLinkRequestOrBuilder extends +public interface UpdateGoogleAdsLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * * @return The googleAdsLink. */ com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); /** + * + * *
    * The GoogleAdsLink to update
    * 
@@ -35,6 +59,8 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder extends com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** + * + * *
    * 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
@@ -42,11 +68,15 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -54,11 +84,15 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -66,7 +100,8 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequest.java index dcef43b0ef16..1e7edfee29b2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,61 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateGoogleSignalsSettings RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest} */ -public final class UpdateGoogleSignalsSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateGoogleSignalsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) UpdateGoogleSignalsSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGoogleSignalsSettingsRequest.newBuilder() to construct. - private UpdateGoogleSignalsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateGoogleSignalsSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGoogleSignalsSettingsRequest() { - } + + private UpdateGoogleSignalsSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGoogleSignalsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateGoogleSignalsSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); } public static final int GOOGLE_SIGNALS_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.GoogleSignalsSettings googleSignalsSettings_; /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the googleSignalsSettings field is set. */ @java.lang.Override @@ -63,34 +87,50 @@ public boolean hasGoogleSignalsSettings() { return googleSignalsSettings_ != null; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The googleSignalsSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings() { - return googleSignalsSettings_ == null ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; + return googleSignalsSettings_ == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() + : googleSignalsSettings_; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { - return googleSignalsSettings_ == null ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder + getGoogleSignalsSettingsOrBuilder() { + return googleSignalsSettings_ == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() + : googleSignalsSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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
@@ -98,7 +138,9 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoog
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -106,6 +148,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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
@@ -113,7 +157,9 @@ public boolean hasUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -121,6 +167,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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
@@ -128,7 +176,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -136,6 +185,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (googleSignalsSettings_ != null) { output.writeMessage(1, getGoogleSignalsSettings()); } @@ -165,12 +214,11 @@ public int getSerializedSize() { size = 0; if (googleSignalsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getGoogleSignalsSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleSignalsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,22 +228,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other = + (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) obj; if (hasGoogleSignalsSettings() != other.hasGoogleSignalsSettings()) return false; if (hasGoogleSignalsSettings()) { - if (!getGoogleSignalsSettings() - .equals(other.getGoogleSignalsSettings())) return false; + if (!getGoogleSignalsSettings().equals(other.getGoogleSignalsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +269,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( 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.UpdateGoogleSignalsSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest 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.UpdateGoogleSignalsSettingsRequest + 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.UpdateGoogleSignalsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateGoogleSignalsSettings RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,14 +419,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -384,23 +442,26 @@ public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest bui @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result = + new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.googleSignalsSettings_ = googleSignalsSettingsBuilder_ == null - ? googleSignalsSettings_ - : googleSignalsSettingsBuilder_.build(); + result.googleSignalsSettings_ = + googleSignalsSettingsBuilder_ == null + ? googleSignalsSettings_ + : googleSignalsSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,46 +469,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateGoogleSignal public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateGoogleSignalsSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + .getDefaultInstance()) return this; if (other.hasGoogleSignalsSettings()) { mergeGoogleSignalsSettings(other.getGoogleSignalsSettings()); } @@ -480,26 +546,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGoogleSignalsSettingsFieldBuilder().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: + case 10: + { + input.readMessage( + getGoogleSignalsSettingsFieldBuilder().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) { @@ -509,48 +575,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.GoogleSignalsSettings googleSignalsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> googleSignalsSettingsBuilder_; + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> + googleSignalsSettingsBuilder_; /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the googleSignalsSettings field is set. */ public boolean hasGoogleSignalsSettings() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The googleSignalsSettings. */ public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings() { if (googleSignalsSettingsBuilder_ == null) { - return googleSignalsSettings_ == null ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; + return googleSignalsSettings_ == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() + : googleSignalsSettings_; } else { return googleSignalsSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder setGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -564,12 +651,16 @@ public Builder setGoogleSignalsSettings(com.google.analytics.admin.v1alpha.Googl return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGoogleSignalsSettings( com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder builderForValue) { @@ -583,18 +674,24 @@ public Builder setGoogleSignalsSettings( return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { + public Builder mergeGoogleSignalsSettings( + com.google.analytics.admin.v1alpha.GoogleSignalsSettings value) { if (googleSignalsSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - googleSignalsSettings_ != null && - googleSignalsSettings_ != com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && googleSignalsSettings_ != null + && googleSignalsSettings_ + != com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance()) { getGoogleSignalsSettingsBuilder().mergeFrom(value); } else { googleSignalsSettings_ = value; @@ -607,12 +704,16 @@ public Builder mergeGoogleSignalsSettings(com.google.analytics.admin.v1alpha.Goo return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGoogleSignalsSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -625,51 +726,69 @@ public Builder clearGoogleSignalsSettings() { return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder getGoogleSignalsSettingsBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder + getGoogleSignalsSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getGoogleSignalsSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder + getGoogleSignalsSettingsOrBuilder() { if (googleSignalsSettingsBuilder_ != null) { return googleSignalsSettingsBuilder_.getMessageOrBuilder(); } else { - return googleSignalsSettings_ == null ? - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() : googleSignalsSettings_; + return googleSignalsSettings_ == null + ? com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance() + : googleSignalsSettings_; } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder> getGoogleSignalsSettingsFieldBuilder() { if (googleSignalsSettingsBuilder_ == null) { - googleSignalsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.GoogleSignalsSettings, com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( - getGoogleSignalsSettings(), - getParentForChildren(), - isClean()); + googleSignalsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.GoogleSignalsSettings, + com.google.analytics.admin.v1alpha.GoogleSignalsSettings.Builder, + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder>( + getGoogleSignalsSettings(), getParentForChildren(), isClean()); googleSignalsSettings_ = null; } return googleSignalsSettingsBuilder_; @@ -677,8 +796,13 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoog private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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
@@ -686,13 +810,17 @@ public com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoog
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
      * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -700,17 +828,23 @@ public boolean hasUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -718,7 +852,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -734,6 +869,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -741,10 +878,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -755,6 +892,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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
@@ -762,13 +901,14 @@ public Builder setUpdateMask(
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -781,6 +921,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -788,7 +930,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -801,6 +944,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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
@@ -808,7 +953,8 @@ public Builder clearUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -816,6 +962,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -823,17 +971,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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
@@ -841,24 +993,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,41 +1024,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGoogleSignalsSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGoogleSignalsSettingsRequest 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; @@ -914,9 +1072,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateGoogleSignalsSettingsRequestOrBuilder.java index d4a392e1f893..24597a05bd42 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,43 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateGoogleSignalsSettingsRequestOrBuilder extends +public interface UpdateGoogleSignalsSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the googleSignalsSettings field is set. */ boolean hasGoogleSignalsSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The googleSignalsSettings. */ com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder getGoogleSignalsSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.GoogleSignalsSettingsOrBuilder + getGoogleSignalsSettingsOrBuilder(); /** + * + * *
    * 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
@@ -45,11 +78,15 @@ public interface UpdateGoogleSignalsSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -57,11 +94,15 @@ public interface UpdateGoogleSignalsSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -69,7 +110,8 @@ public interface UpdateGoogleSignalsSettingsRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java index d9e3d1f9ddc8..d82fac77e230 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequest.java @@ -1,60 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest} */ -public final class UpdateMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) UpdateMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateMeasurementProtocolSecretRequest.newBuilder() to construct. - private UpdateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateMeasurementProtocolSecretRequest() { - } + + private UpdateMeasurementProtocolSecretRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder + .class); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -62,37 +88,55 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +144,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +159,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
@@ -124,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (measurementProtocolSecret_ != null) { output.writeMessage(1, getMeasurementProtocolSecret()); } @@ -153,12 +202,12 @@ public int getSerializedSize() { size = 0; if (measurementProtocolSecret_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMeasurementProtocolSecret()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getMeasurementProtocolSecret()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +217,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) obj; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret() - .equals(other.getMeasurementProtocolSecret())) return false; + if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) + return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +260,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( 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.UpdateMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest 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.UpdateMeasurementProtocolSecretRequest + 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.UpdateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,19 +411,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -371,24 +434,28 @@ public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + buildPartial() { + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = + measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,46 +463,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateMeasurementP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (other.hasMeasurementProtocolSecret()) { mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); } @@ -468,26 +541,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().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: + case 10: + { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -497,45 +570,67 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretBuilder_; /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -549,11 +644,15 @@ public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.M return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder builderForValue) { @@ -567,17 +666,24 @@ public Builder setMeasurementProtocolSecret( return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - measurementProtocolSecret_ != null && - measurementProtocolSecret_ != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && measurementProtocolSecret_ != null + && measurementProtocolSecret_ + != com.google.analytics.admin.v1alpha.MeasurementProtocolSecret + .getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -590,11 +696,15 @@ public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1alpha return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,48 +717,66 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null ? - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), - getParentForChildren(), - isClean()); + measurementProtocolSecretBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), getParentForChildren(), isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; @@ -656,34 +784,47 @@ public com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder get private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -704,14 +845,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +864,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -730,9 +874,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +889,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -762,6 +908,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -774,6 +922,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -784,11 +934,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -796,21 +949,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,41 +976,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMeasurementProtocolSecretRequest 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; @@ -866,9 +1025,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java index 55cd8c79ea1a..6ead312f95dd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,58 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateMeasurementProtocolSecretRequestOrBuilder extends +public interface UpdateMeasurementProtocolSecretRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java index ef9b25880dcd..77d49b74655b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,62 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 UpdateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdatePropertyRequest} */ -public final class UpdatePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdatePropertyRequest) UpdatePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePropertyRequest.newBuilder() to construct. private UpdatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePropertyRequest() { - } + + private UpdatePropertyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdatePropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Property property_; /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ @java.lang.Override @@ -64,36 +87,51 @@ public boolean hasProperty() { return property_ != null; } /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getProperty() { - return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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
@@ -101,7 +139,9 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -109,6 +149,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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
@@ -116,7 +158,9 @@ public boolean hasUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -124,6 +168,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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
@@ -131,7 +177,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -139,6 +186,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -168,12 +215,10 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,22 +228,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdatePropertyRequest other = (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) obj; + com.google.analytics.admin.v1alpha.UpdatePropertyRequest other = + (com.google.analytics.admin.v1alpha.UpdatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -225,129 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( 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.UpdatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdatePropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdatePropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdatePropertyRequest) com.google.analytics.admin.v1alpha.UpdatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, + com.google.analytics.admin.v1alpha.UpdatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdatePropertyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -366,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; } @java.lang.Override @@ -387,8 +438,11 @@ public com.google.analytics.admin.v1alpha.UpdatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdatePropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdatePropertyRequest result = new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdatePropertyRequest result = + new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -396,14 +450,10 @@ public com.google.analytics.admin.v1alpha.UpdatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null - ? property_ - : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -411,38 +461,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdatePropertyRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdatePropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdatePropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -450,7 +501,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdatePropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance()) + return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -483,26 +535,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPropertyFieldBuilder().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: + case 10: + { + input.readMessage(getPropertyFieldBuilder().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) { @@ -512,49 +563,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> propertyBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + propertyBuilder_; /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ public com.google.analytics.admin.v1alpha.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { @@ -570,13 +641,17 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -590,19 +665,23 @@ public Builder setProperty( return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -615,13 +694,17 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -634,13 +717,17 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -648,40 +735,52 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : property_; } } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; @@ -689,8 +788,13 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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
@@ -698,13 +802,17 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
      * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -712,17 +820,23 @@ public boolean hasUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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
@@ -730,7 +844,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +861,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -753,10 +870,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -767,6 +884,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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
@@ -774,13 +893,14 @@ public Builder setUpdateMask(
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -793,6 +913,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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
@@ -800,7 +922,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -813,6 +936,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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
@@ -820,7 +945,8 @@ public Builder clearUpdateMask() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -828,6 +954,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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
@@ -835,17 +963,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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
@@ -853,24 +985,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * fields.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -880,12 +1016,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdatePropertyRequest) private static final com.google.analytics.admin.v1alpha.UpdatePropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdatePropertyRequest(); } @@ -894,27 +1030,27 @@ public static com.google.analytics.admin.v1alpha.UpdatePropertyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePropertyRequest 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; @@ -929,6 +1065,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequestOrBuilder.java index f4d196b98e7a..bb59549882fd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,46 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdatePropertyRequestOrBuilder extends +public interface UpdatePropertyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdatePropertyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ com.google.analytics.admin.v1alpha.Property getProperty(); /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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
@@ -48,11 +80,15 @@ public interface UpdatePropertyRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -60,11 +96,15 @@ public interface UpdatePropertyRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. Field names must be in snake
    * case (e.g., "field_to_update"). Omitted fields will not be updated. To
@@ -72,7 +112,8 @@ public interface UpdatePropertyRequestOrBuilder extends
    * fields.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequest.java index 894c6f6d0957..26cc40ae1d70 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 +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; + private static final long serialVersionUID = 0L; // Use UpdateSearchAds360LinkRequest.newBuilder() to construct. private UpdateSearchAds360LinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateSearchAds360LinkRequest() { - } + + private UpdateSearchAds360LinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSearchAds360LinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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; + + 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 + 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); + 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 @@ -62,18 +83,25 @@ 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_; + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; } /** + * + * *
    * The SearchAds360Link to update
    * 
@@ -81,20 +109,27 @@ public com.google.analytics.admin.v1alpha.SearchAds360Link getSearchAds360Link() * .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 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +137,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +155,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +172,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (searchAds360Link_ != null) { output.writeMessage(1, getSearchAds360Link()); } @@ -159,12 +201,10 @@ public int getSerializedSize() { size = 0; if (searchAds360Link_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSearchAds360Link()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSearchAds360Link()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +214,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest other = (com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest) 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 (!getSearchAds360Link().equals(other.getSearchAds360Link())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +255,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.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 { + + 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) + 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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.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) 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) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest prototype) { + + 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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateSearchAds360Link RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.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; + 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 + 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); + 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() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,13 +403,14 @@ public Builder clear() { } @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; + 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() { + public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest.getDefaultInstance(); } @@ -378,23 +425,24 @@ public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest build() @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); } + 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) { + 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(); + result.searchAds360Link_ = + searchAds360LinkBuilder_ == null ? searchAds360Link_ : searchAds360LinkBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,46 +450,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateSearchAds360 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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); + 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; + 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()); } @@ -474,26 +526,26 @@ public Builder mergeFrom( 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: + 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) { @@ -503,38 +555,52 @@ public Builder mergeFrom( } // 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_; + 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_; + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; } else { return searchAds360LinkBuilder_.getMessage(); } } /** + * + * *
      * The SearchAds360Link to update
      * 
@@ -555,6 +621,8 @@ public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds3 return this; } /** + * + * *
      * The SearchAds360Link to update
      * 
@@ -573,17 +641,21 @@ public Builder setSearchAds360Link( 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) { + 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()) { + if (((bitField0_ & 0x00000001) != 0) + && searchAds360Link_ != null + && searchAds360Link_ + != com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance()) { getSearchAds360LinkBuilder().mergeFrom(value); } else { searchAds360Link_ = value; @@ -596,6 +668,8 @@ public Builder mergeSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAd return this; } /** + * + * *
      * The SearchAds360Link to update
      * 
@@ -613,33 +687,42 @@ public Builder clearSearchAds360Link() { 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() { + 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() { + 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_; + return searchAds360Link_ == null + ? com.google.analytics.admin.v1alpha.SearchAds360Link.getDefaultInstance() + : searchAds360Link_; } } /** + * + * *
      * The SearchAds360Link to update
      * 
@@ -647,14 +730,17 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds * .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> + 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()); + 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_; @@ -662,45 +748,61 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +818,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +840,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +868,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +890,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +907,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,41 +967,43 @@ public final Builder mergeUnknownFields( 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; + 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() { + 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(); - } - }; + 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; @@ -890,9 +1015,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSearchAds360LinkRequestOrBuilder.java index 7646b1ae113a..b826dc073275 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/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 @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; -public interface UpdateSearchAds360LinkRequestOrBuilder extends +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
    * 
@@ -35,35 +59,46 @@ public interface UpdateSearchAds360LinkRequestOrBuilder extends 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java index 3d3c369fa0b9..cdb786e57ef8 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/analytics_admin.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Request message for UpdateUserLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ -public final class UpdateUserLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateUserLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) UpdateUserLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateUserLinkRequest.newBuilder() to construct. private UpdateUserLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateUserLinkRequest() { - } + + private UpdateUserLinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateUserLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + 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_UpdateUserLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } public static final int USER_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.UserLink userLink_; /** + * + * *
    * Required. The user link to update.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ @java.lang.Override @@ -62,30 +85,44 @@ public boolean hasUserLink() { return userLink_ != null; } /** + * + * *
    * Required. The user link to update.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLink getUserLink() { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } /** + * + * *
    * Required. The user link to update.
    * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (userLink_ != null) { output.writeMessage(1, getUserLink()); } @@ -112,8 +148,7 @@ public int getSerializedSize() { size = 0; if (userLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUserLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUserLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +158,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UpdateUserLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other = + (com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) obj; if (hasUserLink() != other.hasUserLink()) return false; if (hasUserLink()) { - if (!getUserLink() - .equals(other.getUserLink())) return false; + if (!getUserLink().equals(other.getUserLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( 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.UpdateUserLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateUserLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateUserLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateUserLinkRequest) com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +334,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; } @java.lang.Override @@ -313,8 +355,11 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result = + new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -322,9 +367,7 @@ public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.userLink_ = userLinkBuilder_ == null - ? userLink_ - : userLinkBuilder_.build(); + result.userLink_ = userLinkBuilder_ == null ? userLink_ : userLinkBuilder_.build(); } } @@ -332,38 +375,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateUserLinkRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UpdateUserLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +415,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance()) + return this; if (other.hasUserLink()) { mergeUserLink(other.getUserLink()); } @@ -401,19 +446,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUserLinkFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUserLinkFieldBuilder().getBuilder(), extensionRegistry); + 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) { @@ -423,43 +468,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.UserLink userLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> userLinkBuilder_; + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + userLinkBuilder_; /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the userLink field is set. */ public boolean hasUserLink() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The userLink. */ public com.google.analytics.admin.v1alpha.UserLink getUserLink() { if (userLinkBuilder_ == null) { - return userLink_ == null ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } else { return userLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { @@ -475,11 +540,15 @@ public Builder setUserLink(com.google.analytics.admin.v1alpha.UserLink value) { return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUserLink( com.google.analytics.admin.v1alpha.UserLink.Builder builderForValue) { @@ -493,17 +562,21 @@ public Builder setUserLink( return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) { if (userLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - userLink_ != null && - userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && userLink_ != null + && userLink_ != com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance()) { getUserLinkBuilder().mergeFrom(value); } else { userLink_ = value; @@ -516,11 +589,15 @@ public Builder mergeUserLink(com.google.analytics.admin.v1alpha.UserLink value) return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUserLink() { bitField0_ = (bitField0_ & ~0x00000001); @@ -533,11 +610,15 @@ public Builder clearUserLink() { return this; } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() { bitField0_ |= 0x00000001; @@ -545,43 +626,55 @@ public com.google.analytics.admin.v1alpha.UserLink.Builder getUserLinkBuilder() return getUserLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder() { if (userLinkBuilder_ != null) { return userLinkBuilder_.getMessageOrBuilder(); } else { - return userLink_ == null ? - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() : userLink_; + return userLink_ == null + ? com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance() + : userLink_; } } /** + * + * *
      * Required. The user link to update.
      * 
* - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder> + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder> getUserLinkFieldBuilder() { if (userLinkBuilder_ == null) { - userLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.UserLink, com.google.analytics.admin.v1alpha.UserLink.Builder, com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( - getUserLink(), - getParentForChildren(), - isClean()); + userLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.UserLink, + com.google.analytics.admin.v1alpha.UserLink.Builder, + com.google.analytics.admin.v1alpha.UserLinkOrBuilder>( + getUserLink(), getParentForChildren(), isClean()); userLink_ = null; } return userLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateUserLinkRequest) private static final com.google.analytics.admin.v1alpha.UpdateUserLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateUserLinkRequest(); } @@ -605,27 +698,27 @@ public static com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserLinkRequest 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; @@ -640,6 +733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UpdateUserLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java new file mode 100644 index 000000000000..4378c44fdd9b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/analytics_admin.proto + +package com.google.analytics.admin.v1alpha; + +public interface UpdateUserLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The user link to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the userLink field is set. + */ + boolean hasUserLink(); + /** + * + * + *
+   * Required. The user link to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The userLink. + */ + com.google.analytics.admin.v1alpha.UserLink getUserLink(); + /** + * + * + *
+   * Required. The user link to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java similarity index 74% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java index 28b5ab0cfbde..b3ebc20569f5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLink.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a user's permissions on an Account or
  * Property resource.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
  */
-public final class UserLink extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UserLink extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UserLink)
     UserLinkOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UserLink.newBuilder() to construct.
   private UserLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UserLink() {
     name_ = "";
     emailAddress_ = "";
@@ -28,38 +46,43 @@ private UserLink() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UserLink();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  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_UserLink_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+            com.google.analytics.admin.v1alpha.UserLink.class,
+            com.google.analytics.admin.v1alpha.UserLink.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -68,29 +91,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,14 +122,18 @@ public java.lang.String getName() { } public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object emailAddress_ = ""; /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The emailAddress. */ @java.lang.Override @@ -115,29 +142,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -146,9 +173,12 @@ public java.lang.String getEmailAddress() { } public static final int DIRECT_ROLES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList directRoles_; /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -165,13 +195,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_; } /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -188,12 +220,15 @@ public java.lang.String getEmailAddress() {
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -210,6 +245,7 @@ public int getDirectRolesCount() {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -217,6 +253,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -233,15 +271,16 @@ public java.lang.String getDirectRoles(int index) {
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,8 +292,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -295,19 +333,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1alpha.UserLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UserLink other = (com.google.analytics.admin.v1alpha.UserLink) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getEmailAddress() - .equals(other.getEmailAddress())) return false; - if (!getDirectRolesList() - .equals(other.getDirectRolesList())) return false; + com.google.analytics.admin.v1alpha.UserLink other = + (com.google.analytics.admin.v1alpha.UserLink) obj; + + if (!getName().equals(other.getName())) return false; + if (!getEmailAddress().equals(other.getEmailAddress())) return false; + if (!getDirectRolesList().equals(other.getDirectRolesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -332,97 +368,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( 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.UserLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UserLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UserLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.UserLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a user's permissions on an Account or
    * Property resource.
@@ -430,33 +473,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.UserLink}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UserLink)
       com.google.analytics.admin.v1alpha.UserLinkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.UserLink.class, com.google.analytics.admin.v1alpha.UserLink.Builder.class);
+              com.google.analytics.admin.v1alpha.UserLink.class,
+              com.google.analytics.admin.v1alpha.UserLink.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.UserLink.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -469,9 +511,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_UserLink_descriptor;
     }
 
     @java.lang.Override
@@ -490,9 +532,12 @@ public com.google.analytics.admin.v1alpha.UserLink build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.UserLink buildPartial() {
-      com.google.analytics.admin.v1alpha.UserLink result = new com.google.analytics.admin.v1alpha.UserLink(this);
+      com.google.analytics.admin.v1alpha.UserLink result =
+          new com.google.analytics.admin.v1alpha.UserLink(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -519,38 +564,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UserLink result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.UserLink) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.UserLink) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -605,28 +651,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              emailAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDirectRolesIsMutable();
-              directRoles_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                emailAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDirectRolesIsMutable();
+                directRoles_.add(s);
+                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) {
@@ -636,22 +686,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -660,20 +713,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -681,28 +735,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -712,17 +773,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Example format: properties/1234/userLinks/5678
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -732,18 +797,20 @@ public Builder setNameBytes( private java.lang.Object emailAddress_ = ""; /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -752,20 +819,21 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -773,28 +841,35 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmailAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } emailAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearEmailAddress() { @@ -804,17 +879,21 @@ public Builder clearEmailAddress() { return this; } /** + * + * *
      * Immutable. Email address of the user to link
      * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); emailAddress_ = value; bitField0_ |= 0x00000002; @@ -822,14 +901,18 @@ public Builder setEmailAddressBytes( return this; } - private com.google.protobuf.LazyStringList directRoles_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList directRoles_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDirectRolesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { directRoles_ = new com.google.protobuf.LazyStringArrayList(directRoles_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -846,13 +929,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - public com.google.protobuf.ProtocolStringList - getDirectRolesList() { + public com.google.protobuf.ProtocolStringList getDirectRolesList() { return directRoles_.getUnmodifiableView(); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -869,12 +954,15 @@ private void ensureDirectRolesIsMutable() {
      * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ public int getDirectRolesCount() { return directRoles_.size(); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -891,6 +979,7 @@ public int getDirectRolesCount() {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ @@ -898,6 +987,8 @@ public java.lang.String getDirectRoles(int index) { return directRoles_.get(index); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -914,14 +1005,16 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - public com.google.protobuf.ByteString - getDirectRolesBytes(int index) { + public com.google.protobuf.ByteString getDirectRolesBytes(int index) { return directRoles_.getByteString(index); } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -938,19 +1031,23 @@ public java.lang.String getDirectRoles(int index) {
      * 
* * repeated string direct_roles = 3; + * * @param index The index to set the value at. * @param value The directRoles to set. * @return This builder for chaining. */ - public Builder setDirectRoles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDirectRoles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDirectRolesIsMutable(); directRoles_.set(index, value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -967,18 +1064,22 @@ public Builder setDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param value The directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRoles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDirectRoles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -995,18 +1096,19 @@ public Builder addDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @param values The directRoles to add. * @return This builder for chaining. */ - public Builder addAllDirectRoles( - java.lang.Iterable values) { + public Builder addAllDirectRoles(java.lang.Iterable values) { ensureDirectRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, directRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directRoles_); onChanged(); return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1023,6 +1125,7 @@ public Builder addAllDirectRoles(
      * 
* * repeated string direct_roles = 3; + * * @return This builder for chaining. */ public Builder clearDirectRoles() { @@ -1032,6 +1135,8 @@ public Builder clearDirectRoles() { return this; } /** + * + * *
      * Roles directly assigned to this user for this account or property.
      * Valid values:
@@ -1048,21 +1153,23 @@ public Builder clearDirectRoles() {
      * 
* * repeated string direct_roles = 3; + * * @param value The bytes of the directRoles to add. * @return This builder for chaining. */ - public Builder addDirectRolesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDirectRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDirectRolesIsMutable(); directRoles_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +1179,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UserLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UserLink) private static final com.google.analytics.admin.v1alpha.UserLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UserLink(); } @@ -1086,27 +1193,27 @@ public static com.google.analytics.admin.v1alpha.UserLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserLink 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserLink 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; @@ -1121,6 +1228,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.UserLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java similarity index 79% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java index 74182bc313a3..4a5aa7fe52fd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UserLinkOrBuilder.java @@ -1,53 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/resources.proto package com.google.analytics.admin.v1alpha; -public interface UserLinkOrBuilder extends +public interface UserLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UserLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Example format: properties/1234/userLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** + * + * *
    * Immutable. Email address of the user to link
    * 
* * string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString - getEmailAddressBytes(); + com.google.protobuf.ByteString getEmailAddressBytes(); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -64,11 +92,13 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return A list containing the directRoles. */ - java.util.List - getDirectRolesList(); + java.util.List getDirectRolesList(); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -85,10 +115,13 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @return The count of directRoles. */ int getDirectRolesCount(); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -105,11 +138,14 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the element to return. * @return The directRoles at the given index. */ java.lang.String getDirectRoles(int index); /** + * + * *
    * Roles directly assigned to this user for this account or property.
    * Valid values:
@@ -126,9 +162,9 @@ public interface UserLinkOrBuilder extends
    * 
* * repeated string direct_roles = 3; + * * @param index The index of the value to return. * @return The bytes of the directRoles at the given index. */ - com.google.protobuf.ByteString - getDirectRolesBytes(int index); + com.google.protobuf.ByteString getDirectRolesBytes(int index); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/access_report.proto diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/analytics_admin.proto diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/audience.proto diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/expanded_data_set.proto diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/resources.proto diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java index 7a0285fc8675..f63c5fe15cda 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Account.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A resource message representing a Google Analytics account.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.Account} */ -public final class Account extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Account extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.Account) AccountOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Account.newBuilder() to construct. private Account(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Account() { name_ = ""; displayName_ = ""; @@ -27,33 +45,37 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Account(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Account.class, com.google.analytics.admin.v1beta.Account.Builder.class); + com.google.analytics.admin.v1beta.Account.class, + com.google.analytics.admin.v1beta.Account.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,11 +127,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -116,11 +143,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -128,11 +159,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -142,11 +176,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -154,11 +192,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -166,11 +208,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -178,14 +223,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -194,29 +243,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -225,14 +274,18 @@ public java.lang.String getDisplayName() { } public static final int REGION_CODE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object regionCode_ = ""; /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The regionCode. */ @java.lang.Override @@ -241,29 +294,29 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -274,12 +327,15 @@ public java.lang.String getRegionCode() { public static final int DELETED_FIELD_NUMBER = 6; private boolean deleted_ = false; /** + * + * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -288,6 +344,7 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -332,12 +388,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); @@ -346,8 +400,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, regionCode_); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, deleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, deleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -357,31 +410,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.Account)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.Account other = (com.google.analytics.admin.v1beta.Account) obj; + com.google.analytics.admin.v1beta.Account other = + (com.google.analytics.admin.v1beta.Account) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getRegionCode() - .equals(other.getRegionCode())) return false; - if (getDeleted() - != other.getDeleted()) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; + if (getDeleted() != other.getDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -408,137 +456,142 @@ public int hashCode() { hash = (37 * hash) + REGION_CODE_FIELD_NUMBER; hash = (53 * hash) + getRegionCode().hashCode(); hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1beta.Account parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.Account parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.Account parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.Account parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.Account parseFrom( 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.v1beta.Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.Account parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.Account parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.Account parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Account parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.Account parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.Account parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.Account parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.Account parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.Account prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a Google Analytics account.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.Account} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.Account) com.google.analytics.admin.v1beta.AccountOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Account.class, com.google.analytics.admin.v1beta.Account.Builder.class); + com.google.analytics.admin.v1beta.Account.class, + com.google.analytics.admin.v1beta.Account.Builder.class); } // Construct using com.google.analytics.admin.v1beta.Account.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Account_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Account_descriptor; } @java.lang.Override @@ -582,8 +635,11 @@ public com.google.analytics.admin.v1beta.Account build() { @java.lang.Override public com.google.analytics.admin.v1beta.Account buildPartial() { - com.google.analytics.admin.v1beta.Account result = new com.google.analytics.admin.v1beta.Account(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.Account result = + new com.google.analytics.admin.v1beta.Account(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -594,14 +650,10 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Account result) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.displayName_ = displayName_; @@ -618,38 +670,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Account result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.Account) { - return mergeFrom((com.google.analytics.admin.v1beta.Account)other); + return mergeFrom((com.google.analytics.admin.v1beta.Account) other); } else { super.mergeFrom(other); return this; @@ -708,46 +761,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - regionCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - deleted_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + regionCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + deleted_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -757,10 +813,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -768,13 +827,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -783,6 +842,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -790,15 +851,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -806,6 +866,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -813,18 +875,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 account.
      * Format: accounts/{account}
@@ -832,6 +898,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -841,6 +908,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -848,12 +917,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -863,39 +934,58 @@ public Builder setNameBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -911,14 +1001,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -929,17 +1022,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -952,11 +1049,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -969,11 +1070,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -981,36 +1086,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1018,39 +1135,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1066,14 +1202,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1084,17 +1223,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1107,11 +1250,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1124,11 +1271,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1136,36 +1287,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1173,18 +1336,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1193,20 +1358,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1214,28 +1380,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1245,17 +1418,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this account.
      * 
* * string display_name = 4 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -1265,18 +1442,20 @@ public Builder setDisplayNameBytes( private java.lang.Object regionCode_ = ""; /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1285,20 +1464,21 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1306,28 +1486,35 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } regionCode_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @return This builder for chaining. */ public Builder clearRegionCode() { @@ -1337,17 +1524,21 @@ public Builder clearRegionCode() { return this; } /** + * + * *
      * Country of business. Must be a Unicode CLDR region code.
      * 
* * string region_code = 5; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); regionCode_ = value; bitField0_ |= 0x00000010; @@ -1355,14 +1546,17 @@ public Builder setRegionCodeBytes( return this; } - private boolean deleted_ ; + private boolean deleted_; /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ @java.lang.Override @@ -1370,29 +1564,35 @@ public boolean getDeleted() { return deleted_; } /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Indicates whether this Account is soft-deleted or not. Deleted
      * accounts are excluded from List results unless specifically requested.
      * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -1401,9 +1601,9 @@ public Builder clearDeleted() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1413,12 +1613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.Account) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.Account) private static final com.google.analytics.admin.v1beta.Account DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.Account(); } @@ -1427,27 +1627,27 @@ public static com.google.analytics.admin.v1beta.Account getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Account 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Account 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; @@ -1462,6 +1662,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java index d29ffee1eb04..a1501352d6c8 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface AccountOrBuilder extends +public interface AccountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.Account) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -15,10 +33,13 @@ public interface AccountOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this account.
    * Format: accounts/{account}
@@ -26,112 +47,147 @@ public interface AccountOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this account.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
    * Country of business. Must be a Unicode CLDR region code.
    * 
* * string region_code = 5; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
    * Output only. Indicates whether this Account is soft-deleted or not. Deleted
    * accounts are excluded from List results unless specifically requested.
    * 
* * bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deleted. */ boolean getDeleted(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java similarity index 74% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java index 5484250f672d..44014ccfba27 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummary.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A virtual resource representing an overview of an account and
  * all its child GA4 properties.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.AccountSummary}
  */
-public final class AccountSummary extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AccountSummary extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.AccountSummary)
     AccountSummaryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AccountSummary.newBuilder() to construct.
   private AccountSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AccountSummary() {
     name_ = "";
     account_ = "";
@@ -29,33 +47,37 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.ResourcesProto
+        .internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.ResourcesProto
+        .internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccountSummary.class, com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
+            com.google.analytics.admin.v1beta.AccountSummary.class,
+            com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -63,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -71,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -86,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,9 +127,12 @@ public java.lang.String getName() { } public static final int ACCOUNT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -114,6 +140,7 @@ public java.lang.String getName() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ @java.lang.Override @@ -122,14 +149,15 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -137,16 +165,15 @@ public java.lang.String getAccount() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -155,14 +182,18 @@ public java.lang.String getAccount() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -171,29 +202,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -202,9 +233,12 @@ public java.lang.String getDisplayName() { } public static final int PROPERTY_SUMMARIES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List propertySummaries_; /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -212,10 +246,13 @@ public java.lang.String getDisplayName() { * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List getPropertySummariesList() { + public java.util.List + getPropertySummariesList() { return propertySummaries_; } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -223,11 +260,13 @@ public java.util.List getProp * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ @java.lang.Override - public java.util.List + public java.util.List getPropertySummariesOrBuilderList() { return propertySummaries_; } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -239,6 +278,8 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -250,6 +291,8 @@ public com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(in return propertySummaries_.get(index); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -263,6 +306,7 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -307,8 +350,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } for (int i = 0; i < propertySummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, propertySummaries_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, propertySummaries_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,21 +361,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.AccountSummary)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccountSummary other = (com.google.analytics.admin.v1beta.AccountSummary) obj; + com.google.analytics.admin.v1beta.AccountSummary other = + (com.google.analytics.admin.v1beta.AccountSummary) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAccount() - .equals(other.getAccount())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getPropertySummariesList() - .equals(other.getPropertySummariesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getPropertySummariesList().equals(other.getPropertySummariesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -359,97 +399,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( 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.v1beta.AccountSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AccountSummary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AccountSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccountSummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.AccountSummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.AccountSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.AccountSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A virtual resource representing an overview of an account and
    * all its child GA4 properties.
@@ -457,33 +504,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.AccountSummary}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.AccountSummary)
       com.google.analytics.admin.v1beta.AccountSummaryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccountSummary.class, com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
+              com.google.analytics.admin.v1beta.AccountSummary.class,
+              com.google.analytics.admin.v1beta.AccountSummary.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.AccountSummary.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -502,9 +548,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor;
     }
 
     @java.lang.Override
@@ -523,14 +569,18 @@ public com.google.analytics.admin.v1beta.AccountSummary build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccountSummary buildPartial() {
-      com.google.analytics.admin.v1beta.AccountSummary result = new com.google.analytics.admin.v1beta.AccountSummary(this);
+      com.google.analytics.admin.v1beta.AccountSummary result =
+          new com.google.analytics.admin.v1beta.AccountSummary(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.AccountSummary result) {
+    private void buildPartialRepeatedFields(
+        com.google.analytics.admin.v1beta.AccountSummary result) {
       if (propertySummariesBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           propertySummaries_ = java.util.Collections.unmodifiableList(propertySummaries_);
@@ -559,38 +609,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccountSummary resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.AccountSummary) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccountSummary)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccountSummary) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -598,7 +649,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.AccountSummary other) {
-      if (other == com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -632,9 +684,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.AccountSummary other)
             propertySummariesBuilder_ = null;
             propertySummaries_ = other.propertySummaries_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            propertySummariesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPropertySummariesFieldBuilder() : null;
+            propertySummariesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPropertySummariesFieldBuilder()
+                    : null;
           } else {
             propertySummariesBuilder_.addAllMessages(other.propertySummaries_);
           }
@@ -666,40 +719,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              account_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              com.google.analytics.admin.v1beta.PropertySummary m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1beta.PropertySummary.parser(),
-                      extensionRegistry);
-              if (propertySummariesBuilder_ == null) {
-                ensurePropertySummariesIsMutable();
-                propertySummaries_.add(m);
-              } else {
-                propertySummariesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                account_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.analytics.admin.v1beta.PropertySummary m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1beta.PropertySummary.parser(),
+                        extensionRegistry);
+                if (propertySummariesBuilder_ == null) {
+                  ensurePropertySummariesIsMutable();
+                  propertySummaries_.add(m);
+                } else {
+                  propertySummariesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            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) {
@@ -709,10 +767,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -720,13 +781,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -735,6 +796,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -742,15 +805,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -758,6 +820,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -765,18 +829,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -784,6 +852,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -793,6 +862,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -800,12 +871,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -815,6 +888,8 @@ public Builder setNameBytes( private java.lang.Object account_ = ""; /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -822,13 +897,13 @@ public Builder setNameBytes(
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -837,6 +912,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -844,15 +921,14 @@ public java.lang.String getAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for account. */ - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -860,6 +936,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -867,18 +945,22 @@ public java.lang.String getAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } account_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -886,6 +968,7 @@ public Builder setAccount(
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -895,6 +978,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -902,12 +987,14 @@ public Builder clearAccount() {
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000002; @@ -917,18 +1004,20 @@ public Builder setAccountBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -937,20 +1026,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -958,28 +1048,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -989,17 +1086,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display name for the account referred to in this account summary.
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1008,25 +1109,34 @@ public Builder setDisplayNameBytes( } private java.util.List propertySummaries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePropertySummariesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - propertySummaries_ = new java.util.ArrayList(propertySummaries_); + propertySummaries_ = + new java.util.ArrayList( + propertySummaries_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.PropertySummary, com.google.analytics.admin.v1beta.PropertySummary.Builder, com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> propertySummariesBuilder_; + com.google.analytics.admin.v1beta.PropertySummary, + com.google.analytics.admin.v1beta.PropertySummary.Builder, + com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> + propertySummariesBuilder_; /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - public java.util.List getPropertySummariesList() { + public java.util.List + getPropertySummariesList() { if (propertySummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(propertySummaries_); } else { @@ -1034,6 +1144,8 @@ public java.util.List getProp } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1048,6 +1160,8 @@ public int getPropertySummariesCount() { } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1062,6 +1176,8 @@ public com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(in } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1083,6 +1199,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1101,6 +1219,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1121,6 +1241,8 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1beta.PropertySu return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1142,6 +1264,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1160,6 +1284,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1178,6 +1304,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1188,8 +1316,7 @@ public Builder addAllPropertySummaries( java.lang.Iterable values) { if (propertySummariesBuilder_ == null) { ensurePropertySummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, propertySummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, propertySummaries_); onChanged(); } else { propertySummariesBuilder_.addAllMessages(values); @@ -1197,6 +1324,8 @@ public Builder addAllPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1214,6 +1343,8 @@ public Builder clearPropertySummaries() { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1231,6 +1362,8 @@ public Builder removePropertySummaries(int index) { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1242,6 +1375,8 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder getPropertySumm return getPropertySummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1251,19 +1386,22 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder getPropertySumm public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySummariesOrBuilder( int index) { if (propertySummariesBuilder_ == null) { - return propertySummaries_.get(index); } else { + return propertySummaries_.get(index); + } else { return propertySummariesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesOrBuilderList() { + public java.util.List + getPropertySummariesOrBuilderList() { if (propertySummariesBuilder_ != null) { return propertySummariesBuilder_.getMessageOrBuilderList(); } else { @@ -1271,6 +1409,8 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1278,10 +1418,12 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySummariesBuilder() { - return getPropertySummariesFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); + return getPropertySummariesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1290,26 +1432,35 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySumm */ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySummariesBuilder( int index) { - return getPropertySummariesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); + return getPropertySummariesFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()); } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - public java.util.List - getPropertySummariesBuilderList() { + public java.util.List + getPropertySummariesBuilderList() { return getPropertySummariesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.PropertySummary, com.google.analytics.admin.v1beta.PropertySummary.Builder, com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> + com.google.analytics.admin.v1beta.PropertySummary, + com.google.analytics.admin.v1beta.PropertySummary.Builder, + com.google.analytics.admin.v1beta.PropertySummaryOrBuilder> getPropertySummariesFieldBuilder() { if (propertySummariesBuilder_ == null) { - propertySummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.PropertySummary, com.google.analytics.admin.v1beta.PropertySummary.Builder, com.google.analytics.admin.v1beta.PropertySummaryOrBuilder>( + propertySummariesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.PropertySummary, + com.google.analytics.admin.v1beta.PropertySummary.Builder, + com.google.analytics.admin.v1beta.PropertySummaryOrBuilder>( propertySummaries_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1318,9 +1469,9 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder addPropertySumm } return propertySummariesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1330,12 +1481,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccountSummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccountSummary) private static final com.google.analytics.admin.v1beta.AccountSummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccountSummary(); } @@ -1344,27 +1495,27 @@ public static com.google.analytics.admin.v1beta.AccountSummary getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccountSummary 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccountSummary 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; @@ -1379,6 +1530,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccountSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java similarity index 76% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java index 5aece5d820bf..49033a6059a0 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccountSummaryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface AccountSummaryOrBuilder extends +public interface AccountSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccountSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -15,10 +33,13 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name for this account summary.
    * Format: accountSummaries/{account_id}
@@ -26,12 +47,14 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -39,10 +62,13 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Resource name of account referred to by this account summary
    * Format: accounts/{account_id}
@@ -50,41 +76,49 @@ public interface AccountSummaryOrBuilder extends
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for the account referred to in this account summary.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - java.util.List - getPropertySummariesList(); + java.util.List getPropertySummariesList(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -93,6 +127,8 @@ public interface AccountSummaryOrBuilder extends */ com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(int index); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -101,15 +137,19 @@ public interface AccountSummaryOrBuilder extends */ int getPropertySummariesCount(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
* * repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; */ - java.util.List + java.util.List getPropertySummariesOrBuilderList(); /** + * + * *
    * List of summaries for child accounts of this account.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java index bc6d0bf9f30b..3e0dcec7fafa 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest} */ -public final class AcknowledgeUserDataCollectionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcknowledgeUserDataCollectionRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) AcknowledgeUserDataCollectionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionRequest.newBuilder() to construct. - private AcknowledgeUserDataCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AcknowledgeUserDataCollectionRequest() { property_ = ""; acknowledgement_ = ""; @@ -26,38 +46,45 @@ private AcknowledgeUserDataCollectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ @java.lang.Override @@ -66,29 +93,31 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -97,9 +126,12 @@ public java.lang.String getProperty() { } public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object acknowledgement_ = ""; /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -111,6 +143,7 @@ public java.lang.String getProperty() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ @java.lang.Override @@ -119,14 +152,15 @@ public java.lang.String getAcknowledgement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; } } /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -138,16 +172,15 @@ public java.lang.String getAcknowledgement() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for acknowledgement. */ @java.lang.Override - public com.google.protobuf.ByteString - getAcknowledgementBytes() { + public com.google.protobuf.ByteString getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -156,6 +189,7 @@ public java.lang.String getAcknowledgement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -198,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other = (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) obj; + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other = + (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getAcknowledgement() - .equals(other.getAcknowledgement())) return false; + if (!getProperty().equals(other.getProperty())) return false; + if (!getAcknowledgement().equals(other.getAcknowledgement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,129 +262,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( 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.v1beta.AcknowledgeUserDataCollectionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest 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.v1beta.AcknowledgeUserDataCollectionRequest + 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.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,19 +404,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest build() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = buildPartial(); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -384,13 +428,17 @@ public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest bu @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest buildPartial() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result = + new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -404,46 +452,51 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AcknowledgeUserData public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.AcknowledgeUserDataCollectionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other) { - if (other == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest other) { + if (other + == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + .getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -480,22 +533,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - acknowledgement_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + acknowledgement_ = 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) { @@ -505,22 +561,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -529,20 +590,23 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -550,28 +614,39 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -581,17 +656,23 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Required. The property for which to acknowledge user data collection.
      * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -601,6 +682,8 @@ public Builder setPropertyBytes( private java.lang.Object acknowledgement_ = ""; /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -612,13 +695,13 @@ public Builder setPropertyBytes(
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ public java.lang.String getAcknowledgement() { java.lang.Object ref = acknowledgement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acknowledgement_ = s; return s; @@ -627,6 +710,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -638,15 +723,14 @@ public java.lang.String getAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for acknowledgement. */ - public com.google.protobuf.ByteString - getAcknowledgementBytes() { + public com.google.protobuf.ByteString getAcknowledgementBytes() { java.lang.Object ref = acknowledgement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acknowledgement_ = b; return b; } else { @@ -654,6 +738,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -665,18 +751,22 @@ public java.lang.String getAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgement( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAcknowledgement(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -688,6 +778,7 @@ public Builder setAcknowledgement(
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAcknowledgement() { @@ -697,6 +788,8 @@ public Builder clearAcknowledgement() { return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the terms
      * of user data collection.
@@ -708,21 +801,23 @@ public Builder clearAcknowledgement() {
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for acknowledgement to set. * @return This builder for chaining. */ - public Builder setAcknowledgementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAcknowledgementBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); acknowledgement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,41 +827,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) - private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest(); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionRequest 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; @@ -778,9 +875,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java index 67e6161a53c7..528bdff1e8e5 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface AcknowledgeUserDataCollectionRequestOrBuilder extends +public interface AcknowledgeUserDataCollectionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Required. The property for which to acknowledge user data collection.
    * 
* - * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -39,10 +66,13 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder extends
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ java.lang.String getAcknowledgement(); /** + * + * *
    * Required. An acknowledgement that the caller of this method understands the terms
    * of user data collection.
@@ -54,8 +84,8 @@ public interface AcknowledgeUserDataCollectionRequestOrBuilder extends
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for acknowledgement. */ - com.google.protobuf.ByteString - getAcknowledgementBytes(); + com.google.protobuf.ByteString getAcknowledgementBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java similarity index 56% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java index 5455b20c3baf..12985a8cbb7b 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponse.java @@ -1,53 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for AcknowledgeUserDataCollection RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse} */ -public final class AcknowledgeUserDataCollectionResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcknowledgeUserDataCollectionResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) AcknowledgeUserDataCollectionResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcknowledgeUserDataCollectionResponse.newBuilder() to construct. - private AcknowledgeUserDataCollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeUserDataCollectionResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AcknowledgeUserDataCollectionResponse() { - } + + private AcknowledgeUserDataCollectionResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder.class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +80,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +98,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other = (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) obj; + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other = + (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +123,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( 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.v1beta.AcknowledgeUserDataCollectionResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse 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.v1beta.AcknowledgeUserDataCollectionResponse + 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.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for AcknowledgeUserDataCollection RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder.class); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.Builder + .class); } - // Construct using com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,19 +263,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.getDefaultInstance(); + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse build() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = buildPartial(); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -253,7 +287,8 @@ public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse b @java.lang.Override public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse buildPartial() { - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(this); + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse result = + new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(this); onBuilt(); return result; } @@ -262,46 +297,52 @@ public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse)other); + if (other + instanceof com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) { + return mergeFrom( + (com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other) { - if (other == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse other) { + if (other + == com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + .getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +369,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -343,9 +385,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,41 +397,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) - private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse(); } - public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse getDefaultInstance() { + public static com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeUserDataCollectionResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeUserDataCollectionResponse 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; @@ -401,9 +446,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java new file mode 100644 index 000000000000..8b67545d3ee7 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface AcknowledgeUserDataCollectionResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java index c8d2a2e43ffe..88a782e29801 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActionType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Types of actions that may change a resource.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.ActionType} */ -public enum ActionType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Action type unknown or not specified.
    * 
@@ -21,6 +39,8 @@ public enum ActionType */ ACTION_TYPE_UNSPECIFIED(0), /** + * + * *
    * Resource was created in this change.
    * 
@@ -29,6 +49,8 @@ public enum ActionType */ CREATED(1), /** + * + * *
    * Resource was updated in this change.
    * 
@@ -37,6 +59,8 @@ public enum ActionType */ UPDATED(2), /** + * + * *
    * Resource was deleted in this change.
    * 
@@ -48,6 +72,8 @@ public enum ActionType ; /** + * + * *
    * Action type unknown or not specified.
    * 
@@ -56,6 +82,8 @@ public enum ActionType */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource was created in this change.
    * 
@@ -64,6 +92,8 @@ public enum ActionType */ public static final int CREATED_VALUE = 1; /** + * + * *
    * Resource was updated in this change.
    * 
@@ -72,6 +102,8 @@ public enum ActionType */ public static final int UPDATED_VALUE = 2; /** + * + * *
    * Resource was deleted in this change.
    * 
@@ -80,7 +112,6 @@ public enum ActionType */ public static final int DELETED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static ActionType valueOf(int value) { */ public static ActionType forNumber(int value) { switch (value) { - case 0: return ACTION_TYPE_UNSPECIFIED; - case 1: return CREATED; - case 2: return UPDATED; - case 3: return DELETED; - default: return null; + case 0: + return ACTION_TYPE_UNSPECIFIED; + case 1: + return CREATED; + case 2: + return UPDATED; + case 3: + return DELETED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ActionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActionType findValueByNumber(int number) { - return ActionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActionType findValueByNumber(int number) { + return ActionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(3); } private static final ActionType[] VALUES = values(); - public static ActionType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -164,4 +196,3 @@ private ActionType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ActionType) } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java index ecdc1b7da4f4..b3d1ccfb59fa 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ActorType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Different kinds of actors that can make changes to Google Analytics
  * resources.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1beta.ActorType}
  */
-public enum ActorType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ActorType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Unknown or unspecified actor type.
    * 
@@ -22,6 +40,8 @@ public enum ActorType */ ACTOR_TYPE_UNSPECIFIED(0), /** + * + * *
    * Changes made by the user specified in actor_email.
    * 
@@ -30,6 +50,8 @@ public enum ActorType */ USER(1), /** + * + * *
    * Changes made by the Google Analytics system.
    * 
@@ -38,6 +60,8 @@ public enum ActorType */ SYSTEM(2), /** + * + * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -49,6 +73,8 @@ public enum ActorType ; /** + * + * *
    * Unknown or unspecified actor type.
    * 
@@ -57,6 +83,8 @@ public enum ActorType */ public static final int ACTOR_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Changes made by the user specified in actor_email.
    * 
@@ -65,6 +93,8 @@ public enum ActorType */ public static final int USER_VALUE = 1; /** + * + * *
    * Changes made by the Google Analytics system.
    * 
@@ -73,6 +103,8 @@ public enum ActorType */ public static final int SYSTEM_VALUE = 2; /** + * + * *
    * Changes made by Google Analytics support team staff.
    * 
@@ -81,7 +113,6 @@ public enum ActorType */ public static final int SUPPORT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,50 +137,51 @@ public static ActorType valueOf(int value) { */ public static ActorType forNumber(int value) { switch (value) { - case 0: return ACTOR_TYPE_UNSPECIFIED; - case 1: return USER; - case 2: return SYSTEM; - case 3: return SUPPORT; - default: return null; + case 0: + return ACTOR_TYPE_UNSPECIFIED; + case 1: + return USER; + case 2: + return SYSTEM; + case 3: + return SUPPORT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ActorType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ActorType findValueByNumber(int number) { - return ActorType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ActorType findValueByNumber(int number) { + return ActorType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final ActorType[] VALUES = values(); - public static ActorType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ActorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -165,4 +197,3 @@ private ActorType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ActorType) } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java new file mode 100644 index 000000000000..dbb0229e3770 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java @@ -0,0 +1,1256 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public final class AnalyticsAdminProto { + private AnalyticsAdminProto() {} + + 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_v1beta_GetAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/analytics/admin/v1beta/analytic" + + "s_admin.proto\022\035google.analytics.admin.v1" + + "beta\032-google/analytics/admin/v1beta/reso" + + "urces.proto\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032\033google/protobuf/empty.proto\032 goo" + + "gle/protobuf/field_mask.proto\032\037google/pr" + + "otobuf/timestamp.proto\"P\n\021GetAccountRequ" + + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" + + "n.googleapis.com/Account\"R\n\023ListAccounts" + + "Request\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token" + + "\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"i\n\024ListAcco" + + "untsResponse\0228\n\010accounts\030\001 \003(\0132&.google." + + "analytics.admin.v1beta.Account\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"S\n\024DeleteAccountRequest\022" + + ";\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmin.go" + + "ogleapis.com/Account\"\212\001\n\024UpdateAccountRe" + + "quest\022<\n\007account\030\001 \001(\0132&.google.analytic" + + "s.admin.v1beta.AccountB\003\340A\002\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"n\n\035ProvisionAccountTicketRequest\0227\n\007ac" + + "count\030\001 \001(\0132&.google.analytics.admin.v1b" + + "eta.Account\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Pro" + + "visionAccountTicketResponse\022\031\n\021account_t" + + "icket_id\030\001 \001(\t\"R\n\022GetPropertyRequest\022<\n\004" + + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" + + "eapis.com/Property\"i\n\025ListPropertiesRequ" + + "est\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 " + + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_deleted\030" + + "\004 \001(\010\"n\n\026ListPropertiesResponse\022;\n\nprope" + + "rties\030\001 \003(\0132\'.google.analytics.admin.v1b" + + "eta.Property\022\027\n\017next_page_token\030\002 \001(\t\"\215\001" + + "\n\025UpdatePropertyRequest\022>\n\010property\030\001 \001(" + + "\0132\'.google.analytics.admin.v1beta.Proper" + + "tyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\003\340A\002\"W\n\025CreatePropertyR" + + "equest\022>\n\010property\030\001 \001(\0132\'.google.analyt" + + "ics.admin.v1beta.PropertyB\003\340A\002\"U\n\025Delete" + + "PropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&a" + + "nalyticsadmin.googleapis.com/Property\"\250\001" + + "\n\031CreateFirebaseLinkRequest\022B\n\006parent\030\001 " + + "\001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis.c" + + "om/FirebaseLink\022G\n\rfirebase_link\030\002 \001(\0132+" + + ".google.analytics.admin.v1beta.FirebaseL" + + "inkB\003\340A\002\"]\n\031DeleteFirebaseLinkRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" + + "leapis.com/FirebaseLink\"\205\001\n\030ListFirebase" + + "LinksRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + + "alyticsadmin.googleapis.com/FirebaseLink" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "y\n\031ListFirebaseLinksResponse\022C\n\016firebase" + + "_links\030\001 \003(\0132+.google.analytics.admin.v1" + + "beta.FirebaseLink\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\255\001\n\032CreateGoogleAdsLinkRequest\022C\n\006par" + + "ent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.google" + + "apis.com/GoogleAdsLink\022J\n\017google_ads_lin" + + "k\030\002 \001(\0132,.google.analytics.admin.v1beta." + + "GoogleAdsLinkB\003\340A\002\"\231\001\n\032UpdateGoogleAdsLi" + + "nkRequest\022E\n\017google_ads_link\030\001 \001(\0132,.goo" + + "gle.analytics.admin.v1beta.GoogleAdsLink" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" + + "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" + + "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" + + "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" + + "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"}\n\032ListGoogleAdsLinksResponse\022" + + "F\n\020google_ads_links\030\001 \003(\0132,.google.analy" + + "tics.admin.v1beta.GoogleAdsLink\022\027\n\017next_" + + "page_token\030\002 \001(\t\"h\n\035GetDataSharingSettin" + + "gsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyti" + + "csadmin.googleapis.com/DataSharingSettin" + + "gs\"D\n\033ListAccountSummariesRequest\022\021\n\tpag" + + "e_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\034Lis" + + "tAccountSummariesResponse\022H\n\021account_sum" + + "maries\030\001 \003(\0132-.google.analytics.admin.v1" + + "beta.AccountSummary\022\027\n\017next_page_token\030\002" + + " \001(\t\"\206\001\n$AcknowledgeUserDataCollectionRe" + + "quest\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analyti" + + "csadmin.googleapis.com/Property\022\034\n\017ackno" + + "wledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUser" + + "DataCollectionResponse\"\201\004\n SearchChangeH" + + "istoryEventsRequest\022>\n\007account\030\001 \001(\tB-\340A" + + "\002\372A\'\n%analyticsadmin.googleapis.com/Acco" + + "unt\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analytics" + + "admin.googleapis.com/Property\022T\n\rresourc" + + "e_type\030\003 \003(\01628.google.analytics.admin.v1" + + "beta.ChangeHistoryResourceTypeB\003\340A\001\022>\n\006a" + + "ction\030\004 \003(\0162).google.analytics.admin.v1b" + + "eta.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\t" + + "B\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\001\022;\n\022latest_c" + + "hange_time\030\007 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npag" + + "e_token\030\t \001(\tB\003\340A\001\"\216\001\n!SearchChangeHisto" + + "ryEventsResponse\022P\n\025change_history_event" + + "s\030\001 \003(\01321.google.analytics.admin.v1beta." + + "ChangeHistoryEvent\022\027\n\017next_page_token\030\002 " + + "\001(\t\"t\n#GetMeasurementProtocolSecretReque" + + "st\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin" + + ".googleapis.com/MeasurementProtocolSecre" + + "t\"\335\001\n&CreateMeasurementProtocolSecretReq" + + "uest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsa" + + "dmin.googleapis.com/MeasurementProtocolS" + + "ecret\022b\n\033measurement_protocol_secret\030\002 \001" + + "(\01328.google.analytics.admin.v1beta.Measu" + + "rementProtocolSecretB\003\340A\002\"w\n&DeleteMeasu" + + "rementProtocolSecretRequest\022M\n\004name\030\001 \001(" + + "\tB?\340A\002\372A9\n7analyticsadmin.googleapis.com" + + "/MeasurementProtocolSecret\"\275\001\n&UpdateMea" + + "surementProtocolSecretRequest\022b\n\033measure" + + "ment_protocol_secret\030\001 \001(\01328.google.anal" + + "ytics.admin.v1beta.MeasurementProtocolSe" + + "cretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\"\237\001\n%ListMeasurementPr" + + "otocolSecretsRequest\022O\n\006parent\030\001 \001(\tB?\340A" + + "\002\372A9\0227analyticsadmin.googleapis.com/Meas" + + "urementProtocolSecret\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\"\241\001\n&ListMeasurement" + + "ProtocolSecretsResponse\022^\n\034measurement_p" + + "rotocol_secrets\030\001 \003(\01328.google.analytics" + + ".admin.v1beta.MeasurementProtocolSecret\022" + + "\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\034CreateConve" + + "rsionEventRequest\022M\n\020conversion_event\030\001 " + + "\001(\0132..google.analytics.admin.v1beta.Conv" + + "ersionEventB\003\340A\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/" + + "\022-analyticsadmin.googleapis.com/Conversi" + + "onEvent\"`\n\031GetConversionEventRequest\022C\n\004" + + "name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googl" + + "eapis.com/ConversionEvent\"c\n\034DeleteConve" + + "rsionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n" + + "-analyticsadmin.googleapis.com/Conversio" + + "nEvent\"\213\001\n\033ListConversionEventsRequest\022E" + + "\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.g" + + "oogleapis.com/ConversionEvent\022\021\n\tpage_si" + + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\034ListCon" + + "versionEventsResponse\022I\n\021conversion_even" + + "ts\030\001 \003(\0132..google.analytics.admin.v1beta" + + ".ConversionEvent\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\264\001\n\034CreateCustomDimensionRequest\022E\n\006pa" + + "rent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.googl" + + "eapis.com/CustomDimension\022M\n\020custom_dime" + + "nsion\030\002 \001(\0132..google.analytics.admin.v1b" + + "eta.CustomDimensionB\003\340A\002\"\236\001\n\034UpdateCusto" + + "mDimensionRequest\022H\n\020custom_dimension\030\001 " + + "\001(\0132..google.analytics.admin.v1beta.Cust" + + "omDimension\0224\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033ListCustom" + + "DimensionsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A" + + "/\022-analyticsadmin.googleapis.com/CustomD" + + "imension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\"\202\001\n\034ListCustomDimensionsResponse" + + "\022I\n\021custom_dimensions\030\001 \003(\0132..google.ana" + + "lytics.admin.v1beta.CustomDimension\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"d\n\035ArchiveCustomDim" + + "ensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-ana" + + "lyticsadmin.googleapis.com/CustomDimensi" + + "on\"`\n\031GetCustomDimensionRequest\022C\n\004name\030" + + "\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis" + + ".com/CustomDimension\"\250\001\n\031CreateCustomMet" + + "ricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*anal" + + "yticsadmin.googleapis.com/CustomMetric\022G" + + "\n\rcustom_metric\030\002 \001(\0132+.google.analytics" + + ".admin.v1beta.CustomMetricB\003\340A\002\"\225\001\n\031Upda" + + "teCustomMetricRequest\022B\n\rcustom_metric\030\001" + + " \001(\0132+.google.analytics.admin.v1beta.Cus" + + "tomMetric\0224\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\002\"\205\001\n\030ListCustomMe" + + "tricsRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + + "alyticsadmin.googleapis.com/CustomMetric" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "y\n\031ListCustomMetricsResponse\022C\n\016custom_m" + + "etrics\030\001 \003(\0132+.google.analytics.admin.v1" + + "beta.CustomMetric\022\027\n\017next_page_token\030\002 \001" + + "(\t\"^\n\032ArchiveCustomMetricRequest\022@\n\004name" + + "\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.googleapi" + + "s.com/CustomMetric\"Z\n\026GetCustomMetricReq" + + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadm" + + "in.googleapis.com/CustomMetric\"l\n\037GetDat" + + "aRetentionSettingsRequest\022I\n\004name\030\001 \001(\tB" + + ";\340A\002\372A5\n3analyticsadmin.googleapis.com/D" + + "ataRetentionSettings\"\266\001\n\"UpdateDataReten" + + "tionSettingsRequest\022Z\n\027data_retention_se" + + "ttings\030\001 \001(\01324.google.analytics.admin.v1" + + "beta.DataRetentionSettingsB\003\340A\002\0224\n\013updat" + + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\002\"\240\001\n\027CreateDataStreamRequest\022@\n\006par" + + "ent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.google" + + "apis.com/DataStream\022C\n\013data_stream\030\002 \001(\013" + + "2).google.analytics.admin.v1beta.DataStr" + + "eamB\003\340A\002\"Y\n\027DeleteDataStreamRequest\022>\n\004n" + + "ame\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.google" + + "apis.com/DataStream\"\217\001\n\027UpdateDataStream" + + "Request\022>\n\013data_stream\030\001 \001(\0132).google.an" + + "alytics.admin.v1beta.DataStream\0224\n\013updat" + + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\002\"\201\001\n\026ListDataStreamsRequest\022@\n\006pare" + + "nt\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.googlea" + + "pis.com/DataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n" + + "\npage_token\030\003 \001(\t\"s\n\027ListDataStreamsResp" + + "onse\022?\n\014data_streams\030\001 \003(\0132).google.anal" + + "ytics.admin.v1beta.DataStream\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"V\n\024GetDataStreamRequest\022>" + + "\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.goo" + + "gleapis.com/DataStream2\353L\n\025AnalyticsAdmi" + + "nService\022\220\001\n\nGetAccount\0220.google.analyti" + + "cs.admin.v1beta.GetAccountRequest\032&.goog" + + "le.analytics.admin.v1beta.Account\"(\202\323\344\223\002" + + "\033\022\031/v1beta/{name=accounts/*}\332A\004name\022\221\001\n\014" + + "ListAccounts\0222.google.analytics.admin.v1" + + "beta.ListAccountsRequest\0323.google.analyt" + + "ics.admin.v1beta.ListAccountsResponse\"\030\202" + + "\323\344\223\002\022\022\020/v1beta/accounts\022\206\001\n\rDeleteAccoun" + + "t\0223.google.analytics.admin.v1beta.Delete" + + "AccountRequest\032\026.google.protobuf.Empty\"(" + + "\202\323\344\223\002\033*\031/v1beta/{name=accounts/*}\332A\004name" + + "\022\266\001\n\rUpdateAccount\0223.google.analytics.ad" + + "min.v1beta.UpdateAccountRequest\032&.google" + + ".analytics.admin.v1beta.Account\"H\202\323\344\223\002,2" + + "!/v1beta/{account.name=accounts/*}:\007acco" + + "unt\332A\023account,update_mask\022\311\001\n\026ProvisionA" + + "ccountTicket\022<.google.analytics.admin.v1" + + "beta.ProvisionAccountTicketRequest\032=.goo" + + "gle.analytics.admin.v1beta.ProvisionAcco" + + "untTicketResponse\"2\202\323\344\223\002,\"\'/v1beta/accou" + + "nts:provisionAccountTicket:\001*\022\261\001\n\024ListAc" + + "countSummaries\022:.google.analytics.admin." + + "v1beta.ListAccountSummariesRequest\032;.goo" + + "gle.analytics.admin.v1beta.ListAccountSu" + + "mmariesResponse\" \202\323\344\223\002\032\022\030/v1beta/account" + + "Summaries\022\225\001\n\013GetProperty\0221.google.analy" + + "tics.admin.v1beta.GetPropertyRequest\032\'.g" + + "oogle.analytics.admin.v1beta.Property\"*\202" + + "\323\344\223\002\035\022\033/v1beta/{name=properties/*}\332A\004nam" + + "e\022\231\001\n\016ListProperties\0224.google.analytics." + + "admin.v1beta.ListPropertiesRequest\0325.goo" + + "gle.analytics.admin.v1beta.ListPropertie" + + "sResponse\"\032\202\323\344\223\002\024\022\022/v1beta/properties\022\240\001" + + "\n\016CreateProperty\0224.google.analytics.admi" + + "n.v1beta.CreatePropertyRequest\032\'.google." + + "analytics.admin.v1beta.Property\"/\202\323\344\223\002\036\"" + + "\022/v1beta/properties:\010property\332A\010property" + + "\022\233\001\n\016DeleteProperty\0224.google.analytics.a" + + "dmin.v1beta.DeletePropertyRequest\032\'.goog" + + "le.analytics.admin.v1beta.Property\"*\202\323\344\223" + + "\002\035*\033/v1beta/{name=properties/*}\332A\004name\022\276" + + "\001\n\016UpdateProperty\0224.google.analytics.adm" + + "in.v1beta.UpdatePropertyRequest\032\'.google" + + ".analytics.admin.v1beta.Property\"M\202\323\344\223\0020" + + "2$/v1beta/{property.name=properties/*}:\010" + + "property\332A\024property,update_mask\022\326\001\n\022Crea" + + "teFirebaseLink\0228.google.analytics.admin." + + "v1beta.CreateFirebaseLinkRequest\032+.googl" + + "e.analytics.admin.v1beta.FirebaseLink\"Y\202" + + "\323\344\223\002<\"+/v1beta/{parent=properties/*}/fir" + + "ebaseLinks:\rfirebase_link\332A\024parent,fireb" + + "ase_link\022\242\001\n\022DeleteFirebaseLink\0228.google" + + ".analytics.admin.v1beta.DeleteFirebaseLi" + + "nkRequest\032\026.google.protobuf.Empty\":\202\323\344\223\002" + + "-*+/v1beta/{name=properties/*/firebaseLi" + + "nks/*}\332A\004name\022\304\001\n\021ListFirebaseLinks\0227.go" + + "ogle.analytics.admin.v1beta.ListFirebase" + + "LinksRequest\0328.google.analytics.admin.v1" + + "beta.ListFirebaseLinksResponse\"<\202\323\344\223\002-\022+" + + "/v1beta/{parent=properties/*}/firebaseLi" + + "nks\332A\006parent\022\336\001\n\023CreateGoogleAdsLink\0229.g" + + "oogle.analytics.admin.v1beta.CreateGoogl" + + "eAdsLinkRequest\032,.google.analytics.admin" + + ".v1beta.GoogleAdsLink\"^\202\323\344\223\002?\",/v1beta/{" + + "parent=properties/*}/googleAdsLinks:\017goo" + + "gle_ads_link\332A\026parent,google_ads_link\022\363\001" + + "\n\023UpdateGoogleAdsLink\0229.google.analytics" + + ".admin.v1beta.UpdateGoogleAdsLinkRequest" + + "\032,.google.analytics.admin.v1beta.GoogleA" + + "dsLink\"s\202\323\344\223\002O2.google.analytics.admin.v1" + + "beta.GetDataRetentionSettingsRequest\0324.g" + + "oogle.analytics.admin.v1beta.DataRetenti" + + "onSettings\"@\202\323\344\223\0023\0221/v1beta/{name=proper" + + "ties/*/dataRetentionSettings}\332A\004name\022\251\002\n" + + "\033UpdateDataRetentionSettings\022A.google.an" + + "alytics.admin.v1beta.UpdateDataRetention" + + "SettingsRequest\0324.google.analytics.admin" + + ".v1beta.DataRetentionSettings\"\220\001\202\323\344\223\002d2I" + + "/v1beta/{data_retention_settings.name=pr" + + "operties/*/dataRetentionSettings}:\027data_" + + "retention_settings\332A#data_retention_sett" + + "ings,update_mask\022\312\001\n\020CreateDataStream\0226." + + "google.analytics.admin.v1beta.CreateData" + + "StreamRequest\032).google.analytics.admin.v" + + "1beta.DataStream\"S\202\323\344\223\0028\")/v1beta/{paren" + + "t=properties/*}/dataStreams:\013data_stream" + + "\332A\022parent,data_stream\022\234\001\n\020DeleteDataStre" + + "am\0226.google.analytics.admin.v1beta.Delet" + + "eDataStreamRequest\032\026.google.protobuf.Emp" + + "ty\"8\202\323\344\223\002+*)/v1beta/{name=properties/*/d" + + "ataStreams/*}\332A\004name\022\333\001\n\020UpdateDataStrea" + + "m\0226.google.analytics.admin.v1beta.Update" + + "DataStreamRequest\032).google.analytics.adm" + + "in.v1beta.DataStream\"d\202\323\344\223\002D25/v1beta/{d" + + "ata_stream.name=properties/*/dataStreams" + + "/*}:\013data_stream\332A\027data_stream,update_ma" + + "sk\022\274\001\n\017ListDataStreams\0225.google.analytic" + + "s.admin.v1beta.ListDataStreamsRequest\0326." + + "google.analytics.admin.v1beta.ListDataSt" + + "reamsResponse\":\202\323\344\223\002+\022)/v1beta/{parent=p" + + "roperties/*}/dataStreams\332A\006parent\022\251\001\n\rGe" + + "tDataStream\0223.google.analytics.admin.v1b" + + "eta.GetDataStreamRequest\032).google.analyt" + + "ics.admin.v1beta.DataStream\"8\202\323\344\223\002+\022)/v1" + + "beta/{name=properties/*/dataStreams/*}\332A" + + "\004name\032\204\001\312A\035analyticsadmin.googleapis.com" + + "\322Aahttps://www.googleapis.com/auth/analy" + + "tics.edit,https://www.googleapis.com/aut" + + "h/analytics.readonlyB~\n!com.google.analy" + + "tics.admin.v1betaB\023AnalyticsAdminProtoP\001" + + "ZBgoogle.golang.org/genproto/googleapis/" + + "analytics/admin/v1beta;adminb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor, + new java.lang.String[] { + "PageSize", "PageToken", "ShowDeleted", + }); + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor, + new java.lang.String[] { + "Accounts", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor, + new java.lang.String[] { + "Account", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor, + new java.lang.String[] { + "Account", "RedirectUri", + }); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor, + new java.lang.String[] { + "AccountTicketId", + }); + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor, + new java.lang.String[] { + "Filter", "PageSize", "PageToken", "ShowDeleted", + }); + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor, + new java.lang.String[] { + "Properties", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor, + new java.lang.String[] { + "Property", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor, + new java.lang.String[] { + "Property", + }); + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "FirebaseLink", + }); + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor, + new java.lang.String[] { + "FirebaseLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "GoogleAdsLink", + }); + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { + "GoogleAdsLink", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor, + new java.lang.String[] { + "GoogleAdsLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor, + new java.lang.String[] { + "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor, + new java.lang.String[] { + "AccountSummaries", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor, + new java.lang.String[] { + "Property", "Acknowledgement", + }); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor, + new java.lang.String[] { + "Account", + "Property", + "ResourceType", + "Action", + "ActorEmail", + "EarliestChangeTime", + "LatestChangeTime", + "PageSize", + "PageToken", + }); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor, + new java.lang.String[] { + "ChangeHistoryEvents", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "Parent", "MeasurementProtocolSecret", + }); + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor, + new java.lang.String[] { + "MeasurementProtocolSecret", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor, + new java.lang.String[] { + "MeasurementProtocolSecrets", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor, + new java.lang.String[] { + "ConversionEvent", "Parent", + }); + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor, + new java.lang.String[] { + "ConversionEvents", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor, + new java.lang.String[] { + "Parent", "CustomDimension", + }); + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor, + new java.lang.String[] { + "CustomDimension", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor, + new java.lang.String[] { + "CustomDimensions", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor, + new java.lang.String[] { + "Parent", "CustomMetric", + }); + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor, + new java.lang.String[] { + "CustomMetric", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor, + new java.lang.String[] { + "CustomMetrics", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor, + new java.lang.String[] { + "DataRetentionSettings", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor, + new java.lang.String[] { + "Parent", "DataStream", + }); + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor, + new java.lang.String[] { + "DataStream", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor, + new java.lang.String[] { + "DataStreams", "NextPageToken", + }); + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java index ac00199efb7d..f4f259d781f7 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ArchiveCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomDimensionRequest} */ -public final class ArchiveCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArchiveCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) ArchiveCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArchiveCustomDimensionRequest.newBuilder() to construct. private ArchiveCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArchiveCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArchiveCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomDimension to archive.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other = (com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other = + (com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( 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.v1beta.ArchiveCustomDimensionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ArchiveCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result = new com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result = + new com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,46 +371,50 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ArchiveCustomDimens public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ArchiveCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest other) { + if (other + == com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +446,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +468,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +498,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +523,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +567,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomDimension to archive.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,41 +603,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) - private static final com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest(); } - public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomDimensionRequest 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; @@ -579,9 +651,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..e8f8c4bb6f5e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface ArchiveCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
+   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java index c874fd3eae66..5e0a28639ca8 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ArchiveCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomMetricRequest} */ -public final class ArchiveCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArchiveCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) ArchiveCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArchiveCustomMetricRequest.newBuilder() to construct. private ArchiveCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArchiveCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArchiveCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomMetric to archive.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest other = (com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest other = + (com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( 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.v1beta.ArchiveCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ArchiveCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ArchiveCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) com.google.analytics.admin.v1beta.ArchiveCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance(); } @@ -315,13 +350,17 @@ public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result = new com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result = + new com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -332,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ArchiveCustomMetric public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ArchiveCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +411,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +445,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +467,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +497,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +522,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +566,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomMetric to archive.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +602,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) - private static final com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest(); } @@ -547,27 +617,27 @@ public static com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArchiveCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArchiveCustomMetricRequest 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; @@ -582,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..1a2428dc456e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface ArchiveCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
+   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java index ebe22a33ae1b..2e6e715eaad7 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChange.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A description of a change to a single Google Analytics resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange} */ -public final class ChangeHistoryChange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChangeHistoryChange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ChangeHistoryChange) ChangeHistoryChangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeHistoryChange.newBuilder() to construct. private ChangeHistoryChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChangeHistoryChange() { resource_ = ""; action_ = 0; @@ -26,52 +44,62 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ChangeHistoryChange.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1beta.ChangeHistoryChange.class, + com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); } - public interface ChangeHistoryResourceOrBuilder extends + public interface ChangeHistoryResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return The account. */ com.google.analytics.admin.v1beta.Account getAccount(); /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
@@ -81,24 +109,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder(); /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; + * * @return The property. */ com.google.analytics.admin.v1beta.Property getProperty(); /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
@@ -108,24 +144,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder(); /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * * @return Whether the firebaseLink field is set. */ boolean hasFirebaseLink(); /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * * @return The firebaseLink. */ com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink(); /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -135,24 +179,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * * @return The googleAdsLink. */ com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -162,24 +214,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * * @return Whether the conversionEvent field is set. */ boolean hasConversionEvent(); /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * * @return The conversionEvent. */ com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(); /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -189,78 +249,113 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder(); /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * + * * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * + * * @return The dataRetentionSettings. */ com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings(); /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder(); /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; + * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; + * * @return The dataStream. */ com.google.analytics.admin.v1beta.DataStream getDataStream(); /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -269,9 +364,12 @@ public interface ChangeHistoryResourceOrBuilder extends */ com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.ResourceCase + getResourceCase(); } /** + * + * *
    * A snapshot of a resource as before or after the result of a change in
    * change history.
@@ -279,47 +377,51 @@ public interface ChangeHistoryResourceOrBuilder extends
    *
    * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource}
    */
-  public static final class ChangeHistoryResource extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ChangeHistoryResource extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)
       ChangeHistoryResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ChangeHistoryResource.newBuilder() to construct.
     private ChangeHistoryResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private ChangeHistoryResource() {
-    }
+
+    private ChangeHistoryResource() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ChangeHistoryResource();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
+              com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class,
+              com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder
+                  .class);
     }
 
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
+
     public enum ResourceCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ACCOUNT(1),
       PROPERTY(2),
@@ -331,6 +433,7 @@ public enum ResourceCase
       DATA_STREAM(18),
       RESOURCE_NOT_SET(0);
       private final int value;
+
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -346,36 +449,48 @@ public static ResourceCase valueOf(int value) {
 
       public static ResourceCase forNumber(int value) {
         switch (value) {
-          case 1: return ACCOUNT;
-          case 2: return PROPERTY;
-          case 6: return FIREBASE_LINK;
-          case 7: return GOOGLE_ADS_LINK;
-          case 11: return CONVERSION_EVENT;
-          case 12: return MEASUREMENT_PROTOCOL_SECRET;
-          case 15: return DATA_RETENTION_SETTINGS;
-          case 18: return DATA_STREAM;
-          case 0: return RESOURCE_NOT_SET;
-          default: return null;
+          case 1:
+            return ACCOUNT;
+          case 2:
+            return PROPERTY;
+          case 6:
+            return FIREBASE_LINK;
+          case 7:
+            return GOOGLE_ADS_LINK;
+          case 11:
+            return CONVERSION_EVENT;
+          case 12:
+            return MEASUREMENT_PROTOCOL_SECRET;
+          case 15:
+            return DATA_RETENTION_SETTINGS;
+          case 18:
+            return DATA_STREAM;
+          case 0:
+            return RESOURCE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ResourceCase
-    getResourceCase() {
-      return ResourceCase.forNumber(
-          resourceCase_);
+    public ResourceCase getResourceCase() {
+      return ResourceCase.forNumber(resourceCase_);
     }
 
     public static final int ACCOUNT_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return Whether the account field is set. */ @java.lang.Override @@ -383,21 +498,26 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1beta.Account getAccount() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1beta.Account) resource_; + return (com.google.analytics.admin.v1beta.Account) resource_; } return com.google.analytics.admin.v1beta.Account.getDefaultInstance(); } /** + * + * *
      * A snapshot of an Account resource in change history.
      * 
@@ -407,18 +527,21 @@ public com.google.analytics.admin.v1beta.Account getAccount() { @java.lang.Override public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { if (resourceCase_ == 1) { - return (com.google.analytics.admin.v1beta.Account) resource_; + return (com.google.analytics.admin.v1beta.Account) resource_; } return com.google.analytics.admin.v1beta.Account.getDefaultInstance(); } public static final int PROPERTY_FIELD_NUMBER = 2; /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; + * * @return Whether the property field is set. */ @java.lang.Override @@ -426,21 +549,26 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
* * .google.analytics.admin.v1beta.Property property = 2; + * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1beta.Property getProperty() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1beta.Property) resource_; + return (com.google.analytics.admin.v1beta.Property) resource_; } return com.google.analytics.admin.v1beta.Property.getDefaultInstance(); } /** + * + * *
      * A snapshot of a Property resource in change history.
      * 
@@ -450,18 +578,21 @@ public com.google.analytics.admin.v1beta.Property getProperty() { @java.lang.Override public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { if (resourceCase_ == 2) { - return (com.google.analytics.admin.v1beta.Property) resource_; + return (com.google.analytics.admin.v1beta.Property) resource_; } return com.google.analytics.admin.v1beta.Property.getDefaultInstance(); } public static final int FIREBASE_LINK_FIELD_NUMBER = 6; /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -469,21 +600,26 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; + return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; } return com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance(); } /** + * + * *
      * A snapshot of a FirebaseLink resource in change history.
      * 
@@ -493,18 +629,21 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (resourceCase_ == 6) { - return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; + return (com.google.analytics.admin.v1beta.FirebaseLink) resource_; } return com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance(); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 7; /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -512,21 +651,26 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance(); } /** + * + * *
      * A snapshot of a GoogleAdsLink resource in change history.
      * 
@@ -536,18 +680,21 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (resourceCase_ == 7) { - return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; + return (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_; } return com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance(); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 11; /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -555,21 +702,26 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; + return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; } return com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance(); } /** + * + * *
      * A snapshot of a ConversionEvent resource in change history.
      * 
@@ -577,20 +729,26 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { + public com.google.analytics.admin.v1beta.ConversionEventOrBuilder + getConversionEventOrBuilder() { if (resourceCase_ == 11) { - return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; + return (com.google.analytics.admin.v1beta.ConversionEvent) resource_; } return com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance(); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 12; /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -598,42 +756,57 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); } /** + * + * *
      * A snapshot of a MeasurementProtocolSecret resource in change history.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if (resourceCase_ == 12) { - return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; + return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; } return com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 15; /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * + * * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -641,42 +814,53 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * + * * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; } return com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); } /** + * + * *
      * A snapshot of a data retention settings resource in change history.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { if (resourceCase_ == 15) { - return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; + return (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_; } return com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); } public static final int DATA_STREAM_FIELD_NUMBER = 18; /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; + * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -684,21 +868,26 @@ public boolean hasDataStream() { return resourceCase_ == 18; } /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; + * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream getDataStream() { if (resourceCase_ == 18) { - return (com.google.analytics.admin.v1beta.DataStream) resource_; + return (com.google.analytics.admin.v1beta.DataStream) resource_; } return com.google.analytics.admin.v1beta.DataStream.getDefaultInstance(); } /** + * + * *
      * A snapshot of a DataStream resource in change history.
      * 
@@ -708,12 +897,13 @@ public com.google.analytics.admin.v1beta.DataStream getDataStream() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { if (resourceCase_ == 18) { - return (com.google.analytics.admin.v1beta.DataStream) resource_; + return (com.google.analytics.admin.v1beta.DataStream) resource_; } return com.google.analytics.admin.v1beta.DataStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -725,8 +915,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resourceCase_ == 1) { output.writeMessage(1, (com.google.analytics.admin.v1beta.Account) resource_); } @@ -743,10 +932,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(11, (com.google.analytics.admin.v1beta.ConversionEvent) resource_); } if (resourceCase_ == 12) { - output.writeMessage(12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); + output.writeMessage( + 12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 15) { - output.writeMessage(15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); + output.writeMessage( + 15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); } if (resourceCase_ == 18) { output.writeMessage(18, (com.google.analytics.admin.v1beta.DataStream) resource_); @@ -761,36 +952,44 @@ public int getSerializedSize() { size = 0; if (resourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.analytics.admin.v1beta.Account) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.analytics.admin.v1beta.Account) resource_); } if (resourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1beta.Property) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1beta.Property) resource_); } if (resourceCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.analytics.admin.v1beta.FirebaseLink) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.analytics.admin.v1beta.FirebaseLink) resource_); } if (resourceCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_); } if (resourceCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.analytics.admin.v1beta.ConversionEvent) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.analytics.admin.v1beta.ConversionEvent) resource_); } if (resourceCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_); } if (resourceCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_); } if (resourceCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (com.google.analytics.admin.v1beta.DataStream) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.analytics.admin.v1beta.DataStream) resource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -800,46 +999,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)) { + if (!(obj + instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other = (com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) obj; + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other = + (com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) obj; if (!getResourceCase().equals(other.getResourceCase())) return false; switch (resourceCase_) { case 1: - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; break; case 2: - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; break; case 6: - if (!getFirebaseLink() - .equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; break; case 7: - if (!getGoogleAdsLink() - .equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; break; case 11: - if (!getConversionEvent() - .equals(other.getConversionEvent())) return false; + if (!getConversionEvent().equals(other.getConversionEvent())) return false; break; case 12: - if (!getMeasurementProtocolSecret() - .equals(other.getMeasurementProtocolSecret())) return false; + if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) + return false; break; case 15: - if (!getDataRetentionSettings() - .equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; break; case 18: - if (!getDataStream() - .equals(other.getDataStream())) return false; + if (!getDataStream().equals(other.getDataStream())) return false; break; case 0: default: @@ -896,88 +1090,101 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + 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.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom( + 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.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource 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.v1beta.ChangeHistoryChange.ChangeHistoryResource + 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.v1beta.ChangeHistoryChange.ChangeHistoryResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource 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.v1beta.ChangeHistoryChange.ChangeHistoryResource + 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.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -987,6 +1194,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A snapshot of a resource as before or after the result of a change in
      * change history.
@@ -994,33 +1203,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)
         com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.analytics.admin.v1beta.ResourcesProto
+            .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
+        return com.google.analytics.admin.v1beta.ResourcesProto
+            .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder.class);
+                com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.class,
+                com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder
+                    .class);
       }
 
-      // Construct using com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1055,19 +1266,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.analytics.admin.v1beta.ResourcesProto
+            .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor;
       }
 
       @java.lang.Override
-      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() {
-        return com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance();
+      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
+          getDefaultInstanceForType() {
+        return com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource build() {
-        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result = buildPartial();
+        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1075,51 +1289,49 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResour
       }
 
       @java.lang.Override
-      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource buildPartial() {
-        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result = new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
+          buildPartial() {
+        com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result =
+            new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
+      private void buildPartial0(
+          com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
         int from_bitField0_ = bitField0_;
       }
 
-      private void buildPartialOneofs(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
+      private void buildPartialOneofs(
+          com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource result) {
         result.resourceCase_ = resourceCase_;
         result.resource_ = this.resource_;
-        if (resourceCase_ == 1 &&
-            accountBuilder_ != null) {
+        if (resourceCase_ == 1 && accountBuilder_ != null) {
           result.resource_ = accountBuilder_.build();
         }
-        if (resourceCase_ == 2 &&
-            propertyBuilder_ != null) {
+        if (resourceCase_ == 2 && propertyBuilder_ != null) {
           result.resource_ = propertyBuilder_.build();
         }
-        if (resourceCase_ == 6 &&
-            firebaseLinkBuilder_ != null) {
+        if (resourceCase_ == 6 && firebaseLinkBuilder_ != null) {
           result.resource_ = firebaseLinkBuilder_.build();
         }
-        if (resourceCase_ == 7 &&
-            googleAdsLinkBuilder_ != null) {
+        if (resourceCase_ == 7 && googleAdsLinkBuilder_ != null) {
           result.resource_ = googleAdsLinkBuilder_.build();
         }
-        if (resourceCase_ == 11 &&
-            conversionEventBuilder_ != null) {
+        if (resourceCase_ == 11 && conversionEventBuilder_ != null) {
           result.resource_ = conversionEventBuilder_.build();
         }
-        if (resourceCase_ == 12 &&
-            measurementProtocolSecretBuilder_ != null) {
+        if (resourceCase_ == 12 && measurementProtocolSecretBuilder_ != null) {
           result.resource_ = measurementProtocolSecretBuilder_.build();
         }
-        if (resourceCase_ == 15 &&
-            dataRetentionSettingsBuilder_ != null) {
+        if (resourceCase_ == 15 && dataRetentionSettingsBuilder_ != null) {
           result.resource_ = dataRetentionSettingsBuilder_.build();
         }
-        if (resourceCase_ == 18 &&
-            dataStreamBuilder_ != null) {
+        if (resourceCase_ == 18 && dataStreamBuilder_ != null) {
           result.resource_ = dataStreamBuilder_.build();
         }
       }
@@ -1128,82 +1340,100 @@ private void buildPartialOneofs(com.google.analytics.admin.v1beta.ChangeHistoryC
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) {
-          return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource)other);
+        if (other
+            instanceof
+            com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) {
+          return mergeFrom(
+              (com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other) {
-        if (other == com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource other) {
+        if (other
+            == com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource
+                .getDefaultInstance()) return this;
         switch (other.getResourceCase()) {
-          case ACCOUNT: {
-            mergeAccount(other.getAccount());
-            break;
-          }
-          case PROPERTY: {
-            mergeProperty(other.getProperty());
-            break;
-          }
-          case FIREBASE_LINK: {
-            mergeFirebaseLink(other.getFirebaseLink());
-            break;
-          }
-          case GOOGLE_ADS_LINK: {
-            mergeGoogleAdsLink(other.getGoogleAdsLink());
-            break;
-          }
-          case CONVERSION_EVENT: {
-            mergeConversionEvent(other.getConversionEvent());
-            break;
-          }
-          case MEASUREMENT_PROTOCOL_SECRET: {
-            mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret());
-            break;
-          }
-          case DATA_RETENTION_SETTINGS: {
-            mergeDataRetentionSettings(other.getDataRetentionSettings());
-            break;
-          }
-          case DATA_STREAM: {
-            mergeDataStream(other.getDataStream());
-            break;
-          }
-          case RESOURCE_NOT_SET: {
-            break;
-          }
+          case ACCOUNT:
+            {
+              mergeAccount(other.getAccount());
+              break;
+            }
+          case PROPERTY:
+            {
+              mergeProperty(other.getProperty());
+              break;
+            }
+          case FIREBASE_LINK:
+            {
+              mergeFirebaseLink(other.getFirebaseLink());
+              break;
+            }
+          case GOOGLE_ADS_LINK:
+            {
+              mergeGoogleAdsLink(other.getGoogleAdsLink());
+              break;
+            }
+          case CONVERSION_EVENT:
+            {
+              mergeConversionEvent(other.getConversionEvent());
+              break;
+            }
+          case MEASUREMENT_PROTOCOL_SECRET:
+            {
+              mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret());
+              break;
+            }
+          case DATA_RETENTION_SETTINGS:
+            {
+              mergeDataRetentionSettings(other.getDataRetentionSettings());
+              break;
+            }
+          case DATA_STREAM:
+            {
+              mergeDataStream(other.getDataStream());
+              break;
+            }
+          case RESOURCE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1231,68 +1461,64 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getAccountFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 1;
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getPropertyFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 2;
-                break;
-              } // case 18
-              case 50: {
-                input.readMessage(
-                    getFirebaseLinkFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 6;
-                break;
-              } // case 50
-              case 58: {
-                input.readMessage(
-                    getGoogleAdsLinkFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 7;
-                break;
-              } // case 58
-              case 90: {
-                input.readMessage(
-                    getConversionEventFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 11;
-                break;
-              } // case 90
-              case 98: {
-                input.readMessage(
-                    getMeasurementProtocolSecretFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 12;
-                break;
-              } // case 98
-              case 122: {
-                input.readMessage(
-                    getDataRetentionSettingsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 15;
-                break;
-              } // case 122
-              case 146: {
-                input.readMessage(
-                    getDataStreamFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                resourceCase_ = 18;
-                break;
-              } // case 146
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 1;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 2;
+                  break;
+                } // case 18
+              case 50:
+                {
+                  input.readMessage(getFirebaseLinkFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 6;
+                  break;
+                } // case 50
+              case 58:
+                {
+                  input.readMessage(getGoogleAdsLinkFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 7;
+                  break;
+                } // case 58
+              case 90:
+                {
+                  input.readMessage(
+                      getConversionEventFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 11;
+                  break;
+                } // case 90
+              case 98:
+                {
+                  input.readMessage(
+                      getMeasurementProtocolSecretFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 12;
+                  break;
+                } // case 98
+              case 122:
+                {
+                  input.readMessage(
+                      getDataRetentionSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 15;
+                  break;
+                } // case 122
+              case 146:
+                {
+                  input.readMessage(getDataStreamFieldBuilder().getBuilder(), extensionRegistry);
+                  resourceCase_ = 18;
+                  break;
+                } // case 146
+              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) {
@@ -1302,12 +1528,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int resourceCase_ = 0;
       private java.lang.Object resource_;
-      public ResourceCase
-          getResourceCase() {
-        return ResourceCase.forNumber(
-            resourceCase_);
+
+      public ResourceCase getResourceCase() {
+        return ResourceCase.forNumber(resourceCase_);
       }
 
       public Builder clearResource() {
@@ -1320,13 +1546,19 @@ public Builder clearResource() {
       private int bitField0_;
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountBuilder_;
+              com.google.analytics.admin.v1beta.Account,
+              com.google.analytics.admin.v1beta.Account.Builder,
+              com.google.analytics.admin.v1beta.AccountOrBuilder>
+          accountBuilder_;
       /**
+       *
+       *
        * 
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return Whether the account field is set. */ @java.lang.Override @@ -1334,11 +1566,14 @@ public boolean hasAccount() { return resourceCase_ == 1; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return The account. */ @java.lang.Override @@ -1356,6 +1591,8 @@ public com.google.analytics.admin.v1beta.Account getAccount() { } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1376,14 +1613,15 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
* * .google.analytics.admin.v1beta.Account account = 1; */ - public Builder setAccount( - com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -1394,6 +1632,8 @@ public Builder setAccount( return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1402,10 +1642,13 @@ public Builder setAccount( */ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { - if (resourceCase_ == 1 && - resource_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.Account.newBuilder((com.google.analytics.admin.v1beta.Account) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 1 + && resource_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.Account.newBuilder( + (com.google.analytics.admin.v1beta.Account) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -1421,6 +1664,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1444,6 +1689,8 @@ public Builder clearAccount() { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1454,6 +1701,8 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1472,6 +1721,8 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1479,14 +1730,19 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1beta.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { if (!(resourceCase_ == 1)) { resource_ = com.google.analytics.admin.v1beta.Account.getDefaultInstance(); } - accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( + accountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder>( (com.google.analytics.admin.v1beta.Account) resource_, getParentForChildren(), isClean()); @@ -1498,13 +1754,19 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertyBuilder_; + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> + propertyBuilder_; /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1beta.Property property = 2; + * * @return Whether the property field is set. */ @java.lang.Override @@ -1512,11 +1774,14 @@ public boolean hasProperty() { return resourceCase_ == 2; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
* * .google.analytics.admin.v1beta.Property property = 2; + * * @return The property. */ @java.lang.Override @@ -1534,6 +1799,8 @@ public com.google.analytics.admin.v1beta.Property getProperty() { } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1554,6 +1821,8 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1572,6 +1841,8 @@ public Builder setProperty( return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1580,10 +1851,13 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { - if (resourceCase_ == 2 && - resource_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.Property.newBuilder((com.google.analytics.admin.v1beta.Property) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 2 + && resource_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.Property.newBuilder( + (com.google.analytics.admin.v1beta.Property) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -1599,6 +1873,8 @@ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1622,6 +1898,8 @@ public Builder clearProperty() { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1632,6 +1910,8 @@ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1650,6 +1930,8 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1657,14 +1939,19 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( * .google.analytics.admin.v1beta.Property property = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { if (!(resourceCase_ == 2)) { resource_ = com.google.analytics.admin.v1beta.Property.getDefaultInstance(); } - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder>( (com.google.analytics.admin.v1beta.Property) resource_, getParentForChildren(), isClean()); @@ -1676,13 +1963,19 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> firebaseLinkBuilder_; + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + firebaseLinkBuilder_; /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -1690,11 +1983,14 @@ public boolean hasFirebaseLink() { return resourceCase_ == 6; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * * @return The firebaseLink. */ @java.lang.Override @@ -1712,6 +2008,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1732,6 +2030,8 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink va return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1750,6 +2050,8 @@ public Builder setFirebaseLink( return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1758,10 +2060,13 @@ public Builder setFirebaseLink( */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (resourceCase_ == 6 && - resource_ != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.FirebaseLink.newBuilder((com.google.analytics.admin.v1beta.FirebaseLink) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 6 + && resource_ != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.FirebaseLink.newBuilder( + (com.google.analytics.admin.v1beta.FirebaseLink) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -1777,6 +2082,8 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1800,6 +2107,8 @@ public Builder clearFirebaseLink() { return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1810,6 +2119,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinkBui return getFirebaseLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1828,6 +2139,8 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOr } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1835,14 +2148,19 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOr * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { if (!(resourceCase_ == 6)) { resource_ = com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance(); } - firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( + firebaseLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( (com.google.analytics.admin.v1beta.FirebaseLink) resource_, getParentForChildren(), isClean()); @@ -1854,13 +2172,19 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + googleAdsLinkBuilder_; /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -1868,11 +2192,14 @@ public boolean hasGoogleAdsLink() { return resourceCase_ == 7; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * * @return The googleAdsLink. */ @java.lang.Override @@ -1890,6 +2217,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1910,6 +2239,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1928,6 +2259,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1936,10 +2269,14 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (resourceCase_ == 7 && - resource_ != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.GoogleAdsLink.newBuilder((com.google.analytics.admin.v1beta.GoogleAdsLink) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 7 + && resource_ + != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.GoogleAdsLink.newBuilder( + (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -1955,6 +2292,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1978,6 +2317,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1988,6 +2329,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2006,6 +2349,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2013,14 +2358,19 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { if (!(resourceCase_ == 7)) { resource_ = com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance(); } - googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + googleAdsLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( (com.google.analytics.admin.v1beta.GoogleAdsLink) resource_, getParentForChildren(), isClean()); @@ -2032,13 +2382,19 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> conversionEventBuilder_; + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + conversionEventBuilder_; /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -2046,11 +2402,14 @@ public boolean hasConversionEvent() { return resourceCase_ == 11; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
* * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * * @return The conversionEvent. */ @java.lang.Override @@ -2068,6 +2427,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2088,6 +2449,8 @@ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEv return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2106,6 +2469,8 @@ public Builder setConversionEvent( return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2114,10 +2479,14 @@ public Builder setConversionEvent( */ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (resourceCase_ == 11 && - resource_ != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.ConversionEvent.newBuilder((com.google.analytics.admin.v1beta.ConversionEvent) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 11 + && resource_ + != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.ConversionEvent.newBuilder( + (com.google.analytics.admin.v1beta.ConversionEvent) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2133,6 +2502,8 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.Conversion return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2156,6 +2527,8 @@ public Builder clearConversionEvent() { return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2166,6 +2539,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2173,7 +2548,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; */ @java.lang.Override - public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { + public com.google.analytics.admin.v1beta.ConversionEventOrBuilder + getConversionEventOrBuilder() { if ((resourceCase_ == 11) && (conversionEventBuilder_ != null)) { return conversionEventBuilder_.getMessageOrBuilder(); } else { @@ -2184,6 +2560,8 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2191,14 +2569,19 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { if (!(resourceCase_ == 11)) { resource_ = com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance(); } - conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( + conversionEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( (com.google.analytics.admin.v1beta.ConversionEvent) resource_, getParentForChildren(), isClean()); @@ -2210,13 +2593,21 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretBuilder_; /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -2224,15 +2615,21 @@ public boolean hasMeasurementProtocolSecret() { return resourceCase_ == 12; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { if (resourceCase_ == 12) { return (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_; @@ -2246,13 +2643,18 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasuremen } } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2266,11 +2668,15 @@ public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.Me return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -2284,18 +2690,28 @@ public Builder setMeasurementProtocolSecret( return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (resourceCase_ == 12 && - resource_ != com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.newBuilder((com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 12 + && resource_ + != com.google.analytics.admin.v1beta.MeasurementProtocolSecret + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.newBuilder( + (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2311,11 +2727,15 @@ public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta. return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ public Builder clearMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { @@ -2334,24 +2754,34 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretBuilder() { return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if ((resourceCase_ == 12) && (measurementProtocolSecretBuilder_ != null)) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { @@ -2362,21 +2792,31 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getM } } /** + * + * *
        * A snapshot of a MeasurementProtocolSecret resource in change history.
        * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { if (!(resourceCase_ == 12)) { - resource_ = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); + resource_ = + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance(); } - measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + measurementProtocolSecretBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) resource_, getParentForChildren(), isClean()); @@ -2388,13 +2828,20 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getM } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1beta.DataRetentionSettings, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> + dataRetentionSettingsBuilder_; /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * + * * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -2402,11 +2849,15 @@ public boolean hasDataRetentionSettings() { return resourceCase_ == 15; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * + * * @return The dataRetentionSettings. */ @java.lang.Override @@ -2424,13 +2875,17 @@ public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionS } } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ - public Builder setDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder setDataRetentionSettings( + com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2444,11 +2899,14 @@ public Builder setDataRetentionSettings(com.google.analytics.admin.v1beta.DataRe return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1beta.DataRetentionSettings.Builder builderForValue) { @@ -2462,18 +2920,26 @@ public Builder setDataRetentionSettings( return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ - public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings( + com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (resourceCase_ == 15 && - resource_ != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.DataRetentionSettings.newBuilder((com.google.analytics.admin.v1beta.DataRetentionSettings) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 15 + && resource_ + != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.DataRetentionSettings.newBuilder( + (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2489,11 +2955,14 @@ public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1beta.Data return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ public Builder clearDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { @@ -2512,24 +2981,32 @@ public Builder clearDataRetentionSettings() { return this; } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ - public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder + getDataRetentionSettingsBuilder() { return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { if ((resourceCase_ == 15) && (dataRetentionSettingsBuilder_ != null)) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { @@ -2540,21 +3017,30 @@ public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataR } } /** + * + * *
        * A snapshot of a data retention settings resource in change history.
        * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1beta.DataRetentionSettings, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { if (!(resourceCase_ == 15)) { - resource_ = com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); + resource_ = + com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance(); } - dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( + dataRetentionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataRetentionSettings, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( (com.google.analytics.admin.v1beta.DataRetentionSettings) resource_, getParentForChildren(), isClean()); @@ -2566,13 +3052,19 @@ public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataR } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamBuilder_; + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> + dataStreamBuilder_; /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; + * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -2580,11 +3072,14 @@ public boolean hasDataStream() { return resourceCase_ == 18; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 18; + * * @return The dataStream. */ @java.lang.Override @@ -2602,6 +3097,8 @@ public com.google.analytics.admin.v1beta.DataStream getDataStream() { } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2622,6 +3119,8 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2640,6 +3139,8 @@ public Builder setDataStream( return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2648,10 +3149,13 @@ public Builder setDataStream( */ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { - if (resourceCase_ == 18 && - resource_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1beta.DataStream.newBuilder((com.google.analytics.admin.v1beta.DataStream) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 18 + && resource_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1beta.DataStream.newBuilder( + (com.google.analytics.admin.v1beta.DataStream) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2667,6 +3171,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2690,6 +3196,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2700,6 +3208,8 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2718,6 +3228,8 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2725,14 +3237,19 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil * .google.analytics.admin.v1beta.DataStream data_stream = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { if (!(resourceCase_ == 18)) { resource_ = com.google.analytics.admin.v1beta.DataStream.getDefaultInstance(); } - dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + dataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder>( (com.google.analytics.admin.v1beta.DataStream) resource_, getParentForChildren(), isClean()); @@ -2742,6 +3259,7 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil onChanged(); return dataStreamBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2754,41 +3272,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource) - private static final com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource(); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryResource 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryResource 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; @@ -2800,21 +3322,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int RESOURCE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -2823,29 +3349,29 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -2856,38 +3382,53 @@ public java.lang.String getResource() { public static final int ACTION_FIELD_NUMBER = 2; private int action_ = 0; /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @return The action. */ - @java.lang.Override public com.google.analytics.admin.v1beta.ActionType getAction() { - com.google.analytics.admin.v1beta.ActionType result = com.google.analytics.admin.v1beta.ActionType.forNumber(action_); + @java.lang.Override + public com.google.analytics.admin.v1beta.ActionType getAction() { + com.google.analytics.admin.v1beta.ActionType result = + com.google.analytics.admin.v1beta.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED : result; } public static final int RESOURCE_BEFORE_CHANGE_FIELD_NUMBER = 3; - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + resourceBeforeChange_; /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return Whether the resourceBeforeChange field is set. */ @java.lang.Override @@ -2895,40 +3436,63 @@ public boolean hasResourceBeforeChange() { return resourceBeforeChange_ != null; } /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return The resourceBeforeChange. */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { - return resourceBeforeChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getResourceBeforeChange() { + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { - return resourceBeforeChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder() { + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } public static final int RESOURCE_AFTER_CHANGE_FIELD_NUMBER = 4; - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + resourceAfterChange_; /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return Whether the resourceAfterChange field is set. */ @java.lang.Override @@ -2936,32 +3500,50 @@ public boolean hasResourceAfterChange() { return resourceAfterChange_ != null; } /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return The resourceAfterChange. */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { - return resourceAfterChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getResourceAfterChange() { + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { - return resourceAfterChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder() { + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2973,12 +3555,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } - if (action_ != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + if (action_ + != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, action_); } if (resourceBeforeChange_ != null) { @@ -2999,17 +3581,16 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } - if (action_ != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, action_); + if (action_ + != com.google.analytics.admin.v1beta.ActionType.ACTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, action_); } if (resourceBeforeChange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResourceBeforeChange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResourceBeforeChange()); } if (resourceAfterChange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getResourceAfterChange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResourceAfterChange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3019,25 +3600,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ChangeHistoryChange)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ChangeHistoryChange other = (com.google.analytics.admin.v1beta.ChangeHistoryChange) obj; + com.google.analytics.admin.v1beta.ChangeHistoryChange other = + (com.google.analytics.admin.v1beta.ChangeHistoryChange) obj; - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; if (action_ != other.action_) return false; if (hasResourceBeforeChange() != other.hasResourceBeforeChange()) return false; if (hasResourceBeforeChange()) { - if (!getResourceBeforeChange() - .equals(other.getResourceBeforeChange())) return false; + if (!getResourceBeforeChange().equals(other.getResourceBeforeChange())) return false; } if (hasResourceAfterChange() != other.hasResourceAfterChange()) return false; if (hasResourceAfterChange()) { - if (!getResourceAfterChange() - .equals(other.getResourceAfterChange())) return false; + if (!getResourceAfterChange().equals(other.getResourceAfterChange())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3068,129 +3647,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( 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.v1beta.ChangeHistoryChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ChangeHistoryChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ChangeHistoryChange prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ChangeHistoryChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A description of a change to a single Google Analytics resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryChange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ChangeHistoryChange) com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ChangeHistoryChange.class, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); + com.google.analytics.admin.v1beta.ChangeHistoryChange.class, + com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ChangeHistoryChange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3211,9 +3797,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; } @java.lang.Override @@ -3232,8 +3818,11 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange build() { @java.lang.Override public com.google.analytics.admin.v1beta.ChangeHistoryChange buildPartial() { - com.google.analytics.admin.v1beta.ChangeHistoryChange result = new com.google.analytics.admin.v1beta.ChangeHistoryChange(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ChangeHistoryChange result = + new com.google.analytics.admin.v1beta.ChangeHistoryChange(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3247,14 +3836,16 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryChange result.action_ = action_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.resourceBeforeChange_ = resourceBeforeChangeBuilder_ == null - ? resourceBeforeChange_ - : resourceBeforeChangeBuilder_.build(); + result.resourceBeforeChange_ = + resourceBeforeChangeBuilder_ == null + ? resourceBeforeChange_ + : resourceBeforeChangeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.resourceAfterChange_ = resourceAfterChangeBuilder_ == null - ? resourceAfterChange_ - : resourceAfterChangeBuilder_.build(); + result.resourceAfterChange_ = + resourceAfterChangeBuilder_ == null + ? resourceAfterChange_ + : resourceAfterChangeBuilder_.build(); } } @@ -3262,38 +3853,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryChange public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ChangeHistoryChange) { - return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryChange)other); + return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryChange) other); } else { super.mergeFrom(other); return this; @@ -3301,7 +3893,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryChange other) { - if (other == com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance()) + return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; bitField0_ |= 0x00000001; @@ -3342,36 +3935,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - action_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getResourceBeforeChangeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getResourceAfterChangeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + action_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage( + getResourceBeforeChangeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getResourceAfterChangeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -3381,22 +3977,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resource_ = ""; /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -3405,20 +4004,21 @@ public java.lang.String getResource() { } } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -3426,28 +4026,35 @@ public java.lang.String getResource() { } } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -3457,17 +4064,21 @@ public Builder clearResource() { return this; } /** + * + * *
      * Resource name of the resource whose changes are described by this entry.
      * 
* * string resource = 1; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000001; @@ -3477,22 +4088,29 @@ public Builder setResourceBytes( private int action_ = 0; /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ @@ -3503,24 +4121,31 @@ public Builder setActionValue(int value) { return this; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @return The action. */ @java.lang.Override public com.google.analytics.admin.v1beta.ActionType getAction() { - com.google.analytics.admin.v1beta.ActionType result = com.google.analytics.admin.v1beta.ActionType.forNumber(action_); + com.google.analytics.admin.v1beta.ActionType result = + com.google.analytics.admin.v1beta.ActionType.forNumber(action_); return result == null ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED : result; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @param value The action to set. * @return This builder for chaining. */ @@ -3534,11 +4159,14 @@ public Builder setAction(com.google.analytics.admin.v1beta.ActionType value) { return this; } /** + * + * *
      * The type of action that changed this resource.
      * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @return This builder for chaining. */ public Builder clearAction() { @@ -3548,46 +4176,69 @@ public Builder clearAction() { return this; } - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceBeforeChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + resourceBeforeChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceBeforeChangeBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + resourceBeforeChangeBuilder_; /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return Whether the resourceBeforeChange field is set. */ public boolean hasResourceBeforeChange() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return The resourceBeforeChange. */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getResourceBeforeChange() { if (resourceBeforeChangeBuilder_ == null) { - return resourceBeforeChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } else { return resourceBeforeChangeBuilder_.getMessage(); } } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public Builder setResourceBeforeChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceBeforeChange( + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3601,15 +4252,20 @@ public Builder setResourceBeforeChange(com.google.analytics.admin.v1beta.ChangeH return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ public Builder setResourceBeforeChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder + builderForValue) { if (resourceBeforeChangeBuilder_ == null) { resourceBeforeChange_ = builderForValue.build(); } else { @@ -3620,18 +4276,25 @@ public Builder setResourceBeforeChange( return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public Builder mergeResourceBeforeChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceBeforeChange( + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceBeforeChangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - resourceBeforeChange_ != null && - resourceBeforeChange_ != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && resourceBeforeChange_ != null + && resourceBeforeChange_ + != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance()) { getResourceBeforeChangeBuilder().mergeFrom(value); } else { resourceBeforeChange_ = value; @@ -3644,12 +4307,16 @@ public Builder mergeResourceBeforeChange(com.google.analytics.admin.v1beta.Chang return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ public Builder clearResourceBeforeChange() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3662,96 +4329,139 @@ public Builder clearResourceBeforeChange() { return this; } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceBeforeChangeBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder + getResourceBeforeChangeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getResourceBeforeChangeFieldBuilder().getBuilder(); } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder() { if (resourceBeforeChangeBuilder_ != null) { return resourceBeforeChangeBuilder_.getMessageOrBuilder(); } else { - return resourceBeforeChange_ == null ? - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceBeforeChange_; + return resourceBeforeChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceBeforeChange_; } } /** + * + * *
      * Resource contents from before the change was made. If this resource was
      * created in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceBeforeChangeFieldBuilder() { if (resourceBeforeChangeBuilder_ == null) { - resourceBeforeChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( - getResourceBeforeChange(), - getParentForChildren(), - isClean()); + resourceBeforeChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryChange + .ChangeHistoryResourceOrBuilder>( + getResourceBeforeChange(), getParentForChildren(), isClean()); resourceBeforeChange_ = null; } return resourceBeforeChangeBuilder_; } - private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resourceAfterChange_; + private com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + resourceAfterChange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> resourceAfterChangeBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + resourceAfterChangeBuilder_; /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return Whether the resourceAfterChange field is set. */ public boolean hasResourceAfterChange() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return The resourceAfterChange. */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getResourceAfterChange() { if (resourceAfterChangeBuilder_ == null) { - return resourceAfterChange_ == null ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } else { return resourceAfterChangeBuilder_.getMessage(); } } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public Builder setResourceAfterChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder setResourceAfterChange( + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3765,15 +4475,20 @@ public Builder setResourceAfterChange(com.google.analytics.admin.v1beta.ChangeHi return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ public Builder setResourceAfterChange( - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder builderForValue) { + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder + builderForValue) { if (resourceAfterChangeBuilder_ == null) { resourceAfterChange_ = builderForValue.build(); } else { @@ -3784,18 +4499,25 @@ public Builder setResourceAfterChange( return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public Builder mergeResourceAfterChange(com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { + public Builder mergeResourceAfterChange( + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource value) { if (resourceAfterChangeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - resourceAfterChange_ != null && - resourceAfterChange_ != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && resourceAfterChange_ != null + && resourceAfterChange_ + != com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance()) { getResourceAfterChangeBuilder().mergeFrom(value); } else { resourceAfterChange_ = value; @@ -3808,12 +4530,16 @@ public Builder mergeResourceAfterChange(com.google.analytics.admin.v1beta.Change return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ public Builder clearResourceAfterChange() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3826,58 +4552,78 @@ public Builder clearResourceAfterChange() { return this; } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder getResourceAfterChangeBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder + getResourceAfterChangeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getResourceAfterChangeFieldBuilder().getBuilder(); } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder() { + public com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder() { if (resourceAfterChangeBuilder_ != null) { return resourceAfterChangeBuilder_.getMessageOrBuilder(); } else { - return resourceAfterChange_ == null ? - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.getDefaultInstance() : resourceAfterChange_; + return resourceAfterChange_ == null + ? com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + .getDefaultInstance() + : resourceAfterChange_; } } /** + * + * *
      * Resource contents from after the change was made. If this resource was
      * deleted in this change, this field will be missing.
      * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder> getResourceAfterChangeFieldBuilder() { if (resourceAfterChangeBuilder_ == null) { - resourceAfterChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder>( - getResourceAfterChange(), - getParentForChildren(), - isClean()); + resourceAfterChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource, + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryChange + .ChangeHistoryResourceOrBuilder>( + getResourceAfterChange(), getParentForChildren(), isClean()); resourceAfterChange_ = null; } return resourceAfterChangeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3887,12 +4633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ChangeHistoryChange) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ChangeHistoryChange) private static final com.google.analytics.admin.v1beta.ChangeHistoryChange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ChangeHistoryChange(); } @@ -3901,27 +4647,27 @@ public static com.google.analytics.admin.v1beta.ChangeHistoryChange getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeHistoryChange 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeHistoryChange 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; @@ -3936,6 +4682,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ChangeHistoryChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java index 8105ff643efb..cc1ae56f7184 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryChangeOrBuilder.java @@ -1,108 +1,167 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface ChangeHistoryChangeOrBuilder extends +public interface ChangeHistoryChangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ChangeHistoryChange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Resource name of the resource whose changes are described by this entry.
    * 
* * string resource = 1; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
    * The type of action that changed this resource.
    * 
* * .google.analytics.admin.v1beta.ActionType action = 2; + * * @return The action. */ com.google.analytics.admin.v1beta.ActionType getAction(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return Whether the resourceBeforeChange field is set. */ boolean hasResourceBeforeChange(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * * @return The resourceBeforeChange. */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceBeforeChange(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getResourceBeforeChange(); /** + * + * *
    * Resource contents from before the change was made. If this resource was
    * created in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceBeforeChangeOrBuilder(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceBeforeChangeOrBuilder(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return Whether the resourceAfterChange field is set. */ boolean hasResourceAfterChange(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * * @return The resourceAfterChange. */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource getResourceAfterChange(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + getResourceAfterChange(); /** + * + * *
    * Resource contents from after the change was made. If this resource was
    * deleted in this change, this field will be missing.
    * 
* - * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * + * .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * */ - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder getResourceAfterChangeOrBuilder(); + com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResourceOrBuilder + getResourceAfterChangeOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java similarity index 75% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java index e8f8be4bf288..326151957579 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A set of changes within a Google Analytics account or its child properties
  * that resulted from the same cause. Common causes would be updates made in the
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryEvent}
  */
-public final class ChangeHistoryEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ChangeHistoryEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ChangeHistoryEvent)
     ChangeHistoryEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ChangeHistoryEvent.newBuilder() to construct.
   private ChangeHistoryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ChangeHistoryEvent() {
     id_ = "";
     actorType_ = 0;
@@ -31,38 +49,43 @@ private ChangeHistoryEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ChangeHistoryEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.ResourcesProto
+        .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.ResourcesProto
+        .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.ChangeHistoryEvent.class, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
+            com.google.analytics.admin.v1beta.ChangeHistoryEvent.class,
+            com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
   }
 
   public static final int ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object id_ = "";
   /**
+   *
+   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -71,29 +94,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -104,11 +127,14 @@ public java.lang.String getId() { public static final int CHANGE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp changeTime_; /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return Whether the changeTime field is set. */ @java.lang.Override @@ -116,11 +142,14 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ @java.lang.Override @@ -128,6 +157,8 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** + * + * *
    * Time when change was made.
    * 
@@ -142,33 +173,45 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { public static final int ACTOR_TYPE_FIELD_NUMBER = 3; private int actorType_ = 0; /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override public int getActorTypeValue() { + @java.lang.Override + public int getActorTypeValue() { return actorType_; } /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @return The actorType. */ - @java.lang.Override public com.google.analytics.admin.v1beta.ActorType getActorType() { - com.google.analytics.admin.v1beta.ActorType result = com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); + @java.lang.Override + public com.google.analytics.admin.v1beta.ActorType getActorType() { + com.google.analytics.admin.v1beta.ActorType result = + com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1beta.ActorType.UNRECOGNIZED : result; } public static final int USER_ACTOR_EMAIL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object userActorEmail_ = ""; /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -176,6 +219,7 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() {
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ @java.lang.Override @@ -184,14 +228,15 @@ public java.lang.String getUserActorEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; } } /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -199,16 +244,15 @@ public java.lang.String getUserActorEmail() {
    * 
* * string user_actor_email = 4; + * * @return The bytes for userActorEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserActorEmailBytes() { + public com.google.protobuf.ByteString getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -219,12 +263,15 @@ public java.lang.String getUserActorEmail() { public static final int CHANGES_FILTERED_FIELD_NUMBER = 5; private boolean changesFiltered_ = false; /** + * + * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; + * * @return The changesFiltered. */ @java.lang.Override @@ -233,9 +280,12 @@ public boolean getChangesFiltered() { } public static final int CHANGES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List changes_; /** + * + * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -248,6 +298,8 @@ public java.util.List get
     return changes_;
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -256,11 +308,13 @@ public java.util.List get
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getChangesOrBuilderList() {
     return changes_;
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -273,6 +327,8 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -285,6 +341,8 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange getChanges(int inde
     return changes_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -299,6 +357,7 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -310,15 +369,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
     }
     if (changeTime_ != null) {
       output.writeMessage(2, getChangeTime());
     }
-    if (actorType_ != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+    if (actorType_
+        != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
@@ -343,23 +402,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
     }
     if (changeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getChangeTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChangeTime());
     }
-    if (actorType_ != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(3, actorType_);
+    if (actorType_
+        != com.google.analytics.admin.v1beta.ActorType.ACTOR_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, actorType_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userActorEmail_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userActorEmail_);
     }
     if (changesFiltered_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(5, changesFiltered_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, changesFiltered_);
     }
     for (int i = 0; i < changes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, changes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, changes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -369,27 +425,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.analytics.admin.v1beta.ChangeHistoryEvent)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1beta.ChangeHistoryEvent other = (com.google.analytics.admin.v1beta.ChangeHistoryEvent) obj;
+    com.google.analytics.admin.v1beta.ChangeHistoryEvent other =
+        (com.google.analytics.admin.v1beta.ChangeHistoryEvent) obj;
 
-    if (!getId()
-        .equals(other.getId())) return false;
+    if (!getId().equals(other.getId())) return false;
     if (hasChangeTime() != other.hasChangeTime()) return false;
     if (hasChangeTime()) {
-      if (!getChangeTime()
-          .equals(other.getChangeTime())) return false;
+      if (!getChangeTime().equals(other.getChangeTime())) return false;
     }
     if (actorType_ != other.actorType_) return false;
-    if (!getUserActorEmail()
-        .equals(other.getUserActorEmail())) return false;
-    if (getChangesFiltered()
-        != other.getChangesFiltered()) return false;
-    if (!getChangesList()
-        .equals(other.getChangesList())) return false;
+    if (!getUserActorEmail().equals(other.getUserActorEmail())) return false;
+    if (getChangesFiltered() != other.getChangesFiltered()) return false;
+    if (!getChangesList().equals(other.getChangesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -412,8 +464,7 @@ public int hashCode() {
     hash = (37 * hash) + USER_ACTOR_EMAIL_FIELD_NUMBER;
     hash = (53 * hash) + getUserActorEmail().hashCode();
     hash = (37 * hash) + CHANGES_FILTERED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getChangesFiltered());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChangesFiltered());
     if (getChangesCount() > 0) {
       hash = (37 * hash) + CHANGES_FIELD_NUMBER;
       hash = (53 * hash) + getChangesList().hashCode();
@@ -424,96 +475,103 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
       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.v1beta.ChangeHistoryEvent parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1beta.ChangeHistoryEvent parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.analytics.admin.v1beta.ChangeHistoryEvent prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A set of changes within a Google Analytics account or its child properties
    * that resulted from the same cause. Common causes would be updates made in the
@@ -523,33 +581,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.ChangeHistoryEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ChangeHistoryEvent)
       com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.ChangeHistoryEvent.class, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
+              com.google.analytics.admin.v1beta.ChangeHistoryEvent.class,
+              com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.ChangeHistoryEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -574,9 +631,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor;
     }
 
     @java.lang.Override
@@ -595,14 +652,18 @@ public com.google.analytics.admin.v1beta.ChangeHistoryEvent build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.ChangeHistoryEvent buildPartial() {
-      com.google.analytics.admin.v1beta.ChangeHistoryEvent result = new com.google.analytics.admin.v1beta.ChangeHistoryEvent(this);
+      com.google.analytics.admin.v1beta.ChangeHistoryEvent result =
+          new com.google.analytics.admin.v1beta.ChangeHistoryEvent(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ChangeHistoryEvent result) {
+    private void buildPartialRepeatedFields(
+        com.google.analytics.admin.v1beta.ChangeHistoryEvent result) {
       if (changesBuilder_ == null) {
         if (((bitField0_ & 0x00000020) != 0)) {
           changes_ = java.util.Collections.unmodifiableList(changes_);
@@ -620,9 +681,7 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryEvent
         result.id_ = id_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.changeTime_ = changeTimeBuilder_ == null
-            ? changeTime_
-            : changeTimeBuilder_.build();
+        result.changeTime_ = changeTimeBuilder_ == null ? changeTime_ : changeTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.actorType_ = actorType_;
@@ -639,38 +698,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ChangeHistoryEvent
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ChangeHistoryEvent) {
-        return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryEvent)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.ChangeHistoryEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -678,7 +738,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryEvent other) {
-      if (other == com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance())
+        return this;
       if (!other.getId().isEmpty()) {
         id_ = other.id_;
         bitField0_ |= 0x00000001;
@@ -716,9 +777,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ChangeHistoryEvent ot
             changesBuilder_ = null;
             changes_ = other.changes_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            changesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getChangesFieldBuilder() : null;
+            changesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getChangesFieldBuilder()
+                    : null;
           } else {
             changesBuilder_.addAllMessages(other.changes_);
           }
@@ -750,52 +812,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getChangeTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              actorType_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              userActorEmail_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              changesFiltered_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              com.google.analytics.admin.v1beta.ChangeHistoryChange m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1beta.ChangeHistoryChange.parser(),
-                      extensionRegistry);
-              if (changesBuilder_ == null) {
-                ensureChangesIsMutable();
-                changes_.add(m);
-              } else {
-                changesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getChangeTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                actorType_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                userActorEmail_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                changesFiltered_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                com.google.analytics.admin.v1beta.ChangeHistoryChange m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1beta.ChangeHistoryChange.parser(),
+                        extensionRegistry);
+                if (changesBuilder_ == null) {
+                  ensureChangesIsMutable();
+                  changes_.add(m);
+                } else {
+                  changesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+            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) {
@@ -805,22 +872,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object id_ = "";
     /**
+     *
+     *
      * 
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -829,20 +899,21 @@ public java.lang.String getId() { } } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -850,28 +921,35 @@ public java.lang.String getId() { } } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -881,17 +959,21 @@ public Builder clearId() { return this; } /** + * + * *
      * ID of this change history event. This ID is unique across Google Analytics.
      * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -901,34 +983,47 @@ public Builder setIdBytes( private com.google.protobuf.Timestamp changeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> changeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + changeTimeBuilder_; /** + * + * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return Whether the changeTime field is set. */ public boolean hasChangeTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ public com.google.protobuf.Timestamp getChangeTime() { if (changeTimeBuilder_ == null) { - return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; + return changeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : changeTime_; } else { return changeTimeBuilder_.getMessage(); } } /** + * + * *
      * Time when change was made.
      * 
@@ -949,14 +1044,15 @@ public Builder setChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when change was made.
      * 
* * .google.protobuf.Timestamp change_time = 2; */ - public Builder setChangeTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (changeTimeBuilder_ == null) { changeTime_ = builderForValue.build(); } else { @@ -967,6 +1063,8 @@ public Builder setChangeTime( return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -975,9 +1073,9 @@ public Builder setChangeTime( */ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { if (changeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - changeTime_ != null && - changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && changeTime_ != null + && changeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getChangeTimeBuilder().mergeFrom(value); } else { changeTime_ = value; @@ -990,6 +1088,8 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1007,6 +1107,8 @@ public Builder clearChangeTime() { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1019,6 +1121,8 @@ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { return getChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when change was made.
      * 
@@ -1029,11 +1133,14 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { if (changeTimeBuilder_ != null) { return changeTimeBuilder_.getMessageOrBuilder(); } else { - return changeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; + return changeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : changeTime_; } } /** + * + * *
      * Time when change was made.
      * 
@@ -1041,14 +1148,17 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { * .google.protobuf.Timestamp change_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getChangeTimeFieldBuilder() { if (changeTimeBuilder_ == null) { - changeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getChangeTime(), - getParentForChildren(), - isClean()); + changeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getChangeTime(), getParentForChildren(), isClean()); changeTime_ = null; } return changeTimeBuilder_; @@ -1056,22 +1166,29 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() { private int actorType_ = 0; /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @return The enum numeric value on the wire for actorType. */ - @java.lang.Override public int getActorTypeValue() { + @java.lang.Override + public int getActorTypeValue() { return actorType_; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @param value The enum numeric value on the wire for actorType to set. * @return This builder for chaining. */ @@ -1082,24 +1199,31 @@ public Builder setActorTypeValue(int value) { return this; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @return The actorType. */ @java.lang.Override public com.google.analytics.admin.v1beta.ActorType getActorType() { - com.google.analytics.admin.v1beta.ActorType result = com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); + com.google.analytics.admin.v1beta.ActorType result = + com.google.analytics.admin.v1beta.ActorType.forNumber(actorType_); return result == null ? com.google.analytics.admin.v1beta.ActorType.UNRECOGNIZED : result; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @param value The actorType to set. * @return This builder for chaining. */ @@ -1113,11 +1237,14 @@ public Builder setActorType(com.google.analytics.admin.v1beta.ActorType value) { return this; } /** + * + * *
      * The type of actor that made this change.
      * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @return This builder for chaining. */ public Builder clearActorType() { @@ -1129,6 +1256,8 @@ public Builder clearActorType() { private java.lang.Object userActorEmail_ = ""; /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1136,13 +1265,13 @@ public Builder clearActorType() {
      * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ public java.lang.String getUserActorEmail() { java.lang.Object ref = userActorEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userActorEmail_ = s; return s; @@ -1151,6 +1280,8 @@ public java.lang.String getUserActorEmail() { } } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1158,15 +1289,14 @@ public java.lang.String getUserActorEmail() {
      * 
* * string user_actor_email = 4; + * * @return The bytes for userActorEmail. */ - public com.google.protobuf.ByteString - getUserActorEmailBytes() { + public com.google.protobuf.ByteString getUserActorEmailBytes() { java.lang.Object ref = userActorEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userActorEmail_ = b; return b; } else { @@ -1174,6 +1304,8 @@ public java.lang.String getUserActorEmail() { } } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1181,18 +1313,22 @@ public java.lang.String getUserActorEmail() {
      * 
* * string user_actor_email = 4; + * * @param value The userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserActorEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } userActorEmail_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1200,6 +1336,7 @@ public Builder setUserActorEmail(
      * 
* * string user_actor_email = 4; + * * @return This builder for chaining. */ public Builder clearUserActorEmail() { @@ -1209,6 +1346,8 @@ public Builder clearUserActorEmail() { return this; } /** + * + * *
      * Email address of the Google account that made the change. This will be a
      * valid email address if the actor field is set to USER, and empty otherwise.
@@ -1216,12 +1355,14 @@ public Builder clearUserActorEmail() {
      * 
* * string user_actor_email = 4; + * * @param value The bytes for userActorEmail to set. * @return This builder for chaining. */ - public Builder setUserActorEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserActorEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); userActorEmail_ = value; bitField0_ |= 0x00000008; @@ -1229,14 +1370,17 @@ public Builder setUserActorEmailBytes( return this; } - private boolean changesFiltered_ ; + private boolean changesFiltered_; /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @return The changesFiltered. */ @java.lang.Override @@ -1244,29 +1388,35 @@ public boolean getChangesFiltered() { return changesFiltered_; } /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @param value The changesFiltered to set. * @return This builder for chaining. */ public Builder setChangesFiltered(boolean value) { - + changesFiltered_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * If true, then the list of changes returned was filtered, and does not
      * represent all changes that occurred in this event.
      * 
* * bool changes_filtered = 5; + * * @return This builder for chaining. */ public Builder clearChangesFiltered() { @@ -1277,18 +1427,26 @@ public Builder clearChangesFiltered() { } private java.util.List changes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChangesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - changes_ = new java.util.ArrayList(changes_); + changes_ = + new java.util.ArrayList( + changes_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryChange, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder> changesBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryChange, + com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder> + changesBuilder_; /** + * + * *
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1304,6 +1462,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1319,6 +1479,8 @@ public int getChangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1334,6 +1496,8 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange getChanges(int inde
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1356,6 +1520,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1375,6 +1541,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1396,6 +1564,8 @@ public Builder addChanges(com.google.analytics.admin.v1beta.ChangeHistoryChange
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1418,6 +1588,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1437,6 +1609,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1456,6 +1630,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1464,11 +1640,11 @@ public Builder addChanges(
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
     public Builder addAllChanges(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (changesBuilder_ == null) {
         ensureChangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, changes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changes_);
         onChanged();
       } else {
         changesBuilder_.addAllMessages(values);
@@ -1476,6 +1652,8 @@ public Builder addAllChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1494,6 +1672,8 @@ public Builder clearChanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1512,6 +1692,8 @@ public Builder removeChanges(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1524,6 +1706,8 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder getChangesB
       return getChangesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1534,11 +1718,14 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder getChangesB
     public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
         int index) {
       if (changesBuilder_ == null) {
-        return changes_.get(index);  } else {
+        return changes_.get(index);
+      } else {
         return changesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1546,8 +1733,8 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
      *
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
-    public java.util.List 
-         getChangesOrBuilderList() {
+    public java.util.List
+        getChangesOrBuilderList() {
       if (changesBuilder_ != null) {
         return changesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1555,6 +1742,8 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1563,10 +1752,12 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
     public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesBuilder() {
-      return getChangesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1576,10 +1767,13 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesB
      */
     public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesBuilder(
         int index) {
-      return getChangesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
+      return getChangesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1beta.ChangeHistoryChange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1587,27 +1781,30 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder addChangesB
      *
      * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
      */
-    public java.util.List 
-         getChangesBuilderList() {
+    public java.util.List
+        getChangesBuilderList() {
       return getChangesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1beta.ChangeHistoryChange, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder> 
+            com.google.analytics.admin.v1beta.ChangeHistoryChange,
+            com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder,
+            com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>
         getChangesFieldBuilder() {
       if (changesBuilder_ == null) {
-        changesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1beta.ChangeHistoryChange, com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder, com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>(
-                changes_,
-                ((bitField0_ & 0x00000020) != 0),
-                getParentForChildren(),
-                isClean());
+        changesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1beta.ChangeHistoryChange,
+                com.google.analytics.admin.v1beta.ChangeHistoryChange.Builder,
+                com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>(
+                changes_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
         changes_ = null;
       }
       return changesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1617,12 +1814,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ChangeHistoryEvent)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ChangeHistoryEvent)
   private static final com.google.analytics.admin.v1beta.ChangeHistoryEvent DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ChangeHistoryEvent();
   }
@@ -1631,27 +1828,27 @@ public static com.google.analytics.admin.v1beta.ChangeHistoryEvent getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ChangeHistoryEvent 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();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ChangeHistoryEvent 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;
@@ -1666,6 +1863,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1beta.ChangeHistoryEvent getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
index 943a67fea3dc..542dfc9e69b0 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryEventOrBuilder.java
@@ -1,51 +1,80 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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/v1beta/resources.proto
 
 package com.google.analytics.admin.v1beta;
 
-public interface ChangeHistoryEventOrBuilder extends
+public interface ChangeHistoryEventOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ChangeHistoryEvent)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * ID of this change history event. This ID is unique across Google Analytics.
    * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return Whether the changeTime field is set. */ boolean hasChangeTime(); /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ com.google.protobuf.Timestamp getChangeTime(); /** + * + * *
    * Time when change was made.
    * 
@@ -55,25 +84,33 @@ public interface ChangeHistoryEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder(); /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @return The enum numeric value on the wire for actorType. */ int getActorTypeValue(); /** + * + * *
    * The type of actor that made this change.
    * 
* * .google.analytics.admin.v1beta.ActorType actor_type = 3; + * * @return The actorType. */ com.google.analytics.admin.v1beta.ActorType getActorType(); /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -81,10 +118,13 @@ public interface ChangeHistoryEventOrBuilder extends
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ java.lang.String getUserActorEmail(); /** + * + * *
    * Email address of the Google account that made the change. This will be a
    * valid email address if the actor field is set to USER, and empty otherwise.
@@ -92,23 +132,28 @@ public interface ChangeHistoryEventOrBuilder extends
    * 
* * string user_actor_email = 4; + * * @return The bytes for userActorEmail. */ - com.google.protobuf.ByteString - getUserActorEmailBytes(); + com.google.protobuf.ByteString getUserActorEmailBytes(); /** + * + * *
    * If true, then the list of changes returned was filtered, and does not
    * represent all changes that occurred in this event.
    * 
* * bool changes_filtered = 5; + * * @return The changesFiltered. */ boolean getChangesFiltered(); /** + * + * *
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -116,9 +161,10 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
-  java.util.List 
-      getChangesList();
+  java.util.List getChangesList();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -128,6 +174,8 @@ public interface ChangeHistoryEventOrBuilder extends
    */
   com.google.analytics.admin.v1beta.ChangeHistoryChange getChanges(int index);
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -137,6 +185,8 @@ public interface ChangeHistoryEventOrBuilder extends
    */
   int getChangesCount();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -144,9 +194,11 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
-  java.util.List 
+  java.util.List
       getChangesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -154,6 +206,5 @@ public interface ChangeHistoryEventOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;
    */
-  com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChangesOrBuilder(
-      int index);
+  com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
similarity index 75%
rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
index 42fdd78fdf1a..415fd23df7b8 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ChangeHistoryResourceType.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/resources.proto
 
 package com.google.analytics.admin.v1beta;
 
 /**
+ *
+ *
  * 
  * Types of resources whose changes may be returned from change history.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.ChangeHistoryResourceType} */ -public enum ChangeHistoryResourceType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ChangeHistoryResourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Resource type unknown or not specified.
    * 
@@ -21,6 +39,8 @@ public enum ChangeHistoryResourceType */ CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Account resource
    * 
@@ -29,6 +49,8 @@ public enum ChangeHistoryResourceType */ ACCOUNT(1), /** + * + * *
    * Property resource
    * 
@@ -37,6 +59,8 @@ public enum ChangeHistoryResourceType */ PROPERTY(2), /** + * + * *
    * FirebaseLink resource
    * 
@@ -45,6 +69,8 @@ public enum ChangeHistoryResourceType */ FIREBASE_LINK(6), /** + * + * *
    * GoogleAdsLink resource
    * 
@@ -53,6 +79,8 @@ public enum ChangeHistoryResourceType */ GOOGLE_ADS_LINK(7), /** + * + * *
    * GoogleSignalsSettings resource
    * 
@@ -61,6 +89,8 @@ public enum ChangeHistoryResourceType */ GOOGLE_SIGNALS_SETTINGS(8), /** + * + * *
    * ConversionEvent resource
    * 
@@ -69,6 +99,8 @@ public enum ChangeHistoryResourceType */ CONVERSION_EVENT(9), /** + * + * *
    * MeasurementProtocolSecret resource
    * 
@@ -77,6 +109,8 @@ public enum ChangeHistoryResourceType */ MEASUREMENT_PROTOCOL_SECRET(10), /** + * + * *
    * DataRetentionSettings resource
    * 
@@ -85,6 +119,8 @@ public enum ChangeHistoryResourceType */ DATA_RETENTION_SETTINGS(13), /** + * + * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -93,6 +129,8 @@ public enum ChangeHistoryResourceType */ DISPLAY_VIDEO_360_ADVERTISER_LINK(14), /** + * + * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -101,6 +139,8 @@ public enum ChangeHistoryResourceType */ DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL(15), /** + * + * *
    * DataStream resource
    * 
@@ -109,6 +149,8 @@ public enum ChangeHistoryResourceType */ DATA_STREAM(18), /** + * + * *
    * AttributionSettings resource
    * 
@@ -120,6 +162,8 @@ public enum ChangeHistoryResourceType ; /** + * + * *
    * Resource type unknown or not specified.
    * 
@@ -128,6 +172,8 @@ public enum ChangeHistoryResourceType */ public static final int CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Account resource
    * 
@@ -136,6 +182,8 @@ public enum ChangeHistoryResourceType */ public static final int ACCOUNT_VALUE = 1; /** + * + * *
    * Property resource
    * 
@@ -144,6 +192,8 @@ public enum ChangeHistoryResourceType */ public static final int PROPERTY_VALUE = 2; /** + * + * *
    * FirebaseLink resource
    * 
@@ -152,6 +202,8 @@ public enum ChangeHistoryResourceType */ public static final int FIREBASE_LINK_VALUE = 6; /** + * + * *
    * GoogleAdsLink resource
    * 
@@ -160,6 +212,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_ADS_LINK_VALUE = 7; /** + * + * *
    * GoogleSignalsSettings resource
    * 
@@ -168,6 +222,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_SIGNALS_SETTINGS_VALUE = 8; /** + * + * *
    * ConversionEvent resource
    * 
@@ -176,6 +232,8 @@ public enum ChangeHistoryResourceType */ public static final int CONVERSION_EVENT_VALUE = 9; /** + * + * *
    * MeasurementProtocolSecret resource
    * 
@@ -184,6 +242,8 @@ public enum ChangeHistoryResourceType */ public static final int MEASUREMENT_PROTOCOL_SECRET_VALUE = 10; /** + * + * *
    * DataRetentionSettings resource
    * 
@@ -192,6 +252,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_RETENTION_SETTINGS_VALUE = 13; /** + * + * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -200,6 +262,8 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_VALUE = 14; /** + * + * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -208,6 +272,8 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_VALUE = 15; /** + * + * *
    * DataStream resource
    * 
@@ -216,6 +282,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_STREAM_VALUE = 18; /** + * + * *
    * AttributionSettings resource
    * 
@@ -224,7 +292,6 @@ public enum ChangeHistoryResourceType */ public static final int ATTRIBUTION_SETTINGS_VALUE = 20; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -249,20 +316,34 @@ public static ChangeHistoryResourceType valueOf(int value) { */ public static ChangeHistoryResourceType forNumber(int value) { switch (value) { - case 0: return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; - case 1: return ACCOUNT; - case 2: return PROPERTY; - case 6: return FIREBASE_LINK; - case 7: return GOOGLE_ADS_LINK; - case 8: return GOOGLE_SIGNALS_SETTINGS; - case 9: return CONVERSION_EVENT; - case 10: return MEASUREMENT_PROTOCOL_SECRET; - case 13: return DATA_RETENTION_SETTINGS; - case 14: return DISPLAY_VIDEO_360_ADVERTISER_LINK; - case 15: return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; - case 18: return DATA_STREAM; - case 20: return ATTRIBUTION_SETTINGS; - default: return null; + case 0: + return CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED; + case 1: + return ACCOUNT; + case 2: + return PROPERTY; + case 6: + return FIREBASE_LINK; + case 7: + return GOOGLE_ADS_LINK; + case 8: + return GOOGLE_SIGNALS_SETTINGS; + case 9: + return CONVERSION_EVENT; + case 10: + return MEASUREMENT_PROTOCOL_SECRET; + case 13: + return DATA_RETENTION_SETTINGS; + case 14: + return DISPLAY_VIDEO_360_ADVERTISER_LINK; + case 15: + return DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL; + case 18: + return DATA_STREAM; + case 20: + return ATTRIBUTION_SETTINGS; + default: + return null; } } @@ -270,28 +351,28 @@ public static ChangeHistoryResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ChangeHistoryResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeHistoryResourceType findValueByNumber(int number) { - return ChangeHistoryResourceType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeHistoryResourceType findValueByNumber(int number) { + return ChangeHistoryResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(4); } @@ -300,8 +381,7 @@ public ChangeHistoryResourceType findValueByNumber(int number) { public static ChangeHistoryResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -317,4 +397,3 @@ private ChangeHistoryResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ChangeHistoryResourceType) } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java index ccef79064349..535408b74d23 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEvent.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A conversion event in a Google Analytics property.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ConversionEvent} */ -public final class ConversionEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConversionEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ConversionEvent) ConversionEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConversionEvent.newBuilder() to construct. private ConversionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConversionEvent() { name_ = ""; eventName_ = ""; @@ -26,39 +44,44 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversionEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ConversionEvent.class, com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); + com.google.analytics.admin.v1beta.ConversionEvent.class, + com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,15 +122,19 @@ public java.lang.String getName() { } public static final int EVENT_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object eventName_ = ""; /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The eventName. */ @java.lang.Override @@ -116,30 +143,30 @@ public java.lang.String getEventName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } } /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for eventName. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -150,11 +177,15 @@ public java.lang.String getEventName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -162,11 +193,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -174,11 +209,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -188,11 +226,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETABLE_FIELD_NUMBER = 4; private boolean deletable_ = false; /** + * + * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -203,6 +244,8 @@ public boolean getDeletable() { public static final int CUSTOM_FIELD_NUMBER = 5; private boolean custom_ = false; /** + * + * *
    * 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
@@ -213,6 +256,7 @@ public boolean getDeletable() {
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -221,6 +265,7 @@ public boolean getCustom() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -265,16 +309,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (deletable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, deletable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, deletable_); } if (custom_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, custom_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, custom_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -284,26 +325,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ConversionEvent)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ConversionEvent other = (com.google.analytics.admin.v1beta.ConversionEvent) obj; + com.google.analytics.admin.v1beta.ConversionEvent other = + (com.google.analytics.admin.v1beta.ConversionEvent) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEventName() - .equals(other.getEventName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEventName().equals(other.getEventName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (getDeletable() - != other.getDeletable()) return false; - if (getCustom() - != other.getCustom()) return false; + if (getDeletable() != other.getDeletable()) return false; + if (getCustom() != other.getCustom()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,140 +361,144 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + DELETABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeletable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletable()); hash = (37 * hash) + CUSTOM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCustom()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustom()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( 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.v1beta.ConversionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ConversionEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ConversionEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ConversionEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.ConversionEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A conversion event in a Google Analytics property.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ConversionEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ConversionEvent) com.google.analytics.admin.v1beta.ConversionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ConversionEvent.class, com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); + com.google.analytics.admin.v1beta.ConversionEvent.class, + com.google.analytics.admin.v1beta.ConversionEvent.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ConversionEvent.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +516,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; } @java.lang.Override @@ -496,8 +537,11 @@ public com.google.analytics.admin.v1beta.ConversionEvent build() { @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEvent buildPartial() { - com.google.analytics.admin.v1beta.ConversionEvent result = new com.google.analytics.admin.v1beta.ConversionEvent(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ConversionEvent result = + new com.google.analytics.admin.v1beta.ConversionEvent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -511,9 +555,7 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ConversionEvent res result.eventName_ = eventName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.deletable_ = deletable_; @@ -527,38 +569,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ConversionEvent res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ConversionEvent) { - return mergeFrom((com.google.analytics.admin.v1beta.ConversionEvent)other); + return mergeFrom((com.google.analytics.admin.v1beta.ConversionEvent) other); } else { super.mergeFrom(other); return this; @@ -566,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ConversionEvent other) { - if (other == com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -612,39 +656,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - eventName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - deletable_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - custom_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + eventName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + deletable_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + custom_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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) { @@ -654,23 +702,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -679,21 +730,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -701,30 +753,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); } + 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 conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -734,18 +793,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this conversion event.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -755,19 +818,21 @@ public Builder setNameBytes( private java.lang.Object eventName_ = ""; /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; @@ -776,21 +841,22 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for eventName. */ - public com.google.protobuf.ByteString - getEventNameBytes() { + public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventName_ = b; return b; } else { @@ -798,30 +864,37 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The eventName to set. * @return This builder for chaining. */ - public Builder setEventName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } eventName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearEventName() { @@ -831,18 +904,22 @@ public Builder clearEventName() { return this; } /** + * + * *
      * Immutable. The event name for this conversion event.
      * Examples: 'click', 'purchase'
      * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for eventName to set. * @return This builder for chaining. */ - public Builder setEventNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEventNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); eventName_ = value; bitField0_ |= 0x00000002; @@ -852,39 +929,58 @@ public Builder setEventNameBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -900,14 +996,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -918,17 +1017,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -941,11 +1044,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -958,11 +1065,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -970,48 +1081,63 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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 deletable_ ; + private boolean deletable_; /** + * + * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -1019,27 +1145,33 @@ public boolean getDeletable() { return deletable_; } /** + * + * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deletable to set. * @return This builder for chaining. */ public Builder setDeletable(boolean value) { - + deletable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeletable() { @@ -1049,8 +1181,10 @@ public Builder clearDeletable() { return this; } - private boolean custom_ ; + private boolean custom_; /** + * + * *
      * 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
@@ -1061,6 +1195,7 @@ public Builder clearDeletable() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -1068,6 +1203,8 @@ public boolean getCustom() { return custom_; } /** + * + * *
      * 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
@@ -1078,17 +1215,20 @@ public boolean getCustom() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The custom to set. * @return This builder for chaining. */ public Builder setCustom(boolean value) { - + custom_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * 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
@@ -1099,6 +1239,7 @@ public Builder setCustom(boolean value) {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCustom() { @@ -1107,9 +1248,9 @@ public Builder clearCustom() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1119,12 +1260,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ConversionEvent) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ConversionEvent) private static final com.google.analytics.admin.v1beta.ConversionEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ConversionEvent(); } @@ -1133,27 +1274,27 @@ public static com.google.analytics.admin.v1beta.ConversionEvent getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversionEvent 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversionEvent 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; @@ -1168,6 +1309,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ConversionEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java similarity index 75% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java index 2031552b4287..8da7597900f1 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ConversionEventOrBuilder.java @@ -1,94 +1,136 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface ConversionEventOrBuilder extends +public interface ConversionEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ConversionEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this conversion event.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The eventName. */ java.lang.String getEventName(); /** + * + * *
    * Immutable. The event name for this conversion event.
    * Examples: 'click', 'purchase'
    * 
* * string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for eventName. */ - com.google.protobuf.ByteString - getEventNameBytes(); + com.google.protobuf.ByteString getEventNameBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ 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
@@ -99,6 +141,7 @@ public interface ConversionEventOrBuilder extends
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ boolean getCustom(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java index d8d3481d7df3..0548eb032417 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequest.java @@ -1,61 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateConversionEventRequest} */ -public final class CreateConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateConversionEventRequest) CreateConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConversionEventRequest.newBuilder() to construct. private CreateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateConversionEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, + com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.ConversionEvent conversionEvent_; /** + * + * *
    * Required. The conversion event to create.
    * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversionEvent field is set. */ @java.lang.Override @@ -63,39 +87,58 @@ public boolean hasConversionEvent() { return conversionEvent_ != null; } /** + * + * *
    * Required. The conversion event to create.
    * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversionEvent. */ @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { - return conversionEvent_ == null ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() + : conversionEvent_; } /** + * + * *
    * Required. The conversion event to create.
    * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { - return conversionEvent_ == null ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() + : conversionEvent_; } public static final int PARENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -104,30 +147,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -136,6 +181,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -165,8 +210,7 @@ public int getSerializedSize() { size = 0; if (conversionEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getConversionEvent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConversionEvent()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); @@ -179,20 +223,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateConversionEventRequest other = (com.google.analytics.admin.v1beta.CreateConversionEventRequest) obj; + com.google.analytics.admin.v1beta.CreateConversionEventRequest other = + (com.google.analytics.admin.v1beta.CreateConversionEventRequest) obj; if (hasConversionEvent() != other.hasConversionEvent()) return false; if (hasConversionEvent()) { - if (!getConversionEvent() - .equals(other.getConversionEvent())) return false; + if (!getConversionEvent().equals(other.getConversionEvent())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,129 +259,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( 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.v1beta.CreateConversionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreateConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateConversionEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateConversionEventRequest) com.google.analytics.admin.v1beta.CreateConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, + com.google.analytics.admin.v1beta.CreateConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateConversionEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +403,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateConversionEventRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance(); } @@ -374,18 +425,21 @@ public com.google.analytics.admin.v1beta.CreateConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateConversionEventRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateConversionEventRequest result = new com.google.analytics.admin.v1beta.CreateConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreateConversionEventRequest result = + new com.google.analytics.admin.v1beta.CreateConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.CreateConversionEventRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.CreateConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.conversionEvent_ = conversionEventBuilder_ == null - ? conversionEvent_ - : conversionEventBuilder_.build(); + result.conversionEvent_ = + conversionEventBuilder_ == null ? conversionEvent_ : conversionEventBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.parent_ = parent_; @@ -396,38 +450,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateConversionEve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreateConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateConversionEventRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +490,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateConversionEventRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance()) + return this; if (other.hasConversionEvent()) { mergeConversionEvent(other.getConversionEvent()); } @@ -470,24 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getConversionEventFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getConversionEventFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parent_ = 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) { @@ -497,43 +555,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.ConversionEvent conversionEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> conversionEventBuilder_; + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + conversionEventBuilder_; /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the conversionEvent field is set. */ public boolean hasConversionEvent() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The conversionEvent. */ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { if (conversionEventBuilder_ == null) { - return conversionEvent_ == null ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() + : conversionEvent_; } else { return conversionEventBuilder_.getMessage(); } } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEvent value) { if (conversionEventBuilder_ == null) { @@ -549,11 +627,15 @@ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEv return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConversionEvent( com.google.analytics.admin.v1beta.ConversionEvent.Builder builderForValue) { @@ -567,17 +649,22 @@ public Builder setConversionEvent( return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.ConversionEvent value) { if (conversionEventBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - conversionEvent_ != null && - conversionEvent_ != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && conversionEvent_ != null + && conversionEvent_ + != com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()) { getConversionEventBuilder().mergeFrom(value); } else { conversionEvent_ = value; @@ -590,11 +677,15 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.Conversion return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConversionEvent() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +698,15 @@ public Builder clearConversionEvent() { return this; } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEventBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +714,49 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder() { + public com.google.analytics.admin.v1beta.ConversionEventOrBuilder + getConversionEventOrBuilder() { if (conversionEventBuilder_ != null) { return conversionEventBuilder_.getMessageOrBuilder(); } else { - return conversionEvent_ == null ? - com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() : conversionEvent_; + return conversionEvent_ == null + ? com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance() + : conversionEvent_; } } /** + * + * *
      * Required. The conversion event to create.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder> getConversionEventFieldBuilder() { if (conversionEventBuilder_ == null) { - conversionEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( - getConversionEvent(), - getParentForChildren(), - isClean()); + conversionEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( + getConversionEvent(), getParentForChildren(), isClean()); conversionEvent_ = null; } return conversionEventBuilder_; @@ -656,19 +764,23 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE private java.lang.Object parent_ = ""; /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -677,21 +789,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -699,30 +814,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.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(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -732,27 +858,33 @@ public Builder clearParent() { return this; } /** + * + * *
      * 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) = { ... } + * + * string parent = 2 [(.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(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,41 +894,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateConversionEventRequest) - private static final com.google.analytics.admin.v1beta.CreateConversionEventRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.CreateConversionEventRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateConversionEventRequest(); } - public static com.google.analytics.admin.v1beta.CreateConversionEventRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.CreateConversionEventRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConversionEventRequest 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; @@ -808,9 +942,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateConversionEventRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..229978c52006 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the conversionEvent field is set. + */ + boolean hasConversionEvent(); + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The conversionEvent. + */ + com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(); + /** + * + * + *
+   * Required. The conversion event to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder(); + + /** + * + * + *
+   * 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) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * 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) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java index e2b951fa19b7..a398b39d87d6 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomDimensionRequest} */ -public final class CreateCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateCustomDimensionRequest) CreateCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCustomDimensionRequest.newBuilder() to construct. private CreateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCustomDimensionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.CustomDimension customDimension_; /** + * + * *
    * Required. The CustomDimension to create.
    * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** + * + * *
    * Required. The CustomDimension to create.
    * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { - return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } /** + * + * *
    * Required. The CustomDimension to create.
    * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomDimension()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest other = (com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest other = + (com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension() - .equals(other.getCustomDimension())) return false; + if (!getCustomDimension().equals(other.getCustomDimension())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( 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.v1beta.CreateCustomDimensionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateCustomDimensionRequest) com.google.analytics.admin.v1beta.CreateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance(); } @@ -372,21 +423,24 @@ public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result = new com.google.analytics.admin.v1beta.CreateCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result = + new com.google.analytics.admin.v1beta.CreateCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.CreateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customDimension_ = customDimensionBuilder_ == null - ? customDimension_ - : customDimensionBuilder_.build(); + result.customDimension_ = + customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); } } @@ -394,38 +448,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateCustomDimensi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +488,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCustomDimensionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCustomDimensionFieldBuilder().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) { @@ -495,22 +553,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +582,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +606,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +648,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +674,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1beta.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> customDimensionBuilder_; + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + customDimensionBuilder_; /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customDimension. */ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomDimension(com.google.analytics.admin.v1beta.CustomDimension value) { if (customDimensionBuilder_ == null) { @@ -639,11 +741,15 @@ public Builder setCustomDimension(com.google.analytics.admin.v1beta.CustomDimens return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomDimension( com.google.analytics.admin.v1beta.CustomDimension.Builder builderForValue) { @@ -657,17 +763,22 @@ public Builder setCustomDimension( return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - customDimension_ != null && - customDimension_ != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && customDimension_ != null + && customDimension_ + != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -680,11 +791,15 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDime return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomDimension() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +812,15 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimensionBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +828,56 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens return getCustomDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder + getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null ? - com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } } /** + * + * *
      * Required. The CustomDimension to create.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( - getCustomDimension(), - getParentForChildren(), - isClean()); + customDimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( + getCustomDimension(), getParentForChildren(), isClean()); customDimension_ = null; } return customDimensionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,41 +887,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateCustomDimensionRequest) - private static final com.google.analytics.admin.v1beta.CreateCustomDimensionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.CreateCustomDimensionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.CreateCustomDimensionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomDimensionRequest 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; @@ -801,9 +935,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateCustomDimensionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..429ebb190520 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomDimensionRequest) + 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 CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customDimension field is set. + */ + boolean hasCustomDimension(); + /** + * + * + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customDimension. + */ + com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(); + /** + * + * + *
+   * Required. The CustomDimension to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java index df0a7a382393..a96abe8b3566 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomMetricRequest} */ -public final class CreateCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateCustomMetricRequest) CreateCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCustomMetricRequest.newBuilder() to construct. private CreateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCustomMetricRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, com.google.analytics.admin.v1beta.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, + com.google.analytics.admin.v1beta.CreateCustomMetricRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int CUSTOM_METRIC_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.CustomMetric customMetric_; /** + * + * *
    * Required. The CustomMetric to create.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** + * + * *
    * Required. The CustomMetric to create.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { - return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } /** + * + * *
    * Required. The CustomMetric to create.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomMetric()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateCustomMetricRequest other = (com.google.analytics.admin.v1beta.CreateCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.CreateCustomMetricRequest other = + (com.google.analytics.admin.v1beta.CreateCustomMetricRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric() - .equals(other.getCustomMetric())) return false; + if (!getCustomMetric().equals(other.getCustomMetric())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( 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.v1beta.CreateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateCustomMetricRequest) com.google.analytics.admin.v1beta.CreateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, com.google.analytics.admin.v1beta.CreateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, + com.google.analytics.admin.v1beta.CreateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; } @java.lang.Override @@ -372,8 +422,11 @@ public com.google.analytics.admin.v1beta.CreateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateCustomMetricRequest result = new com.google.analytics.admin.v1beta.CreateCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreateCustomMetricRequest result = + new com.google.analytics.admin.v1beta.CreateCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,9 +437,8 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateCustomMetricR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.customMetric_ = customMetricBuilder_ == null - ? customMetric_ - : customMetricBuilder_.build(); + result.customMetric_ = + customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); } } @@ -394,38 +446,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateCustomMetricR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateCustomMetricRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.CreateCustomMetricRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +522,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCustomMetricFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCustomMetricFieldBuilder().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) { @@ -495,22 +550,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +579,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +603,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +645,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +671,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1beta.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> customMetricBuilder_; + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + customMetricBuilder_; /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customMetric. */ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomMetric(com.google.analytics.admin.v1beta.CustomMetric value) { if (customMetricBuilder_ == null) { @@ -639,11 +738,15 @@ public Builder setCustomMetric(com.google.analytics.admin.v1beta.CustomMetric va return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomMetric( com.google.analytics.admin.v1beta.CustomMetric.Builder builderForValue) { @@ -657,17 +760,22 @@ public Builder setCustomMetric( return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - customMetric_ != null && - customMetric_ != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && customMetric_ != null + && customMetric_ + != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -680,11 +788,15 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomMetric() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +809,15 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +825,55 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricBui return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder() { if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null ? - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } } /** + * + * *
      * Required. The CustomMetric to create.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( - getCustomMetric(), - getParentForChildren(), - isClean()); + customMetricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( + getCustomMetric(), getParentForChildren(), isClean()); customMetric_ = null; } return customMetricBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +883,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateCustomMetricRequest) private static final com.google.analytics.admin.v1beta.CreateCustomMetricRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateCustomMetricRequest(); } @@ -769,27 +897,27 @@ public static com.google.analytics.admin.v1beta.CreateCustomMetricRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomMetricRequest 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; @@ -804,6 +932,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.CreateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..0dc1e8b8aef9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomMetricRequest) + 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 CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customMetric field is set. + */ + boolean hasCustomMetric(); + /** + * + * + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customMetric. + */ + com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(); + /** + * + * + *
+   * Required. The CustomMetric to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java index b33c918b9565..ab0eccf61d84 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateDataStreamRequest} */ -public final class CreateDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateDataStreamRequest) CreateDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDataStreamRequest.newBuilder() to construct. private CreateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDataStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, com.google.analytics.admin.v1beta.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, + com.google.analytics.admin.v1beta.CreateDataStreamRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int DATA_STREAM_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.DataStream dataStream_; /** + * + * *
    * Required. The DataStream to create.
    * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasDataStream() { return dataStream_ != null; } /** + * + * *
    * Required. The DataStream to create.
    * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream getDataStream() { - return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } /** + * + * *
    * Required. The DataStream to create.
    * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDataStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateDataStreamRequest other = (com.google.analytics.admin.v1beta.CreateDataStreamRequest) obj; + com.google.analytics.admin.v1beta.CreateDataStreamRequest other = + (com.google.analytics.admin.v1beta.CreateDataStreamRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream() - .equals(other.getDataStream())) return false; + if (!getDataStream().equals(other.getDataStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( 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.v1beta.CreateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateDataStreamRequest) com.google.analytics.admin.v1beta.CreateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, com.google.analytics.admin.v1beta.CreateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, + com.google.analytics.admin.v1beta.CreateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; } @java.lang.Override @@ -372,8 +422,11 @@ public com.google.analytics.admin.v1beta.CreateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateDataStreamRequest result = new com.google.analytics.admin.v1beta.CreateDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreateDataStreamRequest result = + new com.google.analytics.admin.v1beta.CreateDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,9 +437,7 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateDataStreamReq result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null - ? dataStream_ - : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); } } @@ -394,38 +445,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateDataStreamReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.CreateDataStreamRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +521,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getDataStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getDataStreamFieldBuilder().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) { @@ -495,22 +549,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +578,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +602,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +644,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +670,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1beta.DataStream dataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamBuilder_; + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> + dataStreamBuilder_; /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataStream. */ public com.google.analytics.admin.v1beta.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { @@ -639,11 +737,15 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataStream( com.google.analytics.admin.v1beta.DataStream.Builder builderForValue) { @@ -657,17 +759,21 @@ public Builder setDataStream( return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - dataStream_ != null && - dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && dataStream_ != null + && dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -680,11 +786,15 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataStream() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +807,15 @@ public Builder clearDataStream() { return this; } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +823,55 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null ? - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } } /** + * + * *
      * Required. The DataStream to create.
      * 
* - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( - getDataStream(), - getParentForChildren(), - isClean()); + dataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + getDataStream(), getParentForChildren(), isClean()); dataStream_ = null; } return dataStreamBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateDataStreamRequest) private static final com.google.analytics.admin.v1beta.CreateDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateDataStreamRequest(); } @@ -769,27 +895,27 @@ public static com.google.analytics.admin.v1beta.CreateDataStreamRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDataStreamRequest 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; @@ -804,6 +930,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CreateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..3647940c0858 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateDataStreamRequest) + 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 DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the dataStream field is set. + */ + boolean hasDataStream(); + /** + * + * + *
+   * Required. The DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The dataStream. + */ + com.google.analytics.admin.v1beta.DataStream getDataStream(); + /** + * + * + *
+   * Required. The DataStream to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java index c96c9571a75c..a11def990c19 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateFirebaseLinkRequest} */ -public final class CreateFirebaseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) CreateFirebaseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateFirebaseLinkRequest.newBuilder() to construct. private CreateFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateFirebaseLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +127,16 @@ public java.lang.String getParent() { public static final int FIREBASE_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.FirebaseLink firebaseLink_; /** + * + * *
    * Required. The Firebase link to create.
    * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the firebaseLink field is set. */ @java.lang.Override @@ -112,30 +144,44 @@ public boolean hasFirebaseLink() { return firebaseLink_ != null; } /** + * + * *
    * Required. The Firebase link to create.
    * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The firebaseLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { - return firebaseLink_ == null ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() + : firebaseLink_; } /** + * + * *
    * Required. The Firebase link to create.
    * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { - return firebaseLink_ == null ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() + : firebaseLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -168,8 +213,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (firebaseLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFirebaseLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFirebaseLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +223,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest other = (com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) obj; + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest other = + (com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasFirebaseLink() != other.hasFirebaseLink()) return false; if (hasFirebaseLink()) { - if (!getFirebaseLink() - .equals(other.getFirebaseLink())) return false; + if (!getFirebaseLink().equals(other.getFirebaseLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +259,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( 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.v1beta.CreateFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateFirebaseLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) com.google.analytics.admin.v1beta.CreateFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; } @java.lang.Override @@ -374,8 +424,11 @@ public com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest result = new com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest result = + new com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -386,9 +439,8 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateFirebaseLinkR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.firebaseLink_ = firebaseLinkBuilder_ == null - ? firebaseLink_ - : firebaseLinkBuilder_.build(); + result.firebaseLink_ = + firebaseLinkBuilder_ == null ? firebaseLink_ : firebaseLinkBuilder_.build(); } } @@ -396,38 +448,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateFirebaseLinkR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreateFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +488,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -470,24 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getFirebaseLinkFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getFirebaseLinkFieldBuilder().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) { @@ -497,23 +552,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -522,21 +582,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -544,30 +607,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -577,18 +651,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -598,39 +678,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1beta.FirebaseLink firebaseLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> firebaseLinkBuilder_; + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + firebaseLinkBuilder_; /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the firebaseLink field is set. */ public boolean hasFirebaseLink() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The firebaseLink. */ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { if (firebaseLinkBuilder_ == null) { - return firebaseLink_ == null ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() + : firebaseLink_; } else { return firebaseLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { @@ -646,11 +745,15 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink va return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFirebaseLink( com.google.analytics.admin.v1beta.FirebaseLink.Builder builderForValue) { @@ -664,17 +767,22 @@ public Builder setFirebaseLink( return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink value) { if (firebaseLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - firebaseLink_ != null && - firebaseLink_ != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && firebaseLink_ != null + && firebaseLink_ + != com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()) { getFirebaseLinkBuilder().mergeFrom(value); } else { firebaseLink_ = value; @@ -687,11 +795,15 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFirebaseLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -704,11 +816,15 @@ public Builder clearFirebaseLink() { return this; } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinkBuilder() { bitField0_ |= 0x00000002; @@ -716,43 +832,55 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinkBui return getFirebaseLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder() { if (firebaseLinkBuilder_ != null) { return firebaseLinkBuilder_.getMessageOrBuilder(); } else { - return firebaseLink_ == null ? - com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() : firebaseLink_; + return firebaseLink_ == null + ? com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance() + : firebaseLink_; } } /** + * + * *
      * Required. The Firebase link to create.
      * 
* - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> getFirebaseLinkFieldBuilder() { if (firebaseLinkBuilder_ == null) { - firebaseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( - getFirebaseLink(), - getParentForChildren(), - isClean()); + firebaseLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( + getFirebaseLink(), getParentForChildren(), isClean()); firebaseLink_ = null; } return firebaseLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) private static final com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest(); } @@ -776,27 +904,27 @@ public static com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFirebaseLinkRequest 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; @@ -811,6 +939,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..48c15e4a6448 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateFirebaseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. 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. 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(); + + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firebaseLink field is set. + */ + boolean hasFirebaseLink(); + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firebaseLink. + */ + com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink(); + /** + * + * + *
+   * Required. The Firebase link to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java index 8dac7d477dbb..37868dfbed85 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest} */ -public final class CreateGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) CreateGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateGoogleAdsLinkRequest.newBuilder() to construct. private CreateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateGoogleAdsLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getParent() { public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; /** + * + * *
    * Required. The GoogleAdsLink to create.
    * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -110,30 +142,44 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** + * + * *
    * Required. The GoogleAdsLink to create.
    * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } /** + * + * *
    * Required. The GoogleAdsLink to create.
    * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +211,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGoogleAdsLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +221,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest other = + (com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink() - .equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -214,129 +257,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( 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.v1beta.CreateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -372,21 +423,24 @@ public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.googleAdsLink_ = googleAdsLinkBuilder_ == null - ? googleAdsLink_ - : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = + googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); } } @@ -394,38 +448,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateGoogleAdsLink public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +488,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -468,24 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getGoogleAdsLinkFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getGoogleAdsLinkFieldBuilder().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) { @@ -495,22 +553,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,20 +582,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -540,28 +606,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -571,17 +648,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -591,39 +674,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + googleAdsLinkBuilder_; /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The googleAdsLink. */ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { @@ -639,11 +741,15 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGoogleAdsLink( com.google.analytics.admin.v1beta.GoogleAdsLink.Builder builderForValue) { @@ -657,17 +763,22 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - googleAdsLink_ != null && - googleAdsLink_ != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && googleAdsLink_ != null + && googleAdsLink_ + != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -680,11 +791,15 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGoogleAdsLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +812,15 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +828,55 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null ? - com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } } /** + * + * *
      * Required. The GoogleAdsLink to create.
      * 
* - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), - getParentForChildren(), - isClean()); + googleAdsLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), getParentForChildren(), isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +886,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest(); } @@ -769,27 +901,27 @@ public static com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGoogleAdsLinkRequest 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; @@ -804,6 +936,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..fb3805dc138b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateGoogleAdsLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) + 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 GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the googleAdsLink field is set. + */ + boolean hasGoogleAdsLink(); + /** + * + * + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The googleAdsLink. + */ + com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); + /** + * + * + *
+   * Required. The GoogleAdsLink to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java similarity index 56% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java index 97a488f1f8a8..c7781a6385ad 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequest.java @@ -1,63 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest} */ -public final class CreateMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) CreateMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateMeasurementProtocolSecretRequest.newBuilder() to construct. - private CreateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateMeasurementProtocolSecretRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,30 +93,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource where this secret will be created.
    * Format: properties/{property}/dataStreams/{dataStream}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +129,16 @@ public java.lang.String getParent() { public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; /** + * + * *
    * Required. The measurement protocol secret to create.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -112,30 +146,46 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** + * + * *
    * Required. The measurement protocol secret to create.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } /** + * + * *
    * Required. The measurement protocol secret to create.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -168,8 +217,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (measurementProtocolSecret_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMeasurementProtocolSecret()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getMeasurementProtocolSecret()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +229,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret() - .equals(other.getMeasurementProtocolSecret())) return false; + if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +267,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( 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.v1beta.CreateMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest 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.v1beta.CreateMeasurementProtocolSecretRequest + 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.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,19 +414,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = buildPartial(); + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -374,21 +438,26 @@ public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest @java.lang.Override public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = + measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } } @@ -396,46 +465,52 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreateMeasurementPr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreateMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest)other); + if (other + instanceof com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) { + return mergeFrom( + (com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -470,24 +545,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -497,23 +574,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -522,21 +604,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -544,30 +629,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -577,18 +673,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource where this secret will be created.
      * Format: properties/{property}/dataStreams/{dataStream}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -598,41 +700,62 @@ public Builder setParentBytes( private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretBuilder_; /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -646,11 +769,15 @@ public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.Me return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -664,17 +791,24 @@ public Builder setMeasurementProtocolSecret( return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - measurementProtocolSecret_ != null && - measurementProtocolSecret_ != com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && measurementProtocolSecret_ != null + && measurementProtocolSecret_ + != com.google.analytics.admin.v1beta.MeasurementProtocolSecret + .getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -687,11 +821,15 @@ public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta. return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000002); @@ -704,55 +842,73 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null ? - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } } /** + * + * *
      * Required. The measurement protocol secret to create.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), - getParentForChildren(), - isClean()); + measurementProtocolSecretBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), getParentForChildren(), isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,41 +918,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMeasurementProtocolSecretRequest 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; @@ -808,9 +967,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..cde0ea2a076e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java @@ -0,0 +1,98 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreateMeasurementProtocolSecretRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource where this secret will be created.
+   * Format: properties/{property}/dataStreams/{dataStream}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the measurementProtocolSecret field is set. + */ + boolean hasMeasurementProtocolSecret(); + /** + * + * + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The measurementProtocolSecret. + */ + com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); + /** + * + * + *
+   * Required. The measurement protocol secret to create.
+   * 
+ * + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java index 1d7498ce5b6a..157abdb35704 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequest.java @@ -1,61 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for CreateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreatePropertyRequest} */ -public final class CreatePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CreatePropertyRequest) CreatePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreatePropertyRequest.newBuilder() to construct. private CreatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreatePropertyRequest() { - } + + private CreatePropertyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreatePropertyRequest.class, com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.CreatePropertyRequest.class, + com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Property property_; /** + * + * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ @java.lang.Override @@ -63,32 +86,46 @@ public boolean hasProperty() { return property_ != null; } /** + * + * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1beta.Property getProperty() { - return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } /** + * + * *
    * Required. The property to create.
    * Note: the supplied property must specify its parent.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -115,8 +151,7 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -126,17 +161,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CreatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CreatePropertyRequest other = (com.google.analytics.admin.v1beta.CreatePropertyRequest) obj; + com.google.analytics.admin.v1beta.CreatePropertyRequest other = + (com.google.analytics.admin.v1beta.CreatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -159,129 +194,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( 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.v1beta.CreatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CreatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.CreatePropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.CreatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CreatePropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CreatePropertyRequest) com.google.analytics.admin.v1beta.CreatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CreatePropertyRequest.class, com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.CreatePropertyRequest.class, + com.google.analytics.admin.v1beta.CreatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CreatePropertyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; } @java.lang.Override @@ -316,8 +358,11 @@ public com.google.analytics.admin.v1beta.CreatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.CreatePropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.CreatePropertyRequest result = new com.google.analytics.admin.v1beta.CreatePropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CreatePropertyRequest result = + new com.google.analytics.admin.v1beta.CreatePropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -325,9 +370,7 @@ public com.google.analytics.admin.v1beta.CreatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1beta.CreatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null - ? property_ - : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); } } @@ -335,38 +378,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CreatePropertyReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CreatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.CreatePropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.CreatePropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -374,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CreatePropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.CreatePropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.CreatePropertyRequest.getDefaultInstance()) + return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -404,19 +449,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); + 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) { @@ -426,46 +471,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertyBuilder_; + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> + propertyBuilder_; /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ public com.google.analytics.admin.v1beta.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { @@ -481,15 +546,18 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setProperty( - com.google.analytics.admin.v1beta.Property.Builder builderForValue) { + public Builder setProperty(com.google.analytics.admin.v1beta.Property.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -500,18 +568,22 @@ public Builder setProperty( return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -524,12 +596,16 @@ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -542,12 +618,16 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -555,45 +635,57 @@ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } } /** + * + * *
      * Required. The property to create.
      * Note: the supplied property must specify its parent.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,12 +695,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CreatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CreatePropertyRequest) private static final com.google.analytics.admin.v1beta.CreatePropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CreatePropertyRequest(); } @@ -617,27 +709,27 @@ public static com.google.analytics.admin.v1beta.CreatePropertyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePropertyRequest 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; @@ -652,6 +744,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CreatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..569aaa21509e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface CreatePropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreatePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the property field is set. + */ + boolean hasProperty(); + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The property. + */ + com.google.analytics.admin.v1beta.Property getProperty(); + /** + * + * + *
+   * Required. The property to create.
+   * Note: the supplied property must specify its parent.
+   * 
+ * + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java index 590257ea0d4d..a9b140a400b0 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimension.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A definition for a CustomDimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomDimension} */ -public final class CustomDimension extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomDimension extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CustomDimension) CustomDimensionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDimension.newBuilder() to construct. private CustomDimension(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomDimension() { name_ = ""; parameterName_ = ""; @@ -29,39 +47,43 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDimension(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomDimension.class, com.google.analytics.admin.v1beta.CustomDimension.Builder.class); + com.google.analytics.admin.v1beta.CustomDimension.class, + com.google.analytics.admin.v1beta.CustomDimension.Builder.class); } /** + * + * *
    * Valid values for the scope of this dimension.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.CustomDimension.DimensionScope} */ - public enum DimensionScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum DimensionScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -70,6 +92,8 @@ public enum DimensionScope */ DIMENSION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -78,6 +102,8 @@ public enum DimensionScope */ EVENT(1), /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -89,6 +115,8 @@ public enum DimensionScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -97,6 +125,8 @@ public enum DimensionScope */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -105,6 +135,8 @@ public enum DimensionScope */ public static final int EVENT_VALUE = 1; /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -113,7 +145,6 @@ public enum DimensionScope */ public static final int USER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,49 +169,51 @@ public static DimensionScope valueOf(int value) { */ public static DimensionScope forNumber(int value) { switch (value) { - case 0: return DIMENSION_SCOPE_UNSPECIFIED; - case 1: return EVENT; - case 2: return USER; - default: return null; + case 0: + return DIMENSION_SCOPE_UNSPECIFIED; + case 1: + return EVENT; + case 2: + return USER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DimensionScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DimensionScope findValueByNumber(int number) { - return DimensionScope.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DimensionScope findValueByNumber(int number) { + return DimensionScope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.CustomDimension.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1beta.CustomDimension.getDescriptor() + .getEnumTypes() + .get(0); } private static final DimensionScope[] VALUES = values(); - public static DimensionScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DimensionScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,15 +231,19 @@ private DimensionScope(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -215,30 +252,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -247,9 +284,12 @@ public java.lang.String getName() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -260,7 +300,10 @@ public java.lang.String getName() {
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ @java.lang.Override @@ -269,14 +312,15 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -287,17 +331,18 @@ public java.lang.String getParameterName() {
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -306,9 +351,12 @@ public java.lang.String getParameterName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -318,6 +366,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -326,14 +375,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name for this custom dimension as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -343,16 +393,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -361,14 +410,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -377,29 +430,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -410,32 +463,49 @@ public java.lang.String getDescription() { public static final int SCOPE_FIELD_NUMBER = 5; private int scope_ = 0; /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope() { + com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = + com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED + : result; } public static final int DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER = 6; private boolean disallowAdsPersonalization_ = false; /** + * + * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from ads
    * personalization.
@@ -443,6 +513,7 @@ public java.lang.String getDescription() {
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -451,6 +522,7 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -462,8 +534,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -476,7 +547,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (scope_ != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope + .DIMENSION_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, scope_); } if (disallowAdsPersonalization_ != false) { @@ -503,13 +577,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (scope_ != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.DIMENSION_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, scope_); + if (scope_ + != com.google.analytics.admin.v1beta.CustomDimension.DimensionScope + .DIMENSION_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, scope_); } if (disallowAdsPersonalization_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, disallowAdsPersonalization_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, disallowAdsPersonalization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -519,24 +594,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CustomDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CustomDimension other = (com.google.analytics.admin.v1beta.CustomDimension) obj; + com.google.analytics.admin.v1beta.CustomDimension other = + (com.google.analytics.admin.v1beta.CustomDimension) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getParameterName() - .equals(other.getParameterName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getParameterName().equals(other.getParameterName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (scope_ != other.scope_) return false; - if (getDisallowAdsPersonalization() - != other.getDisallowAdsPersonalization()) return false; + if (getDisallowAdsPersonalization() != other.getDisallowAdsPersonalization()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -559,137 +630,142 @@ public int hashCode() { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; hash = (37 * hash) + DISALLOW_ADS_PERSONALIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisallowAdsPersonalization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisallowAdsPersonalization()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( 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.v1beta.CustomDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomDimension parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomDimension parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CustomDimension parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CustomDimension parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CustomDimension parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.CustomDimension prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A definition for a CustomDimension.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomDimension} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CustomDimension) com.google.analytics.admin.v1beta.CustomDimensionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomDimension.class, com.google.analytics.admin.v1beta.CustomDimension.Builder.class); + com.google.analytics.admin.v1beta.CustomDimension.class, + com.google.analytics.admin.v1beta.CustomDimension.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CustomDimension.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -704,9 +780,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; } @java.lang.Override @@ -725,8 +801,11 @@ public com.google.analytics.admin.v1beta.CustomDimension build() { @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension buildPartial() { - com.google.analytics.admin.v1beta.CustomDimension result = new com.google.analytics.admin.v1beta.CustomDimension(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.CustomDimension result = + new com.google.analytics.admin.v1beta.CustomDimension(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -757,38 +836,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CustomDimension res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CustomDimension) { - return mergeFrom((com.google.analytics.admin.v1beta.CustomDimension)other); + return mergeFrom((com.google.analytics.admin.v1beta.CustomDimension) other); } else { super.mergeFrom(other); return this; @@ -796,7 +876,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.CustomDimension other) { - if (other == com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -849,42 +930,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - scope_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - disallowAdsPersonalization_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + scope_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + disallowAdsPersonalization_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -894,23 +982,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -919,21 +1010,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -941,30 +1033,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -974,18 +1073,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this CustomDimension resource.
      * Format: properties/{property}/customDimensions/{customDimension}
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -995,6 +1098,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1005,14 +1110,16 @@ public Builder setNameBytes(
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1021,6 +1128,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1031,16 +1140,17 @@ public java.lang.String getParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1048,6 +1158,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1058,19 +1170,25 @@ public java.lang.String getParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1081,7 +1199,10 @@ public Builder setParameterName(
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1091,6 +1212,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      * If this is a user-scoped dimension, then this is the user property name.
@@ -1101,13 +1224,17 @@ public Builder clearParameterName() {
      * characters for event-scoped dimensions.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1117,6 +1244,8 @@ public Builder setParameterNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1126,13 +1255,13 @@ public Builder setParameterNameBytes(
      * 
* * string display_name = 3 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1141,6 +1270,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
@@ -1150,15 +1281,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1166,6 +1296,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
@@ -1175,18 +1307,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1196,6 +1332,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1205,6 +1342,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name for this custom dimension as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1214,12 +1353,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1229,18 +1370,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1249,20 +1392,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1270,28 +1414,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1301,17 +1452,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description for this custom dimension. Max length of 150 characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -1321,22 +1476,33 @@ public Builder setDescriptionBytes( private int scope_ = 0; /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -1347,28 +1513,42 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope() { - com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.CustomDimension.DimensionScope result = + com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1beta.CustomDimension.DimensionScope.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(com.google.analytics.admin.v1beta.CustomDimension.DimensionScope value) { + public Builder setScope( + com.google.analytics.admin.v1beta.CustomDimension.DimensionScope value) { if (value == null) { throw new NullPointerException(); } @@ -1378,11 +1558,16 @@ public Builder setScope(com.google.analytics.admin.v1beta.CustomDimension.Dimens return this; } /** + * + * *
      * Required. Immutable. The scope of this dimension.
      * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1392,8 +1577,10 @@ public Builder clearScope() { return this; } - private boolean disallowAdsPersonalization_ ; + private boolean disallowAdsPersonalization_; /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1401,6 +1588,7 @@ public Builder clearScope() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1408,6 +1596,8 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1415,17 +1605,20 @@ public boolean getDisallowAdsPersonalization() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ public Builder setDisallowAdsPersonalization(boolean value) { - + disallowAdsPersonalization_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from ads
      * personalization.
@@ -1433,6 +1626,7 @@ public Builder setDisallowAdsPersonalization(boolean value) {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { @@ -1441,9 +1635,9 @@ public Builder clearDisallowAdsPersonalization() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1453,12 +1647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CustomDimension) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CustomDimension) private static final com.google.analytics.admin.v1beta.CustomDimension DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CustomDimension(); } @@ -1467,27 +1661,27 @@ public static com.google.analytics.admin.v1beta.CustomDimension getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomDimension 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomDimension 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; @@ -1502,6 +1696,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CustomDimension getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java index 9944309c21cd..7c44a5b79540 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomDimensionOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface CustomDimensionOrBuilder extends +public interface CustomDimensionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CustomDimension) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this CustomDimension resource.
    * Format: properties/{property}/customDimensions/{customDimension}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -40,11 +63,16 @@ public interface CustomDimensionOrBuilder extends
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ java.lang.String getParameterName(); /** + * + * *
    * Required. Immutable. Tagging parameter name for this custom dimension.
    * If this is a user-scoped dimension, then this is the user property name.
@@ -55,13 +83,17 @@ public interface CustomDimensionOrBuilder extends
    * characters for event-scoped dimensions.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - com.google.protobuf.ByteString - getParameterNameBytes(); + 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
@@ -71,10 +103,13 @@ public interface CustomDimensionOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ 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
@@ -84,51 +119,68 @@ public interface CustomDimensionOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description for this custom dimension. Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * Required. Immutable. The scope of this dimension.
    * 
* - * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ com.google.analytics.admin.v1beta.CustomDimension.DimensionScope getScope(); /** + * + * *
    * Optional. If set to true, sets this dimension as NPA and excludes it from ads
    * personalization.
@@ -136,6 +188,7 @@ public interface CustomDimensionOrBuilder extends
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ boolean getDisallowAdsPersonalization(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java index 493a1e69792d..2cd887950d2e 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetric.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A definition for a custom metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomMetric} */ -public final class CustomMetric extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomMetric extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.CustomMetric) CustomMetricOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomMetric.newBuilder() to construct. private CustomMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomMetric() { name_ = ""; parameterName_ = ""; @@ -31,30 +49,33 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomMetric.class, com.google.analytics.admin.v1beta.CustomMetric.Builder.class); + com.google.analytics.admin.v1beta.CustomMetric.class, + com.google.analytics.admin.v1beta.CustomMetric.Builder.class); } /** + * + * *
    * Possible types of representing the custom metric's value.
    * Currency representation may change in the future, requiring a breaking API
@@ -63,9 +84,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.analytics.admin.v1beta.CustomMetric.MeasurementUnit}
    */
-  public enum MeasurementUnit
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum MeasurementUnit implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * MeasurementUnit unspecified or missing.
      * 
@@ -74,6 +96,8 @@ public enum MeasurementUnit */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** + * + * *
      * This metric uses default units.
      * 
@@ -82,6 +106,8 @@ public enum MeasurementUnit */ STANDARD(1), /** + * + * *
      * This metric measures a currency.
      * 
@@ -90,6 +116,8 @@ public enum MeasurementUnit */ CURRENCY(2), /** + * + * *
      * This metric measures feet.
      * 
@@ -98,6 +126,8 @@ public enum MeasurementUnit */ FEET(3), /** + * + * *
      * This metric measures meters.
      * 
@@ -106,6 +136,8 @@ public enum MeasurementUnit */ METERS(4), /** + * + * *
      * This metric measures kilometers.
      * 
@@ -114,6 +146,8 @@ public enum MeasurementUnit */ KILOMETERS(5), /** + * + * *
      * This metric measures miles.
      * 
@@ -122,6 +156,8 @@ public enum MeasurementUnit */ MILES(6), /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -130,6 +166,8 @@ public enum MeasurementUnit */ MILLISECONDS(7), /** + * + * *
      * This metric measures seconds.
      * 
@@ -138,6 +176,8 @@ public enum MeasurementUnit */ SECONDS(8), /** + * + * *
      * This metric measures minutes.
      * 
@@ -146,6 +186,8 @@ public enum MeasurementUnit */ MINUTES(9), /** + * + * *
      * This metric measures hours.
      * 
@@ -157,6 +199,8 @@ public enum MeasurementUnit ; /** + * + * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -165,6 +209,8 @@ public enum MeasurementUnit */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This metric uses default units.
      * 
@@ -173,6 +219,8 @@ public enum MeasurementUnit */ public static final int STANDARD_VALUE = 1; /** + * + * *
      * This metric measures a currency.
      * 
@@ -181,6 +229,8 @@ public enum MeasurementUnit */ public static final int CURRENCY_VALUE = 2; /** + * + * *
      * This metric measures feet.
      * 
@@ -189,6 +239,8 @@ public enum MeasurementUnit */ public static final int FEET_VALUE = 3; /** + * + * *
      * This metric measures meters.
      * 
@@ -197,6 +249,8 @@ public enum MeasurementUnit */ public static final int METERS_VALUE = 4; /** + * + * *
      * This metric measures kilometers.
      * 
@@ -205,6 +259,8 @@ public enum MeasurementUnit */ public static final int KILOMETERS_VALUE = 5; /** + * + * *
      * This metric measures miles.
      * 
@@ -213,6 +269,8 @@ public enum MeasurementUnit */ public static final int MILES_VALUE = 6; /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -221,6 +279,8 @@ public enum MeasurementUnit */ public static final int MILLISECONDS_VALUE = 7; /** + * + * *
      * This metric measures seconds.
      * 
@@ -229,6 +289,8 @@ public enum MeasurementUnit */ public static final int SECONDS_VALUE = 8; /** + * + * *
      * This metric measures minutes.
      * 
@@ -237,6 +299,8 @@ public enum MeasurementUnit */ public static final int MINUTES_VALUE = 9; /** + * + * *
      * This metric measures hours.
      * 
@@ -245,7 +309,6 @@ public enum MeasurementUnit */ public static final int HOURS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -270,47 +333,58 @@ public static MeasurementUnit valueOf(int value) { */ public static MeasurementUnit forNumber(int value) { switch (value) { - case 0: return MEASUREMENT_UNIT_UNSPECIFIED; - case 1: return STANDARD; - case 2: return CURRENCY; - case 3: return FEET; - case 4: return METERS; - case 5: return KILOMETERS; - case 6: return MILES; - case 7: return MILLISECONDS; - case 8: return SECONDS; - case 9: return MINUTES; - case 10: return HOURS; - default: return null; + case 0: + return MEASUREMENT_UNIT_UNSPECIFIED; + case 1: + return STANDARD; + case 2: + return CURRENCY; + case 3: + return FEET; + case 4: + return METERS; + case 5: + return KILOMETERS; + case 6: + return MILES; + case 7: + return MILLISECONDS; + case 8: + return SECONDS; + case 9: + return MINUTES; + case 10: + return HOURS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MeasurementUnit> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MeasurementUnit findValueByNumber(int number) { - return MeasurementUnit.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MeasurementUnit findValueByNumber(int number) { + return MeasurementUnit.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.CustomMetric.getDescriptor().getEnumTypes().get(0); } @@ -319,8 +393,7 @@ public MeasurementUnit findValueByNumber(int number) { public static MeasurementUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -338,15 +411,18 @@ private MeasurementUnit(int value) { } /** + * + * *
    * The scope of this metric.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.CustomMetric.MetricScope} */ - public enum MetricScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum MetricScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -355,6 +431,8 @@ public enum MetricScope */ METRIC_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Metric scoped to an event.
      * 
@@ -366,6 +444,8 @@ public enum MetricScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -374,6 +454,8 @@ public enum MetricScope */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric scoped to an event.
      * 
@@ -382,7 +464,6 @@ public enum MetricScope */ public static final int EVENT_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -407,48 +488,47 @@ public static MetricScope valueOf(int value) { */ public static MetricScope forNumber(int value) { switch (value) { - case 0: return METRIC_SCOPE_UNSPECIFIED; - case 1: return EVENT; - default: return null; + case 0: + return METRIC_SCOPE_UNSPECIFIED; + case 1: + return EVENT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MetricScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricScope findValueByNumber(int number) { - return MetricScope.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetricScope findValueByNumber(int number) { + return MetricScope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.CustomMetric.getDescriptor().getEnumTypes().get(1); } private static final MetricScope[] VALUES = values(); - public static MetricScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetricScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -466,6 +546,8 @@ private MetricScope(int value) { } /** + * + * *
    * Labels that mark the data in this custom metric as data that should be
    * restricted to specific users.
@@ -473,9 +555,10 @@ private MetricScope(int value) {
    *
    * Protobuf enum {@code google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType}
    */
-  public enum RestrictedMetricType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RestrictedMetricType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Type unknown or unspecified.
      * 
@@ -484,6 +567,8 @@ public enum RestrictedMetricType */ RESTRICTED_METRIC_TYPE_UNSPECIFIED(0), /** + * + * *
      * Metric reports cost data.
      * 
@@ -492,6 +577,8 @@ public enum RestrictedMetricType */ COST_DATA(1), /** + * + * *
      * Metric reports revenue data.
      * 
@@ -503,6 +590,8 @@ public enum RestrictedMetricType ; /** + * + * *
      * Type unknown or unspecified.
      * 
@@ -511,6 +600,8 @@ public enum RestrictedMetricType */ public static final int RESTRICTED_METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric reports cost data.
      * 
@@ -519,6 +610,8 @@ public enum RestrictedMetricType */ public static final int COST_DATA_VALUE = 1; /** + * + * *
      * Metric reports revenue data.
      * 
@@ -527,7 +620,6 @@ public enum RestrictedMetricType */ public static final int REVENUE_DATA_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -552,10 +644,14 @@ public static RestrictedMetricType valueOf(int value) { */ public static RestrictedMetricType forNumber(int value) { switch (value) { - case 0: return RESTRICTED_METRIC_TYPE_UNSPECIFIED; - case 1: return COST_DATA; - case 2: return REVENUE_DATA; - default: return null; + case 0: + return RESTRICTED_METRIC_TYPE_UNSPECIFIED; + case 1: + return COST_DATA; + case 2: + return REVENUE_DATA; + default: + return null; } } @@ -563,28 +659,28 @@ public static RestrictedMetricType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RestrictedMetricType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestrictedMetricType findValueByNumber(int number) { - return RestrictedMetricType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestrictedMetricType findValueByNumber(int number) { + return RestrictedMetricType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.CustomMetric.getDescriptor().getEnumTypes().get(2); } @@ -593,8 +689,7 @@ public RestrictedMetricType findValueByNumber(int number) { public static RestrictedMetricType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -612,15 +707,19 @@ private RestrictedMetricType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -629,30 +728,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -661,9 +760,12 @@ public java.lang.String getName() { } public static final int PARAMETER_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parameterName_ = ""; /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -672,7 +774,10 @@ public java.lang.String getName() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ @java.lang.Override @@ -681,14 +786,15 @@ public java.lang.String getParameterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; } } /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -697,17 +803,18 @@ public java.lang.String getParameterName() {
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -716,9 +823,12 @@ public java.lang.String getParameterName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -728,6 +838,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -736,14 +847,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -753,16 +865,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -771,15 +882,19 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -788,30 +903,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -822,90 +937,141 @@ public java.lang.String getDescription() { public static final int MEASUREMENT_UNIT_FIELD_NUMBER = 5; private int measurementUnit_ = 0; /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override public int getMeasurementUnitValue() { + @java.lang.Override + public int getMeasurementUnitValue() { return measurementUnit_; } /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementUnit. */ - @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); - return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit() { + com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = + com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); + return result == null + ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED + : result; } public static final int SCOPE_FIELD_NUMBER = 6; private int scope_ = 0; /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope() { + com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = + com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED + : result; } public static final int RESTRICTED_METRIC_TYPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private java.util.List restrictedMetricType_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType> restrictedMetricType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType> + restrictedMetricType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>() { - public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType convert(java.lang.Integer from) { - com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType result = com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.forNumber(from); - return result == null ? com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.UNRECOGNIZED : result; + java.lang.Integer, + com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>() { + public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType convert( + java.lang.Integer from) { + com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType result = + com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.forNumber( + from); + return result == null + ? com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType.UNRECOGNIZED + : result; } }; /** + * + * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedMetricType. */ @java.lang.Override - public java.util.List getRestrictedMetricTypeList() { + public java.util.List + getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>( + restrictedMetricType_, restrictedMetricType_converter_); } /** + * + * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedMetricType. */ @java.lang.Override @@ -913,43 +1079,58 @@ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** + * + * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ @java.lang.Override - public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType + getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
    * 
* - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ @java.lang.Override - public java.util.List - getRestrictedMetricTypeValueList() { + public java.util.List getRestrictedMetricTypeValueList() { return restrictedMetricType_; } /** + * + * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -957,9 +1138,11 @@ public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRe public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(index); } + private int restrictedMetricTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -971,8 +1154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -986,10 +1168,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - if (measurementUnit_ != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { + if (measurementUnit_ + != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit + .MEASUREMENT_UNIT_UNSPECIFIED + .getNumber()) { output.writeEnum(5, measurementUnit_); } - if (scope_ != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, scope_); } if (getRestrictedMetricTypeList().size() > 0) { @@ -1020,25 +1207,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - if (measurementUnit_ != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.MEASUREMENT_UNIT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, measurementUnit_); + if (measurementUnit_ + != com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit + .MEASUREMENT_UNIT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, measurementUnit_); } - if (scope_ != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, scope_); + if (scope_ + != com.google.analytics.admin.v1beta.CustomMetric.MetricScope.METRIC_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); } { int dataSize = 0; for (int i = 0; i < restrictedMetricType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(restrictedMetricType_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + restrictedMetricType_.get(i)); } size += dataSize; - if (!getRestrictedMetricTypeList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }restrictedMetricTypeMemoizedSerializedSize = dataSize; + if (!getRestrictedMetricTypeList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + restrictedMetricTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1048,21 +1240,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.CustomMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.CustomMetric other = (com.google.analytics.admin.v1beta.CustomMetric) obj; + com.google.analytics.admin.v1beta.CustomMetric other = + (com.google.analytics.admin.v1beta.CustomMetric) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getParameterName() - .equals(other.getParameterName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getParameterName().equals(other.getParameterName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (measurementUnit_ != other.measurementUnit_) return false; if (scope_ != other.scope_) return false; if (!restrictedMetricType_.equals(other.restrictedMetricType_)) return false; @@ -1098,130 +1287,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( 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.v1beta.CustomMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.CustomMetric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.CustomMetric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CustomMetric parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.CustomMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.CustomMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A definition for a custom metric.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.CustomMetric} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.CustomMetric) com.google.analytics.admin.v1beta.CustomMetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.CustomMetric.class, com.google.analytics.admin.v1beta.CustomMetric.Builder.class); + com.google.analytics.admin.v1beta.CustomMetric.class, + com.google.analytics.admin.v1beta.CustomMetric.Builder.class); } // Construct using com.google.analytics.admin.v1beta.CustomMetric.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1238,9 +1433,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; } @java.lang.Override @@ -1259,9 +1454,12 @@ public com.google.analytics.admin.v1beta.CustomMetric build() { @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric buildPartial() { - com.google.analytics.admin.v1beta.CustomMetric result = new com.google.analytics.admin.v1beta.CustomMetric(this); + com.google.analytics.admin.v1beta.CustomMetric result = + new com.google.analytics.admin.v1beta.CustomMetric(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1300,38 +1498,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.CustomMetric result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.CustomMetric) { - return mergeFrom((com.google.analytics.admin.v1beta.CustomMetric)other); + return mergeFrom((com.google.analytics.admin.v1beta.CustomMetric) other); } else { super.mergeFrom(other); return this; @@ -1402,59 +1601,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parameterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - measurementUnit_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - scope_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 64: { - int tmpRaw = input.readEnum(); - ensureRestrictedMetricTypeIsMutable(); - restrictedMetricType_.add(tmpRaw); - break; - } // case 64 - case 66: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parameterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + measurementUnit_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + scope_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 64: + { int tmpRaw = input.readEnum(); ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 64 + case 66: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureRestrictedMetricTypeIsMutable(); + restrictedMetricType_.add(tmpRaw); + } + input.popLimit(oldLimit); + 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) { @@ -1464,23 +1672,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1489,21 +1700,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1511,30 +1723,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1544,18 +1763,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this CustomMetric resource.
      * Format: properties/{property}/customMetrics/{customMetric}
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1565,6 +1788,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1573,14 +1798,16 @@ public Builder setNameBytes(
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ public java.lang.String getParameterName() { java.lang.Object ref = parameterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterName_ = s; return s; @@ -1589,6 +1816,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1597,16 +1826,17 @@ public java.lang.String getParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - public com.google.protobuf.ByteString - getParameterNameBytes() { + public com.google.protobuf.ByteString getParameterNameBytes() { java.lang.Object ref = parameterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterName_ = b; return b; } else { @@ -1614,6 +1844,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1622,19 +1854,25 @@ public java.lang.String getParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The parameterName to set. * @return This builder for chaining. */ - public Builder setParameterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parameterName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1643,7 +1881,10 @@ public Builder setParameterName(
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearParameterName() { @@ -1653,6 +1894,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      * If this is an event-scoped metric, then this is the event parameter
@@ -1661,13 +1904,17 @@ public Builder clearParameterName() {
      * letter. Max length of 40 characters for event-scoped metrics.
      * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for parameterName to set. * @return This builder for chaining. */ - public Builder setParameterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parameterName_ = value; bitField0_ |= 0x00000002; @@ -1677,6 +1924,8 @@ public Builder setParameterNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1686,13 +1935,13 @@ public Builder setParameterNameBytes(
      * 
* * string display_name = 3 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1701,6 +1950,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1710,15 +1961,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1726,6 +1976,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1735,18 +1987,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1756,6 +2012,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1765,6 +2022,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Display name for this custom metric as shown in the Analytics UI.
      * Max length of 82 characters, alphanumeric plus space and underscore
@@ -1774,12 +2033,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1789,19 +2050,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1810,21 +2073,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1832,30 +2096,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1865,18 +2136,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. Description for this custom dimension.
      * Max length of 150 characters.
      * 
* * string description = 4 [(.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(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000008; @@ -1886,22 +2161,33 @@ public Builder setDescriptionBytes( private int measurementUnit_ = 0; /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for measurementUnit. */ - @java.lang.Override public int getMeasurementUnitValue() { + @java.lang.Override + public int getMeasurementUnitValue() { return measurementUnit_; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for measurementUnit to set. * @return This builder for chaining. */ @@ -1912,28 +2198,43 @@ public Builder setMeasurementUnitValue(int value) { return this; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementUnit. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit() { - com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber(measurementUnit_); - return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit result = + com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.forNumber( + measurementUnit_); + return result == null + ? com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The measurementUnit to set. * @return This builder for chaining. */ - public Builder setMeasurementUnit(com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit value) { + public Builder setMeasurementUnit( + com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit value) { if (value == null) { throw new NullPointerException(); } @@ -1943,11 +2244,16 @@ public Builder setMeasurementUnit(com.google.analytics.admin.v1beta.CustomMetric return this; } /** + * + * *
      * Required. The type for the custom metric's value.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMeasurementUnit() { @@ -1959,22 +2265,33 @@ public Builder clearMeasurementUnit() { private int scope_ = 0; /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ @@ -1985,24 +2302,37 @@ public Builder setScopeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope() { - com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); - return result == null ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.CustomMetric.MetricScope result = + com.google.analytics.admin.v1beta.CustomMetric.MetricScope.forNumber(scope_); + return result == null + ? com.google.analytics.admin.v1beta.CustomMetric.MetricScope.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ @@ -2016,11 +2346,16 @@ public Builder setScope(com.google.analytics.admin.v1beta.CustomMetric.MetricSco return this; } /** + * + * *
      * Required. Immutable. The scope of this custom metric.
      * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { @@ -2031,7 +2366,8 @@ public Builder clearScope() { } private java.util.List restrictedMetricType_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRestrictedMetricTypeIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { restrictedMetricType_ = new java.util.ArrayList(restrictedMetricType_); @@ -2039,54 +2375,77 @@ 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.
      * 
* - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedMetricType. */ - public java.util.List getRestrictedMetricTypeList() { + public java.util.List + getRestrictedMetricTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>(restrictedMetricType_, restrictedMetricType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType>( + restrictedMetricType_, restrictedMetricType_converter_); } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedMetricType. */ public int getRestrictedMetricTypeCount() { return restrictedMetricType_.size(); } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index) { + public com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType + getRestrictedMetricType(int index) { return restrictedMetricType_converter_.convert(restrictedMetricType_.get(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.
      * 
* - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The restrictedMetricType to set. * @return This builder for chaining. @@ -2102,17 +2461,23 @@ public Builder setRestrictedMetricType( return this; } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addRestrictedMetricType(com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType value) { + public Builder addRestrictedMetricType( + com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType value) { if (value == null) { throw new NullPointerException(); } @@ -2122,18 +2487,25 @@ public Builder addRestrictedMetricType(com.google.analytics.admin.v1beta.CustomM return this; } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The restrictedMetricType to add. * @return This builder for chaining. */ public Builder addAllRestrictedMetricType( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType> + values) { ensureRestrictedMetricTypeIsMutable(); for (com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType value : values) { restrictedMetricType_.add(value.getNumber()); @@ -2142,13 +2514,18 @@ public Builder addAllRestrictedMetricType( return this; } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRestrictedMetricType() { @@ -2158,27 +2535,36 @@ public Builder clearRestrictedMetricType() { return this; } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - public java.util.List - getRestrictedMetricTypeValueList() { + public java.util.List getRestrictedMetricTypeValueList() { return java.util.Collections.unmodifiableList(restrictedMetricType_); } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ @@ -2186,32 +2572,41 @@ public int getRestrictedMetricTypeValue(int index) { return restrictedMetricType_.get(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.
      * 
* - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for restrictedMetricType to set. * @return This builder for chaining. */ - public Builder setRestrictedMetricTypeValue( - int index, int value) { + public Builder setRestrictedMetricTypeValue(int index, int value) { ensureRestrictedMetricTypeIsMutable(); restrictedMetricType_.set(index, value); onChanged(); return this; } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for restrictedMetricType to add. * @return This builder for chaining. */ @@ -2222,18 +2617,22 @@ public Builder addRestrictedMetricTypeValue(int value) { return this; } /** + * + * *
      * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for restrictedMetricType to add. * @return This builder for chaining. */ - public Builder addAllRestrictedMetricTypeValue( - java.lang.Iterable values) { + public Builder addAllRestrictedMetricTypeValue(java.lang.Iterable values) { ensureRestrictedMetricTypeIsMutable(); for (int value : values) { restrictedMetricType_.add(value); @@ -2241,9 +2640,9 @@ public Builder addAllRestrictedMetricTypeValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2253,12 +2652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.CustomMetric) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.CustomMetric) private static final com.google.analytics.admin.v1beta.CustomMetric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.CustomMetric(); } @@ -2267,27 +2666,27 @@ public static com.google.analytics.admin.v1beta.CustomMetric getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomMetric 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomMetric 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; @@ -2302,6 +2701,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.CustomMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java index 462f0f33b642..085976da90a3 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CustomMetricOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface CustomMetricOrBuilder extends +public interface CustomMetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CustomMetric) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this CustomMetric resource.
    * Format: properties/{property}/customMetrics/{customMetric}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -38,11 +61,16 @@ public interface CustomMetricOrBuilder extends
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The parameterName. */ java.lang.String getParameterName(); /** + * + * *
    * Required. Immutable. Tagging name for this custom metric.
    * If this is an event-scoped metric, then this is the event parameter
@@ -51,13 +79,17 @@ public interface CustomMetricOrBuilder extends
    * letter. Max length of 40 characters for event-scoped metrics.
    * 
* - * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for parameterName. */ - com.google.protobuf.ByteString - getParameterNameBytes(); + com.google.protobuf.ByteString getParameterNameBytes(); /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -67,10 +99,13 @@ public interface CustomMetricOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Display name for this custom metric as shown in the Analytics UI.
    * Max length of 82 characters, alphanumeric plus space and underscore
@@ -80,125 +115,176 @@ public interface CustomMetricOrBuilder extends
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description for this custom dimension.
    * Max length of 150 characters.
    * 
* * string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for measurementUnit. */ int getMeasurementUnitValue(); /** + * + * *
    * Required. The type for the custom metric's value.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementUnit. */ com.google.analytics.admin.v1beta.CustomMetric.MeasurementUnit getMeasurementUnit(); /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * Required. Immutable. The scope of this custom metric.
    * 
* - * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ com.google.analytics.admin.v1beta.CustomMetric.MetricScope getScope(); /** + * + * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the restrictedMetricType. */ - java.util.List getRestrictedMetricTypeList(); + java.util.List + getRestrictedMetricTypeList(); /** + * + * *
    * 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 .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of restrictedMetricType. */ 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.
    * 
* - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The restrictedMetricType at the given index. */ - com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType(int index); + com.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType getRestrictedMetricType( + 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.
    * 
* - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for restrictedMetricType. */ - java.util.List - getRestrictedMetricTypeValueList(); + 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.
    * 
* - * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of restrictedMetricType at the given index. */ diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java index 948190f19652..7b1a52b2a17a 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Settings values for data retention. This is a singleton resource.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataRetentionSettings} */ -public final class DataRetentionSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataRetentionSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataRetentionSettings) DataRetentionSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataRetentionSettings.newBuilder() to construct. private DataRetentionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataRetentionSettings() { name_ = ""; eventDataRetention_ = 0; @@ -26,39 +44,43 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataRetentionSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataRetentionSettings.class, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1beta.DataRetentionSettings.class, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); } /** + * + * *
    * Valid values for the data retention duration.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration} */ - public enum RetentionDuration - implements com.google.protobuf.ProtocolMessageEnum { + public enum RetentionDuration implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Data retention time duration is not specified.
      * 
@@ -67,6 +89,8 @@ public enum RetentionDuration */ RETENTION_DURATION_UNSPECIFIED(0), /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -75,6 +99,8 @@ public enum RetentionDuration */ TWO_MONTHS(1), /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -83,6 +109,8 @@ public enum RetentionDuration */ FOURTEEN_MONTHS(3), /** + * + * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -92,6 +120,8 @@ public enum RetentionDuration
      */
     TWENTY_SIX_MONTHS(4),
     /**
+     *
+     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -101,6 +131,8 @@ public enum RetentionDuration
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
+     *
+     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -113,6 +145,8 @@ public enum RetentionDuration
     ;
 
     /**
+     *
+     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -121,6 +155,8 @@ public enum RetentionDuration */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -129,6 +165,8 @@ public enum RetentionDuration */ public static final int TWO_MONTHS_VALUE = 1; /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -137,6 +175,8 @@ public enum RetentionDuration */ public static final int FOURTEEN_MONTHS_VALUE = 3; /** + * + * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -146,6 +186,8 @@ public enum RetentionDuration
      */
     public static final int TWENTY_SIX_MONTHS_VALUE = 4;
     /**
+     *
+     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -155,6 +197,8 @@ public enum RetentionDuration
      */
     public static final int THIRTY_EIGHT_MONTHS_VALUE = 5;
     /**
+     *
+     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -164,7 +208,6 @@ public enum RetentionDuration
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -189,13 +232,20 @@ public static RetentionDuration valueOf(int value) {
      */
     public static RetentionDuration forNumber(int value) {
       switch (value) {
-        case 0: return RETENTION_DURATION_UNSPECIFIED;
-        case 1: return TWO_MONTHS;
-        case 3: return FOURTEEN_MONTHS;
-        case 4: return TWENTY_SIX_MONTHS;
-        case 5: return THIRTY_EIGHT_MONTHS;
-        case 6: return FIFTY_MONTHS;
-        default: return null;
+        case 0:
+          return RETENTION_DURATION_UNSPECIFIED;
+        case 1:
+          return TWO_MONTHS;
+        case 3:
+          return FOURTEEN_MONTHS;
+        case 4:
+          return TWENTY_SIX_MONTHS;
+        case 5:
+          return THIRTY_EIGHT_MONTHS;
+        case 6:
+          return FIFTY_MONTHS;
+        default:
+          return null;
       }
     }
 
@@ -203,29 +253,31 @@ public static RetentionDuration forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        RetentionDuration> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RetentionDuration findValueByNumber(int number) {
-              return RetentionDuration.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public RetentionDuration findValueByNumber(int number) {
+                return RetentionDuration.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.DataRetentionSettings.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.DataRetentionSettings.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final RetentionDuration[] VALUES = values();
@@ -233,8 +285,7 @@ public RetentionDuration findValueByNumber(int number) {
     public static RetentionDuration valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -252,15 +303,19 @@ private RetentionDuration(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -269,30 +324,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -303,38 +358,58 @@ public java.lang.String getName() { public static final int EVENT_DATA_RETENTION_FIELD_NUMBER = 2; private int eventDataRetention_ = 0; /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override public int getEventDataRetentionValue() { + @java.lang.Override + public int getEventDataRetentionValue() { return eventDataRetention_; } /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The eventDataRetention. */ - @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration getEventDataRetention() { - com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); - return result == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration + getEventDataRetention() { + com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = + com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber( + eventDataRetention_); + return result == null + ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED + : result; } public static final int RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER = 3; private boolean resetUserDataOnNewActivity_ = false; /** + * + * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; + * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -343,6 +418,7 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,12 +430,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (eventDataRetention_ != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { + if (eventDataRetention_ + != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration + .RETENTION_DURATION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { @@ -377,13 +455,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (eventDataRetention_ != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.RETENTION_DURATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, eventDataRetention_); + if (eventDataRetention_ + != com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration + .RETENTION_DURATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventDataRetention_); } if (resetUserDataOnNewActivity_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, resetUserDataOnNewActivity_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, resetUserDataOnNewActivity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -393,18 +472,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataRetentionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataRetentionSettings other = (com.google.analytics.admin.v1beta.DataRetentionSettings) obj; + com.google.analytics.admin.v1beta.DataRetentionSettings other = + (com.google.analytics.admin.v1beta.DataRetentionSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (eventDataRetention_ != other.eventDataRetention_) return false; - if (getResetUserDataOnNewActivity() - != other.getResetUserDataOnNewActivity()) return false; + if (getResetUserDataOnNewActivity() != other.getResetUserDataOnNewActivity()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -421,137 +499,143 @@ public int hashCode() { hash = (37 * hash) + EVENT_DATA_RETENTION_FIELD_NUMBER; hash = (53 * hash) + eventDataRetention_; hash = (37 * hash) + RESET_USER_DATA_ON_NEW_ACTIVITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getResetUserDataOnNewActivity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResetUserDataOnNewActivity()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( 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.v1beta.DataRetentionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataRetentionSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataRetentionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DataRetentionSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DataRetentionSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Settings values for data retention. This is a singleton resource.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataRetentionSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataRetentionSettings) com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataRetentionSettings.class, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); + com.google.analytics.admin.v1beta.DataRetentionSettings.class, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataRetentionSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; } @java.lang.Override @@ -584,8 +668,11 @@ public com.google.analytics.admin.v1beta.DataRetentionSettings build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings buildPartial() { - com.google.analytics.admin.v1beta.DataRetentionSettings result = new com.google.analytics.admin.v1beta.DataRetentionSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DataRetentionSettings result = + new com.google.analytics.admin.v1beta.DataRetentionSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -607,38 +694,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataRetentionSettin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DataRetentionSettings) { - return mergeFrom((com.google.analytics.admin.v1beta.DataRetentionSettings)other); + return mergeFrom((com.google.analytics.admin.v1beta.DataRetentionSettings) other); } else { super.mergeFrom(other); return this; @@ -646,7 +734,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DataRetentionSettings other) { - if (other == com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -684,27 +773,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - eventDataRetention_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - resetUserDataOnNewActivity_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + eventDataRetention_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + resetUserDataOnNewActivity_ = 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) { @@ -714,23 +807,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -739,21 +835,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -761,30 +858,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -794,18 +898,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this DataRetentionSetting resource.
      * Format: properties/{property}/dataRetentionSettings
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -815,22 +923,33 @@ public Builder setNameBytes( private int eventDataRetention_ = 0; /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The enum numeric value on the wire for eventDataRetention. */ - @java.lang.Override public int getEventDataRetentionValue() { + @java.lang.Override + public int getEventDataRetentionValue() { return eventDataRetention_; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @param value The enum numeric value on the wire for eventDataRetention to set. * @return This builder for chaining. */ @@ -841,28 +960,44 @@ public Builder setEventDataRetentionValue(int value) { return this; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The eventDataRetention. */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration getEventDataRetention() { - com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber(eventDataRetention_); - return result == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED : result; + public com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration + getEventDataRetention() { + com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration result = + com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.forNumber( + eventDataRetention_); + return result == null + ? com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration.UNRECOGNIZED + : result; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @param value The eventDataRetention to set. * @return This builder for chaining. */ - public Builder setEventDataRetention(com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration value) { + public Builder setEventDataRetention( + com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration value) { if (value == null) { throw new NullPointerException(); } @@ -872,11 +1007,16 @@ public Builder setEventDataRetention(com.google.analytics.admin.v1beta.DataReten return this; } /** + * + * *
      * The length of time that event-level data is retained.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return This builder for chaining. */ public Builder clearEventDataRetention() { @@ -886,14 +1026,17 @@ public Builder clearEventDataRetention() { return this; } - private boolean resetUserDataOnNewActivity_ ; + private boolean resetUserDataOnNewActivity_; /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @return The resetUserDataOnNewActivity. */ @java.lang.Override @@ -901,29 +1044,35 @@ public boolean getResetUserDataOnNewActivity() { return resetUserDataOnNewActivity_; } /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @param value The resetUserDataOnNewActivity to set. * @return This builder for chaining. */ public Builder setResetUserDataOnNewActivity(boolean value) { - + resetUserDataOnNewActivity_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If true, reset the retention period for the user identifier with every
      * event from that user.
      * 
* * bool reset_user_data_on_new_activity = 3; + * * @return This builder for chaining. */ public Builder clearResetUserDataOnNewActivity() { @@ -932,9 +1081,9 @@ public Builder clearResetUserDataOnNewActivity() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -944,12 +1093,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataRetentionSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataRetentionSettings) private static final com.google.analytics.admin.v1beta.DataRetentionSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataRetentionSettings(); } @@ -958,27 +1107,27 @@ public static com.google.analytics.admin.v1beta.DataRetentionSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataRetentionSettings 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataRetentionSettings 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; @@ -993,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataRetentionSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java index 5910cee6479b..bed080308bf6 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataRetentionSettingsOrBuilder.java @@ -1,60 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface DataRetentionSettingsOrBuilder extends +public interface DataRetentionSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataRetentionSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this DataRetentionSetting resource.
    * Format: properties/{property}/dataRetentionSettings
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The enum numeric value on the wire for eventDataRetention. */ int getEventDataRetentionValue(); /** + * + * *
    * The length of time that event-level data is retained.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2; + * + * * @return The eventDataRetention. */ com.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration getEventDataRetention(); /** + * + * *
    * If true, reset the retention period for the user identifier with every
    * event from that user.
    * 
* * bool reset_user_data_on_new_activity = 3; + * * @return The resetUserDataOnNewActivity. */ boolean getResetUserDataOnNewActivity(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java index 6a433f6bb4f8..2dc9e31717d5 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A resource message representing data sharing settings of a Google Analytics
  * account.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.DataSharingSettings}
  */
-public final class DataSharingSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataSharingSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataSharingSettings)
     DataSharingSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataSharingSettings.newBuilder() to construct.
   private DataSharingSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataSharingSettings() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataSharingSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.ResourcesProto
+        .internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.ResourcesProto
+        .internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.DataSharingSettings.class, com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
+            com.google.analytics.admin.v1beta.DataSharingSettings.class,
+            com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -68,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -83,16 +107,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,12 +126,15 @@ public java.lang.String getName() { public static final int SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER = 2; private boolean sharingWithGoogleSupportEnabled_ = false; /** + * + * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; + * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -119,6 +145,8 @@ public boolean getSharingWithGoogleSupportEnabled() { public static final int SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER = 3; private boolean sharingWithGoogleAssignedSalesEnabled_ = false; /** + * + * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -126,6 +154,7 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -136,12 +165,15 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { public static final int SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER = 4; private boolean sharingWithGoogleAnySalesEnabled_ = false; /** + * + * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -152,11 +184,14 @@ public boolean getSharingWithGoogleAnySalesEnabled() { public static final int SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER = 5; private boolean sharingWithGoogleProductsEnabled_ = false; /** + * + * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; + * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -167,11 +202,14 @@ public boolean getSharingWithGoogleProductsEnabled() { public static final int SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER = 6; private boolean sharingWithOthersEnabled_ = false; /** + * + * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; + * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -180,6 +218,7 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -224,24 +262,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sharingWithGoogleSupportEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, sharingWithGoogleSupportEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 2, sharingWithGoogleSupportEnabled_); } if (sharingWithGoogleAssignedSalesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, sharingWithGoogleAssignedSalesEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, sharingWithGoogleAssignedSalesEnabled_); } if (sharingWithGoogleAnySalesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, sharingWithGoogleAnySalesEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, sharingWithGoogleAnySalesEnabled_); } if (sharingWithGoogleProductsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, sharingWithGoogleProductsEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 5, sharingWithGoogleProductsEnabled_); } if (sharingWithOthersEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, sharingWithOthersEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, sharingWithOthersEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,25 +292,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataSharingSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataSharingSettings other = (com.google.analytics.admin.v1beta.DataSharingSettings) obj; + com.google.analytics.admin.v1beta.DataSharingSettings other = + (com.google.analytics.admin.v1beta.DataSharingSettings) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSharingWithGoogleSupportEnabled() - != other.getSharingWithGoogleSupportEnabled()) return false; + if (!getName().equals(other.getName())) return false; + if (getSharingWithGoogleSupportEnabled() != other.getSharingWithGoogleSupportEnabled()) + return false; if (getSharingWithGoogleAssignedSalesEnabled() != other.getSharingWithGoogleAssignedSalesEnabled()) return false; - if (getSharingWithGoogleAnySalesEnabled() - != other.getSharingWithGoogleAnySalesEnabled()) return false; - if (getSharingWithGoogleProductsEnabled() - != other.getSharingWithGoogleProductsEnabled()) return false; - if (getSharingWithOthersEnabled() - != other.getSharingWithOthersEnabled()) return false; + if (getSharingWithGoogleAnySalesEnabled() != other.getSharingWithGoogleAnySalesEnabled()) + return false; + if (getSharingWithGoogleProductsEnabled() != other.getSharingWithGoogleProductsEnabled()) + return false; + if (getSharingWithOthersEnabled() != other.getSharingWithOthersEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,116 +324,127 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleSupportEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleSupportEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleAssignedSalesEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAssignedSalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleAnySalesEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleAnySalesEnabled()); hash = (37 * hash) + SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithGoogleProductsEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getSharingWithGoogleProductsEnabled()); hash = (37 * hash) + SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSharingWithOthersEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSharingWithOthersEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( 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.v1beta.DataSharingSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataSharingSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataSharingSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataSharingSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DataSharingSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DataSharingSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing data sharing settings of a Google Analytics
    * account.
@@ -401,33 +452,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.DataSharingSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataSharingSettings)
       com.google.analytics.admin.v1beta.DataSharingSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.DataSharingSettings.class, com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
+              com.google.analytics.admin.v1beta.DataSharingSettings.class,
+              com.google.analytics.admin.v1beta.DataSharingSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.DataSharingSettings.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -442,9 +492,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.ResourcesProto
+          .internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor;
     }
 
     @java.lang.Override
@@ -463,8 +513,11 @@ public com.google.analytics.admin.v1beta.DataSharingSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.DataSharingSettings buildPartial() {
-      com.google.analytics.admin.v1beta.DataSharingSettings result = new com.google.analytics.admin.v1beta.DataSharingSettings(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.DataSharingSettings result =
+          new com.google.analytics.admin.v1beta.DataSharingSettings(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -495,38 +548,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataSharingSettings
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DataSharingSettings) {
-        return mergeFrom((com.google.analytics.admin.v1beta.DataSharingSettings)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.DataSharingSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -534,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.DataSharingSettings other) {
-      if (other == com.google.analytics.admin.v1beta.DataSharingSettings.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.DataSharingSettings.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -581,42 +636,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              sharingWithGoogleSupportEnabled_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              sharingWithGoogleAnySalesEnabled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 40: {
-              sharingWithGoogleProductsEnabled_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 48: {
-              sharingWithOthersEnabled_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                sharingWithGoogleSupportEnabled_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                sharingWithGoogleAssignedSalesEnabled_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                sharingWithGoogleAnySalesEnabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 40:
+              {
+                sharingWithGoogleProductsEnabled_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 48:
+              {
+                sharingWithOthersEnabled_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            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) {
@@ -626,10 +688,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -637,13 +702,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -652,6 +717,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -659,15 +726,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -675,6 +741,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -682,18 +750,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -701,6 +773,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -710,6 +783,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -717,12 +792,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -730,14 +807,17 @@ public Builder setNameBytes( return this; } - private boolean sharingWithGoogleSupportEnabled_ ; + private boolean sharingWithGoogleSupportEnabled_; /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @return The sharingWithGoogleSupportEnabled. */ @java.lang.Override @@ -745,29 +825,35 @@ public boolean getSharingWithGoogleSupportEnabled() { return sharingWithGoogleSupportEnabled_; } /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @param value The sharingWithGoogleSupportEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleSupportEnabled(boolean value) { - + sharingWithGoogleSupportEnabled_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Allows Google support to access the data in order to help troubleshoot
      * issues.
      * 
* * bool sharing_with_google_support_enabled = 2; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleSupportEnabled() { @@ -777,8 +863,10 @@ public Builder clearSharingWithGoogleSupportEnabled() { return this; } - private boolean sharingWithGoogleAssignedSalesEnabled_ ; + private boolean sharingWithGoogleAssignedSalesEnabled_; /** + * + * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -786,6 +874,7 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -793,6 +882,8 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() { return sharingWithGoogleAssignedSalesEnabled_; } /** + * + * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -800,17 +891,20 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { - + sharingWithGoogleAssignedSalesEnabled_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Allows Google sales teams that are assigned to the customer to access the
      * data in order to suggest configuration changes to improve results.
@@ -818,6 +912,7 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { @@ -827,14 +922,17 @@ public Builder clearSharingWithGoogleAssignedSalesEnabled() { return this; } - private boolean sharingWithGoogleAnySalesEnabled_ ; + private boolean sharingWithGoogleAnySalesEnabled_; /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return The sharingWithGoogleAnySalesEnabled. */ @java.lang.Override @@ -842,29 +940,35 @@ public boolean getSharingWithGoogleAnySalesEnabled() { return sharingWithGoogleAnySalesEnabled_; } /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @param value The sharingWithGoogleAnySalesEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { - + sharingWithGoogleAnySalesEnabled_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Allows any of Google sales to access the data in order to suggest
      * configuration changes to improve results.
      * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAnySalesEnabled() { @@ -874,13 +978,16 @@ public Builder clearSharingWithGoogleAnySalesEnabled() { return this; } - private boolean sharingWithGoogleProductsEnabled_ ; + private boolean sharingWithGoogleProductsEnabled_; /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @return The sharingWithGoogleProductsEnabled. */ @java.lang.Override @@ -888,27 +995,33 @@ public boolean getSharingWithGoogleProductsEnabled() { return sharingWithGoogleProductsEnabled_; } /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @param value The sharingWithGoogleProductsEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithGoogleProductsEnabled(boolean value) { - + sharingWithGoogleProductsEnabled_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Allows Google to use the data to improve other Google products or services.
      * 
* * bool sharing_with_google_products_enabled = 5; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleProductsEnabled() { @@ -918,13 +1031,16 @@ public Builder clearSharingWithGoogleProductsEnabled() { return this; } - private boolean sharingWithOthersEnabled_ ; + private boolean sharingWithOthersEnabled_; /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @return The sharingWithOthersEnabled. */ @java.lang.Override @@ -932,27 +1048,33 @@ public boolean getSharingWithOthersEnabled() { return sharingWithOthersEnabled_; } /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @param value The sharingWithOthersEnabled to set. * @return This builder for chaining. */ public Builder setSharingWithOthersEnabled(boolean value) { - + sharingWithOthersEnabled_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Allows Google to share the data anonymously in aggregate form with others.
      * 
* * bool sharing_with_others_enabled = 6; + * * @return This builder for chaining. */ public Builder clearSharingWithOthersEnabled() { @@ -961,9 +1083,9 @@ public Builder clearSharingWithOthersEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -973,12 +1095,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataSharingSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataSharingSettings) private static final com.google.analytics.admin.v1beta.DataSharingSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataSharingSettings(); } @@ -987,27 +1109,27 @@ public static com.google.analytics.admin.v1beta.DataSharingSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataSharingSettings 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSharingSettings 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; @@ -1022,6 +1144,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataSharingSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java similarity index 75% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java index 0f33586f1451..c23e0c309ce3 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataSharingSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface DataSharingSettingsOrBuilder extends +public interface DataSharingSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataSharingSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -15,10 +33,13 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name.
    * Format: accounts/{account}/dataSharingSettings
@@ -26,23 +47,28 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Allows Google support to access the data in order to help troubleshoot
    * issues.
    * 
* * bool sharing_with_google_support_enabled = 2; + * * @return The sharingWithGoogleSupportEnabled. */ boolean getSharingWithGoogleSupportEnabled(); /** + * + * *
    * Allows Google sales teams that are assigned to the customer to access the
    * data in order to suggest configuration changes to improve results.
@@ -50,37 +76,47 @@ public interface DataSharingSettingsOrBuilder extends
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ boolean getSharingWithGoogleAssignedSalesEnabled(); /** + * + * *
    * Allows any of Google sales to access the data in order to suggest
    * configuration changes to improve results.
    * 
* * bool sharing_with_google_any_sales_enabled = 4; + * * @return The sharingWithGoogleAnySalesEnabled. */ boolean getSharingWithGoogleAnySalesEnabled(); /** + * + * *
    * Allows Google to use the data to improve other Google products or services.
    * 
* * bool sharing_with_google_products_enabled = 5; + * * @return The sharingWithGoogleProductsEnabled. */ boolean getSharingWithGoogleProductsEnabled(); /** + * + * *
    * Allows Google to share the data anonymously in aggregate form with others.
    * 
* * bool sharing_with_others_enabled = 6; + * * @return The sharingWithOthersEnabled. */ boolean getSharingWithOthersEnabled(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java index 317115d3b44a..236e116df618 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStream.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A resource message representing a data stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream} */ -public final class DataStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream) DataStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataStream.newBuilder() to construct. private DataStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DataStream() { name_ = ""; type_ = 0; @@ -27,39 +45,43 @@ private DataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.class, com.google.analytics.admin.v1beta.DataStream.Builder.class); + com.google.analytics.admin.v1beta.DataStream.class, + com.google.analytics.admin.v1beta.DataStream.Builder.class); } /** + * + * *
    * The type of the data stream.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.DataStream.DataStreamType} */ - public enum DataStreamType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataStreamType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Type unknown or not specified.
      * 
@@ -68,6 +90,8 @@ public enum DataStreamType */ DATA_STREAM_TYPE_UNSPECIFIED(0), /** + * + * *
      * Web data stream.
      * 
@@ -76,6 +100,8 @@ public enum DataStreamType */ WEB_DATA_STREAM(1), /** + * + * *
      * Android app data stream.
      * 
@@ -84,6 +110,8 @@ public enum DataStreamType */ ANDROID_APP_DATA_STREAM(2), /** + * + * *
      * iOS app data stream.
      * 
@@ -95,6 +123,8 @@ public enum DataStreamType ; /** + * + * *
      * Type unknown or not specified.
      * 
@@ -103,6 +133,8 @@ public enum DataStreamType */ public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Web data stream.
      * 
@@ -111,6 +143,8 @@ public enum DataStreamType */ public static final int WEB_DATA_STREAM_VALUE = 1; /** + * + * *
      * Android app data stream.
      * 
@@ -119,6 +153,8 @@ public enum DataStreamType */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; /** + * + * *
      * iOS app data stream.
      * 
@@ -127,7 +163,6 @@ public enum DataStreamType */ public static final int IOS_APP_DATA_STREAM_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -152,50 +187,51 @@ public static DataStreamType valueOf(int value) { */ public static DataStreamType forNumber(int value) { switch (value) { - case 0: return DATA_STREAM_TYPE_UNSPECIFIED; - case 1: return WEB_DATA_STREAM; - case 2: return ANDROID_APP_DATA_STREAM; - case 3: return IOS_APP_DATA_STREAM; - default: return null; + case 0: + return DATA_STREAM_TYPE_UNSPECIFIED; + case 1: + return WEB_DATA_STREAM; + case 2: + return ANDROID_APP_DATA_STREAM; + case 3: + return IOS_APP_DATA_STREAM; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DataStreamType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataStreamType findValueByNumber(int number) { - return DataStreamType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataStreamType findValueByNumber(int number) { + return DataStreamType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.DataStream.getDescriptor().getEnumTypes().get(0); } private static final DataStreamType[] VALUES = values(); - public static DataStreamType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataStreamType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -212,92 +248,111 @@ private DataStreamType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.DataStream.DataStreamType) } - public interface WebStreamDataOrBuilder extends + public interface WebStreamDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream.WebStreamData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ java.lang.String getMeasurementId(); /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ - com.google.protobuf.ByteString - getMeasurementIdBytes(); + com.google.protobuf.ByteString getMeasurementIdBytes(); /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - com.google.protobuf.ByteString - getDefaultUriBytes(); + com.google.protobuf.ByteString getDefaultUriBytes(); } /** + * + * *
    * Data specific to web streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.WebStreamData} */ - public static final class WebStreamData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WebStreamData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream.WebStreamData) WebStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WebStreamData.newBuilder() to construct. private WebStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WebStreamData() { measurementId_ = ""; firebaseAppId_ = ""; @@ -306,39 +361,44 @@ private WebStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, + com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); } public static final int MEASUREMENT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object measurementId_ = ""; /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ @java.lang.Override @@ -347,30 +407,30 @@ public java.lang.String getMeasurementId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; } } /** + * + * *
      * Output only. Analytics "Measurement ID", without the "G-" prefix.
      * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ @java.lang.Override - public com.google.protobuf.ByteString - getMeasurementIdBytes() { + public com.google.protobuf.ByteString getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); measurementId_ = b; return b; } else { @@ -379,15 +439,19 @@ public java.lang.String getMeasurementId() { } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -396,30 +460,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** + * + * *
      * Output only. ID of the corresponding web app in Firebase, if any.
      * This ID can change if the web app is deleted and recreated.
      * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -428,15 +492,19 @@ public java.lang.String getFirebaseAppId() { } public static final int DEFAULT_URI_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object defaultUri_ = ""; /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ @java.lang.Override @@ -445,30 +513,30 @@ public java.lang.String getDefaultUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; } } /** + * + * *
      * Immutable. Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -477,6 +545,7 @@ public java.lang.String getDefaultUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -488,8 +557,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(measurementId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, measurementId_); } @@ -525,19 +593,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream.WebStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream.WebStreamData other = (com.google.analytics.admin.v1beta.DataStream.WebStreamData) obj; + com.google.analytics.admin.v1beta.DataStream.WebStreamData other = + (com.google.analytics.admin.v1beta.DataStream.WebStreamData) obj; - if (!getMeasurementId() - .equals(other.getMeasurementId())) return false; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; - if (!getDefaultUri() - .equals(other.getDefaultUri())) return false; + if (!getMeasurementId().equals(other.getMeasurementId())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getDefaultUri().equals(other.getDefaultUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -561,87 +627,94 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( 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.v1beta.DataStream.WebStreamData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.WebStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream.WebStreamData prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DataStream.WebStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -651,39 +724,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Data specific to web streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.WebStreamData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream.WebStreamData) com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.WebStreamData.class, + com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataStream.WebStreamData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -695,13 +770,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.WebStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.WebStreamData + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance(); } @@ -716,13 +792,17 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.WebStreamData buildPartial() { - com.google.analytics.admin.v1beta.DataStream.WebStreamData result = new com.google.analytics.admin.v1beta.DataStream.WebStreamData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DataStream.WebStreamData result = + new com.google.analytics.admin.v1beta.DataStream.WebStreamData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.WebStreamData result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.DataStream.WebStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.measurementId_ = measurementId_; @@ -739,38 +819,41 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.WebStrea public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1beta.DataStream.WebStreamData) { - return mergeFrom((com.google.analytics.admin.v1beta.DataStream.WebStreamData)other); + return mergeFrom((com.google.analytics.admin.v1beta.DataStream.WebStreamData) other); } else { super.mergeFrom(other); return this; @@ -778,7 +861,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream.WebStreamData other) { - if (other == com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance()) + return this; if (!other.getMeasurementId().isEmpty()) { measurementId_ = other.measurementId_; bitField0_ |= 0x00000001; @@ -820,27 +905,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - measurementId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - defaultUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + measurementId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + defaultUri_ = 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) { @@ -850,23 +939,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object measurementId_ = ""; /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ public java.lang.String getMeasurementId() { java.lang.Object ref = measurementId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); measurementId_ = s; return s; @@ -875,21 +967,22 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for measurementId. */ - public com.google.protobuf.ByteString - getMeasurementIdBytes() { + public com.google.protobuf.ByteString getMeasurementIdBytes() { java.lang.Object ref = measurementId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); measurementId_ = b; return b; } else { @@ -897,30 +990,37 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMeasurementId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } measurementId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMeasurementId() { @@ -930,18 +1030,22 @@ public Builder clearMeasurementId() { return this; } /** + * + * *
        * Output only. Analytics "Measurement ID", without the "G-" prefix.
        * Example: "G-1A2BCD345E" would just be "1A2BCD345E"
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for measurementId to set. * @return This builder for chaining. */ - public Builder setMeasurementIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMeasurementIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); measurementId_ = value; bitField0_ |= 0x00000001; @@ -951,19 +1055,21 @@ public Builder setMeasurementIdBytes( private java.lang.Object firebaseAppId_ = ""; /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -972,21 +1078,22 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -994,30 +1101,37 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } firebaseAppId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -1027,18 +1141,22 @@ public Builder clearFirebaseAppId() { return this; } /** + * + * *
        * Output only. ID of the corresponding web app in Firebase, if any.
        * This ID can change if the web app is deleted and recreated.
        * 
* * string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000002; @@ -1048,19 +1166,21 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object defaultUri_ = ""; /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The defaultUri. */ public java.lang.String getDefaultUri() { java.lang.Object ref = defaultUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultUri_ = s; return s; @@ -1069,21 +1189,22 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for defaultUri. */ - public com.google.protobuf.ByteString - getDefaultUriBytes() { + public com.google.protobuf.ByteString getDefaultUriBytes() { java.lang.Object ref = defaultUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultUri_ = b; return b; } else { @@ -1091,30 +1212,37 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDefaultUri() { @@ -1124,24 +1252,29 @@ public Builder clearDefaultUri() { return this; } /** + * + * *
        * Immutable. Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for defaultUri to set. * @return This builder for chaining. */ - public Builder setDefaultUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultUri_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1154,12 +1287,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream.WebStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream.WebStreamData) - private static final com.google.analytics.admin.v1beta.DataStream.WebStreamData DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.DataStream.WebStreamData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream.WebStreamData(); } @@ -1168,27 +1302,28 @@ public static com.google.analytics.admin.v1beta.DataStream.WebStreamData getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WebStreamData 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebStreamData 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; @@ -1203,73 +1338,86 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataStream.WebStreamData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AndroidAppStreamDataOrBuilder extends + public interface AndroidAppStreamDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); } /** + * + * *
    * Data specific to Android app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.AndroidAppStreamData} */ - public static final class AndroidAppStreamData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AndroidAppStreamData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) AndroidAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AndroidAppStreamData.newBuilder() to construct. private AndroidAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AndroidAppStreamData() { firebaseAppId_ = ""; packageName_ = ""; @@ -1277,39 +1425,44 @@ private AndroidAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AndroidAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -1318,30 +1471,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** + * + * *
      * Output only. ID of the corresponding Android app in Firebase, if any.
      * This ID can change if the Android app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1350,15 +1503,19 @@ public java.lang.String getFirebaseAppId() { } public static final int PACKAGE_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object packageName_ = ""; /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The packageName. */ @java.lang.Override @@ -1367,30 +1524,30 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
      * Immutable. The package name for the app being measured.
      * Example: "com.example.myandroidapp"
      * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1399,6 +1556,7 @@ public java.lang.String getPackageName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1410,8 +1568,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -1441,17 +1598,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other = (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) obj; + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other = + (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) obj; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1473,87 +1629,95 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( 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.v1beta.DataStream.AndroidAppStreamData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData 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.v1beta.DataStream.AndroidAppStreamData + 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.v1beta.DataStream.AndroidAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1563,39 +1727,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Data specific to Android app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.AndroidAppStreamData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.class, + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1606,14 +1773,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + .getDefaultInstance(); } @java.lang.Override @@ -1627,13 +1796,17 @@ public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData build() @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData buildPartial() { - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result = new com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result = + new com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -1647,46 +1820,53 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.AndroidA public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) { - return mergeFrom((com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData)other); + return mergeFrom( + (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other) { - if (other == com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData other) { + if (other + == com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + .getDefaultInstance()) return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -1723,22 +1903,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - packageName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + packageName_ = 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) { @@ -1748,23 +1931,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -1773,21 +1959,22 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -1795,30 +1982,37 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -1828,18 +2022,22 @@ public Builder clearFirebaseAppId() { return this; } /** + * + * *
        * Output only. ID of the corresponding Android app in Firebase, if any.
        * This ID can change if the Android app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -1849,19 +2047,21 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object packageName_ = ""; /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1870,21 +2070,22 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1892,30 +2093,37 @@ public java.lang.String getPackageName() { } } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPackageName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearPackageName() { @@ -1925,24 +2133,29 @@ public Builder clearPackageName() { return this; } /** + * + * *
        * Immutable. The package name for the app being measured.
        * Example: "com.example.myandroidapp"
        * 
* * string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); packageName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1955,41 +2168,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) - private static final com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData(); } - public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AndroidAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AndroidAppStreamData 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; @@ -2001,76 +2217,94 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IosAppStreamDataOrBuilder extends + public interface IosAppStreamDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream.IosAppStreamData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ java.lang.String getFirebaseAppId(); /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - com.google.protobuf.ByteString - getFirebaseAppIdBytes(); + com.google.protobuf.ByteString getFirebaseAppIdBytes(); /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bundleId. */ java.lang.String getBundleId(); /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for bundleId. */ - com.google.protobuf.ByteString - getBundleIdBytes(); + com.google.protobuf.ByteString getBundleIdBytes(); } /** + * + * *
    * Data specific to iOS app streams.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.IosAppStreamData} */ - public static final class IosAppStreamData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IosAppStreamData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DataStream.IosAppStreamData) IosAppStreamDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IosAppStreamData.newBuilder() to construct. private IosAppStreamData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IosAppStreamData() { firebaseAppId_ = ""; bundleId_ = ""; @@ -2078,39 +2312,44 @@ private IosAppStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IosAppStreamData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); } public static final int FIREBASE_APP_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object firebaseAppId_ = ""; /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ @java.lang.Override @@ -2119,30 +2358,30 @@ public java.lang.String getFirebaseAppId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; } } /** + * + * *
      * Output only. ID of the corresponding iOS app in Firebase, if any.
      * This ID can change if the iOS app is deleted and recreated.
      * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2151,15 +2390,21 @@ public java.lang.String getFirebaseAppId() { } public static final int BUNDLE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object bundleId_ = ""; /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bundleId. */ @java.lang.Override @@ -2168,30 +2413,32 @@ public java.lang.String getBundleId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; } } /** + * + * *
      * Required. Immutable. The Apple App Store Bundle ID for the app
      * Example: "com.example.myiosapp"
      * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for bundleId. */ @java.lang.Override - public com.google.protobuf.ByteString - getBundleIdBytes() { + public com.google.protobuf.ByteString getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2200,6 +2447,7 @@ public java.lang.String getBundleId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2211,8 +2459,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firebaseAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firebaseAppId_); } @@ -2242,17 +2489,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream.IosAppStreamData)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other = (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) obj; + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other = + (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) obj; - if (!getFirebaseAppId() - .equals(other.getFirebaseAppId())) return false; - if (!getBundleId() - .equals(other.getBundleId())) return false; + if (!getFirebaseAppId().equals(other.getFirebaseAppId())) return false; + if (!getBundleId().equals(other.getBundleId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2274,87 +2520,94 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( 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.v1beta.DataStream.IosAppStreamData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2364,39 +2617,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Data specific to iOS app streams.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream.IosAppStreamData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream.IosAppStreamData) com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.class, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2407,13 +2662,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } @@ -2428,13 +2684,17 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData buildPartial() { - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result = new com.google.analytics.admin.v1beta.DataStream.IosAppStreamData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result = + new com.google.analytics.admin.v1beta.DataStream.IosAppStreamData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firebaseAppId_ = firebaseAppId_; @@ -2448,46 +2708,52 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataStream.IosAppSt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) { - return mergeFrom((com.google.analytics.admin.v1beta.DataStream.IosAppStreamData)other); + return mergeFrom((com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other) { - if (other == com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData other) { + if (other + == com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance()) + return this; if (!other.getFirebaseAppId().isEmpty()) { firebaseAppId_ = other.firebaseAppId_; bitField0_ |= 0x00000001; @@ -2524,22 +2790,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - firebaseAppId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - bundleId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + firebaseAppId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + bundleId_ = 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) { @@ -2549,23 +2818,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object firebaseAppId_ = ""; /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The firebaseAppId. */ public java.lang.String getFirebaseAppId() { java.lang.Object ref = firebaseAppId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firebaseAppId_ = s; return s; @@ -2574,21 +2846,22 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for firebaseAppId. */ - public com.google.protobuf.ByteString - getFirebaseAppIdBytes() { + public com.google.protobuf.ByteString getFirebaseAppIdBytes() { java.lang.Object ref = firebaseAppId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firebaseAppId_ = b; return b; } else { @@ -2596,30 +2869,37 @@ public java.lang.String getFirebaseAppId() { } } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } firebaseAppId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFirebaseAppId() { @@ -2629,18 +2909,22 @@ public Builder clearFirebaseAppId() { return this; } /** + * + * *
        * Output only. ID of the corresponding iOS app in Firebase, if any.
        * This ID can change if the iOS app is deleted and recreated.
        * 
* * string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for firebaseAppId to set. * @return This builder for chaining. */ - public Builder setFirebaseAppIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFirebaseAppIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); firebaseAppId_ = value; bitField0_ |= 0x00000001; @@ -2650,19 +2934,23 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object bundleId_ = ""; /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bundleId. */ public java.lang.String getBundleId() { java.lang.Object ref = bundleId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bundleId_ = s; return s; @@ -2671,21 +2959,24 @@ public java.lang.String getBundleId() { } } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for bundleId. */ - public com.google.protobuf.ByteString - getBundleIdBytes() { + public com.google.protobuf.ByteString getBundleIdBytes() { java.lang.Object ref = bundleId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bundleId_ = b; return b; } else { @@ -2693,30 +2984,41 @@ public java.lang.String getBundleId() { } } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bundleId to set. * @return This builder for chaining. */ - public Builder setBundleId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBundleId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearBundleId() { @@ -2726,24 +3028,31 @@ public Builder clearBundleId() { return this; } /** + * + * *
        * Required. Immutable. The Apple App Store Bundle ID for the app
        * Example: "com.example.myiosapp"
        * 
* - * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes for bundleId to set. * @return This builder for chaining. */ - public Builder setBundleIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBundleIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); bundleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2756,41 +3065,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream.IosAppStreamData) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream.IosAppStreamData) - private static final com.google.analytics.admin.v1beta.DataStream.IosAppStreamData DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.DataStream.IosAppStreamData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream.IosAppStreamData(); } - public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DataStream.IosAppStreamData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IosAppStreamData 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IosAppStreamData 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; @@ -2802,22 +3114,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int streamDataCase_ = 0; private java.lang.Object streamData_; + public enum StreamDataCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEB_STREAM_DATA(6), ANDROID_APP_STREAM_DATA(7), IOS_APP_STREAM_DATA(8), STREAMDATA_NOT_SET(0); private final int value; + private StreamDataCase(int value) { this.value = value; } @@ -2833,32 +3148,39 @@ public static StreamDataCase valueOf(int value) { public static StreamDataCase forNumber(int value) { switch (value) { - case 6: return WEB_STREAM_DATA; - case 7: return ANDROID_APP_STREAM_DATA; - case 8: return IOS_APP_STREAM_DATA; - case 0: return STREAMDATA_NOT_SET; - default: return null; + case 6: + return WEB_STREAM_DATA; + case 7: + return ANDROID_APP_STREAM_DATA; + case 8: + return IOS_APP_STREAM_DATA; + case 0: + return STREAMDATA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public StreamDataCase - getStreamDataCase() { - return StreamDataCase.forNumber( - streamDataCase_); + public StreamDataCase getStreamDataCase() { + return StreamDataCase.forNumber(streamDataCase_); } public static final int WEB_STREAM_DATA_FIELD_NUMBER = 6; /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -2866,22 +3188,27 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * * @return The webStreamData. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamData() { if (streamDataCase_ == 6) { - return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance(); } /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -2890,21 +3217,27 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamDa
    * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
+  public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder
+      getWebStreamDataOrBuilder() {
     if (streamDataCase_ == 6) {
-       return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_;
+      return (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_;
     }
     return com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance();
   }
 
   public static final int ANDROID_APP_STREAM_DATA_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -2912,45 +3245,60 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getAndroidAppStreamData() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + getAndroidAppStreamData() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder + getAndroidAppStreamDataOrBuilder() { if (streamDataCase_ == 7) { - return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); } public static final int IOS_APP_STREAM_DATA_FIELD_NUMBER = 8; /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -2958,41 +3306,52 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getIosAppStreamData() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder() { if (streamDataCase_ == 8) { - return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; + return (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_; } return com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3000,6 +3359,7 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder ge
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -3008,14 +3368,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -3023,16 +3384,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3043,33 +3403,51 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1beta.DataStream.DataStreamType result = com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); - return result == null ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.DataStream.DataStreamType getType() { + com.google.analytics.admin.v1beta.DataStream.DataStreamType result = + com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); + return result == null + ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED + : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3077,6 +3455,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -3085,14 +3464,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -3100,16 +3480,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -3120,11 +3499,15 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -3132,11 +3515,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -3144,11 +3531,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -3158,11 +3548,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3170,11 +3564,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -3182,11 +3580,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3194,6 +3595,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3205,12 +3607,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { @@ -3223,13 +3626,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, getUpdateTime()); } if (streamDataCase_ == 6) { - output.writeMessage(6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); + output.writeMessage( + 6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - output.writeMessage(7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); + output.writeMessage( + 7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - output.writeMessage(8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); + output.writeMessage( + 8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); } getUnknownFields().writeTo(output); } @@ -3243,32 +3649,34 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.analytics.admin.v1beta.DataStream.DataStreamType.DATA_STREAM_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (streamDataCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_); } if (streamDataCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_); } if (streamDataCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3278,41 +3686,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DataStream)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DataStream other = (com.google.analytics.admin.v1beta.DataStream) obj; + com.google.analytics.admin.v1beta.DataStream other = + (com.google.analytics.admin.v1beta.DataStream) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getStreamDataCase().equals(other.getStreamDataCase())) return false; switch (streamDataCase_) { case 6: - if (!getWebStreamData() - .equals(other.getWebStreamData())) return false; + if (!getWebStreamData().equals(other.getWebStreamData())) return false; break; case 7: - if (!getAndroidAppStreamData() - .equals(other.getAndroidAppStreamData())) return false; + if (!getAndroidAppStreamData().equals(other.getAndroidAppStreamData())) return false; break; case 8: - if (!getIosAppStreamData() - .equals(other.getIosAppStreamData())) return false; + if (!getIosAppStreamData().equals(other.getIosAppStreamData())) return false; break; case 0: default: @@ -3363,130 +3765,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.DataStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.DataStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom( 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.v1beta.DataStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DataStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DataStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DataStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.DataStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a data stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DataStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DataStream) com.google.analytics.admin.v1beta.DataStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DataStream.class, com.google.analytics.admin.v1beta.DataStream.Builder.class); + com.google.analytics.admin.v1beta.DataStream.class, + com.google.analytics.admin.v1beta.DataStream.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DataStream.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3519,9 +3927,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_DataStream_descriptor; } @java.lang.Override @@ -3540,8 +3948,11 @@ public com.google.analytics.admin.v1beta.DataStream build() { @java.lang.Override public com.google.analytics.admin.v1beta.DataStream buildPartial() { - com.google.analytics.admin.v1beta.DataStream result = new com.google.analytics.admin.v1beta.DataStream(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DataStream result = + new com.google.analytics.admin.v1beta.DataStream(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3559,30 +3970,23 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DataStream result) result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } private void buildPartialOneofs(com.google.analytics.admin.v1beta.DataStream result) { result.streamDataCase_ = streamDataCase_; result.streamData_ = this.streamData_; - if (streamDataCase_ == 6 && - webStreamDataBuilder_ != null) { + if (streamDataCase_ == 6 && webStreamDataBuilder_ != null) { result.streamData_ = webStreamDataBuilder_.build(); } - if (streamDataCase_ == 7 && - androidAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 7 && androidAppStreamDataBuilder_ != null) { result.streamData_ = androidAppStreamDataBuilder_.build(); } - if (streamDataCase_ == 8 && - iosAppStreamDataBuilder_ != null) { + if (streamDataCase_ == 8 && iosAppStreamDataBuilder_ != null) { result.streamData_ = iosAppStreamDataBuilder_.build(); } } @@ -3591,38 +3995,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1beta.DataStream res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DataStream) { - return mergeFrom((com.google.analytics.admin.v1beta.DataStream)other); + return mergeFrom((com.google.analytics.admin.v1beta.DataStream) other); } else { super.mergeFrom(other); return this; @@ -3651,21 +4056,25 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.DataStream other) { mergeUpdateTime(other.getUpdateTime()); } switch (other.getStreamDataCase()) { - case WEB_STREAM_DATA: { - mergeWebStreamData(other.getWebStreamData()); - break; - } - case ANDROID_APP_STREAM_DATA: { - mergeAndroidAppStreamData(other.getAndroidAppStreamData()); - break; - } - case IOS_APP_STREAM_DATA: { - mergeIosAppStreamData(other.getIosAppStreamData()); - break; - } - case STREAMDATA_NOT_SET: { - break; - } + case WEB_STREAM_DATA: + { + mergeWebStreamData(other.getWebStreamData()); + break; + } + case ANDROID_APP_STREAM_DATA: + { + mergeAndroidAppStreamData(other.getAndroidAppStreamData()); + break; + } + case IOS_APP_STREAM_DATA: + { + mergeIosAppStreamData(other.getIosAppStreamData()); + break; + } + case STREAMDATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3693,62 +4102,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 16 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 50: { - input.readMessage( - getWebStreamDataFieldBuilder().getBuilder(), - extensionRegistry); - streamDataCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getAndroidAppStreamDataFieldBuilder().getBuilder(), - extensionRegistry); - streamDataCase_ = 7; - break; - } // case 58 - case 66: { - input.readMessage( - getIosAppStreamDataFieldBuilder().getBuilder(), - extensionRegistry); - streamDataCase_ = 8; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 16 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 50: + { + input.readMessage(getWebStreamDataFieldBuilder().getBuilder(), extensionRegistry); + streamDataCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage( + getAndroidAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); + streamDataCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage( + getIosAppStreamDataFieldBuilder().getBuilder(), extensionRegistry); + streamDataCase_ = 8; + 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) { @@ -3758,12 +4168,12 @@ public Builder mergeFrom( } // finally return this; } + private int streamDataCase_ = 0; private java.lang.Object streamData_; - public StreamDataCase - getStreamDataCase() { - return StreamDataCase.forNumber( - streamDataCase_); + + public StreamDataCase getStreamDataCase() { + return StreamDataCase.forNumber(streamDataCase_); } public Builder clearStreamData() { @@ -3776,14 +4186,20 @@ public Builder clearStreamData() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.WebStreamData, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder> webStreamDataBuilder_; + com.google.analytics.admin.v1beta.DataStream.WebStreamData, + com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, + com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder> + webStreamDataBuilder_; /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * * @return Whether the webStreamData field is set. */ @java.lang.Override @@ -3791,12 +4207,15 @@ public boolean hasWebStreamData() { return streamDataCase_ == 6; } /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
      * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * * @return The webStreamData. */ @java.lang.Override @@ -3814,6 +4233,8 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamDa } } /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3821,7 +4242,8 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamDa
      *
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder setWebStreamData(com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
+    public Builder setWebStreamData(
+        com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3835,6 +4257,8 @@ public Builder setWebStreamData(com.google.analytics.admin.v1beta.DataStream.Web
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3854,6 +4278,8 @@ public Builder setWebStreamData(
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3861,12 +4287,18 @@ public Builder setWebStreamData(
      *
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
-    public Builder mergeWebStreamData(com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
+    public Builder mergeWebStreamData(
+        com.google.analytics.admin.v1beta.DataStream.WebStreamData value) {
       if (webStreamDataBuilder_ == null) {
-        if (streamDataCase_ == 6 &&
-            streamData_ != com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance()) {
-          streamData_ = com.google.analytics.admin.v1beta.DataStream.WebStreamData.newBuilder((com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_)
-              .mergeFrom(value).buildPartial();
+        if (streamDataCase_ == 6
+            && streamData_
+                != com.google.analytics.admin.v1beta.DataStream.WebStreamData
+                    .getDefaultInstance()) {
+          streamData_ =
+              com.google.analytics.admin.v1beta.DataStream.WebStreamData.newBuilder(
+                      (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           streamData_ = value;
         }
@@ -3882,6 +4314,8 @@ public Builder mergeWebStreamData(com.google.analytics.admin.v1beta.DataStream.W
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3906,6 +4340,8 @@ public Builder clearWebStreamData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3913,10 +4349,13 @@ public Builder clearWebStreamData() {
      *
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
-    public com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder getWebStreamDataBuilder() {
+    public com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder
+        getWebStreamDataBuilder() {
       return getWebStreamDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3925,7 +4364,8 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder getWeb
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder() {
+    public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder
+        getWebStreamDataOrBuilder() {
       if ((streamDataCase_ == 6) && (webStreamDataBuilder_ != null)) {
         return webStreamDataBuilder_.getMessageOrBuilder();
       } else {
@@ -3936,6 +4376,8 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWe
       }
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3944,14 +4386,20 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWe
      * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.DataStream.WebStreamData, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder> 
+            com.google.analytics.admin.v1beta.DataStream.WebStreamData,
+            com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder,
+            com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder>
         getWebStreamDataFieldBuilder() {
       if (webStreamDataBuilder_ == null) {
         if (!(streamDataCase_ == 6)) {
-          streamData_ = com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance();
+          streamData_ =
+              com.google.analytics.admin.v1beta.DataStream.WebStreamData.getDefaultInstance();
         }
-        webStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.DataStream.WebStreamData, com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder>(
+        webStreamDataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1beta.DataStream.WebStreamData,
+                com.google.analytics.admin.v1beta.DataStream.WebStreamData.Builder,
+                com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder>(
                 (com.google.analytics.admin.v1beta.DataStream.WebStreamData) streamData_,
                 getParentForChildren(),
                 isClean());
@@ -3963,14 +4411,22 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWe
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder> androidAppStreamDataBuilder_;
+            com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData,
+            com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder,
+            com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder>
+        androidAppStreamDataBuilder_;
     /**
+     *
+     *
      * 
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return Whether the androidAppStreamData field is set. */ @java.lang.Override @@ -3978,37 +4434,50 @@ public boolean hasAndroidAppStreamData() { return streamDataCase_ == 7; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return The androidAppStreamData. */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getAndroidAppStreamData() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + getAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + .getDefaultInstance(); } else { if (streamDataCase_ == 7) { return androidAppStreamDataBuilder_.getMessage(); } - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + .getDefaultInstance(); } } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - public Builder setAndroidAppStreamData(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { + public Builder setAndroidAppStreamData( + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4022,12 +4491,16 @@ public Builder setAndroidAppStreamData(com.google.analytics.admin.v1beta.DataStr return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ public Builder setAndroidAppStreamData( com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder builderForValue) { @@ -4041,19 +4514,30 @@ public Builder setAndroidAppStreamData( return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - public Builder mergeAndroidAppStreamData(com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { + public Builder mergeAndroidAppStreamData( + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData value) { if (androidAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 7 && - streamData_ != com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance()) { - streamData_ = com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder((com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_) - .mergeFrom(value).buildPartial(); + if (streamDataCase_ == 7 + && streamData_ + != com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + .getDefaultInstance()) { + streamData_ = + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.newBuilder( + (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) + streamData_) + .mergeFrom(value) + .buildPartial(); } else { streamData_ = value; } @@ -4069,12 +4553,16 @@ public Builder mergeAndroidAppStreamData(com.google.analytics.admin.v1beta.DataS return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ public Builder clearAndroidAppStreamData() { if (androidAppStreamDataBuilder_ == null) { @@ -4093,52 +4581,74 @@ public Builder clearAndroidAppStreamData() { return this; } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder getAndroidAppStreamDataBuilder() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder + getAndroidAppStreamDataBuilder() { return getAndroidAppStreamDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder + getAndroidAppStreamDataOrBuilder() { if ((streamDataCase_ == 7) && (androidAppStreamDataBuilder_ != null)) { return androidAppStreamDataBuilder_.getMessageOrBuilder(); } else { if (streamDataCase_ == 7) { return (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_; } - return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); + return com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + .getDefaultInstance(); } } /** + * + * *
      * Data specific to Android app streams. Must be populated if type is
      * ANDROID_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder> + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder> getAndroidAppStreamDataFieldBuilder() { if (androidAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 7)) { - streamData_ = com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.getDefaultInstance(); + streamData_ = + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + .getDefaultInstance(); } - androidAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder>( + androidAppStreamDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData, + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData.Builder, + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder>( (com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4150,14 +4660,21 @@ public com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> iosAppStreamDataBuilder_; + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> + iosAppStreamDataBuilder_; /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return Whether the iosAppStreamData field is set. */ @java.lang.Override @@ -4165,12 +4682,16 @@ public boolean hasIosAppStreamData() { return streamDataCase_ == 8; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ @java.lang.Override @@ -4188,14 +4709,18 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getIosAppSt } } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - public Builder setIosAppStreamData(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { + public Builder setIosAppStreamData( + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4209,12 +4734,15 @@ public Builder setIosAppStreamData(com.google.analytics.admin.v1beta.DataStream. return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ public Builder setIosAppStreamData( com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder builderForValue) { @@ -4228,19 +4756,28 @@ public Builder setIosAppStreamData( return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - public Builder mergeIosAppStreamData(com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { + public Builder mergeIosAppStreamData( + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData value) { if (iosAppStreamDataBuilder_ == null) { - if (streamDataCase_ == 8 && - streamData_ != com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance()) { - streamData_ = com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.newBuilder((com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_) - .mergeFrom(value).buildPartial(); + if (streamDataCase_ == 8 + && streamData_ + != com.google.analytics.admin.v1beta.DataStream.IosAppStreamData + .getDefaultInstance()) { + streamData_ = + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.newBuilder( + (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_) + .mergeFrom(value) + .buildPartial(); } else { streamData_ = value; } @@ -4256,12 +4793,15 @@ public Builder mergeIosAppStreamData(com.google.analytics.admin.v1beta.DataStrea return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ public Builder clearIosAppStreamData() { if (iosAppStreamDataBuilder_ == null) { @@ -4280,26 +4820,34 @@ public Builder clearIosAppStreamData() { return this; } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder getIosAppStreamDataBuilder() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder + getIosAppStreamDataBuilder() { return getIosAppStreamDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder() { + public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder() { if ((streamDataCase_ == 8) && (iosAppStreamDataBuilder_ != null)) { return iosAppStreamDataBuilder_.getMessageOrBuilder(); } else { @@ -4310,22 +4858,31 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder ge } } /** + * + * *
      * Data specific to iOS app streams. Must be populated if type is
      * IOS_APP_DATA_STREAM.
      * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder> getIosAppStreamDataFieldBuilder() { if (iosAppStreamDataBuilder_ == null) { if (!(streamDataCase_ == 8)) { - streamData_ = com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); + streamData_ = + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.getDefaultInstance(); } - iosAppStreamDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder>( + iosAppStreamDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamData.Builder, + com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder>( (com.google.analytics.admin.v1beta.DataStream.IosAppStreamData) streamData_, getParentForChildren(), isClean()); @@ -4338,6 +4895,8 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder ge private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4345,13 +4904,13 @@ public com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder ge
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4360,6 +4919,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4367,15 +4928,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4383,6 +4943,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4390,18 +4952,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4409,6 +4975,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -4418,6 +4985,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4425,12 +4994,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -4440,22 +5011,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4466,24 +5048,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream.DataStreamType getType() { - com.google.analytics.admin.v1beta.DataStream.DataStreamType result = com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); - return result == null ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.DataStream.DataStreamType result = + com.google.analytics.admin.v1beta.DataStream.DataStreamType.forNumber(type_); + return result == null + ? com.google.analytics.admin.v1beta.DataStream.DataStreamType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -4497,11 +5092,16 @@ public Builder setType(com.google.analytics.admin.v1beta.DataStream.DataStreamTy return this; } /** + * + * *
      * Required. Immutable. The type of this DataStream resource.
      * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -4513,6 +5113,8 @@ public Builder clearType() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4520,13 +5122,13 @@ public Builder clearType() {
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -4535,6 +5137,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4542,15 +5146,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -4558,6 +5161,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4565,18 +5170,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4584,6 +5193,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4593,6 +5203,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      * Required for web data streams.
@@ -4600,12 +5212,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -4615,39 +5229,58 @@ public Builder setDisplayNameBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4663,14 +5296,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -4681,17 +5317,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -4704,11 +5344,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4721,11 +5365,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; @@ -4733,36 +5381,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -4770,39 +5430,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4818,14 +5497,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -4836,17 +5518,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4859,11 +5545,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4876,11 +5566,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000080; @@ -4888,43 +5582,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4934,12 +5640,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DataStream) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DataStream) private static final com.google.analytics.admin.v1beta.DataStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DataStream(); } @@ -4948,27 +5654,27 @@ public static com.google.analytics.admin.v1beta.DataStream getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataStream 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataStream 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; @@ -4983,6 +5689,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DataStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java index 626f5ac06fed..30731d5d4919 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DataStreamOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface DataStreamOrBuilder extends +public interface DataStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DataStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * * @return Whether the webStreamData field is set. */ boolean hasWebStreamData(); /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
    * 
* * .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * * @return The webStreamData. */ com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamData(); /** + * + * *
    * Data specific to web streams. Must be populated if type is
    * WEB_DATA_STREAM.
@@ -38,66 +62,95 @@ public interface DataStreamOrBuilder extends
   com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder();
 
   /**
+   *
+   *
    * 
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return Whether the androidAppStreamData field is set. */ boolean hasAndroidAppStreamData(); /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * * @return The androidAppStreamData. */ com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamData getAndroidAppStreamData(); /** + * + * *
    * Data specific to Android app streams. Must be populated if type is
    * ANDROID_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * + * .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * */ - com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder(); + com.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataOrBuilder + getAndroidAppStreamDataOrBuilder(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return Whether the iosAppStreamData field is set. */ boolean hasIosAppStreamData(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * + * * @return The iosAppStreamData. */ com.google.analytics.admin.v1beta.DataStream.IosAppStreamData getIosAppStreamData(); /** + * + * *
    * Data specific to iOS app streams. Must be populated if type is
    * IOS_APP_DATA_STREAM.
    * 
* - * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * */ - com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder(); + com.google.analytics.admin.v1beta.DataStream.IosAppStreamDataOrBuilder + getIosAppStreamDataOrBuilder(); /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -105,10 +158,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this Data Stream.
    * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -116,31 +172,43 @@ public interface DataStreamOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Immutable. The type of this DataStream resource.
    * 
* - * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.analytics.admin.v1beta.DataStream.DataStreamType getType(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -148,10 +216,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-readable display name for the Data Stream.
    * Required for web data streams.
@@ -159,62 +230,84 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java index f2e9bab8dfac..fc4643a72303 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for DeleteAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteAccountRequest} */ -public final class DeleteAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteAccountRequest) DeleteAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAccountRequest.newBuilder() to construct. private DeleteAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteAccountRequest.class, com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteAccountRequest.class, + com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Account to soft-delete.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteAccountRequest other = (com.google.analytics.admin.v1beta.DeleteAccountRequest) obj; + com.google.analytics.admin.v1beta.DeleteAccountRequest other = + (com.google.analytics.admin.v1beta.DeleteAccountRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( 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.v1beta.DeleteAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteAccountRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DeleteAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteAccountRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteAccountRequest) com.google.analytics.admin.v1beta.DeleteAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteAccountRequest.class, com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteAccountRequest.class, + com.google.analytics.admin.v1beta.DeleteAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteAccountRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.analytics.admin.v1beta.DeleteAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteAccountRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteAccountRequest result = new com.google.analytics.admin.v1beta.DeleteAccountRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DeleteAccountRequest result = + new com.google.analytics.admin.v1beta.DeleteAccountRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteAccountReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DeleteAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteAccountRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteAccountRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteAccountRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteAccountRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.DeleteAccountRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Account to soft-delete.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteAccountRequest) private static final com.google.analytics.admin.v1beta.DeleteAccountRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteAccountRequest(); } @@ -554,27 +620,27 @@ public static com.google.analytics.admin.v1beta.DeleteAccountRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAccountRequest 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DeleteAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java new file mode 100644 index 000000000000..416667007523 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteAccountRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Account to soft-delete.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java index 3f2f930b4f22..0f283a60a9ce 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for DeleteConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteConversionEventRequest} */ -public final class DeleteConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteConversionEventRequest) DeleteConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteConversionEventRequest.newBuilder() to construct. private DeleteConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, + com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the conversion event to delete.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteConversionEventRequest other = (com.google.analytics.admin.v1beta.DeleteConversionEventRequest) obj; + com.google.analytics.admin.v1beta.DeleteConversionEventRequest other = + (com.google.analytics.admin.v1beta.DeleteConversionEventRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( 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.v1beta.DeleteConversionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteConversionEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteConversionEventRequest) com.google.analytics.admin.v1beta.DeleteConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, + com.google.analytics.admin.v1beta.DeleteConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteConversionEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,13 +330,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteConversionEventRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance(); } @@ -317,13 +352,17 @@ public com.google.analytics.admin.v1beta.DeleteConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteConversionEventRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteConversionEventRequest result = new com.google.analytics.admin.v1beta.DeleteConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DeleteConversionEventRequest result = + new com.google.analytics.admin.v1beta.DeleteConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.DeleteConversionEventRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.DeleteConversionEventRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,38 +373,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteConversionEve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DeleteConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteConversionEventRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +413,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteConversionEventRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +447,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +469,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +500,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +526,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +572,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the conversion event to delete.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +609,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteConversionEventRequest) - private static final com.google.analytics.admin.v1beta.DeleteConversionEventRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.DeleteConversionEventRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteConversionEventRequest(); } - public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DeleteConversionEventRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConversionEventRequest 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; @@ -586,9 +657,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteConversionEventRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..59d7788ef752 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the conversion event to delete.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java index 8107519a6a72..fbb75ccc3d3d 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for DeleteDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteDataStreamRequest} */ -public final class DeleteDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteDataStreamRequest) DeleteDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDataStreamRequest.newBuilder() to construct. private DeleteDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, + com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the DataStream to delete.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteDataStreamRequest other = (com.google.analytics.admin.v1beta.DeleteDataStreamRequest) obj; + com.google.analytics.admin.v1beta.DeleteDataStreamRequest other = + (com.google.analytics.admin.v1beta.DeleteDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( 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.v1beta.DeleteDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DeleteDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteDataStreamRequest) com.google.analytics.admin.v1beta.DeleteDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, + com.google.analytics.admin.v1beta.DeleteDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1beta.DeleteDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteDataStreamRequest result = new com.google.analytics.admin.v1beta.DeleteDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DeleteDataStreamRequest result = + new com.google.analytics.admin.v1beta.DeleteDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteDataStreamReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DeleteDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.DeleteDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the DataStream to delete.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteDataStreamRequest) private static final com.google.analytics.admin.v1beta.DeleteDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteDataStreamRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1beta.DeleteDataStreamRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDataStreamRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DeleteDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..58b8f635dfaf --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DataStream to delete.
+   * Example format: properties/1234/dataStreams/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 DataStream to delete.
+   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java index 9e2fbb98d7b9..8ebe282e568b 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for DeleteFirebaseLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteFirebaseLinkRequest} */ -public final class DeleteFirebaseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteFirebaseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) DeleteFirebaseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFirebaseLinkRequest.newBuilder() to construct. private DeleteFirebaseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteFirebaseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteFirebaseLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
    * Example: properties/1234/firebaseLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest other = (com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) obj; + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest other = + (com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( 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.v1beta.DeleteFirebaseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteFirebaseLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteFirebaseLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest result = new com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest result = + new com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteFirebaseLinkR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DeleteFirebaseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
      * Example: properties/1234/firebaseLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) private static final com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFirebaseLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFirebaseLinkRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..a79f08c72b72 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteFirebaseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
+   * Example: properties/1234/firebaseLinks/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java index 388b2cd2612f..59d4376a1939 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for DeleteGoogleAdsLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest} */ -public final class DeleteGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) DeleteGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteGoogleAdsLinkRequest.newBuilder() to construct. private DeleteGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteGoogleAdsLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234/googleAdsLinks/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest other = (com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest other = + (com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( 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.v1beta.DeleteGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteGoogleAdsLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance(); } @@ -313,13 +348,17 @@ public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result = new com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -330,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteGoogleAdsLink public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DeleteGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +409,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -401,17 +443,19 @@ public Builder mergeFrom( 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: + 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) { @@ -421,22 +465,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,20 +494,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +518,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -497,26 +560,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Example format: properties/1234/googleAdsLinks/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,12 +595,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest(); } @@ -540,27 +610,27 @@ public static com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGoogleAdsLinkRequest 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; @@ -575,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java new file mode 100644 index 000000000000..ad68b6f26b3d --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteGoogleAdsLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234/googleAdsLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java index 8b980b50e284..3f5d71196fc8 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequest.java @@ -1,64 +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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for DeleteMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest} */ -public final class DeleteMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) DeleteMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteMeasurementProtocolSecretRequest.newBuilder() to construct. - private DeleteMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +94,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the MeasurementProtocolSecret to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +129,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +165,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +194,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( 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.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest 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.v1beta.DeleteMeasurementProtocolSecretRequest + 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.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,19 +336,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = buildPartial(); + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -317,13 +360,17 @@ public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest @java.lang.Override public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +381,52 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeleteMeasurementPr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DeleteMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest)other); + if (other + instanceof com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) { + return mergeFrom( + (com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +458,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +480,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +511,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +537,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +583,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the MeasurementProtocolSecret to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +620,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMeasurementProtocolSecretRequest 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; @@ -586,9 +669,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..20d7012f6c91 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeleteMeasurementProtocolSecretRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the MeasurementProtocolSecret to delete.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java index 6f40d40e4f63..363bc12b2c7c 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for DeleteProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeletePropertyRequest} */ -public final class DeletePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.DeletePropertyRequest) DeletePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePropertyRequest.newBuilder() to construct. private DeletePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeletePropertyRequest.class, com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.DeletePropertyRequest.class, + com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Property to soft-delete.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.DeletePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.DeletePropertyRequest other = (com.google.analytics.admin.v1beta.DeletePropertyRequest) obj; + com.google.analytics.admin.v1beta.DeletePropertyRequest other = + (com.google.analytics.admin.v1beta.DeletePropertyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( 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.v1beta.DeletePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.DeletePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.DeletePropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.DeletePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.DeletePropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.DeletePropertyRequest) com.google.analytics.admin.v1beta.DeletePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.DeletePropertyRequest.class, com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.DeletePropertyRequest.class, + com.google.analytics.admin.v1beta.DeletePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.DeletePropertyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.analytics.admin.v1beta.DeletePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.DeletePropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.DeletePropertyRequest result = new com.google.analytics.admin.v1beta.DeletePropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.DeletePropertyRequest result = + new com.google.analytics.admin.v1beta.DeletePropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.DeletePropertyReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.DeletePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.DeletePropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.DeletePropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.DeletePropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.DeletePropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.DeletePropertyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the Property to soft-delete.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.DeletePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.DeletePropertyRequest) private static final com.google.analytics.admin.v1beta.DeletePropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.DeletePropertyRequest(); } @@ -554,27 +620,27 @@ public static com.google.analytics.admin.v1beta.DeletePropertyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePropertyRequest 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.DeletePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java new file mode 100644 index 000000000000..6157f1ff1eb0 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface DeletePropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeletePropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Property to soft-delete.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java index df71d6aa80d8..033206546b7e 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A link between a GA4 property and a Firebase project.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.FirebaseLink} */ -public final class FirebaseLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FirebaseLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.FirebaseLink) FirebaseLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FirebaseLink.newBuilder() to construct. private FirebaseLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FirebaseLink() { name_ = ""; project_ = ""; @@ -26,38 +44,43 @@ private FirebaseLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FirebaseLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.FirebaseLink.class, com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); + com.google.analytics.admin.v1beta.FirebaseLink.class, + com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -66,29 +89,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,9 +120,12 @@ public java.lang.String getName() { } public static final int PROJECT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -110,6 +136,7 @@ public java.lang.String getName() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ @java.lang.Override @@ -118,14 +145,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
    * provide this resource name using either a project number or project ID.
@@ -136,16 +164,15 @@ public java.lang.String getProject() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -156,11 +183,15 @@ public java.lang.String getProject() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -168,11 +199,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -180,11 +215,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -192,6 +230,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -230,8 +268,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -241,21 +278,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.FirebaseLink)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.FirebaseLink other = (com.google.analytics.admin.v1beta.FirebaseLink) obj; + com.google.analytics.admin.v1beta.FirebaseLink other = + (com.google.analytics.admin.v1beta.FirebaseLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getProject() - .equals(other.getProject())) return false; + 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 (!getCreateTime().equals(other.getCreateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -281,130 +316,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( 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.v1beta.FirebaseLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.FirebaseLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.FirebaseLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.FirebaseLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.FirebaseLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A link between a GA4 property and a Firebase project.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.FirebaseLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.FirebaseLink) com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.FirebaseLink.class, com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); + com.google.analytics.admin.v1beta.FirebaseLink.class, + com.google.analytics.admin.v1beta.FirebaseLink.Builder.class); } // Construct using com.google.analytics.admin.v1beta.FirebaseLink.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +461,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; } @java.lang.Override @@ -441,8 +482,11 @@ public com.google.analytics.admin.v1beta.FirebaseLink build() { @java.lang.Override public com.google.analytics.admin.v1beta.FirebaseLink buildPartial() { - com.google.analytics.admin.v1beta.FirebaseLink result = new com.google.analytics.admin.v1beta.FirebaseLink(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.FirebaseLink result = + new com.google.analytics.admin.v1beta.FirebaseLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -456,9 +500,7 @@ private void buildPartial0(com.google.analytics.admin.v1beta.FirebaseLink result result.project_ = project_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } } @@ -466,38 +508,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.FirebaseLink result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.FirebaseLink) { - return mergeFrom((com.google.analytics.admin.v1beta.FirebaseLink)other); + return mergeFrom((com.google.analytics.admin.v1beta.FirebaseLink) other); } else { super.mergeFrom(other); return this; @@ -545,29 +588,31 @@ public Builder mergeFrom( 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 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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 + 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) { @@ -577,22 +622,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -601,20 +649,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -622,28 +671,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -653,17 +709,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Example format: properties/1234/firebaseLinks/5678
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -673,6 +733,8 @@ public Builder setNameBytes( private java.lang.Object project_ = ""; /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -683,13 +745,13 @@ public Builder setNameBytes(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -698,6 +760,8 @@ 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.
@@ -708,15 +772,14 @@ public java.lang.String getProject() {
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -724,6 +787,8 @@ 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.
@@ -734,18 +799,22 @@ public java.lang.String getProject() {
      * 
* * 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(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -756,6 +825,7 @@ public Builder setProject(
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -765,6 +835,8 @@ public Builder clearProject() { return this; } /** + * + * *
      * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
      * provide this resource name using either a project number or project ID.
@@ -775,12 +847,14 @@ public Builder clearProject() {
      * 
* * 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(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000002; @@ -790,39 +864,58 @@ public Builder setProjectBytes( 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -838,14 +931,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -856,17 +952,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -879,11 +979,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -896,11 +1000,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -908,43 +1016,55 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,12 +1074,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.FirebaseLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.FirebaseLink) private static final com.google.analytics.admin.v1beta.FirebaseLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.FirebaseLink(); } @@ -968,27 +1088,27 @@ public static com.google.analytics.admin.v1beta.FirebaseLink getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FirebaseLink 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FirebaseLink 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; @@ -1003,6 +1123,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.FirebaseLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java index 77edc903f616..86bae0302a38 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/FirebaseLinkOrBuilder.java @@ -1,33 +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/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface FirebaseLinkOrBuilder extends +public interface FirebaseLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.FirebaseLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Example format: properties/1234/firebaseLinks/5678
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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.
@@ -38,10 +61,13 @@ public interface FirebaseLinkOrBuilder extends
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ 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.
@@ -52,35 +78,46 @@ public interface FirebaseLinkOrBuilder extends
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java index 9e50970e97c4..1f560ffea608 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetAccountRequest} */ -public final class GetAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetAccountRequest) GetAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAccountRequest.newBuilder() to construct. private GetAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAccountRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetAccountRequest.class, com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.GetAccountRequest.class, + com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the account to lookup.
    * Format: accounts/{account}
    * Example: "accounts/100"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetAccountRequest other = (com.google.analytics.admin.v1beta.GetAccountRequest) obj; + com.google.analytics.admin.v1beta.GetAccountRequest other = + (com.google.analytics.admin.v1beta.GetAccountRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( 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.v1beta.GetAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetAccountRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetAccountRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetAccountRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetAccountRequest) com.google.analytics.admin.v1beta.GetAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetAccountRequest.class, com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.GetAccountRequest.class, + com.google.analytics.admin.v1beta.GetAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetAccountRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor; } @java.lang.Override @@ -317,8 +350,11 @@ public com.google.analytics.admin.v1beta.GetAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetAccountRequest buildPartial() { - com.google.analytics.admin.v1beta.GetAccountRequest result = new com.google.analytics.admin.v1beta.GetAccountRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetAccountRequest result = + new com.google.analytics.admin.v1beta.GetAccountRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +370,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetAccountRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetAccountRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetAccountRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +410,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetAccountRequest other) { - if (other == com.google.analytics.admin.v1beta.GetAccountRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.GetAccountRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +443,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +465,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +496,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +522,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +568,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the account to lookup.
      * Format: accounts/{account}
      * Example: "accounts/100"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetAccountRequest) private static final com.google.analytics.admin.v1beta.GetAccountRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetAccountRequest(); } @@ -554,27 +619,27 @@ public static com.google.analytics.admin.v1beta.GetAccountRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAccountRequest 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; @@ -589,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java new file mode 100644 index 000000000000..d618363f7fa1 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetAccountRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetAccountRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the account to lookup.
+   * Format: accounts/{account}
+   * Example: "accounts/100"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java index dad170681e0a..104c0ec48e66 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetConversionEventRequest} */ -public final class GetConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetConversionEventRequest) GetConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConversionEventRequest.newBuilder() to construct. private GetConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConversionEventRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConversionEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetConversionEventRequest.class, com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.GetConversionEventRequest.class, + com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the conversion event to retrieve.
    * Format: properties/{property}/conversionEvents/{conversion_event}
    * Example: "properties/123/conversionEvents/456"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetConversionEventRequest other = (com.google.analytics.admin.v1beta.GetConversionEventRequest) obj; + com.google.analytics.admin.v1beta.GetConversionEventRequest other = + (com.google.analytics.admin.v1beta.GetConversionEventRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( 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.v1beta.GetConversionEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.GetConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetConversionEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetConversionEventRequest) com.google.analytics.admin.v1beta.GetConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetConversionEventRequest.class, com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.GetConversionEventRequest.class, + com.google.analytics.admin.v1beta.GetConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetConversionEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.analytics.admin.v1beta.GetConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetConversionEventRequest buildPartial() { - com.google.analytics.admin.v1beta.GetConversionEventRequest result = new com.google.analytics.admin.v1beta.GetConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetConversionEventRequest result = + new com.google.analytics.admin.v1beta.GetConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetConversionEventR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetConversionEventRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetConversionEventRequest other) { - if (other == com.google.analytics.admin.v1beta.GetConversionEventRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.GetConversionEventRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the conversion event to retrieve.
      * Format: properties/{property}/conversionEvents/{conversion_event}
      * Example: "properties/123/conversionEvents/456"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetConversionEventRequest) private static final com.google.analytics.admin.v1beta.GetConversionEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetConversionEventRequest(); } @@ -554,27 +620,27 @@ public static com.google.analytics.admin.v1beta.GetConversionEventRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConversionEventRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConversionEventRequest 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.GetConversionEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java new file mode 100644 index 000000000000..fdd3c74cdefb --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetConversionEventRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetConversionEventRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/456"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the conversion event to retrieve.
+   * Format: properties/{property}/conversionEvents/{conversion_event}
+   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java index 337ec5dc8f79..67d11a2730ad 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomDimensionRequest} */ -public final class GetCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetCustomDimensionRequest) GetCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCustomDimensionRequest.newBuilder() to construct. private GetCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCustomDimensionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomDimension to get.
    * Example format: properties/1234/customDimensions/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetCustomDimensionRequest other = (com.google.analytics.admin.v1beta.GetCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.GetCustomDimensionRequest other = + (com.google.analytics.admin.v1beta.GetCustomDimensionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( 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.v1beta.GetCustomDimensionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetCustomDimensionRequest) com.google.analytics.admin.v1beta.GetCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.GetCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1beta.GetCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.GetCustomDimensionRequest result = new com.google.analytics.admin.v1beta.GetCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetCustomDimensionRequest result = + new com.google.analytics.admin.v1beta.GetCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetCustomDimensionR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1beta.GetCustomDimensionRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.GetCustomDimensionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomDimension to get.
      * Example format: properties/1234/customDimensions/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetCustomDimensionRequest) private static final com.google.analytics.admin.v1beta.GetCustomDimensionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetCustomDimensionRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1beta.GetCustomDimensionRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomDimensionRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.GetCustomDimensionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java new file mode 100644 index 000000000000..2b670f37122c --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetCustomDimensionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomDimensionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
+   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java index 5f5826c555d5..1d6c75c76276 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomMetricRequest} */ -public final class GetCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetCustomMetricRequest) GetCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCustomMetricRequest.newBuilder() to construct. private GetCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCustomMetricRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, + com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the CustomMetric to get.
    * Example format: properties/1234/customMetrics/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetCustomMetricRequest other = (com.google.analytics.admin.v1beta.GetCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.GetCustomMetricRequest other = + (com.google.analytics.admin.v1beta.GetCustomMetricRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( 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.v1beta.GetCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.GetCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetCustomMetricRequest) com.google.analytics.admin.v1beta.GetCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, + com.google.analytics.admin.v1beta.GetCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1beta.GetCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.GetCustomMetricRequest result = new com.google.analytics.admin.v1beta.GetCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetCustomMetricRequest result = + new com.google.analytics.admin.v1beta.GetCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetCustomMetricRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1beta.GetCustomMetricRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.GetCustomMetricRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the CustomMetric to get.
      * Example format: properties/1234/customMetrics/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetCustomMetricRequest) private static final com.google.analytics.admin.v1beta.GetCustomMetricRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetCustomMetricRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1beta.GetCustomMetricRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomMetricRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java new file mode 100644 index 000000000000..6a34dd0ce5c0 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetCustomMetricRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomMetricRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
+   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java index 0015e50db4c0..5d20f383092a 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataRetentionSettingsRequest} */ -public final class GetDataRetentionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) GetDataRetentionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataRetentionSettingsRequest.newBuilder() to construct. - private GetDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataRetentionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataRetentionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -59,7 +82,10 @@ protected java.lang.Object newInstance(
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the settings to lookup.
    * Format:
@@ -83,17 +110,18 @@ public java.lang.String getName() {
    * Example: "properties/1000/dataRetentionSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,6 +130,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -138,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other = (com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other = + (com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -166,129 +194,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( 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.v1beta.GetDataRetentionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest 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.v1beta.GetDataRetentionSettingsRequest + 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.v1beta.GetDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataRetentionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -298,13 +335,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance(); } @@ -319,13 +357,17 @@ public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest build() @java.lang.Override public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result = new com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result = + new com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -336,46 +378,50 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetDataRetentionSet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetDataRetentionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other) { - if (other == com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -407,17 +453,19 @@ public Builder mergeFrom( 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: + 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) { @@ -427,10 +475,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -438,14 +489,16 @@ public Builder mergeFrom(
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -454,6 +507,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -461,16 +516,17 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -478,6 +534,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -485,19 +543,25 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 settings to lookup.
      * Format:
@@ -505,7 +569,10 @@ public Builder setName(
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -515,6 +582,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -522,22 +591,26 @@ public Builder clearName() {
      * Example: "properties/1000/dataRetentionSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,41 +620,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataRetentionSettingsRequest 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; @@ -593,9 +668,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..e4a28fc482dd --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetDataRetentionSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataRetentionSettings
+   * Example: "properties/1000/dataRetentionSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java index eca643d680af..27fae05dc1a0 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetDataSharingSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataSharingSettingsRequest} */ -public final class GetDataSharingSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataSharingSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) GetDataSharingSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataSharingSettingsRequest.newBuilder() to construct. private GetDataSharingSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataSharingSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataSharingSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the settings to lookup.
    * Format: accounts/{account}/dataSharingSettings
    * Example: "accounts/1000/dataSharingSettings"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other = (com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) obj; + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other = + (com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( 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.v1beta.GetDataSharingSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDataSharingSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataSharingSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) com.google.analytics.admin.v1beta.GetDataSharingSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,13 +330,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance(); } @@ -317,13 +352,17 @@ public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest buildPartial() { - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result = new com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result = + new com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +373,50 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetDataSharingSetti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetDataSharingSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other) { - if (other == com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest other) { + if (other + == com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +448,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +470,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +501,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +527,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +573,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format: accounts/{account}/dataSharingSettings
      * Example: "accounts/1000/dataSharingSettings"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +610,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) - private static final com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest(); } - public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataSharingSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataSharingSettingsRequest 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; @@ -586,9 +658,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..19282a80c9f4 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetDataSharingSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format: accounts/{account}/dataSharingSettings
+   * Example: "accounts/1000/dataSharingSettings"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java index 9cf3cc970fc6..1a51aea4eca5 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataStreamRequest} */ -public final class GetDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetDataStreamRequest) GetDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataStreamRequest.newBuilder() to construct. private GetDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataStreamRequest.class, com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataStreamRequest.class, + com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the DataStream to get.
    * Example format: properties/1234/dataStreams/5678
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetDataStreamRequest other = (com.google.analytics.admin.v1beta.GetDataStreamRequest) obj; + com.google.analytics.admin.v1beta.GetDataStreamRequest other = + (com.google.analytics.admin.v1beta.GetDataStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( 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.v1beta.GetDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.GetDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetDataStreamRequest) com.google.analytics.admin.v1beta.GetDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetDataStreamRequest.class, com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.GetDataStreamRequest.class, + com.google.analytics.admin.v1beta.GetDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.analytics.admin.v1beta.GetDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.GetDataStreamRequest result = new com.google.analytics.admin.v1beta.GetDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetDataStreamRequest result = + new com.google.analytics.admin.v1beta.GetDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetDataStreamReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.GetDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.GetDataStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,19 @@ public Builder mergeFrom( 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: + 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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the DataStream to get.
      * Example format: properties/1234/dataStreams/5678
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetDataStreamRequest) private static final com.google.analytics.admin.v1beta.GetDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetDataStreamRequest(); } @@ -547,27 +613,27 @@ public static com.google.analytics.admin.v1beta.GetDataStreamRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataStreamRequest 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; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java new file mode 100644 index 000000000000..52da04b187c6 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetDataStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DataStream to get.
+   * Example format: properties/1234/dataStreams/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 DataStream to get.
+   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java index 37f601dcc80a..1066d8be1519 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequest.java @@ -1,64 +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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetMeasurementProtocolSecret RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest} */ -public final class GetMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) GetMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMeasurementProtocolSecretRequest.newBuilder() to construct. - private GetMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMeasurementProtocolSecretRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +94,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the measurement protocol secret to lookup.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +129,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +165,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +193,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( 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.v1beta.GetMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest 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.v1beta.GetMeasurementProtocolSecretRequest + 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.v1beta.GetMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetMeasurementProtocolSecret RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,14 +334,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override @@ -317,13 +357,17 @@ public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest bui @java.lang.Override public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -334,46 +378,51 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetMeasurementProto public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +454,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +476,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +507,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +533,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +579,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the measurement protocol secret to lookup.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,41 +616,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMeasurementProtocolSecretRequest 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; @@ -586,9 +664,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java new file mode 100644 index 000000000000..a80e77914981 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetMeasurementProtocolSecretRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the measurement protocol secret to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java index 7abdc92a2086..df7249091cb0 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for GetProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetPropertyRequest} */ -public final class GetPropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GetPropertyRequest) GetPropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPropertyRequest.newBuilder() to construct. private GetPropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPropertyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetPropertyRequest.class, com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.GetPropertyRequest.class, + com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the property to lookup.
    * Format: properties/{property_id}
    * Example: "properties/1000"
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GetPropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GetPropertyRequest other = (com.google.analytics.admin.v1beta.GetPropertyRequest) obj; + com.google.analytics.admin.v1beta.GetPropertyRequest other = + (com.google.analytics.admin.v1beta.GetPropertyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( 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.v1beta.GetPropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GetPropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GetPropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.GetPropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GetPropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GetPropertyRequest) com.google.analytics.admin.v1beta.GetPropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GetPropertyRequest.class, com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.GetPropertyRequest.class, + com.google.analytics.admin.v1beta.GetPropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GetPropertyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; } @java.lang.Override @@ -317,8 +350,11 @@ public com.google.analytics.admin.v1beta.GetPropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.GetPropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.GetPropertyRequest result = new com.google.analytics.admin.v1beta.GetPropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GetPropertyRequest result = + new com.google.analytics.admin.v1beta.GetPropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +370,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GetPropertyRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GetPropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.GetPropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.GetPropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +410,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GetPropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.GetPropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.GetPropertyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +443,19 @@ public Builder mergeFrom( 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: + 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) { @@ -425,24 +465,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -451,22 +496,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -474,32 +522,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -509,28 +568,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the property to lookup.
      * Format: properties/{property_id}
      * Example: "properties/1000"
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GetPropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GetPropertyRequest) private static final com.google.analytics.admin.v1beta.GetPropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GetPropertyRequest(); } @@ -554,27 +619,27 @@ public static com.google.analytics.admin.v1beta.GetPropertyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPropertyRequest 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; @@ -589,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GetPropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java new file mode 100644 index 000000000000..4b2fd57e6660 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.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/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface GetPropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetPropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the property to lookup.
+   * Format: properties/{property_id}
+   * Example: "properties/1000"
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java index eae6eeaf7ec1..3c9a03df2145 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A link between a GA4 property and a Google Ads account.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.GoogleAdsLink} */ -public final class GoogleAdsLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GoogleAdsLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.GoogleAdsLink) GoogleAdsLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoogleAdsLink.newBuilder() to construct. private GoogleAdsLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GoogleAdsLink() { name_ = ""; customerId_ = ""; @@ -27,39 +45,44 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleAdsLink(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GoogleAdsLink.class, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1beta.GoogleAdsLink.class, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * 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]; + * * @return The name. */ @java.lang.Override @@ -68,30 +91,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * 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]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,14 +123,18 @@ public java.lang.String getName() { } public static final int CUSTOMER_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object customerId_ = ""; /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The customerId. */ @java.lang.Override @@ -116,29 +143,29 @@ public java.lang.String getCustomerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; } } /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for customerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerIdBytes() { + public com.google.protobuf.ByteString getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerId_ = b; return b; } else { @@ -149,11 +176,14 @@ public java.lang.String getCustomerId() { public static final int CAN_MANAGE_CLIENTS_FIELD_NUMBER = 4; private boolean canManageClients_ = false; /** + * + * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The canManageClients. */ @java.lang.Override @@ -164,6 +194,8 @@ public boolean getCanManageClients() { public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER = 5; private com.google.protobuf.BoolValue adsPersonalizationEnabled_; /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -172,6 +204,7 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -179,6 +212,8 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -187,13 +222,18 @@ public boolean hasAdsPersonalizationEnabled() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return The adsPersonalizationEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -205,17 +245,23 @@ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() {
    */
   @java.lang.Override
   public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder() {
-    return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+    return adsPersonalizationEnabled_ == null
+        ? com.google.protobuf.BoolValue.getDefaultInstance()
+        : adsPersonalizationEnabled_;
   }
 
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -223,11 +269,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -235,11 +285,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -249,11 +302,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -261,11 +318,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -273,11 +334,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -285,15 +349,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int CREATOR_EMAIL_ADDRESS_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object creatorEmailAddress_ = ""; /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creatorEmailAddress. */ @java.lang.Override @@ -302,30 +370,30 @@ public java.lang.String getCreatorEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; } } /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creatorEmailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -334,6 +402,7 @@ public java.lang.String getCreatorEmailAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +414,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -384,20 +452,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerId_); } if (canManageClients_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, canManageClients_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, canManageClients_); } if (adsPersonalizationEnabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAdsPersonalizationEnabled()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getAdsPersonalizationEnabled()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorEmailAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, creatorEmailAddress_); @@ -410,36 +476,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.GoogleAdsLink)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.GoogleAdsLink other = (com.google.analytics.admin.v1beta.GoogleAdsLink) obj; + com.google.analytics.admin.v1beta.GoogleAdsLink other = + (com.google.analytics.admin.v1beta.GoogleAdsLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCustomerId() - .equals(other.getCustomerId())) return false; - if (getCanManageClients() - != other.getCanManageClients()) return false; + if (!getName().equals(other.getName())) return false; + if (!getCustomerId().equals(other.getCustomerId())) return false; + if (getCanManageClients() != other.getCanManageClients()) return false; if (hasAdsPersonalizationEnabled() != other.hasAdsPersonalizationEnabled()) return false; if (hasAdsPersonalizationEnabled()) { - if (!getAdsPersonalizationEnabled() - .equals(other.getAdsPersonalizationEnabled())) return false; + if (!getAdsPersonalizationEnabled().equals(other.getAdsPersonalizationEnabled())) + return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getCreatorEmailAddress() - .equals(other.getCreatorEmailAddress())) return false; + if (!getCreatorEmailAddress().equals(other.getCreatorEmailAddress())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -456,8 +517,7 @@ public int hashCode() { hash = (37 * hash) + CUSTOMER_ID_FIELD_NUMBER; hash = (53 * hash) + getCustomerId().hashCode(); hash = (37 * hash) + CAN_MANAGE_CLIENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCanManageClients()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCanManageClients()); if (hasAdsPersonalizationEnabled()) { hash = (37 * hash) + ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getAdsPersonalizationEnabled().hashCode(); @@ -477,130 +537,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( 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.v1beta.GoogleAdsLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.GoogleAdsLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.GoogleAdsLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.GoogleAdsLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A link between a GA4 property and a Google Ads account.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.GoogleAdsLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.GoogleAdsLink) com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.GoogleAdsLink.class, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); + com.google.analytics.admin.v1beta.GoogleAdsLink.class, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder.class); } // Construct using com.google.analytics.admin.v1beta.GoogleAdsLink.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -628,9 +694,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; } @java.lang.Override @@ -649,8 +715,11 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink build() { @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink buildPartial() { - com.google.analytics.admin.v1beta.GoogleAdsLink result = new com.google.analytics.admin.v1beta.GoogleAdsLink(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.GoogleAdsLink result = + new com.google.analytics.admin.v1beta.GoogleAdsLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -667,19 +736,16 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GoogleAdsLink resul result.canManageClients_ = canManageClients_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.adsPersonalizationEnabled_ = adsPersonalizationEnabledBuilder_ == null - ? adsPersonalizationEnabled_ - : adsPersonalizationEnabledBuilder_.build(); + result.adsPersonalizationEnabled_ = + adsPersonalizationEnabledBuilder_ == null + ? adsPersonalizationEnabled_ + : adsPersonalizationEnabledBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.creatorEmailAddress_ = creatorEmailAddress_; @@ -690,38 +756,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.GoogleAdsLink resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.GoogleAdsLink) { - return mergeFrom((com.google.analytics.admin.v1beta.GoogleAdsLink)other); + return mergeFrom((com.google.analytics.admin.v1beta.GoogleAdsLink) other); } else { super.mergeFrom(other); return this; @@ -729,7 +796,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.GoogleAdsLink other) { - if (other == com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -783,53 +851,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - customerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: { - canManageClients_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: { - input.readMessage( - getAdsPersonalizationEnabledFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 58: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - case 74: { - creatorEmailAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + customerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + canManageClients_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: + { + input.readMessage( + getAdsPersonalizationEnabledFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + case 74: + { + creatorEmailAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 74 + 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) { @@ -839,23 +910,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * 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]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -864,21 +938,22 @@ public java.lang.String getName() { } } /** + * + * *
      * 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]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -886,30 +961,37 @@ public java.lang.String getName() { } } /** + * + * *
      * 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]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * 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]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -919,18 +1001,22 @@ public Builder clearName() { return this; } /** + * + * *
      * 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]; + * * @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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -940,18 +1026,20 @@ public Builder setNameBytes( private java.lang.Object customerId_ = ""; /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The customerId. */ public java.lang.String getCustomerId() { java.lang.Object ref = customerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerId_ = s; return s; @@ -960,20 +1048,21 @@ public java.lang.String getCustomerId() { } } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for customerId. */ - public com.google.protobuf.ByteString - getCustomerIdBytes() { + public com.google.protobuf.ByteString getCustomerIdBytes() { java.lang.Object ref = customerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerId_ = b; return b; } else { @@ -981,28 +1070,35 @@ public java.lang.String getCustomerId() { } } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The customerId to set. * @return This builder for chaining. */ - public Builder setCustomerId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customerId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearCustomerId() { @@ -1012,17 +1108,21 @@ public Builder clearCustomerId() { return this; } /** + * + * *
      * Immutable. Google Ads customer ID.
      * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for customerId to set. * @return This builder for chaining. */ - public Builder setCustomerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customerId_ = value; bitField0_ |= 0x00000002; @@ -1030,13 +1130,16 @@ public Builder setCustomerIdBytes( return this; } - private boolean canManageClients_ ; + private boolean canManageClients_; /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The canManageClients. */ @java.lang.Override @@ -1044,27 +1147,33 @@ public boolean getCanManageClients() { return canManageClients_; } /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The canManageClients to set. * @return This builder for chaining. */ public Builder setCanManageClients(boolean value) { - + canManageClients_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. If true, this link is for a Google Ads manager account.
      * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCanManageClients() { @@ -1076,8 +1185,13 @@ public Builder clearCanManageClients() { 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_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + adsPersonalizationEnabledBuilder_; /** + * + * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1086,12 +1200,15 @@ public Builder clearCanManageClients() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ public boolean hasAdsPersonalizationEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1100,16 +1217,21 @@ public boolean hasAdsPersonalizationEnabled() {
      * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return The adsPersonalizationEnabled. */ public com.google.protobuf.BoolValue getAdsPersonalizationEnabled() { if (adsPersonalizationEnabledBuilder_ == null) { - return adsPersonalizationEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_; + return adsPersonalizationEnabled_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : adsPersonalizationEnabled_; } else { return adsPersonalizationEnabledBuilder_.getMessage(); } } /** + * + * *
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1133,6 +1255,8 @@ public Builder setAdsPersonalizationEnabled(com.google.protobuf.BoolValue value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1154,6 +1278,8 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1165,9 +1291,9 @@ public Builder setAdsPersonalizationEnabled(
      */
     public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue value) {
       if (adsPersonalizationEnabledBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          adsPersonalizationEnabled_ != null &&
-          adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && adsPersonalizationEnabled_ != null
+            && adsPersonalizationEnabled_ != com.google.protobuf.BoolValue.getDefaultInstance()) {
           getAdsPersonalizationEnabledBuilder().mergeFrom(value);
         } else {
           adsPersonalizationEnabled_ = value;
@@ -1180,6 +1306,8 @@ public Builder mergeAdsPersonalizationEnabled(com.google.protobuf.BoolValue valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1200,6 +1328,8 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1215,6 +1345,8 @@ public com.google.protobuf.BoolValue.Builder getAdsPersonalizationEnabledBuilder
       return getAdsPersonalizationEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1228,11 +1360,14 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
       if (adsPersonalizationEnabledBuilder_ != null) {
         return adsPersonalizationEnabledBuilder_.getMessageOrBuilder();
       } else {
-        return adsPersonalizationEnabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : adsPersonalizationEnabled_;
+        return adsPersonalizationEnabled_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : adsPersonalizationEnabled_;
       }
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1243,14 +1378,17 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
      * .google.protobuf.BoolValue ads_personalization_enabled = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         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());
+        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_;
@@ -1258,39 +1396,58 @@ public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuil
 
     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_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1306,14 +1463,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1324,17 +1484,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1347,11 +1511,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1364,11 +1532,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -1376,36 +1548,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1413,39 +1597,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1461,14 +1664,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1479,17 +1685,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1502,11 +1712,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1519,11 +1733,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000020; @@ -1531,36 +1749,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1568,19 +1798,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object creatorEmailAddress_ = ""; /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creatorEmailAddress. */ public java.lang.String getCreatorEmailAddress() { java.lang.Object ref = creatorEmailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorEmailAddress_ = s; return s; @@ -1589,21 +1821,22 @@ public java.lang.String getCreatorEmailAddress() { } } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creatorEmailAddress. */ - public com.google.protobuf.ByteString - getCreatorEmailAddressBytes() { + public com.google.protobuf.ByteString getCreatorEmailAddressBytes() { java.lang.Object ref = creatorEmailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creatorEmailAddress_ = b; return b; } else { @@ -1611,30 +1844,37 @@ public java.lang.String getCreatorEmailAddress() { } } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreatorEmailAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCreatorEmailAddress() { @@ -1644,27 +1884,31 @@ public Builder clearCreatorEmailAddress() { return this; } /** + * + * *
      * 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.
      * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for creatorEmailAddress to set. * @return This builder for chaining. */ - public Builder setCreatorEmailAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreatorEmailAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); creatorEmailAddress_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1674,12 +1918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.GoogleAdsLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.GoogleAdsLink) private static final com.google.analytics.admin.v1beta.GoogleAdsLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.GoogleAdsLink(); } @@ -1688,27 +1932,27 @@ public static com.google.analytics.admin.v1beta.GoogleAdsLink getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleAdsLink 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleAdsLink 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; @@ -1723,6 +1967,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.GoogleAdsLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java similarity index 79% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java index 3cef5455dc6e..f6a3bc59ecd3 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GoogleAdsLinkOrBuilder.java @@ -1,65 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface GoogleAdsLinkOrBuilder extends +public interface GoogleAdsLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GoogleAdsLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * 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]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * 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]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The customerId. */ java.lang.String getCustomerId(); /** + * + * *
    * Immutable. Google Ads customer ID.
    * 
* * string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for customerId. */ - com.google.protobuf.ByteString - getCustomerIdBytes(); + com.google.protobuf.ByteString getCustomerIdBytes(); /** + * + * *
    * Output only. If true, this link is for a Google Ads manager account.
    * 
* * bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The canManageClients. */ boolean getCanManageClients(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -68,10 +99,13 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ boolean hasAdsPersonalizationEnabled(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -80,10 +114,13 @@ public interface GoogleAdsLinkOrBuilder extends
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return The adsPersonalizationEnabled. */ com.google.protobuf.BoolValue getAdsPersonalizationEnabled(); /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -96,78 +133,105 @@ public interface GoogleAdsLinkOrBuilder extends
   com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder();
 
   /**
+   *
+   *
    * 
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creatorEmailAddress. */ java.lang.String getCreatorEmailAddress(); /** + * + * *
    * 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.
    * 
* * string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creatorEmailAddress. */ - com.google.protobuf.ByteString - getCreatorEmailAddressBytes(); + com.google.protobuf.ByteString getCreatorEmailAddressBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java similarity index 75% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java index 329f51e1315d..a20d0eb8b061 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/IndustryCategory.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * The category selected for this property, used for industry benchmarking.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.IndustryCategory} */ -public enum IndustryCategory - implements com.google.protobuf.ProtocolMessageEnum { +public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Industry category unspecified
    * 
@@ -21,6 +39,8 @@ public enum IndustryCategory */ INDUSTRY_CATEGORY_UNSPECIFIED(0), /** + * + * *
    * Automotive
    * 
@@ -29,6 +49,8 @@ public enum IndustryCategory */ AUTOMOTIVE(1), /** + * + * *
    * Business and industrial markets
    * 
@@ -37,6 +59,8 @@ public enum IndustryCategory */ BUSINESS_AND_INDUSTRIAL_MARKETS(2), /** + * + * *
    * Finance
    * 
@@ -45,6 +69,8 @@ public enum IndustryCategory */ FINANCE(3), /** + * + * *
    * Healthcare
    * 
@@ -53,6 +79,8 @@ public enum IndustryCategory */ HEALTHCARE(4), /** + * + * *
    * Technology
    * 
@@ -61,6 +89,8 @@ public enum IndustryCategory */ TECHNOLOGY(5), /** + * + * *
    * Travel
    * 
@@ -69,6 +99,8 @@ public enum IndustryCategory */ TRAVEL(6), /** + * + * *
    * Other
    * 
@@ -77,6 +109,8 @@ public enum IndustryCategory */ OTHER(7), /** + * + * *
    * Arts and entertainment
    * 
@@ -85,6 +119,8 @@ public enum IndustryCategory */ ARTS_AND_ENTERTAINMENT(8), /** + * + * *
    * Beauty and fitness
    * 
@@ -93,6 +129,8 @@ public enum IndustryCategory */ BEAUTY_AND_FITNESS(9), /** + * + * *
    * Books and literature
    * 
@@ -101,6 +139,8 @@ public enum IndustryCategory */ BOOKS_AND_LITERATURE(10), /** + * + * *
    * Food and drink
    * 
@@ -109,6 +149,8 @@ public enum IndustryCategory */ FOOD_AND_DRINK(11), /** + * + * *
    * Games
    * 
@@ -117,6 +159,8 @@ public enum IndustryCategory */ GAMES(12), /** + * + * *
    * Hobbies and leisure
    * 
@@ -125,6 +169,8 @@ public enum IndustryCategory */ HOBBIES_AND_LEISURE(13), /** + * + * *
    * Home and garden
    * 
@@ -133,6 +179,8 @@ public enum IndustryCategory */ HOME_AND_GARDEN(14), /** + * + * *
    * Internet and telecom
    * 
@@ -141,6 +189,8 @@ public enum IndustryCategory */ INTERNET_AND_TELECOM(15), /** + * + * *
    * Law and government
    * 
@@ -149,6 +199,8 @@ public enum IndustryCategory */ LAW_AND_GOVERNMENT(16), /** + * + * *
    * News
    * 
@@ -157,6 +209,8 @@ public enum IndustryCategory */ NEWS(17), /** + * + * *
    * Online communities
    * 
@@ -165,6 +219,8 @@ public enum IndustryCategory */ ONLINE_COMMUNITIES(18), /** + * + * *
    * People and society
    * 
@@ -173,6 +229,8 @@ public enum IndustryCategory */ PEOPLE_AND_SOCIETY(19), /** + * + * *
    * Pets and animals
    * 
@@ -181,6 +239,8 @@ public enum IndustryCategory */ PETS_AND_ANIMALS(20), /** + * + * *
    * Real estate
    * 
@@ -189,6 +249,8 @@ public enum IndustryCategory */ REAL_ESTATE(21), /** + * + * *
    * Reference
    * 
@@ -197,6 +259,8 @@ public enum IndustryCategory */ REFERENCE(22), /** + * + * *
    * Science
    * 
@@ -205,6 +269,8 @@ public enum IndustryCategory */ SCIENCE(23), /** + * + * *
    * Sports
    * 
@@ -213,6 +279,8 @@ public enum IndustryCategory */ SPORTS(24), /** + * + * *
    * Jobs and education
    * 
@@ -221,6 +289,8 @@ public enum IndustryCategory */ JOBS_AND_EDUCATION(25), /** + * + * *
    * Shopping
    * 
@@ -232,6 +302,8 @@ public enum IndustryCategory ; /** + * + * *
    * Industry category unspecified
    * 
@@ -240,6 +312,8 @@ public enum IndustryCategory */ public static final int INDUSTRY_CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Automotive
    * 
@@ -248,6 +322,8 @@ public enum IndustryCategory */ public static final int AUTOMOTIVE_VALUE = 1; /** + * + * *
    * Business and industrial markets
    * 
@@ -256,6 +332,8 @@ public enum IndustryCategory */ public static final int BUSINESS_AND_INDUSTRIAL_MARKETS_VALUE = 2; /** + * + * *
    * Finance
    * 
@@ -264,6 +342,8 @@ public enum IndustryCategory */ public static final int FINANCE_VALUE = 3; /** + * + * *
    * Healthcare
    * 
@@ -272,6 +352,8 @@ public enum IndustryCategory */ public static final int HEALTHCARE_VALUE = 4; /** + * + * *
    * Technology
    * 
@@ -280,6 +362,8 @@ public enum IndustryCategory */ public static final int TECHNOLOGY_VALUE = 5; /** + * + * *
    * Travel
    * 
@@ -288,6 +372,8 @@ public enum IndustryCategory */ public static final int TRAVEL_VALUE = 6; /** + * + * *
    * Other
    * 
@@ -296,6 +382,8 @@ public enum IndustryCategory */ public static final int OTHER_VALUE = 7; /** + * + * *
    * Arts and entertainment
    * 
@@ -304,6 +392,8 @@ public enum IndustryCategory */ public static final int ARTS_AND_ENTERTAINMENT_VALUE = 8; /** + * + * *
    * Beauty and fitness
    * 
@@ -312,6 +402,8 @@ public enum IndustryCategory */ public static final int BEAUTY_AND_FITNESS_VALUE = 9; /** + * + * *
    * Books and literature
    * 
@@ -320,6 +412,8 @@ public enum IndustryCategory */ public static final int BOOKS_AND_LITERATURE_VALUE = 10; /** + * + * *
    * Food and drink
    * 
@@ -328,6 +422,8 @@ public enum IndustryCategory */ public static final int FOOD_AND_DRINK_VALUE = 11; /** + * + * *
    * Games
    * 
@@ -336,6 +432,8 @@ public enum IndustryCategory */ public static final int GAMES_VALUE = 12; /** + * + * *
    * Hobbies and leisure
    * 
@@ -344,6 +442,8 @@ public enum IndustryCategory */ public static final int HOBBIES_AND_LEISURE_VALUE = 13; /** + * + * *
    * Home and garden
    * 
@@ -352,6 +452,8 @@ public enum IndustryCategory */ public static final int HOME_AND_GARDEN_VALUE = 14; /** + * + * *
    * Internet and telecom
    * 
@@ -360,6 +462,8 @@ public enum IndustryCategory */ public static final int INTERNET_AND_TELECOM_VALUE = 15; /** + * + * *
    * Law and government
    * 
@@ -368,6 +472,8 @@ public enum IndustryCategory */ public static final int LAW_AND_GOVERNMENT_VALUE = 16; /** + * + * *
    * News
    * 
@@ -376,6 +482,8 @@ public enum IndustryCategory */ public static final int NEWS_VALUE = 17; /** + * + * *
    * Online communities
    * 
@@ -384,6 +492,8 @@ public enum IndustryCategory */ public static final int ONLINE_COMMUNITIES_VALUE = 18; /** + * + * *
    * People and society
    * 
@@ -392,6 +502,8 @@ public enum IndustryCategory */ public static final int PEOPLE_AND_SOCIETY_VALUE = 19; /** + * + * *
    * Pets and animals
    * 
@@ -400,6 +512,8 @@ public enum IndustryCategory */ public static final int PETS_AND_ANIMALS_VALUE = 20; /** + * + * *
    * Real estate
    * 
@@ -408,6 +522,8 @@ public enum IndustryCategory */ public static final int REAL_ESTATE_VALUE = 21; /** + * + * *
    * Reference
    * 
@@ -416,6 +532,8 @@ public enum IndustryCategory */ public static final int REFERENCE_VALUE = 22; /** + * + * *
    * Science
    * 
@@ -424,6 +542,8 @@ public enum IndustryCategory */ public static final int SCIENCE_VALUE = 23; /** + * + * *
    * Sports
    * 
@@ -432,6 +552,8 @@ public enum IndustryCategory */ public static final int SPORTS_VALUE = 24; /** + * + * *
    * Jobs and education
    * 
@@ -440,6 +562,8 @@ public enum IndustryCategory */ public static final int JOBS_AND_EDUCATION_VALUE = 25; /** + * + * *
    * Shopping
    * 
@@ -448,7 +572,6 @@ public enum IndustryCategory */ public static final int SHOPPING_VALUE = 26; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -473,73 +596,97 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: return INDUSTRY_CATEGORY_UNSPECIFIED; - case 1: return AUTOMOTIVE; - case 2: return BUSINESS_AND_INDUSTRIAL_MARKETS; - case 3: return FINANCE; - case 4: return HEALTHCARE; - case 5: return TECHNOLOGY; - case 6: return TRAVEL; - case 7: return OTHER; - case 8: return ARTS_AND_ENTERTAINMENT; - case 9: return BEAUTY_AND_FITNESS; - case 10: return BOOKS_AND_LITERATURE; - case 11: return FOOD_AND_DRINK; - case 12: return GAMES; - case 13: return HOBBIES_AND_LEISURE; - case 14: return HOME_AND_GARDEN; - case 15: return INTERNET_AND_TELECOM; - case 16: return LAW_AND_GOVERNMENT; - case 17: return NEWS; - case 18: return ONLINE_COMMUNITIES; - case 19: return PEOPLE_AND_SOCIETY; - case 20: return PETS_AND_ANIMALS; - case 21: return REAL_ESTATE; - case 22: return REFERENCE; - case 23: return SCIENCE; - case 24: return SPORTS; - case 25: return JOBS_AND_EDUCATION; - case 26: return SHOPPING; - default: return null; + case 0: + return INDUSTRY_CATEGORY_UNSPECIFIED; + case 1: + return AUTOMOTIVE; + case 2: + return BUSINESS_AND_INDUSTRIAL_MARKETS; + case 3: + return FINANCE; + case 4: + return HEALTHCARE; + case 5: + return TECHNOLOGY; + case 6: + return TRAVEL; + case 7: + return OTHER; + case 8: + return ARTS_AND_ENTERTAINMENT; + case 9: + return BEAUTY_AND_FITNESS; + case 10: + return BOOKS_AND_LITERATURE; + case 11: + return FOOD_AND_DRINK; + case 12: + return GAMES; + case 13: + return HOBBIES_AND_LEISURE; + case 14: + return HOME_AND_GARDEN; + case 15: + return INTERNET_AND_TELECOM; + case 16: + return LAW_AND_GOVERNMENT; + case 17: + return NEWS; + case 18: + return ONLINE_COMMUNITIES; + case 19: + return PEOPLE_AND_SOCIETY; + case 20: + return PETS_AND_ANIMALS; + case 21: + return REAL_ESTATE; + case 22: + return REFERENCE; + case 23: + return SCIENCE; + case 24: + return SPORTS; + case 25: + return JOBS_AND_EDUCATION; + case 26: + return SHOPPING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IndustryCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndustryCategory findValueByNumber(int number) { + return IndustryCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(0); } private static final IndustryCategory[] VALUES = values(); - public static IndustryCategory valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IndustryCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -555,4 +702,3 @@ private IndustryCategory(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.IndustryCategory) } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java index d46fc9304dca..3fbb7429c8e5 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesRequest} */ -public final class ListAccountSummariesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountSummariesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountSummariesRequest) ListAccountSummariesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountSummariesRequest.newBuilder() to construct. private ListAccountSummariesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountSummariesRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, + com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; private int pageSize_ = 0; /** + * + * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -67,9 +89,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -78,6 +103,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -86,14 +112,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -102,16 +129,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -120,6 +146,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,8 +158,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -149,8 +175,7 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); @@ -163,17 +188,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountSummariesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountSummariesRequest other = (com.google.analytics.admin.v1beta.ListAccountSummariesRequest) obj; + com.google.analytics.admin.v1beta.ListAccountSummariesRequest other = + (com.google.analytics.admin.v1beta.ListAccountSummariesRequest) obj; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,129 +219,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( 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.v1beta.ListAccountSummariesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountSummariesRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountSummariesRequest) com.google.analytics.admin.v1beta.ListAccountSummariesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, + com.google.analytics.admin.v1beta.ListAccountSummariesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountSummariesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -328,13 +359,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListAccountSummariesRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListAccountSummariesRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance(); } @@ -349,13 +381,17 @@ public com.google.analytics.admin.v1beta.ListAccountSummariesRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountSummariesRequest buildPartial() { - com.google.analytics.admin.v1beta.ListAccountSummariesRequest result = new com.google.analytics.admin.v1beta.ListAccountSummariesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListAccountSummariesRequest result = + new com.google.analytics.admin.v1beta.ListAccountSummariesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountSummariesRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListAccountSummariesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pageSize_ = pageSize_; @@ -369,38 +405,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountSummarie public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListAccountSummariesRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesRequest) other); } else { super.mergeFrom(other); return this; @@ -408,7 +445,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountSummariesRequest other) { - if (other == com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance()) + return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -443,22 +482,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + pageToken_ = 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) { @@ -468,10 +510,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -480,6 +525,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -487,6 +533,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -495,17 +543,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -514,6 +565,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -525,6 +577,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -533,13 +587,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -548,6 +602,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -556,15 +612,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -572,6 +627,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -580,18 +637,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -600,6 +661,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -609,6 +671,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -617,21 +681,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,12 +707,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountSummariesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountSummariesRequest) - private static final com.google.analytics.admin.v1beta.ListAccountSummariesRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListAccountSummariesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountSummariesRequest(); } @@ -655,27 +722,27 @@ public static com.google.analytics.admin.v1beta.ListAccountSummariesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesRequest 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; @@ -690,6 +757,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.analytics.admin.v1beta.ListAccountSummariesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java index 116cd44e530f..ab103473b645 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountSummariesRequestOrBuilder extends +public interface ListAccountSummariesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountSummariesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of AccountSummary resources to return. The service may
    * return fewer than this value, even if there are additional pages.
@@ -16,11 +34,14 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -29,10 +50,13 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAccountSummaries` call.
    * Provide this to retrieve the subsequent page.
@@ -41,8 +65,8 @@ public interface ListAccountSummariesRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java index 65b64b957066..2e7886d7634c 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListAccountSummaries RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesResponse} */ -public final class ListAccountSummariesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountSummariesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountSummariesResponse) ListAccountSummariesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountSummariesResponse.newBuilder() to construct. private ListAccountSummariesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountSummariesResponse() { accountSummaries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, + com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); } public static final int ACCOUNT_SUMMARIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accountSummaries_; /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List getAccountSummariesList() { + public java.util.List + getAccountSummariesList() { return accountSummaries_; } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -71,11 +96,13 @@ public java.util.List getAccou * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountSummariesOrBuilderList() { return accountSummaries_; } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -87,6 +114,8 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -98,6 +127,8 @@ public com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSumma } 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 @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < accountSummaries_.size(); i++) { output.writeMessage(1, accountSummaries_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accountSummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accountSummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accountSummaries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountSummariesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountSummariesResponse other = (com.google.analytics.admin.v1beta.ListAccountSummariesResponse) obj; + com.google.analytics.admin.v1beta.ListAccountSummariesResponse other = + (com.google.analytics.admin.v1beta.ListAccountSummariesResponse) obj; - if (!getAccountSummariesList() - .equals(other.getAccountSummariesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAccountSummariesList().equals(other.getAccountSummariesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( 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.v1beta.ListAccountSummariesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountSummariesResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListAccountSummariesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListAccountSummaries RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountSummariesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountSummariesResponse) com.google.analytics.admin.v1beta.ListAccountSummariesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, + com.google.analytics.admin.v1beta.ListAccountSummariesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountSummariesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListAccountSummariesResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListAccountSummariesResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance(); } @@ -397,14 +438,18 @@ public com.google.analytics.admin.v1beta.ListAccountSummariesResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountSummariesResponse buildPartial() { - com.google.analytics.admin.v1beta.ListAccountSummariesResponse result = new com.google.analytics.admin.v1beta.ListAccountSummariesResponse(this); + com.google.analytics.admin.v1beta.ListAccountSummariesResponse result = + new com.google.analytics.admin.v1beta.ListAccountSummariesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { if (accountSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accountSummaries_ = java.util.Collections.unmodifiableList(accountSummaries_); @@ -416,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListAc } } - private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListAccountSummariesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +473,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountSummarie public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListAccountSummariesResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountSummariesResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountSummariesResponse other) { - if (other == com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance()) + return this; if (accountSummariesBuilder_ == null) { if (!other.accountSummaries_.isEmpty()) { if (accountSummaries_.isEmpty()) { @@ -485,9 +534,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountSummariesR accountSummariesBuilder_ = null; accountSummaries_ = other.accountSummaries_; bitField0_ = (bitField0_ & ~0x00000001); - accountSummariesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccountSummariesFieldBuilder() : null; + accountSummariesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccountSummariesFieldBuilder() + : null; } else { accountSummariesBuilder_.addAllMessages(other.accountSummaries_); } @@ -524,30 +574,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.AccountSummary m = - input.readMessage( - com.google.analytics.admin.v1beta.AccountSummary.parser(), - extensionRegistry); - if (accountSummariesBuilder_ == null) { - ensureAccountSummariesIsMutable(); - accountSummaries_.add(m); - } else { - accountSummariesBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.AccountSummary m = + input.readMessage( + com.google.analytics.admin.v1beta.AccountSummary.parser(), + extensionRegistry); + if (accountSummariesBuilder_ == null) { + ensureAccountSummariesIsMutable(); + accountSummaries_.add(m); + } else { + accountSummariesBuilder_.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) { @@ -557,28 +610,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accountSummaries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccountSummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accountSummaries_ = new java.util.ArrayList(accountSummaries_); + accountSummaries_ = + new java.util.ArrayList( + accountSummaries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccountSummary, com.google.analytics.admin.v1beta.AccountSummary.Builder, com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> accountSummariesBuilder_; + com.google.analytics.admin.v1beta.AccountSummary, + com.google.analytics.admin.v1beta.AccountSummary.Builder, + com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> + accountSummariesBuilder_; /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - public java.util.List getAccountSummariesList() { + public java.util.List + getAccountSummariesList() { if (accountSummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(accountSummaries_); } else { @@ -586,6 +649,8 @@ public java.util.List getAccou } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -600,6 +665,8 @@ public int getAccountSummariesCount() { } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -614,6 +681,8 @@ public com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -635,6 +704,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -653,6 +724,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -673,6 +746,8 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1beta.AccountSumm return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -694,6 +769,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -712,6 +789,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -730,6 +809,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -740,8 +821,7 @@ public Builder addAllAccountSummaries( java.lang.Iterable values) { if (accountSummariesBuilder_ == null) { ensureAccountSummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accountSummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accountSummaries_); onChanged(); } else { accountSummariesBuilder_.addAllMessages(values); @@ -749,6 +829,8 @@ public Builder addAllAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -766,6 +848,8 @@ public Builder clearAccountSummaries() { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -783,6 +867,8 @@ public Builder removeAccountSummaries(int index) { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -794,6 +880,8 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder getAccountSummar return getAccountSummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -803,19 +891,22 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder getAccountSummar public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSummariesOrBuilder( int index) { if (accountSummariesBuilder_ == null) { - return accountSummaries_.get(index); } else { + return accountSummaries_.get(index); + } else { return accountSummariesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesOrBuilderList() { + public java.util.List + getAccountSummariesOrBuilderList() { if (accountSummariesBuilder_ != null) { return accountSummariesBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +914,8 @@ public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSumma } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -830,10 +923,12 @@ public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSumma * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummariesBuilder() { - return getAccountSummariesFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -842,26 +937,34 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummar */ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummariesBuilder( int index) { - return getAccountSummariesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); + return getAccountSummariesFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.AccountSummary.getDefaultInstance()); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - public java.util.List - getAccountSummariesBuilderList() { + public java.util.List + getAccountSummariesBuilderList() { return getAccountSummariesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccountSummary, com.google.analytics.admin.v1beta.AccountSummary.Builder, com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> + com.google.analytics.admin.v1beta.AccountSummary, + com.google.analytics.admin.v1beta.AccountSummary.Builder, + com.google.analytics.admin.v1beta.AccountSummaryOrBuilder> getAccountSummariesFieldBuilder() { if (accountSummariesBuilder_ == null) { - accountSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccountSummary, com.google.analytics.admin.v1beta.AccountSummary.Builder, com.google.analytics.admin.v1beta.AccountSummaryOrBuilder>( + accountSummariesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.AccountSummary, + com.google.analytics.admin.v1beta.AccountSummary.Builder, + com.google.analytics.admin.v1beta.AccountSummaryOrBuilder>( accountSummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +976,21 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder addAccountSummar 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +999,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1022,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1062,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1096,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountSummariesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountSummariesResponse) - private static final com.google.analytics.admin.v1beta.ListAccountSummariesResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListAccountSummariesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountSummariesResponse(); } - public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListAccountSummariesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountSummariesResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountSummariesResponse 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; @@ -1025,9 +1144,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.ListAccountSummariesResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListAccountSummariesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java index be2bff6f5018..d5f1f9b6416e 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountSummariesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountSummariesResponseOrBuilder extends +public interface ListAccountSummariesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountSummariesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - java.util.List - getAccountSummariesList(); + java.util.List getAccountSummariesList(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -25,6 +44,8 @@ public interface ListAccountSummariesResponseOrBuilder extends */ com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int index); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -33,43 +54,51 @@ public interface ListAccountSummariesResponseOrBuilder extends */ int getAccountSummariesCount(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - java.util.List + java.util.List getAccountSummariesOrBuilderList(); /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
* * repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; */ - com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSummariesOrBuilder( - int index); + com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSummariesOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java index a859a018af6d..5e6606c765eb 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsRequest} */ -public final class ListAccountsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountsRequest) ListAccountsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountsRequest.newBuilder() to construct. private ListAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsRequest.class, com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsRequest.class, + com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 1; 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.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -67,9 +89,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -78,6 +103,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -86,14 +112,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -102,16 +129,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -122,6 +148,8 @@ public java.lang.String getPageToken() { public static final int SHOW_DELETED_FIELD_NUMBER = 3; private boolean showDeleted_ = false; /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -129,6 +157,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -137,6 +166,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(1, pageSize_); } @@ -169,15 +198,13 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, showDeleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -187,19 +214,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountsRequest other = (com.google.analytics.admin.v1beta.ListAccountsRequest) obj; + com.google.analytics.admin.v1beta.ListAccountsRequest other = + (com.google.analytics.admin.v1beta.ListAccountsRequest) obj; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getShowDeleted() - != other.getShowDeleted()) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getShowDeleted() != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,137 +241,143 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( 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.v1beta.ListAccountsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListAccountsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountsRequest) com.google.analytics.admin.v1beta.ListAccountsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsRequest.class, com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsRequest.class, + com.google.analytics.admin.v1beta.ListAccountsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; } @java.lang.Override @@ -379,8 +410,11 @@ public com.google.analytics.admin.v1beta.ListAccountsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListAccountsRequest result = new com.google.analytics.admin.v1beta.ListAccountsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListAccountsRequest result = + new com.google.analytics.admin.v1beta.ListAccountsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -402,38 +436,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListAccountsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListAccountsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListAccountsRequest.getDefaultInstance()) + return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -479,27 +515,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + showDeleted_ = 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) { @@ -509,10 +549,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -521,6 +564,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -528,6 +572,8 @@ 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.
@@ -536,17 +582,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -555,6 +604,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -566,6 +616,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -574,13 +626,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -589,6 +641,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -597,15 +651,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -613,6 +666,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -621,18 +676,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -641,6 +700,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -650,6 +710,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -658,12 +720,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; @@ -671,8 +735,10 @@ public Builder setPageTokenBytes( return this; } - private boolean showDeleted_ ; + private boolean showDeleted_; /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -680,6 +746,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -687,6 +754,8 @@ public boolean getShowDeleted() { return showDeleted_; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -694,17 +763,20 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; + * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -712,6 +784,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -720,9 +793,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountsRequest) private static final com.google.analytics.admin.v1beta.ListAccountsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountsRequest(); } @@ -746,27 +819,27 @@ public static com.google.analytics.admin.v1beta.ListAccountsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsRequest 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; @@ -781,6 +854,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListAccountsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java index 680ccc4f4a02..5e8c093c15f4 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountsRequestOrBuilder extends +public interface ListAccountsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -16,11 +34,14 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -29,10 +50,13 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAccounts` call.
    * Provide this to retrieve the subsequent page.
@@ -41,12 +65,14 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Accounts in the
    * results. Accounts can be inspected to determine whether they are deleted or
@@ -54,6 +80,7 @@ public interface ListAccountsRequestOrBuilder extends
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java index cc26239af5b7..b423154d7ab3 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsResponse} */ -public final class ListAccountsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccountsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListAccountsResponse) ListAccountsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccountsResponse.newBuilder() to construct. private ListAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccountsResponse() { accounts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsResponse.class, com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsResponse.class, + com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); } public static final int ACCOUNTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accounts_; /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -64,6 +86,8 @@ public java.util.List getAccountsList return accounts_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -71,11 +95,13 @@ public java.util.List getAccountsList * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccountsOrBuilderList() { return accounts_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -87,6 +113,8 @@ public int getAccountsCount() { return accounts_.size(); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1beta.Account getAccounts(int index) { return accounts_.get(index); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1beta.Account getAccounts(int index) { * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(int index) { return accounts_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < accounts_.size(); i++) { output.writeMessage(1, accounts_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accounts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accounts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accounts_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListAccountsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListAccountsResponse other = (com.google.analytics.admin.v1beta.ListAccountsResponse) obj; + com.google.analytics.admin.v1beta.ListAccountsResponse other = + (com.google.analytics.admin.v1beta.ListAccountsResponse) obj; - if (!getAccountsList() - .equals(other.getAccountsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAccountsList().equals(other.getAccountsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( 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.v1beta.ListAccountsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListAccountsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListAccountsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListAccountsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListAccountsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListAccountsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListAccountsResponse) com.google.analytics.admin.v1beta.ListAccountsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListAccountsResponse.class, com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListAccountsResponse.class, + com.google.analytics.admin.v1beta.ListAccountsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListAccountsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1beta.ListAccountsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListAccountsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListAccountsResponse result = new com.google.analytics.admin.v1beta.ListAccountsResponse(this); + com.google.analytics.admin.v1beta.ListAccountsResponse result = + new com.google.analytics.admin.v1beta.ListAccountsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListAccountsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListAccountsResponse result) { if (accountsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accounts_ = java.util.Collections.unmodifiableList(accounts_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListAccountsRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListAccountsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListAccountsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListAccountsResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListAccountsResponse.getDefaultInstance()) + return this; if (accountsBuilder_ == null) { if (!other.accounts_.isEmpty()) { if (accounts_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListAccountsResponse accountsBuilder_ = null; accounts_ = other.accounts_; bitField0_ = (bitField0_ & ~0x00000001); - accountsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccountsFieldBuilder() : null; + accountsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccountsFieldBuilder() + : null; } else { accountsBuilder_.addAllMessages(other.accounts_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.Account m = - input.readMessage( - com.google.analytics.admin.v1beta.Account.parser(), - extensionRegistry); - if (accountsBuilder_ == null) { - ensureAccountsIsMutable(); - accounts_.add(m); - } else { - accountsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.Account m = + input.readMessage( + com.google.analytics.admin.v1beta.Account.parser(), extensionRegistry); + if (accountsBuilder_ == null) { + ensureAccountsIsMutable(); + accounts_.add(m); + } else { + accountsBuilder_.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) { @@ -557,21 +604,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accounts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { accounts_ = new java.util.ArrayList(accounts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountsBuilder_; + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder> + accountsBuilder_; /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -586,6 +640,8 @@ public java.util.List getAccountsList } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -600,6 +656,8 @@ public int getAccountsCount() { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -614,14 +672,15 @@ public com.google.analytics.admin.v1beta.Account getAccounts(int index) { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public Builder setAccounts( - int index, com.google.analytics.admin.v1beta.Account value) { + public Builder setAccounts(int index, com.google.analytics.admin.v1beta.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +694,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -653,6 +714,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -673,14 +736,15 @@ public Builder addAccounts(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public Builder addAccounts( - int index, com.google.analytics.admin.v1beta.Account value) { + public Builder addAccounts(int index, com.google.analytics.admin.v1beta.Account value) { if (accountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,14 +758,15 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public Builder addAccounts( - com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder addAccounts(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); accounts_.add(builderForValue.build()); @@ -712,6 +777,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -730,6 +797,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -740,8 +809,7 @@ public Builder addAllAccounts( java.lang.Iterable values) { if (accountsBuilder_ == null) { ensureAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accounts_); onChanged(); } else { accountsBuilder_.addAllMessages(values); @@ -749,6 +817,8 @@ public Builder addAllAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -766,6 +836,8 @@ public Builder clearAccounts() { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -783,39 +855,44 @@ public Builder removeAccounts(int index) { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public com.google.analytics.admin.v1beta.Account.Builder getAccountsBuilder( - int index) { + public com.google.analytics.admin.v1beta.Account.Builder getAccountsBuilder(int index) { return getAccountsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(int index) { if (accountsBuilder_ == null) { - return accounts_.get(index); } else { + return accounts_.get(index); + } else { return accountsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public java.util.List - getAccountsOrBuilderList() { + public java.util.List + getAccountsOrBuilderList() { if (accountsBuilder_ != null) { return accountsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +900,8 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -830,42 +909,48 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder() { - return getAccountsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.Account.getDefaultInstance()); + return getAccountsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.Account.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder( - int index) { - return getAccountsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.Account.getDefaultInstance()); + public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder(int index) { + return getAccountsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.Account.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - public java.util.List - getAccountsBuilderList() { + public java.util.List + getAccountsBuilderList() { return getAccountsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountsFieldBuilder() { if (accountsBuilder_ == null) { - accountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( - accounts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + accountsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder>( + accounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); accounts_ = null; } return accountsBuilder_; @@ -873,19 +958,21 @@ public com.google.analytics.admin.v1beta.Account.Builder addAccountsBuilder( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +981,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1004,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1044,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListAccountsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListAccountsResponse) private static final com.google.analytics.admin.v1beta.ListAccountsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListAccountsResponse(); } @@ -993,27 +1092,27 @@ public static com.google.analytics.admin.v1beta.ListAccountsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccountsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccountsResponse 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; @@ -1028,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListAccountsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java index 227c1921d242..dcfa3cf7002f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListAccountsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListAccountsResponseOrBuilder extends +public interface ListAccountsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListAccountsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - java.util.List - getAccountsList(); + java.util.List getAccountsList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -25,6 +44,8 @@ public interface ListAccountsResponseOrBuilder extends */ com.google.analytics.admin.v1beta.Account getAccounts(int index); /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -33,43 +54,51 @@ public interface ListAccountsResponseOrBuilder extends */ int getAccountsCount(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - java.util.List + java.util.List getAccountsOrBuilderList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Account accounts = 1; */ - com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( - int index); + com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java index 8c3c2ccaf776..086c850802d0 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListConversionEvents RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsRequest} */ -public final class ListConversionEventsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversionEventsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListConversionEventsRequest) ListConversionEventsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversionEventsRequest.newBuilder() to construct. private ListConversionEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversionEventsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,46 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, + com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,6 +128,8 @@ public java.lang.String getParent() { 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.
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -127,6 +160,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -135,14 +169,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -151,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -169,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +215,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -204,8 +238,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -218,19 +251,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListConversionEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListConversionEventsRequest other = (com.google.analytics.admin.v1beta.ListConversionEventsRequest) obj; + com.google.analytics.admin.v1beta.ListConversionEventsRequest other = + (com.google.analytics.admin.v1beta.ListConversionEventsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -254,129 +285,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( 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.v1beta.ListConversionEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListConversionEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListConversionEventsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListConversionEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListConversionEvents RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListConversionEventsRequest) com.google.analytics.admin.v1beta.ListConversionEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, + com.google.analytics.admin.v1beta.ListConversionEventsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListConversionEventsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,13 +426,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListConversionEventsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListConversionEventsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance(); } @@ -409,13 +448,17 @@ public com.google.analytics.admin.v1beta.ListConversionEventsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListConversionEventsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListConversionEventsRequest result = new com.google.analytics.admin.v1beta.ListConversionEventsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListConversionEventsRequest result = + new com.google.analytics.admin.v1beta.ListConversionEventsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ListConversionEventsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListConversionEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,38 +475,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListConversionEvent public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListConversionEventsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsRequest) other); } else { super.mergeFrom(other); return this; @@ -471,7 +515,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListConversionEventsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +557,31 @@ public Builder mergeFrom( 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: + 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) { @@ -541,23 +591,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -566,21 +621,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -588,30 +646,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -621,18 +690,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent property.
      * Example: 'properties/123'
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -640,8 +715,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -649,6 +726,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -656,6 +734,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -663,17 +743,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -681,6 +764,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -692,6 +776,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -700,13 +786,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -715,6 +801,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -723,15 +811,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -739,6 +826,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -747,18 +836,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -767,6 +860,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -776,6 +870,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -784,21 +880,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +906,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListConversionEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListConversionEventsRequest) - private static final com.google.analytics.admin.v1beta.ListConversionEventsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListConversionEventsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListConversionEventsRequest(); } @@ -822,27 +921,27 @@ public static com.google.analytics.admin.v1beta.ListConversionEventsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsRequest 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; @@ -857,6 +956,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.analytics.admin.v1beta.ListConversionEventsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java index 4b1f4f98e963..3a4645c33869 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListConversionEventsRequestOrBuilder extends +public interface ListConversionEventsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListConversionEventsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent property.
    * Example: 'properties/123'
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -37,11 +64,14 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListConversionEvents` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListConversionEventsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java index 9361a0bb01d4..deb1e13d1813 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListConversionEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsResponse} */ -public final class ListConversionEventsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConversionEventsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListConversionEventsResponse) ListConversionEventsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConversionEventsResponse.newBuilder() to construct. private ListConversionEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConversionEventsResponse() { conversionEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, + com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); } public static final int CONVERSION_EVENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List conversionEvents_; /** + * + * *
    * The requested conversion events
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List getConversionEventsList() { + public java.util.List + getConversionEventsList() { return conversionEvents_; } /** + * + * *
    * The requested conversion events
    * 
@@ -71,11 +96,13 @@ public java.util.List getConv * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConversionEventsOrBuilderList() { return conversionEvents_; } /** + * + * *
    * The requested conversion events
    * 
@@ -87,6 +114,8 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** + * + * *
    * The requested conversion events
    * 
@@ -98,6 +127,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int return conversionEvents_.get(index); } /** + * + * *
    * The requested conversion events
    * 
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } 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 @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < conversionEvents_.size(); i++) { output.writeMessage(1, conversionEvents_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversionEvents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, conversionEvents_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversionEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListConversionEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListConversionEventsResponse other = (com.google.analytics.admin.v1beta.ListConversionEventsResponse) obj; + com.google.analytics.admin.v1beta.ListConversionEventsResponse other = + (com.google.analytics.admin.v1beta.ListConversionEventsResponse) obj; - if (!getConversionEventsList() - .equals(other.getConversionEventsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getConversionEventsList().equals(other.getConversionEventsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( 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.v1beta.ListConversionEventsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListConversionEventsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListConversionEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListConversionEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListConversionEventsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListConversionEventsResponse) com.google.analytics.admin.v1beta.ListConversionEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, + com.google.analytics.admin.v1beta.ListConversionEventsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListConversionEventsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListConversionEventsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListConversionEventsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance(); } @@ -397,14 +438,18 @@ public com.google.analytics.admin.v1beta.ListConversionEventsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListConversionEventsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListConversionEventsResponse result = new com.google.analytics.admin.v1beta.ListConversionEventsResponse(this); + com.google.analytics.admin.v1beta.ListConversionEventsResponse result = + new com.google.analytics.admin.v1beta.ListConversionEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { if (conversionEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { conversionEvents_ = java.util.Collections.unmodifiableList(conversionEvents_); @@ -416,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListCo } } - private void buildPartial0(com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListConversionEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +473,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListConversionEvent public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListConversionEventsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListConversionEventsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListConversionEventsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance()) + return this; if (conversionEventsBuilder_ == null) { if (!other.conversionEvents_.isEmpty()) { if (conversionEvents_.isEmpty()) { @@ -485,9 +534,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListConversionEventsR conversionEventsBuilder_ = null; conversionEvents_ = other.conversionEvents_; bitField0_ = (bitField0_ & ~0x00000001); - conversionEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConversionEventsFieldBuilder() : null; + conversionEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConversionEventsFieldBuilder() + : null; } else { conversionEventsBuilder_.addAllMessages(other.conversionEvents_); } @@ -524,30 +574,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.ConversionEvent m = - input.readMessage( - com.google.analytics.admin.v1beta.ConversionEvent.parser(), - extensionRegistry); - if (conversionEventsBuilder_ == null) { - ensureConversionEventsIsMutable(); - conversionEvents_.add(m); - } else { - conversionEventsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.ConversionEvent m = + input.readMessage( + com.google.analytics.admin.v1beta.ConversionEvent.parser(), + extensionRegistry); + if (conversionEventsBuilder_ == null) { + ensureConversionEventsIsMutable(); + conversionEvents_.add(m); + } else { + conversionEventsBuilder_.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) { @@ -557,28 +610,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List conversionEvents_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConversionEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conversionEvents_ = new java.util.ArrayList(conversionEvents_); + conversionEvents_ = + new java.util.ArrayList( + conversionEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> conversionEventsBuilder_; + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + conversionEventsBuilder_; /** + * + * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - public java.util.List getConversionEventsList() { + public java.util.List + getConversionEventsList() { if (conversionEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(conversionEvents_); } else { @@ -586,6 +649,8 @@ public java.util.List getConv } } /** + * + * *
      * The requested conversion events
      * 
@@ -600,6 +665,8 @@ public int getConversionEventsCount() { } } /** + * + * *
      * The requested conversion events
      * 
@@ -614,6 +681,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int } } /** + * + * *
      * The requested conversion events
      * 
@@ -635,6 +704,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -653,6 +724,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -673,6 +746,8 @@ public Builder addConversionEvents(com.google.analytics.admin.v1beta.ConversionE return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -694,6 +769,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -712,6 +789,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -730,6 +809,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -740,8 +821,7 @@ public Builder addAllConversionEvents( java.lang.Iterable values) { if (conversionEventsBuilder_ == null) { ensureConversionEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conversionEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversionEvents_); onChanged(); } else { conversionEventsBuilder_.addAllMessages(values); @@ -749,6 +829,8 @@ public Builder addAllConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -766,6 +848,8 @@ public Builder clearConversionEvents() { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -783,6 +867,8 @@ public Builder removeConversionEvents(int index) { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -794,6 +880,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested conversion events
      * 
@@ -803,19 +891,22 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventsOrBuilder( int index) { if (conversionEventsBuilder_ == null) { - return conversionEvents_.get(index); } else { + return conversionEvents_.get(index); + } else { return conversionEventsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsOrBuilderList() { + public java.util.List + getConversionEventsOrBuilderList() { if (conversionEventsBuilder_ != null) { return conversionEventsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +914,8 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } } /** + * + * *
      * The requested conversion events
      * 
@@ -830,10 +923,12 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEventsBuilder() { - return getConversionEventsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); } /** + * + * *
      * The requested conversion events
      * 
@@ -842,26 +937,35 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEv */ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEventsBuilder( int index) { - return getConversionEventsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); + return getConversionEventsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance()); } /** + * + * *
      * The requested conversion events
      * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - public java.util.List - getConversionEventsBuilderList() { + public java.util.List + getConversionEventsBuilderList() { return getConversionEventsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder> + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder> getConversionEventsFieldBuilder() { if (conversionEventsBuilder_ == null) { - conversionEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ConversionEvent, com.google.analytics.admin.v1beta.ConversionEvent.Builder, com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( + conversionEventsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.ConversionEvent, + com.google.analytics.admin.v1beta.ConversionEvent.Builder, + com.google.analytics.admin.v1beta.ConversionEventOrBuilder>( conversionEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +977,21 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder addConversionEv 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1000,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1023,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1063,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1097,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListConversionEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListConversionEventsResponse) - private static final com.google.analytics.admin.v1beta.ListConversionEventsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListConversionEventsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListConversionEventsResponse(); } - public static com.google.analytics.admin.v1beta.ListConversionEventsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListConversionEventsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConversionEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversionEventsResponse 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; @@ -1025,9 +1145,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.ListConversionEventsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListConversionEventsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java index 5e2af79f5de3..a12e3dd8684d 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListConversionEventsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListConversionEventsResponseOrBuilder extends +public interface ListConversionEventsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListConversionEventsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - java.util.List - getConversionEventsList(); + java.util.List getConversionEventsList(); /** + * + * *
    * The requested conversion events
    * 
@@ -25,6 +44,8 @@ public interface ListConversionEventsResponseOrBuilder extends */ com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int index); /** + * + * *
    * The requested conversion events
    * 
@@ -33,15 +54,19 @@ public interface ListConversionEventsResponseOrBuilder extends */ int getConversionEventsCount(); /** + * + * *
    * The requested conversion events
    * 
* * repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; */ - java.util.List + java.util.List getConversionEventsOrBuilderList(); /** + * + * *
    * The requested conversion events
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventsOr 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java index 8ab361fb6e10..bcdd6cf2faa1 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsRequest} */ -public final class ListCustomDimensionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomDimensionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomDimensionsRequest) ListCustomDimensionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomDimensionsRequest.newBuilder() to construct. private ListCustomDimensionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomDimensionsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomDimensionsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest other = (com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) obj; + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest other = + (com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( 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.v1beta.ListCustomDimensionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomDimensionsRequest) com.google.analytics.admin.v1beta.ListCustomDimensionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,13 +424,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance(); } @@ -407,13 +446,17 @@ public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result = new com.google.analytics.admin.v1beta.ListCustomDimensionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result = + new com.google.analytics.admin.v1beta.ListCustomDimensionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListCustomDimensionsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -430,38 +473,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomDimension public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListCustomDimensionsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +555,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +589,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +618,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +642,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +684,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +708,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +719,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +727,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +736,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +757,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +769,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +779,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +794,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +804,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +829,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +853,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +863,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +873,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +899,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomDimensionsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomDimensionsRequest) - private static final com.google.analytics.admin.v1beta.ListCustomDimensionsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListCustomDimensionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomDimensionsRequest(); } @@ -815,27 +914,27 @@ public static com.google.analytics.admin.v1beta.ListCustomDimensionsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsRequest 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; @@ -850,6 +949,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.analytics.admin.v1beta.ListCustomDimensionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java index d4ea6fd19b08..db1639581a01 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomDimensionsRequestOrBuilder extends +public interface ListCustomDimensionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomDimensionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListCustomDimensions` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListCustomDimensionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java index 01ec48b9bf82..188b502df369 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListCustomDimensions RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsResponse} */ -public final class ListCustomDimensionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomDimensionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomDimensionsResponse) ListCustomDimensionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomDimensionsResponse.newBuilder() to construct. private ListCustomDimensionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomDimensionsResponse() { customDimensions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); } public static final int CUSTOM_DIMENSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List customDimensions_; /** + * + * *
    * List of CustomDimensions.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List getCustomDimensionsList() { + public java.util.List + getCustomDimensionsList() { return customDimensions_; } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -71,11 +96,13 @@ public java.util.List getCust * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomDimensionsOrBuilderList() { return customDimensions_; } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -87,6 +114,8 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -98,6 +127,8 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int return customDimensions_.get(index); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen } 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 @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customDimensions_.size(); i++) { output.writeMessage(1, customDimensions_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customDimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, customDimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customDimensions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomDimensionsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse other = (com.google.analytics.admin.v1beta.ListCustomDimensionsResponse) obj; + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse other = + (com.google.analytics.admin.v1beta.ListCustomDimensionsResponse) obj; - if (!getCustomDimensionsList() - .equals(other.getCustomDimensionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCustomDimensionsList().equals(other.getCustomDimensionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( 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.v1beta.ListCustomDimensionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListCustomDimensions RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomDimensionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomDimensionsResponse) com.google.analytics.admin.v1beta.ListCustomDimensionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance(); } @@ -397,14 +438,18 @@ public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result = new com.google.analytics.admin.v1beta.ListCustomDimensionsResponse(this); + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result = + new com.google.analytics.admin.v1beta.ListCustomDimensionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { if (customDimensionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customDimensions_ = java.util.Collections.unmodifiableList(customDimensions_); @@ -416,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListCu } } - private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListCustomDimensionsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +473,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomDimension public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListCustomDimensionsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomDimensionsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomDimensionsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance()) + return this; if (customDimensionsBuilder_ == null) { if (!other.customDimensions_.isEmpty()) { if (customDimensions_.isEmpty()) { @@ -485,9 +534,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomDimensionsR customDimensionsBuilder_ = null; customDimensions_ = other.customDimensions_; bitField0_ = (bitField0_ & ~0x00000001); - customDimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCustomDimensionsFieldBuilder() : null; + customDimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCustomDimensionsFieldBuilder() + : null; } else { customDimensionsBuilder_.addAllMessages(other.customDimensions_); } @@ -524,30 +574,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.CustomDimension m = - input.readMessage( - com.google.analytics.admin.v1beta.CustomDimension.parser(), - extensionRegistry); - if (customDimensionsBuilder_ == null) { - ensureCustomDimensionsIsMutable(); - customDimensions_.add(m); - } else { - customDimensionsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.CustomDimension m = + input.readMessage( + com.google.analytics.admin.v1beta.CustomDimension.parser(), + extensionRegistry); + if (customDimensionsBuilder_ == null) { + ensureCustomDimensionsIsMutable(); + customDimensions_.add(m); + } else { + customDimensionsBuilder_.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) { @@ -557,28 +610,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List customDimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customDimensions_ = new java.util.ArrayList(customDimensions_); + customDimensions_ = + new java.util.ArrayList( + customDimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> customDimensionsBuilder_; + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + customDimensionsBuilder_; /** + * + * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - public java.util.List getCustomDimensionsList() { + public java.util.List + getCustomDimensionsList() { if (customDimensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(customDimensions_); } else { @@ -586,6 +649,8 @@ public java.util.List getCust } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -600,6 +665,8 @@ public int getCustomDimensionsCount() { } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -614,6 +681,8 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -635,6 +704,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -653,6 +724,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -673,6 +746,8 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1beta.CustomDimen return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -694,6 +769,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -712,6 +789,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -730,6 +809,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -740,8 +821,7 @@ public Builder addAllCustomDimensions( java.lang.Iterable values) { if (customDimensionsBuilder_ == null) { ensureCustomDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customDimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customDimensions_); onChanged(); } else { customDimensionsBuilder_.addAllMessages(values); @@ -749,6 +829,8 @@ public Builder addAllCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -766,6 +848,8 @@ public Builder clearCustomDimensions() { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -783,6 +867,8 @@ public Builder removeCustomDimensions(int index) { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -794,6 +880,8 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens return getCustomDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -803,19 +891,22 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionsOrBuilder( int index) { if (customDimensionsBuilder_ == null) { - return customDimensions_.get(index); } else { + return customDimensions_.get(index); + } else { return customDimensionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsOrBuilderList() { + public java.util.List + getCustomDimensionsOrBuilderList() { if (customDimensionsBuilder_ != null) { return customDimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +914,8 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -830,10 +923,12 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimensionsBuilder() { - return getCustomDimensionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -842,26 +937,35 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimens */ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimensionsBuilder( int index) { - return getCustomDimensionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); + return getCustomDimensionsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()); } /** + * + * *
      * List of CustomDimensions.
      * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - public java.util.List - getCustomDimensionsBuilderList() { + public java.util.List + getCustomDimensionsBuilderList() { return getCustomDimensionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> getCustomDimensionsFieldBuilder() { if (customDimensionsBuilder_ == null) { - customDimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( + customDimensionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( customDimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +977,21 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder addCustomDimens 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1000,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1023,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1063,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1097,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomDimensionsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomDimensionsResponse) - private static final com.google.analytics.admin.v1beta.ListCustomDimensionsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListCustomDimensionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomDimensionsResponse(); } - public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListCustomDimensionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomDimensionsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomDimensionsResponse 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; @@ -1025,9 +1145,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java index d6325ea79d70..4af913b009fd 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomDimensionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomDimensionsResponseOrBuilder extends +public interface ListCustomDimensionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomDimensionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - java.util.List - getCustomDimensionsList(); + java.util.List getCustomDimensionsList(); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomDimensionsResponseOrBuilder extends */ com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int index); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -33,15 +54,19 @@ public interface ListCustomDimensionsResponseOrBuilder extends */ int getCustomDimensionsCount(); /** + * + * *
    * List of CustomDimensions.
    * 
* * repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; */ - java.util.List + java.util.List getCustomDimensionsOrBuilderList(); /** + * + * *
    * List of CustomDimensions.
    * 
@@ -52,24 +77,29 @@ com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionsOr 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java index 771494e3cd74..2ddee3c37f04 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsRequest} */ -public final class ListCustomMetricsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomMetricsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomMetricsRequest) ListCustomMetricsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomMetricsRequest.newBuilder() to construct. private ListCustomMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomMetricsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, com.google.analytics.admin.v1beta.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, + com.google.analytics.admin.v1beta.ListCustomMetricsRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomMetricsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomMetricsRequest other = (com.google.analytics.admin.v1beta.ListCustomMetricsRequest) obj; + com.google.analytics.admin.v1beta.ListCustomMetricsRequest other = + (com.google.analytics.admin.v1beta.ListCustomMetricsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( 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.v1beta.ListCustomMetricsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomMetricsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListCustomMetricsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomMetricsRequest) com.google.analytics.admin.v1beta.ListCustomMetricsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, com.google.analytics.admin.v1beta.ListCustomMetricsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, + com.google.analytics.admin.v1beta.ListCustomMetricsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomMetricsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; } @java.lang.Override @@ -407,8 +445,11 @@ public com.google.analytics.admin.v1beta.ListCustomMetricsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomMetricsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListCustomMetricsRequest result = new com.google.analytics.admin.v1beta.ListCustomMetricsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListCustomMetricsRequest result = + new com.google.analytics.admin.v1beta.ListCustomMetricsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -430,38 +471,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomMetricsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListCustomMetricsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomMetricsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListCustomMetricsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListCustomMetricsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +552,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +586,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +615,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +639,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +681,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +705,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +733,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +826,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +850,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +860,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomMetricsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomMetricsRequest) private static final com.google.analytics.admin.v1beta.ListCustomMetricsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomMetricsRequest(); } @@ -815,27 +910,27 @@ public static com.google.analytics.admin.v1beta.ListCustomMetricsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsRequest 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; @@ -850,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListCustomMetricsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java index 9ba7bc8150fc..d1949dfdb637 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomMetricsRequestOrBuilder extends +public interface ListCustomMetricsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomMetricsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListCustomMetrics` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListCustomMetricsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java index 0f724cd3fbbf..21ea9a844de2 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListCustomMetrics RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsResponse} */ -public final class ListCustomMetricsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCustomMetricsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListCustomMetricsResponse) ListCustomMetricsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCustomMetricsResponse.newBuilder() to construct. private ListCustomMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCustomMetricsResponse() { customMetrics_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, + com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); } public static final int CUSTOM_METRICS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List customMetrics_; /** + * + * *
    * List of CustomMetrics.
    * 
@@ -64,6 +86,8 @@ public java.util.List getCustomM return customMetrics_; } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -71,11 +95,13 @@ public java.util.List getCustomM * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomMetricsOrBuilderList() { return customMetrics_; } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -87,6 +113,8 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index return customMetrics_.get(index); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -111,15 +141,19 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsO } 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 @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customMetrics_.size(); i++) { output.writeMessage(1, customMetrics_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customMetrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, customMetrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customMetrics_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListCustomMetricsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListCustomMetricsResponse other = (com.google.analytics.admin.v1beta.ListCustomMetricsResponse) obj; + com.google.analytics.admin.v1beta.ListCustomMetricsResponse other = + (com.google.analytics.admin.v1beta.ListCustomMetricsResponse) obj; - if (!getCustomMetricsList() - .equals(other.getCustomMetricsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCustomMetricsList().equals(other.getCustomMetricsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( 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.v1beta.ListCustomMetricsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListCustomMetricsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListCustomMetricsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListCustomMetrics RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListCustomMetricsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListCustomMetricsResponse) com.google.analytics.admin.v1beta.ListCustomMetricsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, + com.google.analytics.admin.v1beta.ListCustomMetricsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListCustomMetricsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; } @java.lang.Override @@ -397,14 +436,18 @@ public com.google.analytics.admin.v1beta.ListCustomMetricsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListCustomMetricsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListCustomMetricsResponse result = new com.google.analytics.admin.v1beta.ListCustomMetricsResponse(this); + com.google.analytics.admin.v1beta.ListCustomMetricsResponse result = + new com.google.analytics.admin.v1beta.ListCustomMetricsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListCustomMetricsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListCustomMetricsResponse result) { if (customMetricsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { customMetrics_ = java.util.Collections.unmodifiableList(customMetrics_); @@ -427,38 +470,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListCustomMetricsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListCustomMetricsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListCustomMetricsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomMetricsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListCustomMetricsResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListCustomMetricsResponse.getDefaultInstance()) + return this; if (customMetricsBuilder_ == null) { if (!other.customMetrics_.isEmpty()) { if (customMetrics_.isEmpty()) { @@ -485,9 +530,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListCustomMetricsResp customMetricsBuilder_ = null; customMetrics_ = other.customMetrics_; bitField0_ = (bitField0_ & ~0x00000001); - customMetricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCustomMetricsFieldBuilder() : null; + customMetricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCustomMetricsFieldBuilder() + : null; } else { customMetricsBuilder_.addAllMessages(other.customMetrics_); } @@ -524,30 +570,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.CustomMetric m = - input.readMessage( - com.google.analytics.admin.v1beta.CustomMetric.parser(), - extensionRegistry); - if (customMetricsBuilder_ == null) { - ensureCustomMetricsIsMutable(); - customMetrics_.add(m); - } else { - customMetricsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.CustomMetric m = + input.readMessage( + com.google.analytics.admin.v1beta.CustomMetric.parser(), extensionRegistry); + if (customMetricsBuilder_ == null) { + ensureCustomMetricsIsMutable(); + customMetrics_.add(m); + } else { + customMetricsBuilder_.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) { @@ -557,21 +605,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List customMetrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customMetrics_ = new java.util.ArrayList(customMetrics_); + customMetrics_ = + new java.util.ArrayList(customMetrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> customMetricsBuilder_; + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + customMetricsBuilder_; /** + * + * *
      * List of CustomMetrics.
      * 
@@ -586,6 +642,8 @@ public java.util.List getCustomM } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -600,6 +658,8 @@ public int getCustomMetricsCount() { } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -614,6 +674,8 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -635,6 +697,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -653,6 +717,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -673,6 +739,8 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1beta.CustomMetric v return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -694,6 +762,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -712,6 +782,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -730,6 +802,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -740,8 +814,7 @@ public Builder addAllCustomMetrics( java.lang.Iterable values) { if (customMetricsBuilder_ == null) { ensureCustomMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customMetrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customMetrics_); onChanged(); } else { customMetricsBuilder_.addAllMessages(values); @@ -749,6 +822,8 @@ public Builder addAllCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -766,6 +841,8 @@ public Builder clearCustomMetrics() { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -783,6 +860,8 @@ public Builder removeCustomMetrics(int index) { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -794,6 +873,8 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricsBu return getCustomMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -803,19 +884,22 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricsBu public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsOrBuilder( int index) { if (customMetricsBuilder_ == null) { - return customMetrics_.get(index); } else { + return customMetrics_.get(index); + } else { return customMetricsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsOrBuilderList() { + public java.util.List + getCustomMetricsOrBuilderList() { if (customMetricsBuilder_ != null) { return customMetricsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +907,8 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsO } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -830,10 +916,12 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsO * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBuilder() { - return getCustomMetricsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -842,26 +930,34 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBu */ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBuilder( int index) { - return getCustomMetricsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); + return getCustomMetricsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()); } /** + * + * *
      * List of CustomMetrics.
      * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - public java.util.List - getCustomMetricsBuilderList() { + public java.util.List + getCustomMetricsBuilderList() { return getCustomMetricsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder> getCustomMetricsFieldBuilder() { if (customMetricsBuilder_ == null) { - customMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( + customMetricsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( customMetrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +969,21 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder addCustomMetricsBu 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +992,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1015,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1055,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1089,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListCustomMetricsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListCustomMetricsResponse) private static final com.google.analytics.admin.v1beta.ListCustomMetricsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListCustomMetricsResponse(); } @@ -993,27 +1103,27 @@ public static com.google.analytics.admin.v1beta.ListCustomMetricsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomMetricsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomMetricsResponse 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; @@ -1028,6 +1138,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListCustomMetricsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java index 0739aa73c8ac..f46ad12c9843 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListCustomMetricsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListCustomMetricsResponseOrBuilder extends +public interface ListCustomMetricsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListCustomMetricsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - java.util.List - getCustomMetricsList(); + java.util.List getCustomMetricsList(); /** + * + * *
    * List of CustomMetrics.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomMetricsResponseOrBuilder extends */ com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index); /** + * + * *
    * List of CustomMetrics.
    * 
@@ -33,43 +54,51 @@ public interface ListCustomMetricsResponseOrBuilder extends */ int getCustomMetricsCount(); /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - java.util.List + java.util.List getCustomMetricsOrBuilderList(); /** + * + * *
    * List of CustomMetrics.
    * 
* * repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; */ - com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsOrBuilder( - int index); + com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java index a25aa9e9d0b6..69d7463361d4 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsRequest} */ -public final class ListDataStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListDataStreamsRequest) ListDataStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataStreamsRequest.newBuilder() to construct. private ListDataStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataStreamsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, com.google.analytics.admin.v1beta.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, + com.google.analytics.admin.v1beta.ListDataStreamsRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListDataStreamsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListDataStreamsRequest other = (com.google.analytics.admin.v1beta.ListDataStreamsRequest) obj; + com.google.analytics.admin.v1beta.ListDataStreamsRequest other = + (com.google.analytics.admin.v1beta.ListDataStreamsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( 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.v1beta.ListDataStreamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListDataStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListDataStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListDataStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListDataStreamsRequest) com.google.analytics.admin.v1beta.ListDataStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, com.google.analytics.admin.v1beta.ListDataStreamsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, + com.google.analytics.admin.v1beta.ListDataStreamsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListDataStreamsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; } @java.lang.Override @@ -407,8 +445,11 @@ public com.google.analytics.admin.v1beta.ListDataStreamsRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListDataStreamsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListDataStreamsRequest result = new com.google.analytics.admin.v1beta.ListDataStreamsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListDataStreamsRequest result = + new com.google.analytics.admin.v1beta.ListDataStreamsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -430,38 +471,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListDataStreamsRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListDataStreamsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListDataStreamsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListDataStreamsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListDataStreamsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +552,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +586,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +615,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +639,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +681,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +705,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +733,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +826,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +850,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +860,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListDataStreamsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListDataStreamsRequest) private static final com.google.analytics.admin.v1beta.ListDataStreamsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListDataStreamsRequest(); } @@ -815,27 +910,27 @@ public static com.google.analytics.admin.v1beta.ListDataStreamsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsRequest 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; @@ -850,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListDataStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java index 4682d49a81cb..a35523bb8aaf 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListDataStreamsRequestOrBuilder extends +public interface ListDataStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListDataStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListDataStreams` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListDataStreamsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java index c27923ff49fb..3da338b23e6d 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListDataStreams RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsResponse} */ -public final class ListDataStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDataStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListDataStreamsResponse) ListDataStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDataStreamsResponse.newBuilder() to construct. private ListDataStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDataStreamsResponse() { dataStreams_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, + com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); } public static final int DATA_STREAMS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List dataStreams_; /** + * + * *
    * List of DataStreams.
    * 
@@ -64,6 +86,8 @@ public java.util.List getDataStrea return dataStreams_; } /** + * + * *
    * List of DataStreams.
    * 
@@ -71,11 +95,13 @@ public java.util.List getDataStrea * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDataStreamsOrBuilderList() { return dataStreams_; } /** + * + * *
    * List of DataStreams.
    * 
@@ -87,6 +113,8 @@ public int getDataStreamsCount() { return dataStreams_.size(); } /** + * + * *
    * List of DataStreams.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1beta.DataStream getDataStreams(int index) { return dataStreams_.get(index); } /** + * + * *
    * List of DataStreams.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1beta.DataStream getDataStreams(int index) { * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder(int index) { return dataStreams_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dataStreams_.size(); i++) { output.writeMessage(1, dataStreams_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dataStreams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dataStreams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dataStreams_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListDataStreamsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListDataStreamsResponse other = (com.google.analytics.admin.v1beta.ListDataStreamsResponse) obj; + com.google.analytics.admin.v1beta.ListDataStreamsResponse other = + (com.google.analytics.admin.v1beta.ListDataStreamsResponse) obj; - if (!getDataStreamsList() - .equals(other.getDataStreamsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDataStreamsList().equals(other.getDataStreamsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( 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.v1beta.ListDataStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListDataStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListDataStreamsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListDataStreamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListDataStreams RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListDataStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListDataStreamsResponse) com.google.analytics.admin.v1beta.ListDataStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, + com.google.analytics.admin.v1beta.ListDataStreamsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListDataStreamsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1beta.ListDataStreamsResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListDataStreamsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListDataStreamsResponse result = new com.google.analytics.admin.v1beta.ListDataStreamsResponse(this); + com.google.analytics.admin.v1beta.ListDataStreamsResponse result = + new com.google.analytics.admin.v1beta.ListDataStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListDataStreamsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListDataStreamsResponse result) { if (dataStreamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataStreams_ = java.util.Collections.unmodifiableList(dataStreams_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListDataStreamsResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListDataStreamsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListDataStreamsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListDataStreamsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListDataStreamsResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListDataStreamsResponse.getDefaultInstance()) + return this; if (dataStreamsBuilder_ == null) { if (!other.dataStreams_.isEmpty()) { if (dataStreams_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListDataStreamsRespon dataStreamsBuilder_ = null; dataStreams_ = other.dataStreams_; bitField0_ = (bitField0_ & ~0x00000001); - dataStreamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataStreamsFieldBuilder() : null; + dataStreamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataStreamsFieldBuilder() + : null; } else { dataStreamsBuilder_.addAllMessages(other.dataStreams_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.DataStream m = - input.readMessage( - com.google.analytics.admin.v1beta.DataStream.parser(), - extensionRegistry); - if (dataStreamsBuilder_ == null) { - ensureDataStreamsIsMutable(); - dataStreams_.add(m); - } else { - dataStreamsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.DataStream m = + input.readMessage( + com.google.analytics.admin.v1beta.DataStream.parser(), extensionRegistry); + if (dataStreamsBuilder_ == null) { + ensureDataStreamsIsMutable(); + dataStreams_.add(m); + } else { + dataStreamsBuilder_.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) { @@ -557,21 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List dataStreams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dataStreams_ = new java.util.ArrayList(dataStreams_); + dataStreams_ = + new java.util.ArrayList(dataStreams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamsBuilder_; + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> + dataStreamsBuilder_; /** + * + * *
      * List of DataStreams.
      * 
@@ -586,6 +641,8 @@ public java.util.List getDataStrea } } /** + * + * *
      * List of DataStreams.
      * 
@@ -600,6 +657,8 @@ public int getDataStreamsCount() { } } /** + * + * *
      * List of DataStreams.
      * 
@@ -614,14 +673,15 @@ public com.google.analytics.admin.v1beta.DataStream getDataStreams(int index) { } } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public Builder setDataStreams( - int index, com.google.analytics.admin.v1beta.DataStream value) { + public Builder setDataStreams(int index, com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +695,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -653,6 +715,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -673,14 +737,15 @@ public Builder addDataStreams(com.google.analytics.admin.v1beta.DataStream value return this; } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public Builder addDataStreams( - int index, com.google.analytics.admin.v1beta.DataStream value) { + public Builder addDataStreams(int index, com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,6 +759,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -712,6 +779,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -730,6 +799,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -740,8 +811,7 @@ public Builder addAllDataStreams( java.lang.Iterable values) { if (dataStreamsBuilder_ == null) { ensureDataStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataStreams_); onChanged(); } else { dataStreamsBuilder_.addAllMessages(values); @@ -749,6 +819,8 @@ public Builder addAllDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -766,6 +838,8 @@ public Builder clearDataStreams() { return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -783,17 +857,20 @@ public Builder removeDataStreams(int index) { return this; } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamsBuilder( - int index) { + public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamsBuilder(int index) { return getDataStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of DataStreams.
      * 
@@ -803,19 +880,22 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamsBuilde public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder( int index) { if (dataStreamsBuilder_ == null) { - return dataStreams_.get(index); } else { + return dataStreams_.get(index); + } else { return dataStreamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsOrBuilderList() { + public java.util.List + getDataStreamsOrBuilderList() { if (dataStreamsBuilder_ != null) { return dataStreamsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +903,8 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBui } } /** + * + * *
      * List of DataStreams.
      * 
@@ -830,42 +912,48 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBui * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilder() { - return getDataStreamsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); + return getDataStreamsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilder( - int index) { - return getDataStreamsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); + public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilder(int index) { + return getDataStreamsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()); } /** + * + * *
      * List of DataStreams.
      * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - public java.util.List - getDataStreamsBuilderList() { + public java.util.List + getDataStreamsBuilderList() { return getDataStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamsFieldBuilder() { if (dataStreamsBuilder_ == null) { - dataStreamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( - dataStreams_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dataStreamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + dataStreams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataStreams_ = null; } return dataStreamsBuilder_; @@ -873,19 +961,21 @@ public com.google.analytics.admin.v1beta.DataStream.Builder addDataStreamsBuilde 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +984,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1007,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1047,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListDataStreamsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListDataStreamsResponse) private static final com.google.analytics.admin.v1beta.ListDataStreamsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListDataStreamsResponse(); } @@ -993,27 +1095,27 @@ public static com.google.analytics.admin.v1beta.ListDataStreamsResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDataStreamsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDataStreamsResponse 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; @@ -1028,6 +1130,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListDataStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java index e19c266a35c8..ac945433b90c 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListDataStreamsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListDataStreamsResponseOrBuilder extends +public interface ListDataStreamsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListDataStreamsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - java.util.List - getDataStreamsList(); + java.util.List getDataStreamsList(); /** + * + * *
    * List of DataStreams.
    * 
@@ -25,6 +44,8 @@ public interface ListDataStreamsResponseOrBuilder extends */ com.google.analytics.admin.v1beta.DataStream getDataStreams(int index); /** + * + * *
    * List of DataStreams.
    * 
@@ -33,43 +54,51 @@ public interface ListDataStreamsResponseOrBuilder extends */ int getDataStreamsCount(); /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - java.util.List + java.util.List getDataStreamsOrBuilderList(); /** + * + * *
    * List of DataStreams.
    * 
* * repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; */ - com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder( - int index); + com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java index 0fee8fc35033..4477989d49fe 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksRequest} */ -public final class ListFirebaseLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFirebaseLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListFirebaseLinksRequest) ListFirebaseLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFirebaseLinksRequest.newBuilder() to construct. private ListFirebaseLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFirebaseLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,46 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,6 +128,8 @@ public java.lang.String getParent() { 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.
@@ -109,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -152,16 +187,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -170,6 +204,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -205,8 +239,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -219,19 +252,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListFirebaseLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest other = (com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) obj; + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest other = + (com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,129 +286,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( 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.v1beta.ListFirebaseLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListFirebaseLinksRequest) com.google.analytics.admin.v1beta.ListFirebaseLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +427,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; } @java.lang.Override @@ -410,8 +448,11 @@ public com.google.analytics.admin.v1beta.ListFirebaseLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListFirebaseLinksRequest buildPartial() { - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest result = new com.google.analytics.admin.v1beta.ListFirebaseLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest result = + new com.google.analytics.admin.v1beta.ListFirebaseLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -433,38 +474,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListFirebaseLinksRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListFirebaseLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -472,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest other) { - if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -512,27 +555,31 @@ public Builder mergeFrom( 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: + 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) { @@ -542,23 +589,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -567,21 +619,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -589,30 +644,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -622,18 +688,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Format: properties/{property_id}
      * Example: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -641,8 +713,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -651,6 +725,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -658,6 +733,8 @@ 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.
@@ -666,17 +743,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -685,6 +765,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -696,6 +777,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -704,13 +787,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -719,6 +802,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -727,15 +812,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -743,6 +827,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -751,18 +837,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -771,6 +861,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -780,6 +871,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -788,21 +881,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,12 +907,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListFirebaseLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListFirebaseLinksRequest) private static final com.google.analytics.admin.v1beta.ListFirebaseLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListFirebaseLinksRequest(); } @@ -826,27 +921,27 @@ public static com.google.analytics.admin.v1beta.ListFirebaseLinksRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksRequest 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; @@ -861,6 +956,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListFirebaseLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java index 13ee3bfcb3c1..1ec86b501dd5 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListFirebaseLinksRequestOrBuilder extends +public interface ListFirebaseLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListFirebaseLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Format: properties/{property_id}
    * Example: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -38,11 +65,14 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListFirebaseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -63,8 +96,8 @@ public interface ListFirebaseLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java similarity index 74% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java index 99226c4dcfa2..e868acbb01a0 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListFirebaseLinks RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksResponse} */ -public final class ListFirebaseLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFirebaseLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListFirebaseLinksResponse) ListFirebaseLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFirebaseLinksResponse.newBuilder() to construct. private ListFirebaseLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFirebaseLinksResponse() { firebaseLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); } public static final int FIREBASE_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List firebaseLinks_; /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -64,6 +86,8 @@ public java.util.List getFirebas return firebaseLinks_; } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -71,11 +95,13 @@ public java.util.List getFirebas * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFirebaseLinksOrBuilderList() { return firebaseLinks_; } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -87,6 +113,8 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLinks(int index return firebaseLinks_.get(index); } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -111,9 +141,12 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO } 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.
@@ -122,6 +155,7 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -130,14 +164,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
@@ -146,16 +181,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -164,6 +198,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < firebaseLinks_.size(); i++) { output.writeMessage(1, firebaseLinks_.get(i)); } @@ -193,8 +227,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < firebaseLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, firebaseLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, firebaseLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -207,17 +240,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListFirebaseLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse other = (com.google.analytics.admin.v1beta.ListFirebaseLinksResponse) obj; + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse other = + (com.google.analytics.admin.v1beta.ListFirebaseLinksResponse) obj; - if (!getFirebaseLinksList() - .equals(other.getFirebaseLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFirebaseLinksList().equals(other.getFirebaseLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,129 +273,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( 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.v1beta.ListFirebaseLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListFirebaseLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListFirebaseLinks RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListFirebaseLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListFirebaseLinksResponse) com.google.analytics.admin.v1beta.ListFirebaseLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; } @java.lang.Override @@ -401,14 +440,18 @@ public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse buildPartial() { - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result = new com.google.analytics.admin.v1beta.ListFirebaseLinksResponse(this); + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result = + new com.google.analytics.admin.v1beta.ListFirebaseLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListFirebaseLinksResponse result) { if (firebaseLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { firebaseLinks_ = java.util.Collections.unmodifiableList(firebaseLinks_); @@ -431,38 +474,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListFirebaseLinksRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListFirebaseLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListFirebaseLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -470,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListFirebaseLinksResponse other) { - if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.getDefaultInstance()) + return this; if (firebaseLinksBuilder_ == null) { if (!other.firebaseLinks_.isEmpty()) { if (firebaseLinks_.isEmpty()) { @@ -489,9 +534,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListFirebaseLinksResp firebaseLinksBuilder_ = null; firebaseLinks_ = other.firebaseLinks_; bitField0_ = (bitField0_ & ~0x00000001); - firebaseLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFirebaseLinksFieldBuilder() : null; + firebaseLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFirebaseLinksFieldBuilder() + : null; } else { firebaseLinksBuilder_.addAllMessages(other.firebaseLinks_); } @@ -528,30 +574,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.FirebaseLink m = - input.readMessage( - com.google.analytics.admin.v1beta.FirebaseLink.parser(), - extensionRegistry); - if (firebaseLinksBuilder_ == null) { - ensureFirebaseLinksIsMutable(); - firebaseLinks_.add(m); - } else { - firebaseLinksBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.FirebaseLink m = + input.readMessage( + com.google.analytics.admin.v1beta.FirebaseLink.parser(), extensionRegistry); + if (firebaseLinksBuilder_ == null) { + ensureFirebaseLinksIsMutable(); + firebaseLinks_.add(m); + } else { + firebaseLinksBuilder_.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) { @@ -561,21 +609,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List firebaseLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFirebaseLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - firebaseLinks_ = new java.util.ArrayList(firebaseLinks_); + firebaseLinks_ = + new java.util.ArrayList(firebaseLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> firebaseLinksBuilder_; + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + firebaseLinksBuilder_; /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -590,6 +646,8 @@ public java.util.List getFirebas } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -604,6 +662,8 @@ public int getFirebaseLinksCount() { } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -618,6 +678,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLinks(int index } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -639,6 +701,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -657,6 +721,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -677,6 +743,8 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1beta.FirebaseLink v return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -698,6 +766,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -716,6 +786,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -734,6 +806,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -744,8 +818,7 @@ public Builder addAllFirebaseLinks( java.lang.Iterable values) { if (firebaseLinksBuilder_ == null) { ensureFirebaseLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, firebaseLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, firebaseLinks_); onChanged(); } else { firebaseLinksBuilder_.addAllMessages(values); @@ -753,6 +826,8 @@ public Builder addAllFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -770,6 +845,8 @@ public Builder clearFirebaseLinks() { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -787,6 +864,8 @@ public Builder removeFirebaseLinks(int index) { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -798,6 +877,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinksBu return getFirebaseLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -807,19 +888,22 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinksBu public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( int index) { if (firebaseLinksBuilder_ == null) { - return firebaseLinks_.get(index); } else { + return firebaseLinks_.get(index); + } else { return firebaseLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksOrBuilderList() { + public java.util.List + getFirebaseLinksOrBuilderList() { if (firebaseLinksBuilder_ != null) { return firebaseLinksBuilder_.getMessageOrBuilderList(); } else { @@ -827,6 +911,8 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -834,10 +920,12 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBuilder() { - return getFirebaseLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -846,26 +934,34 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBu */ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBuilder( int index) { - return getFirebaseLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); + return getFirebaseLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance()); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - public java.util.List - getFirebaseLinksBuilderList() { + public java.util.List + getFirebaseLinksBuilderList() { return getFirebaseLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder> getFirebaseLinksFieldBuilder() { if (firebaseLinksBuilder_ == null) { - firebaseLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.FirebaseLink, com.google.analytics.admin.v1beta.FirebaseLink.Builder, com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( + firebaseLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.FirebaseLink, + com.google.analytics.admin.v1beta.FirebaseLink.Builder, + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder>( firebaseLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -877,6 +973,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBu 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.
@@ -885,13 +983,13 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder addFirebaseLinksBu
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -900,6 +998,8 @@ public 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.
@@ -908,15 +1008,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -924,6 +1023,8 @@ public 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.
@@ -932,18 +1033,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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.
@@ -952,6 +1057,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -961,6 +1067,8 @@ public Builder clearNextPageToken() { 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.
@@ -969,21 +1077,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -993,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListFirebaseLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListFirebaseLinksResponse) private static final com.google.analytics.admin.v1beta.ListFirebaseLinksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListFirebaseLinksResponse(); } @@ -1007,27 +1117,27 @@ public static com.google.analytics.admin.v1beta.ListFirebaseLinksResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFirebaseLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFirebaseLinksResponse 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; @@ -1042,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java index 4e326861adcd..6a331f619f12 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListFirebaseLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListFirebaseLinksResponseOrBuilder extends +public interface ListFirebaseLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListFirebaseLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - java.util.List - getFirebaseLinksList(); + java.util.List getFirebaseLinksList(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -25,6 +44,8 @@ public interface ListFirebaseLinksResponseOrBuilder extends */ com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLinks(int index); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -33,25 +54,30 @@ public interface ListFirebaseLinksResponseOrBuilder extends */ int getFirebaseLinksCount(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - java.util.List + java.util.List getFirebaseLinksOrBuilderList(); /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
* * repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; */ - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder( - int index); + com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilder(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.
@@ -60,10 +86,13 @@ com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilde
    * 
* * 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.
@@ -72,8 +101,8 @@ com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksOrBuilde
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java index 2e4d8c1cc9a6..54b79afb7e47 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksRequest} */ -public final class ListGoogleAdsLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGoogleAdsLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) ListGoogleAdsLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksRequest.newBuilder() to construct. private ListGoogleAdsLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGoogleAdsLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,38 +44,45 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -99,6 +126,8 @@ public java.lang.String getParent() { 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.
@@ -106,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -149,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,6 +201,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest other = (com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) obj; + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest other = + (com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -252,129 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( 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.v1beta.ListGoogleAdsLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; } @java.lang.Override @@ -407,8 +445,11 @@ public com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest buildPartial() { - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest result = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest result = + new com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -430,38 +471,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListGoogleAdsLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListGoogleAdsLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -469,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest other) { - if (other == com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -509,27 +552,31 @@ public Builder mergeFrom( 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: + 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) { @@ -539,22 +586,27 @@ public Builder mergeFrom( } // 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,20 +615,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,28 +639,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -615,17 +681,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/1234
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -633,8 +705,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -642,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -656,17 +733,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -674,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -685,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -693,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -708,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -716,15 +801,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -732,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -740,18 +826,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -760,6 +850,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -769,6 +860,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -777,21 +870,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) private static final com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest(); } @@ -815,27 +910,27 @@ public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksRequest 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; @@ -850,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java index 84debb4ebc2d..5eb2f6f9ff18 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListGoogleAdsLinksRequestOrBuilder extends +public interface ListGoogleAdsLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Example format: properties/1234
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 50 resources will be returned.
@@ -35,11 +62,14 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -48,10 +78,13 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListGoogleAdsLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -60,8 +93,8 @@ public interface ListGoogleAdsLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java index eba1d5b4b6bb..95ca84d9ac62 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListGoogleAdsLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksResponse} */ -public final class ListGoogleAdsLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGoogleAdsLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) ListGoogleAdsLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGoogleAdsLinksResponse.newBuilder() to construct. private ListGoogleAdsLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGoogleAdsLinksResponse() { googleAdsLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); } public static final int GOOGLE_ADS_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List googleAdsLinks_; /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -64,6 +86,8 @@ public java.util.List getGoogle return googleAdsLinks_; } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -71,11 +95,13 @@ public java.util.List getGoogle * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getGoogleAdsLinksOrBuilderList() { return googleAdsLinks_; } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -87,6 +113,8 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int ind return googleAdsLinks_.get(index); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -111,15 +141,19 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } 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 @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < googleAdsLinks_.size(); i++) { output.writeMessage(1, googleAdsLinks_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < googleAdsLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, googleAdsLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, googleAdsLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse other = (com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) obj; + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse other = + (com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) obj; - if (!getGoogleAdsLinksList() - .equals(other.getGoogleAdsLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getGoogleAdsLinksList().equals(other.getGoogleAdsLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( 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.v1beta.ListGoogleAdsLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListGoogleAdsLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListGoogleAdsLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +415,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance(); } @@ -397,14 +437,18 @@ public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse buildPartial() { - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse(this); + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result = + new com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { if (googleAdsLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { googleAdsLinks_ = java.util.Collections.unmodifiableList(googleAdsLinks_); @@ -416,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListGo } } - private void buildPartial0(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListGoogleAdsLinksR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListGoogleAdsLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse other) { - if (other == com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance()) + return this; if (googleAdsLinksBuilder_ == null) { if (!other.googleAdsLinks_.isEmpty()) { if (googleAdsLinks_.isEmpty()) { @@ -485,9 +533,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRes googleAdsLinksBuilder_ = null; googleAdsLinks_ = other.googleAdsLinks_; bitField0_ = (bitField0_ & ~0x00000001); - googleAdsLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGoogleAdsLinksFieldBuilder() : null; + googleAdsLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGoogleAdsLinksFieldBuilder() + : null; } else { googleAdsLinksBuilder_.addAllMessages(other.googleAdsLinks_); } @@ -524,30 +573,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.GoogleAdsLink m = - input.readMessage( - com.google.analytics.admin.v1beta.GoogleAdsLink.parser(), - extensionRegistry); - if (googleAdsLinksBuilder_ == null) { - ensureGoogleAdsLinksIsMutable(); - googleAdsLinks_.add(m); - } else { - googleAdsLinksBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.GoogleAdsLink m = + input.readMessage( + com.google.analytics.admin.v1beta.GoogleAdsLink.parser(), + extensionRegistry); + if (googleAdsLinksBuilder_ == null) { + ensureGoogleAdsLinksIsMutable(); + googleAdsLinks_.add(m); + } else { + googleAdsLinksBuilder_.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) { @@ -557,21 +609,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List googleAdsLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGoogleAdsLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - googleAdsLinks_ = new java.util.ArrayList(googleAdsLinks_); + googleAdsLinks_ = + new java.util.ArrayList( + googleAdsLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinksBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + googleAdsLinksBuilder_; /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -586,6 +647,8 @@ public java.util.List getGoogle } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -600,6 +663,8 @@ public int getGoogleAdsLinksCount() { } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -614,6 +679,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int ind } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -635,6 +702,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -653,6 +722,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -673,6 +744,8 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -694,6 +767,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -712,6 +787,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -730,6 +807,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -740,8 +819,7 @@ public Builder addAllGoogleAdsLinks( java.lang.Iterable values) { if (googleAdsLinksBuilder_ == null) { ensureGoogleAdsLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, googleAdsLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googleAdsLinks_); onChanged(); } else { googleAdsLinksBuilder_.addAllMessages(values); @@ -749,6 +827,8 @@ public Builder addAllGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -766,6 +846,8 @@ public Builder clearGoogleAdsLinks() { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -783,6 +865,8 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -794,6 +878,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinks return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -803,19 +889,22 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinks public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( int index) { if (googleAdsLinksBuilder_ == null) { - return googleAdsLinks_.get(index); } else { + return googleAdsLinks_.get(index); + } else { return googleAdsLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksOrBuilderList() { + public java.util.List + getGoogleAdsLinksOrBuilderList() { if (googleAdsLinksBuilder_ != null) { return googleAdsLinksBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +912,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -830,10 +921,12 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinksBuilder() { - return getGoogleAdsLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -842,26 +935,34 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinks */ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinksBuilder( int index) { - return getGoogleAdsLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); + return getGoogleAdsLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - public java.util.List - getGoogleAdsLinksBuilderList() { + public java.util.List + getGoogleAdsLinksBuilderList() { return getGoogleAdsLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinksFieldBuilder() { if (googleAdsLinksBuilder_ == null) { - googleAdsLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + googleAdsLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( googleAdsLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +974,21 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder addGoogleAdsLinks 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +997,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1020,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1060,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1094,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) - private static final com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse(); } @@ -993,27 +1109,27 @@ public static com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGoogleAdsLinksResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGoogleAdsLinksResponse 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; @@ -1028,6 +1144,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java index cc8ed4907857..1eefa5c0c0c5 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListGoogleAdsLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListGoogleAdsLinksResponseOrBuilder extends +public interface ListGoogleAdsLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListGoogleAdsLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - java.util.List - getGoogleAdsLinksList(); + java.util.List getGoogleAdsLinksList(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -25,6 +44,8 @@ public interface ListGoogleAdsLinksResponseOrBuilder extends */ com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int index); /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -33,43 +54,51 @@ public interface ListGoogleAdsLinksResponseOrBuilder extends */ int getGoogleAdsLinksCount(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - java.util.List + java.util.List getGoogleAdsLinksOrBuilderList(); /** + * + * *
    * List of GoogleAdsLinks.
    * 
* * repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; */ - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder( - int index); + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java index bae89f5605ef..c62e0861d910 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest} */ -public final class ListMeasurementProtocolSecretsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMeasurementProtocolSecretsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) ListMeasurementProtocolSecretsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsRequest.newBuilder() to construct. - private ListMeasurementProtocolSecretsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMeasurementProtocolSecretsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,40 +46,47 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,31 +95,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,6 +132,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -110,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -118,9 +150,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -129,6 +164,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -137,14 +173,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -153,16 +190,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -171,6 +207,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,8 +242,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -220,19 +255,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other = (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) obj; + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other = + (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,129 +289,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( 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.v1beta.ListMeasurementProtocolSecretsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest 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.v1beta.ListMeasurementProtocolSecretsRequest + 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.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder.class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -390,19 +433,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest build() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = buildPartial(); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -411,13 +457,17 @@ public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest b @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest buildPartial() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result = + new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -434,46 +484,52 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListMeasurementProt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListMeasurementProtocolSecretsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest)other); + if (other + instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) { + return mergeFrom( + (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other) { - if (other == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest other) { + if (other + == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -513,27 +569,31 @@ public Builder mergeFrom( 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: + 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) { @@ -543,24 +603,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -569,22 +634,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -592,32 +660,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -627,19 +706,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the parent stream.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -647,8 +732,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -656,6 +743,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -663,6 +751,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -670,17 +760,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -688,6 +781,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -699,6 +793,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -707,13 +803,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -722,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -730,15 +828,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -746,6 +843,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -754,18 +853,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -774,6 +877,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -783,6 +887,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListMeasurementProtocolSecrets`
      * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -791,21 +897,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,41 +923,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) - private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest(); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsRequest 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; @@ -861,9 +972,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java index 3e1397a7d79c..0a97ffe87c64 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListMeasurementProtocolSecretsRequestOrBuilder extends +public interface ListMeasurementProtocolSecretsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the parent stream.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of resources to return.
    * If unspecified, at most 10 resources will be returned.
@@ -39,11 +66,14 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -52,10 +82,13 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -64,8 +97,8 @@ public interface ListMeasurementProtocolSecretsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java similarity index 61% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java index cca8847ed940..fee2e858d096 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse} */ -public final class ListMeasurementProtocolSecretsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMeasurementProtocolSecretsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) ListMeasurementProtocolSecretsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMeasurementProtocolSecretsResponse.newBuilder() to construct. - private ListMeasurementProtocolSecretsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMeasurementProtocolSecretsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMeasurementProtocolSecretsResponse() { measurementProtocolSecrets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +46,130 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder.class); } public static final int MEASUREMENT_PROTOCOL_SECRETS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List measurementProtocolSecrets_; + private java.util.List + measurementProtocolSecrets_; /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public java.util.List getMeasurementProtocolSecretsList() { + public java.util.List + getMeasurementProtocolSecretsList() { return measurementProtocolSecrets_; } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsOrBuilderList() { return measurementProtocolSecrets_; } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override public int getMeasurementProtocolSecretsCount() { return measurementProtocolSecrets_.size(); } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets( + int index) { return measurementProtocolSecrets_.get(index); } /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretsOrBuilder(int index) { return measurementProtocolSecrets_.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 @@ -128,30 +178,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +210,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { output.writeMessage(1, measurementProtocolSecrets_.get(i)); } @@ -189,8 +239,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, measurementProtocolSecrets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, measurementProtocolSecrets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +254,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse)) { + if (!(obj + instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other = (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) obj; + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other = + (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) obj; - if (!getMeasurementProtocolSecretsList() - .equals(other.getMeasurementProtocolSecretsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getMeasurementProtocolSecretsList().equals(other.getMeasurementProtocolSecretsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +289,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( 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.v1beta.ListMeasurementProtocolSecretsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse 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.v1beta.ListMeasurementProtocolSecretsResponse + 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.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder.class); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.Builder + .class); } - // Construct using com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,19 +438,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse build() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = buildPartial(); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -397,17 +462,22 @@ public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse @java.lang.Override public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse buildPartial() { - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(this); + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result = + new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { if (measurementProtocolSecretsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = java.util.Collections.unmodifiableList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = + java.util.Collections.unmodifiableList(measurementProtocolSecrets_); bitField0_ = (bitField0_ & ~0x00000001); } result.measurementProtocolSecrets_ = measurementProtocolSecrets_; @@ -416,7 +486,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListMe } } - private void buildPartial0(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +498,52 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListMeasurementProt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListMeasurementProtocolSecretsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse)other); + if (other + instanceof com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) { + return mergeFrom( + (com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other) { - if (other == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse other) { + if (other + == com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + .getDefaultInstance()) return this; if (measurementProtocolSecretsBuilder_ == null) { if (!other.measurementProtocolSecrets_.isEmpty()) { if (measurementProtocolSecrets_.isEmpty()) { @@ -485,9 +562,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListMeasurementProtoc measurementProtocolSecretsBuilder_ = null; measurementProtocolSecrets_ = other.measurementProtocolSecrets_; bitField0_ = (bitField0_ & ~0x00000001); - measurementProtocolSecretsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMeasurementProtocolSecretsFieldBuilder() : null; + measurementProtocolSecretsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMeasurementProtocolSecretsFieldBuilder() + : null; } else { measurementProtocolSecretsBuilder_.addAllMessages(other.measurementProtocolSecrets_); } @@ -524,30 +602,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.MeasurementProtocolSecret m = - input.readMessage( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.parser(), - extensionRegistry); - if (measurementProtocolSecretsBuilder_ == null) { - ensureMeasurementProtocolSecretsIsMutable(); - measurementProtocolSecrets_.add(m); - } else { - measurementProtocolSecretsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.MeasurementProtocolSecret m = + input.readMessage( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.parser(), + extensionRegistry); + if (measurementProtocolSecretsBuilder_ == null) { + ensureMeasurementProtocolSecretsIsMutable(); + measurementProtocolSecrets_.add(m); + } else { + measurementProtocolSecretsBuilder_.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) { @@ -557,28 +638,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List measurementProtocolSecrets_ = - java.util.Collections.emptyList(); + private java.util.List + measurementProtocolSecrets_ = java.util.Collections.emptyList(); + private void ensureMeasurementProtocolSecretsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - measurementProtocolSecrets_ = new java.util.ArrayList(measurementProtocolSecrets_); + measurementProtocolSecrets_ = + new java.util.ArrayList( + measurementProtocolSecrets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretsBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretsBuilder_; /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public java.util.List getMeasurementProtocolSecretsList() { + public java.util.List + getMeasurementProtocolSecretsList() { if (measurementProtocolSecretsBuilder_ == null) { return java.util.Collections.unmodifiableList(measurementProtocolSecrets_); } else { @@ -586,11 +679,15 @@ public java.util.List * A list of secrets for the parent stream specified in the request. *
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public int getMeasurementProtocolSecretsCount() { if (measurementProtocolSecretsBuilder_ == null) { @@ -600,13 +697,18 @@ public int getMeasurementProtocolSecretsCount() { } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + getMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { return measurementProtocolSecrets_.get(index); } else { @@ -614,11 +716,15 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasuremen } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder setMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { @@ -635,14 +741,19 @@ public Builder setMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder setMeasurementProtocolSecrets( - int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { + int index, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.set(index, builderForValue.build()); @@ -653,13 +764,18 @@ public Builder setMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public Builder addMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder addMeasurementProtocolSecrets( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,11 +789,15 @@ public Builder addMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.M return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addMeasurementProtocolSecrets( int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { @@ -694,11 +814,15 @@ public Builder addMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addMeasurementProtocolSecrets( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -712,14 +836,19 @@ public Builder addMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addMeasurementProtocolSecrets( - int index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { + int index, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); measurementProtocolSecrets_.add(index, builderForValue.build()); @@ -730,18 +859,22 @@ public Builder addMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder addAllMeasurementProtocolSecrets( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (measurementProtocolSecretsBuilder_ == null) { ensureMeasurementProtocolSecretsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, measurementProtocolSecrets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, measurementProtocolSecrets_); onChanged(); } else { measurementProtocolSecretsBuilder_.addAllMessages(values); @@ -749,11 +882,15 @@ public Builder addAllMeasurementProtocolSecrets( return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder clearMeasurementProtocolSecrets() { if (measurementProtocolSecretsBuilder_ == null) { @@ -766,11 +903,15 @@ public Builder clearMeasurementProtocolSecrets() { return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ public Builder removeMeasurementProtocolSecrets(int index) { if (measurementProtocolSecretsBuilder_ == null) { @@ -783,39 +924,53 @@ public Builder removeMeasurementProtocolSecrets(int index) { return this; } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretsBuilder( - int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretsBuilder(int index) { return getMeasurementProtocolSecretsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretsOrBuilder(int index) { if (measurementProtocolSecretsBuilder_ == null) { - return measurementProtocolSecrets_.get(index); } else { + return measurementProtocolSecrets_.get(index); + } else { return measurementProtocolSecretsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public java.util.List - getMeasurementProtocolSecretsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + getMeasurementProtocolSecretsOrBuilderList() { if (measurementProtocolSecretsBuilder_ != null) { return measurementProtocolSecretsBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +978,67 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getM } } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder() { - return getMeasurementProtocolSecretsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder + addMeasurementProtocolSecretsBuilder() { + return getMeasurementProtocolSecretsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder addMeasurementProtocolSecretsBuilder( - int index) { - return getMeasurementProtocolSecretsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder + addMeasurementProtocolSecretsBuilder(int index) { + return getMeasurementProtocolSecretsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()); } /** + * + * *
      * A list of secrets for the parent stream specified in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - public java.util.List - getMeasurementProtocolSecretsBuilderList() { + public java.util.List + getMeasurementProtocolSecretsBuilderList() { return getMeasurementProtocolSecretsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretsFieldBuilder() { if (measurementProtocolSecretsBuilder_ == null) { - measurementProtocolSecretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + measurementProtocolSecretsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( measurementProtocolSecrets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +1050,21 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder addMe 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1073,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1096,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1136,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1170,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) - private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse(); } - public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMeasurementProtocolSecretsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeasurementProtocolSecretsResponse 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; @@ -1025,9 +1219,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java index 3ad3e496dca6..1679c5900951 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListMeasurementProtocolSecretsResponseOrBuilder.java @@ -1,75 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListMeasurementProtocolSecretsResponseOrBuilder extends +public interface ListMeasurementProtocolSecretsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - java.util.List + java.util.List getMeasurementProtocolSecretsList(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets(int index); + com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecrets( + int index); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ int getMeasurementProtocolSecretsCount(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - java.util.List + java.util.List getMeasurementProtocolSecretsOrBuilderList(); /** + * + * *
    * A list of secrets for the parent stream specified in the request.
    * 
* - * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * + * repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretsOrBuilder( - int index); + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretsOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java similarity index 76% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java index b9eca9ac53b5..3e9311c95fa4 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesRequest} */ -public final class ListPropertiesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPropertiesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListPropertiesRequest) ListPropertiesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPropertiesRequest.newBuilder() to construct. private ListPropertiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPropertiesRequest() { filter_ = ""; pageToken_ = ""; @@ -26,33 +44,37 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesRequest.class, com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesRequest.class, + com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); } public static final int FILTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -72,6 +94,7 @@ protected java.lang.Object newInstance(
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -80,14 +103,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -107,16 +131,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -127,6 +150,8 @@ public java.lang.String getFilter() { 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.
@@ -135,6 +160,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -143,9 +169,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -154,6 +183,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -162,14 +192,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -178,16 +209,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,6 +228,8 @@ public java.lang.String getPageToken() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_ = false; /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -205,6 +237,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -213,6 +246,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -251,15 +284,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,21 +300,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListPropertiesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListPropertiesRequest other = (com.google.analytics.admin.v1beta.ListPropertiesRequest) obj; - - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getShowDeleted() - != other.getShowDeleted()) return false; + com.google.analytics.admin.v1beta.ListPropertiesRequest other = + (com.google.analytics.admin.v1beta.ListPropertiesRequest) obj; + + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getShowDeleted() != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,137 +330,143 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( 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.v1beta.ListPropertiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListPropertiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListPropertiesRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListPropertiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListPropertiesRequest) com.google.analytics.admin.v1beta.ListPropertiesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesRequest.class, com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesRequest.class, + com.google.analytics.admin.v1beta.ListPropertiesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListPropertiesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; } @java.lang.Override @@ -466,8 +500,11 @@ public com.google.analytics.admin.v1beta.ListPropertiesRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListPropertiesRequest buildPartial() { - com.google.analytics.admin.v1beta.ListPropertiesRequest result = new com.google.analytics.admin.v1beta.ListPropertiesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ListPropertiesRequest result = + new com.google.analytics.admin.v1beta.ListPropertiesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -492,38 +529,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListPropertiesReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListPropertiesRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesRequest) other); } else { super.mergeFrom(other); return this; @@ -531,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListPropertiesRequest other) { - if (other == com.google.analytics.admin.v1beta.ListPropertiesRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListPropertiesRequest.getDefaultInstance()) + return this; if (!other.getFilter().isEmpty()) { filter_ = other.filter_; bitField0_ |= 0x00000001; @@ -574,32 +613,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - filter_ = 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 - case 32: { - showDeleted_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + filter_ = 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 + case 32: + { + showDeleted_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -609,10 +653,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object filter_ = ""; /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -632,13 +679,13 @@ public Builder mergeFrom(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -647,6 +694,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -666,15 +715,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -682,6 +730,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -701,18 +751,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -732,6 +786,7 @@ public Builder setFilter(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -741,6 +796,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -760,12 +817,14 @@ public Builder clearFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000001; @@ -773,8 +832,10 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -783,6 +844,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -790,6 +852,8 @@ 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.
@@ -798,17 +862,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; 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.
@@ -817,6 +884,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -828,6 +896,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -836,13 +906,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -851,6 +921,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -859,15 +931,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -875,6 +946,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -883,18 +956,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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 `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -903,6 +980,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -912,6 +990,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -920,12 +1000,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -933,8 +1015,10 @@ public Builder setPageTokenBytes( return this; } - private boolean showDeleted_ ; + private boolean showDeleted_; /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -942,6 +1026,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -949,6 +1034,8 @@ public boolean getShowDeleted() { return showDeleted_; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -956,17 +1043,20 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; + * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -974,6 +1064,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -982,9 +1073,9 @@ public Builder clearShowDeleted() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -994,12 +1085,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListPropertiesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListPropertiesRequest) private static final com.google.analytics.admin.v1beta.ListPropertiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListPropertiesRequest(); } @@ -1008,27 +1099,27 @@ public static com.google.analytics.admin.v1beta.ListPropertiesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesRequest 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; @@ -1043,6 +1134,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListPropertiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java index f6ac045909c3..e1a21e48c56a 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListPropertiesRequestOrBuilder extends +public interface ListPropertiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListPropertiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -27,10 +45,13 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. An expression for filtering the results of the request.
    * Fields eligible for filtering are:
@@ -50,12 +71,14 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -64,11 +87,14 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -77,10 +103,13 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListProperties` call.
    * Provide this to retrieve the subsequent page.
@@ -89,12 +118,14 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Whether to include soft-deleted (ie: "trashed") Properties in the
    * results. Properties can be inspected to determine whether they are deleted
@@ -102,6 +133,7 @@ public interface ListPropertiesRequestOrBuilder extends
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java index 277582ec968f..7e851c39f9a8 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ListProperties RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesResponse} */ -public final class ListPropertiesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPropertiesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ListPropertiesResponse) ListPropertiesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPropertiesResponse.newBuilder() to construct. private ListPropertiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPropertiesResponse() { properties_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesResponse.class, com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesResponse.class, + com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); } public static final int PROPERTIES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List properties_; /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -64,6 +86,8 @@ public java.util.List getPropertiesL return properties_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -71,11 +95,13 @@ public java.util.List getPropertiesL * repeated .google.analytics.admin.v1beta.Property properties = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -87,6 +113,8 @@ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -98,6 +126,8 @@ public com.google.analytics.admin.v1beta.Property getProperties(int index) { return properties_.get(index); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -105,21 +135,24 @@ public com.google.analytics.admin.v1beta.Property getProperties(int index) { * repeated .google.analytics.admin.v1beta.Property properties = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder(int index) { return properties_.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 @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < properties_.size(); i++) { output.writeMessage(1, properties_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, properties_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ListPropertiesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ListPropertiesResponse other = (com.google.analytics.admin.v1beta.ListPropertiesResponse) obj; + com.google.analytics.admin.v1beta.ListPropertiesResponse other = + (com.google.analytics.admin.v1beta.ListPropertiesResponse) obj; - if (!getPropertiesList() - .equals(other.getPropertiesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPropertiesList().equals(other.getPropertiesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( 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.v1beta.ListPropertiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ListPropertiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ListPropertiesResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ListPropertiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListProperties RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ListPropertiesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ListPropertiesResponse) com.google.analytics.admin.v1beta.ListPropertiesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ListPropertiesResponse.class, com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); + com.google.analytics.admin.v1beta.ListPropertiesResponse.class, + com.google.analytics.admin.v1beta.ListPropertiesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ListPropertiesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; } @java.lang.Override @@ -397,14 +435,18 @@ public com.google.analytics.admin.v1beta.ListPropertiesResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.ListPropertiesResponse buildPartial() { - com.google.analytics.admin.v1beta.ListPropertiesResponse result = new com.google.analytics.admin.v1beta.ListPropertiesResponse(this); + com.google.analytics.admin.v1beta.ListPropertiesResponse result = + new com.google.analytics.admin.v1beta.ListPropertiesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.ListPropertiesResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.ListPropertiesResponse result) { if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); @@ -427,38 +469,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ListPropertiesRespo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ListPropertiesResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ListPropertiesResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.ListPropertiesResponse other) { - if (other == com.google.analytics.admin.v1beta.ListPropertiesResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.ListPropertiesResponse.getDefaultInstance()) + return this; if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { @@ -485,9 +529,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.ListPropertiesRespons propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); - propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPropertiesFieldBuilder() : null; + propertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPropertiesFieldBuilder() + : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } @@ -524,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.Property m = - input.readMessage( - com.google.analytics.admin.v1beta.Property.parser(), - extensionRegistry); - if (propertiesBuilder_ == null) { - ensurePropertiesIsMutable(); - properties_.add(m); - } else { - propertiesBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.Property m = + input.readMessage( + com.google.analytics.admin.v1beta.Property.parser(), extensionRegistry); + if (propertiesBuilder_ == null) { + ensurePropertiesIsMutable(); + properties_.add(m); + } else { + propertiesBuilder_.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) { @@ -557,21 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List properties_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - properties_ = new java.util.ArrayList(properties_); + properties_ = + new java.util.ArrayList(properties_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertiesBuilder_; + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> + propertiesBuilder_; /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -586,6 +641,8 @@ public java.util.List getPropertiesL } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -600,6 +657,8 @@ public int getPropertiesCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -614,14 +673,15 @@ public com.google.analytics.admin.v1beta.Property getProperties(int index) { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public Builder setProperties( - int index, com.google.analytics.admin.v1beta.Property value) { + public Builder setProperties(int index, com.google.analytics.admin.v1beta.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +695,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -653,6 +715,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -673,14 +737,15 @@ public Builder addProperties(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public Builder addProperties( - int index, com.google.analytics.admin.v1beta.Property value) { + public Builder addProperties(int index, com.google.analytics.admin.v1beta.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,6 +759,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -712,6 +779,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -730,6 +799,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -740,8 +811,7 @@ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -749,6 +819,8 @@ public Builder addAllProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -766,6 +838,8 @@ public Builder clearProperties() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -783,39 +857,44 @@ public Builder removeProperties(int index) { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public com.google.analytics.admin.v1beta.Property.Builder getPropertiesBuilder( - int index) { + public com.google.analytics.admin.v1beta.Property.Builder getPropertiesBuilder(int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder(int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); } else { + return properties_.get(index); + } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List + getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +902,8 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilde } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -830,42 +911,48 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilde * repeated .google.analytics.admin.v1beta.Property properties = 1; */ public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.Property.getDefaultInstance()); + return getPropertiesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.Property.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder( - int index) { - return getPropertiesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.Property.getDefaultInstance()); + public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder(int index) { + return getPropertiesFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.Property.getDefaultInstance()); } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List + getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( - properties_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + propertiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder>( + properties_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; @@ -873,19 +960,21 @@ public com.google.analytics.admin.v1beta.Property.Builder addPropertiesBuilder( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +983,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1006,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1046,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ListPropertiesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ListPropertiesResponse) private static final com.google.analytics.admin.v1beta.ListPropertiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ListPropertiesResponse(); } @@ -993,27 +1094,27 @@ public static com.google.analytics.admin.v1beta.ListPropertiesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPropertiesResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPropertiesResponse 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; @@ -1028,6 +1129,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.ListPropertiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java index 02f17dc7ff8f..b83b2c4620ac 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ListPropertiesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ListPropertiesResponseOrBuilder extends +public interface ListPropertiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ListPropertiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - java.util.List - getPropertiesList(); + java.util.List getPropertiesList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -25,6 +44,8 @@ public interface ListPropertiesResponseOrBuilder extends */ com.google.analytics.admin.v1beta.Property getProperties(int index); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -33,43 +54,51 @@ public interface ListPropertiesResponseOrBuilder extends */ int getPropertiesCount(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
* * repeated .google.analytics.admin.v1beta.Property properties = 1; */ - com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder( - int index); + com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilder(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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java index c20beb084344..d9f8e3bd662e 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecret.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A secret value used for sending hits to Measurement Protocol.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.MeasurementProtocolSecret} */ -public final class MeasurementProtocolSecret extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MeasurementProtocolSecret extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.MeasurementProtocolSecret) MeasurementProtocolSecretOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MeasurementProtocolSecret.newBuilder() to construct. private MeasurementProtocolSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MeasurementProtocolSecret() { name_ = ""; displayName_ = ""; @@ -27,33 +45,37 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -86,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,14 +127,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -120,29 +147,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -151,9 +178,12 @@ public java.lang.String getDisplayName() { } public static final int SECRET_VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object secretValue_ = ""; /** + * + * *
    * 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
@@ -161,6 +191,7 @@ public java.lang.String getDisplayName() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ @java.lang.Override @@ -169,14 +200,15 @@ public java.lang.String getSecretValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; } } /** + * + * *
    * 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
@@ -184,16 +216,15 @@ public java.lang.String getSecretValue() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for secretValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecretValueBytes() { + public com.google.protobuf.ByteString getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretValue_ = b; return b; } else { @@ -202,6 +233,7 @@ public java.lang.String getSecretValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -250,19 +281,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.MeasurementProtocolSecret)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.MeasurementProtocolSecret other = (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) obj; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret other = + (com.google.analytics.admin.v1beta.MeasurementProtocolSecret) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getSecretValue() - .equals(other.getSecretValue())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getSecretValue().equals(other.getSecretValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,129 +315,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( 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.v1beta.MeasurementProtocolSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.MeasurementProtocolSecret prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A secret value used for sending hits to Measurement Protocol.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.MeasurementProtocolSecret} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.MeasurementProtocolSecret) com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder.class); } // Construct using com.google.analytics.admin.v1beta.MeasurementProtocolSecret.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; } @java.lang.Override @@ -441,8 +477,11 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecret build() { @java.lang.Override public com.google.analytics.admin.v1beta.MeasurementProtocolSecret buildPartial() { - com.google.analytics.admin.v1beta.MeasurementProtocolSecret result = new com.google.analytics.admin.v1beta.MeasurementProtocolSecret(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.MeasurementProtocolSecret result = + new com.google.analytics.admin.v1beta.MeasurementProtocolSecret(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -464,38 +503,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.MeasurementProtocol public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.MeasurementProtocolSecret) { - return mergeFrom((com.google.analytics.admin.v1beta.MeasurementProtocolSecret)other); + return mergeFrom((com.google.analytics.admin.v1beta.MeasurementProtocolSecret) other); } else { super.mergeFrom(other); return this; @@ -503,7 +543,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.MeasurementProtocolSecret other) { - if (other == com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -545,27 +586,31 @@ public Builder mergeFrom( 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: { - secretValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + secretValue_ = 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) { @@ -575,10 +620,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -587,13 +635,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -602,6 +650,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -610,15 +660,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -626,6 +675,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -634,18 +685,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 secret. This secret may be a child of any type of
      * stream.
@@ -654,6 +709,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -663,6 +719,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this secret. This secret may be a child of any type of
      * stream.
@@ -671,12 +729,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -686,18 +746,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -706,20 +768,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -727,28 +790,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -758,17 +828,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this secret.
      * 
* * 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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -778,6 +852,8 @@ public Builder setDisplayNameBytes( private java.lang.Object secretValue_ = ""; /** + * + * *
      * 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
@@ -785,13 +861,13 @@ public Builder setDisplayNameBytes(
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ public java.lang.String getSecretValue() { java.lang.Object ref = secretValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretValue_ = s; return s; @@ -800,6 +876,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
@@ -807,15 +885,14 @@ public java.lang.String getSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for secretValue. */ - public com.google.protobuf.ByteString - getSecretValueBytes() { + public com.google.protobuf.ByteString getSecretValueBytes() { java.lang.Object ref = secretValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretValue_ = b; return b; } else { @@ -823,6 +900,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
@@ -830,18 +909,22 @@ public java.lang.String getSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return 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
@@ -849,6 +932,7 @@ public Builder setSecretValue(
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSecretValue() { @@ -858,6 +942,8 @@ public Builder clearSecretValue() { return 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
@@ -865,21 +951,23 @@ public Builder clearSecretValue() {
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for secretValue to set. * @return This builder for chaining. */ - public Builder setSecretValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); secretValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,12 +977,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.MeasurementProtocolSecret) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.MeasurementProtocolSecret) private static final com.google.analytics.admin.v1beta.MeasurementProtocolSecret DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.MeasurementProtocolSecret(); } @@ -903,27 +991,27 @@ public static com.google.analytics.admin.v1beta.MeasurementProtocolSecret getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MeasurementProtocolSecret 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MeasurementProtocolSecret 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; @@ -938,6 +1026,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java index 284fd80164eb..d250e4e8189f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/MeasurementProtocolSecretOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface MeasurementProtocolSecretOrBuilder extends +public interface MeasurementProtocolSecretOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.MeasurementProtocolSecret) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -16,10 +34,13 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this secret. This secret may be a child of any type of
    * stream.
@@ -28,32 +49,39 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this secret.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + 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
@@ -61,10 +89,13 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ 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
@@ -72,8 +103,8 @@ public interface MeasurementProtocolSecretOrBuilder extends
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for secretValue. */ - com.google.protobuf.ByteString - getSecretValueBytes(); + com.google.protobuf.ByteString getSecretValueBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java similarity index 69% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java index a627aea26af2..c7dbe7ba3a84 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/Property.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A resource message representing a Google Analytics GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.Property} */ -public final class Property extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Property extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.Property) PropertyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Property.newBuilder() to construct. private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Property() { name_ = ""; propertyType_ = 0; @@ -33,33 +51,37 @@ private Property() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Property(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Property.class, com.google.analytics.admin.v1beta.Property.Builder.class); + com.google.analytics.admin.v1beta.Property.class, + com.google.analytics.admin.v1beta.Property.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -67,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -75,14 +98,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -90,16 +114,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -110,6 +133,8 @@ public java.lang.String getName() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 14; private int propertyType_ = 0; /** + * + * *
    * Immutable. The property type for this Property resource. When creating a property, if
    * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -117,13 +142,19 @@ public java.lang.String getName() {
    * via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
    * Immutable. The property type for this Property resource. When creating a property, if
    * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -131,22 +162,31 @@ public java.lang.String getName() {
    * via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The propertyType. */ - @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + @java.lang.Override + public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { + com.google.analytics.admin.v1beta.PropertyType result = + com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -154,11 +194,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The createTime. */ @java.lang.Override @@ -166,11 +210,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -180,11 +227,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -192,11 +243,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The updateTime. */ @java.lang.Override @@ -204,11 +259,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -216,9 +274,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int PARENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -227,6 +288,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ @java.lang.Override @@ -235,14 +297,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -251,16 +314,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -269,15 +331,19 @@ public java.lang.String getParent() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -286,30 +352,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -320,35 +386,49 @@ public java.lang.String getDisplayName() { public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 6; private int industryCategory_ = 0; /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override public int getIndustryCategoryValue() { + @java.lang.Override + public int getIndustryCategoryValue() { return industryCategory_; } /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @return The industryCategory. */ - @java.lang.Override public com.google.analytics.admin.v1beta.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1beta.IndustryCategory result = com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); - return result == null ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.IndustryCategory getIndustryCategory() { + com.google.analytics.admin.v1beta.IndustryCategory result = + com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); + return result == null + ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED + : result; } public static final int TIME_ZONE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object timeZone_ = ""; /** + * + * *
    * 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
@@ -360,6 +440,7 @@ public java.lang.String getDisplayName() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ @java.lang.Override @@ -368,14 +449,15 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** + * + * *
    * 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
@@ -387,16 +469,15 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -405,9 +486,12 @@ public java.lang.String getTimeZone() { } public static final int CURRENCY_CODE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object currencyCode_ = ""; /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -415,6 +499,7 @@ public java.lang.String getTimeZone() {
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ @java.lang.Override @@ -423,14 +508,15 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -438,16 +524,15 @@ public java.lang.String getCurrencyCode() {
    * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -458,38 +543,55 @@ public java.lang.String getCurrencyCode() { public static final int SERVICE_LEVEL_FIELD_NUMBER = 10; private int serviceLevel_ = 0; /** + * + * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override public int getServiceLevelValue() { + @java.lang.Override + public int getServiceLevelValue() { return serviceLevel_; } /** + * + * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The serviceLevel. */ - @java.lang.Override public com.google.analytics.admin.v1beta.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1beta.ServiceLevel result = com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); + @java.lang.Override + public com.google.analytics.admin.v1beta.ServiceLevel getServiceLevel() { + com.google.analytics.admin.v1beta.ServiceLevel result = + com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1beta.ServiceLevel.UNRECOGNIZED : result; } public static final int DELETE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * 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]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -497,12 +599,16 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -510,12 +616,15 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -525,13 +634,17 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * 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]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -539,13 +652,17 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -553,13 +670,16 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * 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]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -567,16 +687,22 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } public static final int ACCOUNT_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ @java.lang.Override @@ -585,31 +711,33 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -618,6 +746,7 @@ public java.lang.String getAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -629,8 +758,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -646,7 +774,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (industryCategory_ != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { + if (industryCategory_ + != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED + .getNumber()) { output.writeEnum(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { @@ -655,7 +785,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, currencyCode_); } - if (serviceLevel_ != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + if (serviceLevel_ + != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(10, serviceLevel_); } if (deleteTime_ != null) { @@ -667,7 +798,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, account_); } - if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ + != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(14, propertyType_); } getUnknownFields().writeTo(output); @@ -686,19 +818,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parent_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (industryCategory_ != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, industryCategory_); + if (industryCategory_ + != com.google.analytics.admin.v1beta.IndustryCategory.INDUSTRY_CATEGORY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, industryCategory_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, timeZone_); @@ -706,24 +837,22 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); } - if (serviceLevel_ != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, serviceLevel_); + if (serviceLevel_ + != com.google.analytics.admin.v1beta.ServiceLevel.SERVICE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, serviceLevel_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, account_); } - if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, propertyType_); + if (propertyType_ + != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, propertyType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -733,48 +862,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.Property)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.Property other = (com.google.analytics.admin.v1beta.Property) obj; + com.google.analytics.admin.v1beta.Property other = + (com.google.analytics.admin.v1beta.Property) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (propertyType_ != other.propertyType_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getParent() - .equals(other.getParent())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (industryCategory_ != other.industryCategory_) return false; - if (!getTimeZone() - .equals(other.getTimeZone())) return false; - if (!getCurrencyCode() - .equals(other.getCurrencyCode())) return false; + if (!getTimeZone().equals(other.getTimeZone())) return false; + if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; if (serviceLevel_ != other.serviceLevel_) return false; if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -825,130 +945,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.Property parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.Property parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.Property parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.Property parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.Property parseFrom( 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.v1beta.Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.Property parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.Property parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.Property parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.Property parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.Property parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.Property parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.Property parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.Property parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.Property prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource message representing a Google Analytics GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.Property} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.Property) com.google.analytics.admin.v1beta.PropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.Property.class, com.google.analytics.admin.v1beta.Property.Builder.class); + com.google.analytics.admin.v1beta.Property.class, + com.google.analytics.admin.v1beta.Property.Builder.class); } // Construct using com.google.analytics.admin.v1beta.Property.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -986,9 +1112,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_Property_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_Property_descriptor; } @java.lang.Override @@ -1007,8 +1133,11 @@ public com.google.analytics.admin.v1beta.Property build() { @java.lang.Override public com.google.analytics.admin.v1beta.Property buildPartial() { - com.google.analytics.admin.v1beta.Property result = new com.google.analytics.admin.v1beta.Property(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.Property result = + new com.google.analytics.admin.v1beta.Property(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1022,14 +1151,10 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Property result) { result.propertyType_ = propertyType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.parent_ = parent_; @@ -1050,14 +1175,10 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Property result) { result.serviceLevel_ = serviceLevel_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null - ? deleteTime_ - : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.account_ = account_; @@ -1068,38 +1189,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.Property result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.Property) { - return mergeFrom((com.google.analytics.admin.v1beta.Property)other); + return mergeFrom((com.google.analytics.admin.v1beta.Property) other); } else { super.mergeFrom(other); return this; @@ -1185,85 +1307,91 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: { - industryCategory_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - timeZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: { - currencyCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 66 - case 80: { - serviceLevel_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - input.readMessage( - getDeleteTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 112 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: + { + industryCategory_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + timeZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + currencyCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 80: + { + serviceLevel_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: + { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 112 + 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) { @@ -1273,10 +1401,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1284,13 +1415,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1299,6 +1430,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1306,15 +1439,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1322,6 +1454,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1329,18 +1463,22 @@ public java.lang.String getName() {
      * 
* * 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(); } + 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 property.
      * Format: properties/{property_id}
@@ -1348,6 +1486,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1357,6 +1496,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1364,12 +1505,14 @@ public Builder clearName() {
      * 
* * 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(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1379,6 +1522,8 @@ public Builder setNameBytes( private int propertyType_ = 0; /** + * + * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1386,13 +1531,19 @@ public Builder setNameBytes(
      * via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1400,7 +1551,10 @@ public Builder setNameBytes(
      * via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -1411,6 +1565,8 @@ public Builder setPropertyTypeValue(int value) { return this; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1418,15 +1574,21 @@ public Builder setPropertyTypeValue(int value) {
      * via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1beta.PropertyType result = + com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1434,7 +1596,10 @@ public com.google.analytics.admin.v1beta.PropertyType getPropertyType() {
      * via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The propertyType to set. * @return This builder for chaining. */ @@ -1448,6 +1613,8 @@ public Builder setPropertyType(com.google.analytics.admin.v1beta.PropertyType va return this; } /** + * + * *
      * Immutable. The property type for this Property resource. When creating a property, if
      * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
@@ -1455,7 +1622,10 @@ public Builder setPropertyType(com.google.analytics.admin.v1beta.PropertyType va
      * via Google Analytics Admin API.
      * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -1467,39 +1637,58 @@ public Builder clearPropertyType() { 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * 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]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1515,14 +1704,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1533,17 +1725,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1556,11 +1752,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1573,11 +1773,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1585,36 +1789,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1622,39 +1838,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1670,14 +1905,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1688,17 +1926,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1711,11 +1953,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1728,11 +1974,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1740,36 +1990,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1777,6 +2039,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1785,13 +2049,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1800,6 +2064,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1808,15 +2074,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1824,6 +2089,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1832,18 +2099,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1852,6 +2123,7 @@ public Builder setParent(
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1861,6 +2133,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -1869,12 +2143,14 @@ public Builder clearParent() {
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @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(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000010; @@ -1884,19 +2160,21 @@ public Builder setParentBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1905,21 +2183,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1927,30 +2206,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1960,18 +2246,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      * The max allowed display name length is 100 UTF-16 code units.
      * 
* * string display_name = 5 [(.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(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000020; @@ -1981,24 +2271,31 @@ public Builder setDisplayNameBytes( private int industryCategory_ = 0; /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @return The enum numeric value on the wire for industryCategory. */ - @java.lang.Override public int getIndustryCategoryValue() { + @java.lang.Override + public int getIndustryCategoryValue() { return industryCategory_; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @param value The enum numeric value on the wire for industryCategory to set. * @return This builder for chaining. */ @@ -2009,26 +2306,35 @@ public Builder setIndustryCategoryValue(int value) { return this; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @return The industryCategory. */ @java.lang.Override public com.google.analytics.admin.v1beta.IndustryCategory getIndustryCategory() { - com.google.analytics.admin.v1beta.IndustryCategory result = com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); - return result == null ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.IndustryCategory result = + com.google.analytics.admin.v1beta.IndustryCategory.forNumber(industryCategory_); + return result == null + ? com.google.analytics.admin.v1beta.IndustryCategory.UNRECOGNIZED + : result; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @param value The industryCategory to set. * @return This builder for chaining. */ @@ -2042,12 +2348,15 @@ public Builder setIndustryCategory(com.google.analytics.admin.v1beta.IndustryCat return this; } /** + * + * *
      * Industry associated with this property
      * Example: AUTOMOTIVE, FOOD_AND_DRINK
      * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @return This builder for chaining. */ public Builder clearIndustryCategory() { @@ -2059,6 +2368,8 @@ public Builder clearIndustryCategory() { private java.lang.Object timeZone_ = ""; /** + * + * *
      * 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
@@ -2070,13 +2381,13 @@ public Builder clearIndustryCategory() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -2085,6 +2396,8 @@ 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
@@ -2096,15 +2409,14 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -2112,6 +2424,8 @@ 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
@@ -2123,18 +2437,22 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTimeZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } timeZone_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * 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
@@ -2146,6 +2464,7 @@ public Builder setTimeZone(
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -2155,6 +2474,8 @@ public Builder clearTimeZone() { return this; } /** + * + * *
      * 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
@@ -2166,12 +2487,14 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); timeZone_ = value; bitField0_ |= 0x00000080; @@ -2181,6 +2504,8 @@ public Builder setTimeZoneBytes( private java.lang.Object currencyCode_ = ""; /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2188,13 +2513,13 @@ public Builder setTimeZoneBytes(
      * 
* * string currency_code = 8; + * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -2203,6 +2528,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2210,15 +2537,14 @@ public java.lang.String getCurrencyCode() {
      * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -2226,6 +2552,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2233,18 +2561,22 @@ public java.lang.String getCurrencyCode() {
      * 
* * string currency_code = 8; + * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCurrencyCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } currencyCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2252,6 +2584,7 @@ public Builder setCurrencyCode(
      * 
* * string currency_code = 8; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -2261,6 +2594,8 @@ public Builder clearCurrencyCode() { return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -2268,12 +2603,14 @@ public Builder clearCurrencyCode() {
      * 
* * string currency_code = 8; + * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); currencyCode_ = value; bitField0_ |= 0x00000100; @@ -2283,22 +2620,33 @@ public Builder setCurrencyCodeBytes( private int serviceLevel_ = 0; /** + * + * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for serviceLevel. */ - @java.lang.Override public int getServiceLevelValue() { + @java.lang.Override + public int getServiceLevelValue() { return serviceLevel_; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for serviceLevel to set. * @return This builder for chaining. */ @@ -2309,24 +2657,35 @@ public Builder setServiceLevelValue(int value) { return this; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The serviceLevel. */ @java.lang.Override public com.google.analytics.admin.v1beta.ServiceLevel getServiceLevel() { - com.google.analytics.admin.v1beta.ServiceLevel result = com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); + com.google.analytics.admin.v1beta.ServiceLevel result = + com.google.analytics.admin.v1beta.ServiceLevel.forNumber(serviceLevel_); return result == null ? com.google.analytics.admin.v1beta.ServiceLevel.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The serviceLevel to set. * @return This builder for chaining. */ @@ -2340,11 +2699,16 @@ public Builder setServiceLevel(com.google.analytics.admin.v1beta.ServiceLevel va return this; } /** + * + * *
      * Output only. The Google Analytics service level that applies to this property.
      * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearServiceLevel() { @@ -2356,42 +2720,61 @@ public Builder clearServiceLevel() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -2407,15 +2790,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -2426,18 +2812,22 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -2450,12 +2840,16 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2468,12 +2862,16 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000400; @@ -2481,38 +2879,50 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -2520,45 +2930,64 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2574,16 +3003,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -2594,19 +3026,23 @@ public Builder setExpireTime( return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -2619,13 +3055,17 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -2638,13 +3078,17 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000800; @@ -2652,40 +3096,52 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * 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]; + * + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2693,20 +3149,24 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object account_ = ""; /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -2715,22 +3175,25 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -2738,32 +3201,43 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -2773,28 +3247,34 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Immutable. The resource name of the parent account
      * Format: accounts/{account_id}
      * Example: "accounts/123"
      * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2804,12 +3284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.Property) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.Property) private static final com.google.analytics.admin.v1beta.Property DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.Property(); } @@ -2818,27 +3298,27 @@ public static com.google.analytics.admin.v1beta.Property getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Property 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Property 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; @@ -2853,6 +3333,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyName.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java similarity index 77% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java index 3744c8ebaf63..8b84687a37e7 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface PropertyOrBuilder extends +public interface PropertyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.Property) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -15,10 +33,13 @@ public interface PropertyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this property.
    * Format: properties/{property_id}
@@ -26,12 +47,14 @@ public interface PropertyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + 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
@@ -39,11 +62,16 @@ public interface PropertyOrBuilder extends
    * via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for propertyType. */ 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
@@ -51,66 +79,93 @@ public interface PropertyOrBuilder extends
    * via Google Analytics Admin API.
    * 
* - * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The propertyType. */ com.google.analytics.admin.v1beta.PropertyType getPropertyType(); /** + * + * *
    * 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]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * 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]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * 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]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -119,10 +174,13 @@ public interface PropertyOrBuilder extends
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Immutable. Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -131,55 +189,68 @@ public interface PropertyOrBuilder extends
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this property.
    * The max allowed display name length is 100 UTF-16 code units.
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** + * + * *
    * Industry associated with this property
    * Example: AUTOMOTIVE, FOOD_AND_DRINK
    * 
* * .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * * @return The industryCategory. */ com.google.analytics.admin.v1beta.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
@@ -191,10 +262,13 @@ public interface PropertyOrBuilder extends
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ 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
@@ -206,12 +280,14 @@ public interface PropertyOrBuilder extends
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString - getTimeZoneBytes(); + com.google.protobuf.ByteString getTimeZoneBytes(); /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -219,10 +295,13 @@ public interface PropertyOrBuilder extends
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** + * + * *
    * The currency type used in reports involving monetary values.
    * Format: https://en.wikipedia.org/wiki/ISO_4217
@@ -230,114 +309,155 @@ public interface PropertyOrBuilder extends
    * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString - getCurrencyCodeBytes(); + com.google.protobuf.ByteString getCurrencyCodeBytes(); /** + * + * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for serviceLevel. */ int getServiceLevelValue(); /** + * + * *
    * Output only. The Google Analytics service level that applies to this property.
    * 
* - * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The serviceLevel. */ com.google.analytics.admin.v1beta.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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ 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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ 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.
    * 
* - * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ 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.
    * 
* - * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Immutable. The resource name of the parent account
    * Format: accounts/{account_id}
    * Example: "accounts/123"
    * 
* - * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java index 9c61a82878a7..429118f24996 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummary.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A virtual resource representing metadata for a GA4 property.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.PropertySummary} */ -public final class PropertySummary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PropertySummary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.PropertySummary) PropertySummaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PropertySummary.newBuilder() to construct. private PropertySummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PropertySummary() { property_ = ""; displayName_ = ""; @@ -28,33 +46,37 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertySummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.PropertySummary.class, com.google.analytics.admin.v1beta.PropertySummary.Builder.class); + com.google.analytics.admin.v1beta.PropertySummary.class, + com.google.analytics.admin.v1beta.PropertySummary.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -85,16 +109,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -103,14 +126,18 @@ public java.lang.String getProperty() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -119,29 +146,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -152,33 +179,45 @@ public java.lang.String getDisplayName() { public static final int PROPERTY_TYPE_FIELD_NUMBER = 3; private int propertyType_ = 0; /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @return The propertyType. */ - @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + @java.lang.Override + public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { + com.google.analytics.admin.v1beta.PropertyType result = + com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } public static final int PARENT_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -187,6 +226,7 @@ public java.lang.String getDisplayName() {
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -195,14 +235,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -211,16 +252,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -229,6 +269,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,15 +281,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + if (propertyType_ + != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { @@ -269,9 +310,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (propertyType_ != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, propertyType_); + if (propertyType_ + != com.google.analytics.admin.v1beta.PropertyType.PROPERTY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, propertyType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, parent_); @@ -284,20 +325,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.PropertySummary)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.PropertySummary other = (com.google.analytics.admin.v1beta.PropertySummary) obj; + com.google.analytics.admin.v1beta.PropertySummary other = + (com.google.analytics.admin.v1beta.PropertySummary) obj; - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getProperty().equals(other.getProperty())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (propertyType_ != other.propertyType_) return false; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -323,129 +362,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( 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.v1beta.PropertySummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.PropertySummary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.PropertySummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.PropertySummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.PropertySummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.PropertySummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.PropertySummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A virtual resource representing metadata for a GA4 property.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.PropertySummary} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.PropertySummary) com.google.analytics.admin.v1beta.PropertySummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.PropertySummary.class, com.google.analytics.admin.v1beta.PropertySummary.Builder.class); + com.google.analytics.admin.v1beta.PropertySummary.class, + com.google.analytics.admin.v1beta.PropertySummary.Builder.class); } // Construct using com.google.analytics.admin.v1beta.PropertySummary.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -458,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.ResourcesProto.internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.ResourcesProto + .internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; } @java.lang.Override @@ -479,8 +524,11 @@ public com.google.analytics.admin.v1beta.PropertySummary build() { @java.lang.Override public com.google.analytics.admin.v1beta.PropertySummary buildPartial() { - com.google.analytics.admin.v1beta.PropertySummary result = new com.google.analytics.admin.v1beta.PropertySummary(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.PropertySummary result = + new com.google.analytics.admin.v1beta.PropertySummary(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -505,38 +553,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.PropertySummary res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.PropertySummary) { - return mergeFrom((com.google.analytics.admin.v1beta.PropertySummary)other); + return mergeFrom((com.google.analytics.admin.v1beta.PropertySummary) other); } else { super.mergeFrom(other); return this; @@ -544,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.PropertySummary other) { - if (other == com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.PropertySummary.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -589,32 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - propertyType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + propertyType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + 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) { @@ -624,10 +679,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -635,13 +693,13 @@ public Builder mergeFrom(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -650,6 +708,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -657,15 +717,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -673,6 +732,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -680,18 +741,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } property_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -699,6 +764,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -708,6 +774,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -715,12 +783,14 @@ public Builder clearProperty() {
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @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(); } + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000001; @@ -730,18 +800,20 @@ public Builder setPropertyBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -750,20 +822,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -771,28 +844,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -802,17 +882,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display name for the property referred to in this property summary.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -822,22 +906,29 @@ public Builder setDisplayNameBytes( private int propertyType_ = 0; /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @return The enum numeric value on the wire for propertyType. */ - @java.lang.Override public int getPropertyTypeValue() { + @java.lang.Override + public int getPropertyTypeValue() { return propertyType_; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @param value The enum numeric value on the wire for propertyType to set. * @return This builder for chaining. */ @@ -848,24 +939,31 @@ public Builder setPropertyTypeValue(int value) { return this; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @return The propertyType. */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyType getPropertyType() { - com.google.analytics.admin.v1beta.PropertyType result = com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); + com.google.analytics.admin.v1beta.PropertyType result = + com.google.analytics.admin.v1beta.PropertyType.forNumber(propertyType_); return result == null ? com.google.analytics.admin.v1beta.PropertyType.UNRECOGNIZED : result; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @param value The propertyType to set. * @return This builder for chaining. */ @@ -879,11 +977,14 @@ public Builder setPropertyType(com.google.analytics.admin.v1beta.PropertyType va return this; } /** + * + * *
      * The property's property type.
      * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @return This builder for chaining. */ public Builder clearPropertyType() { @@ -895,6 +996,8 @@ public Builder clearPropertyType() { private java.lang.Object parent_ = ""; /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -903,13 +1006,13 @@ public Builder clearPropertyType() {
      * 
* * string parent = 4; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -918,6 +1021,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -926,15 +1031,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -942,6 +1046,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -950,18 +1056,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -970,6 +1080,7 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -979,6 +1090,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Resource name of this property's logical parent.
      * Note: The Property-Moving UI can be used to change the parent.
@@ -987,21 +1100,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; + * * @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(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.PropertySummary) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.PropertySummary) private static final com.google.analytics.admin.v1beta.PropertySummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.PropertySummary(); } @@ -1025,27 +1140,27 @@ public static com.google.analytics.admin.v1beta.PropertySummary getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertySummary 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertySummary 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; @@ -1060,6 +1175,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.PropertySummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java similarity index 73% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java index 37a93295b89f..313fff0f2dc2 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertySummaryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; -public interface PropertySummaryOrBuilder extends +public interface PropertySummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.PropertySummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -15,10 +33,13 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Resource name of property referred to by this property summary
    * Format: properties/{property_id}
@@ -26,51 +47,64 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name for the property referred to in this property summary.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @return The enum numeric value on the wire for propertyType. */ int getPropertyTypeValue(); /** + * + * *
    * The property's property type.
    * 
* * .google.analytics.admin.v1beta.PropertyType property_type = 3; + * * @return The propertyType. */ com.google.analytics.admin.v1beta.PropertyType getPropertyType(); /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -79,10 +113,13 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Resource name of this property's logical parent.
    * Note: The Property-Moving UI can be used to change the parent.
@@ -91,8 +128,8 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string parent = 4; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java index 054b81c31a6a..9914dfa2dfcc 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/PropertyType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Types of Property resources.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.PropertyType} */ -public enum PropertyType - implements com.google.protobuf.ProtocolMessageEnum { +public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unknown or unspecified property type
    * 
@@ -21,6 +39,8 @@ public enum PropertyType */ PROPERTY_TYPE_UNSPECIFIED(0), /** + * + * *
    * Ordinary GA4 property
    * 
@@ -29,6 +49,8 @@ public enum PropertyType */ PROPERTY_TYPE_ORDINARY(1), /** + * + * *
    * GA4 subproperty
    * 
@@ -37,6 +59,8 @@ public enum PropertyType */ PROPERTY_TYPE_SUBPROPERTY(2), /** + * + * *
    * GA4 rollup property
    * 
@@ -48,6 +72,8 @@ public enum PropertyType ; /** + * + * *
    * Unknown or unspecified property type
    * 
@@ -56,6 +82,8 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Ordinary GA4 property
    * 
@@ -64,6 +92,8 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_ORDINARY_VALUE = 1; /** + * + * *
    * GA4 subproperty
    * 
@@ -72,6 +102,8 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_SUBPROPERTY_VALUE = 2; /** + * + * *
    * GA4 rollup property
    * 
@@ -80,7 +112,6 @@ public enum PropertyType */ public static final int PROPERTY_TYPE_ROLLUP_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static PropertyType valueOf(int value) { */ public static PropertyType forNumber(int value) { switch (value) { - case 0: return PROPERTY_TYPE_UNSPECIFIED; - case 1: return PROPERTY_TYPE_ORDINARY; - case 2: return PROPERTY_TYPE_SUBPROPERTY; - case 3: return PROPERTY_TYPE_ROLLUP; - default: return null; + case 0: + return PROPERTY_TYPE_UNSPECIFIED; + case 1: + return PROPERTY_TYPE_ORDINARY; + case 2: + return PROPERTY_TYPE_SUBPROPERTY; + case 3: + return PROPERTY_TYPE_ROLLUP; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PropertyType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PropertyType findValueByNumber(int number) { - return PropertyType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PropertyType findValueByNumber(int number) { + return PropertyType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(5); } private static final PropertyType[] VALUES = values(); - public static PropertyType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PropertyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -164,4 +196,3 @@ private PropertyType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.PropertyType) } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java index c96bb692a6ee..56a10505916a 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequest.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketRequest} */ -public final class ProvisionAccountTicketRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvisionAccountTicketRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) ProvisionAccountTicketRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketRequest.newBuilder() to construct. private ProvisionAccountTicketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisionAccountTicketRequest() { redirectUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisionAccountTicketRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Account account_; /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return Whether the account field is set. */ @java.lang.Override @@ -63,18 +85,25 @@ public boolean hasAccount() { return account_ != null; } /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1beta.Account getAccount() { - return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } /** + * + * *
    * The account to create.
    * 
@@ -83,19 +112,25 @@ public com.google.analytics.admin.v1beta.Account getAccount() { */ @java.lang.Override public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { - return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } public static final int REDIRECT_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object redirectUri_ = ""; /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ @java.lang.Override @@ -104,30 +139,30 @@ public java.lang.String getRedirectUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; } } /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRedirectUriBytes() { + public com.google.protobuf.ByteString getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -136,6 +171,7 @@ public java.lang.String getRedirectUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -165,8 +200,7 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redirectUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, redirectUri_); @@ -179,20 +213,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other = (com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) obj; + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other = + (com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; } - if (!getRedirectUri() - .equals(other.getRedirectUri())) return false; + if (!getRedirectUri().equals(other.getRedirectUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,129 +249,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( 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.v1beta.ProvisionAccountTicketRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) com.google.analytics.admin.v1beta.ProvisionAccountTicketRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,13 +393,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance(); } @@ -374,18 +415,20 @@ public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest buildPartial() { - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result = new com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result = + new com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null - ? account_ - : accountBuilder_.build(); + result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.redirectUri_ = redirectUri_; @@ -396,46 +439,50 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ProvisionAccountTic public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ProvisionAccountTicketRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other) { - if (other == com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest other) { + if (other + == com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance()) + return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -470,24 +517,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAccountFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - redirectUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAccountFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + redirectUri_ = 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) { @@ -497,38 +545,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountBuilder_; + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder> + accountBuilder_; /** + * + * *
      * The account to create.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The account to create.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return The account. */ public com.google.analytics.admin.v1beta.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } else { return accountBuilder_.getMessage(); } } /** + * + * *
      * The account to create.
      * 
@@ -549,14 +611,15 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
      * The account to create.
      * 
* * .google.analytics.admin.v1beta.Account account = 1; */ - public Builder setAccount( - com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -567,6 +630,8 @@ public Builder setAccount( return this; } /** + * + * *
      * The account to create.
      * 
@@ -575,9 +640,9 @@ public Builder setAccount( */ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - account_ != null && - account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && account_ != null + && account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -590,6 +655,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
      * The account to create.
      * 
@@ -607,6 +674,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * The account to create.
      * 
@@ -619,6 +688,8 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
      * The account to create.
      * 
@@ -629,11 +700,14 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null ? - com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } } /** + * + * *
      * The account to create.
      * 
@@ -641,14 +715,17 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() * .google.analytics.admin.v1beta.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( - getAccount(), - getParentForChildren(), - isClean()); + accountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder>( + getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; @@ -656,19 +733,21 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() private java.lang.Object redirectUri_ = ""; /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ public java.lang.String getRedirectUri() { java.lang.Object ref = redirectUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); redirectUri_ = s; return s; @@ -677,21 +756,22 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ - public com.google.protobuf.ByteString - getRedirectUriBytes() { + public com.google.protobuf.ByteString getRedirectUriBytes() { java.lang.Object ref = redirectUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); redirectUri_ = b; return b; } else { @@ -699,30 +779,37 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @param value The redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRedirectUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @return This builder for chaining. */ public Builder clearRedirectUri() { @@ -732,27 +819,31 @@ public Builder clearRedirectUri() { return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Developers Console as a Redirect URI
      * 
* * string redirect_uri = 2; + * * @param value The bytes for redirectUri to set. * @return This builder for chaining. */ - public Builder setRedirectUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRedirectUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); redirectUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,41 +853,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) - private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest(); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketRequest 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; @@ -808,9 +901,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java index a235c08db140..9e8f616308ce 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface ProvisionAccountTicketRequestOrBuilder extends +public interface ProvisionAccountTicketRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ProvisionAccountTicketRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
    * The account to create.
    * 
* * .google.analytics.admin.v1beta.Account account = 1; + * * @return The account. */ com.google.analytics.admin.v1beta.Account getAccount(); /** + * + * *
    * The account to create.
    * 
@@ -35,24 +59,29 @@ public interface ProvisionAccountTicketRequestOrBuilder extends com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder(); /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ java.lang.String getRedirectUri(); /** + * + * *
    * Redirect URI where the user will be sent after accepting Terms of Service.
    * Must be configured in Developers Console as a Redirect URI
    * 
* * string redirect_uri = 2; + * * @return The bytes for redirectUri. */ - com.google.protobuf.ByteString - getRedirectUriBytes(); + com.google.protobuf.ByteString getRedirectUriBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java similarity index 63% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java index 01db5bdea1de..26d7a5b30f22 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponse.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for ProvisionAccountTicket RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketResponse} */ -public final class ProvisionAccountTicketResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvisionAccountTicketResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) ProvisionAccountTicketResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisionAccountTicketResponse.newBuilder() to construct. - private ProvisionAccountTicketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProvisionAccountTicketResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisionAccountTicketResponse() { accountTicketId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisionAccountTicketResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); } public static final int ACCOUNT_TICKET_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object accountTicketId_ = ""; /** + * + * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; + * * @return The accountTicketId. */ @java.lang.Override @@ -65,29 +89,29 @@ public java.lang.String getAccountTicketId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; } } /** + * + * *
    * The param to be passed in the ToS link.
    * 
* * string account_ticket_id = 1; + * * @return The bytes for accountTicketId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountTicketIdBytes() { + public com.google.protobuf.ByteString getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -96,6 +120,7 @@ public java.lang.String getAccountTicketId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountTicketId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountTicketId_); } @@ -132,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other = (com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse) obj; + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other = + (com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse) obj; - if (!getAccountTicketId() - .equals(other.getAccountTicketId())) return false; + if (!getAccountTicketId().equals(other.getAccountTicketId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +184,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( 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.v1beta.ProvisionAccountTicketResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ProvisionAccountTicket RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.ProvisionAccountTicketResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) com.google.analytics.admin.v1beta.ProvisionAccountTicketResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,13 +323,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance(); } @@ -313,13 +345,17 @@ public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse build() @java.lang.Override public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse buildPartial() { - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result = new com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result = + new com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accountTicketId_ = accountTicketId_; @@ -330,46 +366,50 @@ private void buildPartial0(com.google.analytics.admin.v1beta.ProvisionAccountTic public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.ProvisionAccountTicketResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other) { - if (other == com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse other) { + if (other + == com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance()) + return this; if (!other.getAccountTicketId().isEmpty()) { accountTicketId_ = other.accountTicketId_; bitField0_ |= 0x00000001; @@ -401,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - accountTicketId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + accountTicketId_ = 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) { @@ -421,22 +463,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object accountTicketId_ = ""; /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @return The accountTicketId. */ public java.lang.String getAccountTicketId() { java.lang.Object ref = accountTicketId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountTicketId_ = s; return s; @@ -445,20 +490,21 @@ public java.lang.String getAccountTicketId() { } } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @return The bytes for accountTicketId. */ - public com.google.protobuf.ByteString - getAccountTicketIdBytes() { + public com.google.protobuf.ByteString getAccountTicketIdBytes() { java.lang.Object ref = accountTicketId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accountTicketId_ = b; return b; } else { @@ -466,28 +512,35 @@ public java.lang.String getAccountTicketId() { } } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @param value The accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountTicketId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @return This builder for chaining. */ public Builder clearAccountTicketId() { @@ -497,26 +550,30 @@ public Builder clearAccountTicketId() { return this; } /** + * + * *
      * The param to be passed in the ToS link.
      * 
* * string account_ticket_id = 1; + * * @param value The bytes for accountTicketId to set. * @return This builder for chaining. */ - public Builder setAccountTicketIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountTicketIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accountTicketId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -526,41 +583,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) - private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse(); } - public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse getDefaultInstance() { + public static com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionAccountTicketResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionAccountTicketResponse 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; @@ -572,9 +631,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java new file mode 100644 index 000000000000..0fdfc949d03b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/analytics_admin.proto + +package com.google.analytics.admin.v1beta; + +public interface ProvisionAccountTicketResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * + * @return The accountTicketId. + */ + java.lang.String getAccountTicketId(); + /** + * + * + *
+   * The param to be passed in the ToS link.
+   * 
+ * + * string account_ticket_id = 1; + * + * @return The bytes for accountTicketId. + */ + com.google.protobuf.ByteString getAccountTicketIdBytes(); +} diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java new file mode 100644 index 000000000000..c78b8307d62c --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java @@ -0,0 +1,558 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/resources.proto + +package com.google.analytics.admin.v1beta; + +public final class ResourcesProto { + private ResourcesProto() {} + + 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_v1beta_Account_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_Property_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/analytics/admin/v1beta/resource" + + "s.proto\022\035google.analytics.admin.v1beta\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032\037google/protobuf/time" + + "stamp.proto\032\036google/protobuf/wrappers.pr" + + "oto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cr" + + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" + + "rotobuf.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\007delete" + + "d\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.google" + + "apis.com/Account\022\022accounts/{account}\"\266\005\n" + + "\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\rproperty" + + "_type\030\016 \001(\0162+.google.analytics.admin.v1b" + + "eta.PropertyTypeB\003\340A\005\0224\n\013create_time\030\003 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + + "pdate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022\031\n\014displa" + + "y_name\030\005 \001(\tB\003\340A\002\022J\n\021industry_category\030\006" + + " \001(\0162/.google.analytics.admin.v1beta.Ind" + + "ustryCategory\022\026\n\ttime_zone\030\007 \001(\tB\003\340A\002\022\025\n" + + "\rcurrency_code\030\010 \001(\t\022G\n\rservice_level\030\n " + + "\001(\0162+.google.analytics.admin.v1beta.Serv" + + "iceLevelB\003\340A\003\0224\n\013delete_time\030\013 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0224\n\013expire_ti" + + "me\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%analyticsadm" + + "in.googleapis.com/Account:B\352A?\n&analytic" + + "sadmin.googleapis.com/Property\022\025properti" + + "es/{property}\"\365\007\n\nDataStream\022R\n\017web_stre" + + "am_data\030\006 \001(\01327.google.analytics.admin.v" + + "1beta.DataStream.WebStreamDataH\000\022a\n\027andr" + + "oid_app_stream_data\030\007 \001(\0132>.google.analy" + + "tics.admin.v1beta.DataStream.AndroidAppS" + + "treamDataH\000\022Y\n\023ios_app_stream_data\030\010 \001(\013" + + "2:.google.analytics.admin.v1beta.DataStr" + + "eam.IosAppStreamDataH\000\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022N\n\004type\030\002 \001(\01628.google.analytics.admin" + + ".v1beta.DataStream.DataStreamTypeB\006\340A\005\340A" + + "\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_time\030\004" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\032d\n\rWebStreamData\022\033\n\016measurem" + + "ent_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\002 \001" + + "(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340A\005\032O\n\024And" + + "roidAppStreamData\022\034\n\017firebase_app_id\030\001 \001" + + "(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\005\032K\n\020Io" + + "sAppStreamData\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\016DataS" + + "treamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFIE" + + "D\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(analyticsadmin.googleapis.com/DataS" + + "tream\022/properties/{property}/dataStreams" + + "/{data_stream}B\r\n\013stream_data\"\323\001\n\014Fireba" + + "seLink\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_time\030\003 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003:d\352Aa\n*analyticsadm" + + "in.googleapis.com/FirebaseLink\0223properti" + + "es/{property}/firebaseLinks/{firebase_li" + + "nk}\"\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\033ads_personalizati" + + "on_enabled\030\005 \001(\0132\032.google.protobuf.BoolV" + + "alue\0224\n\013create_time\030\007 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022\"\n\025crea" + + "tor_email_address\030\t \001(\tB\003\340A\003:h\352Ae\n+analy" + + "ticsadmin.googleapis.com/GoogleAdsLink\0226" + + "properties/{property}/googleAdsLinks/{go" + + "ogle_ads_link}\"\353\002\n\023DataSharingSettings\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\003\022+\n#sharing_with_google" + + "_support_enabled\030\002 \001(\010\0222\n*sharing_with_g" + + "oogle_assigned_sales_enabled\030\003 \001(\010\022-\n%sh" + + "aring_with_google_any_sales_enabled\030\004 \001(" + + "\010\022,\n$sharing_with_google_products_enable" + + "d\030\005 \001(\010\022#\n\033sharing_with_others_enabled\030\006" + + " \001(\010:^\352A[\n1analyticsadmin.googleapis.com" + + "/DataSharingSettings\022&accounts/{account}" + + "/dataSharingSettings\"\224\002\n\016AccountSummary\022" + + "\014\n\004name\030\001 \001(\t\022;\n\007account\030\002 \001(\tB*\372A\'\n%ana" + + "lyticsadmin.googleapis.com/Account\022\024\n\014di" + + "splay_name\030\003 \001(\t\022J\n\022property_summaries\030\004" + + " \003(\0132..google.analytics.admin.v1beta.Pro" + + "pertySummary:U\352AR\n,analyticsadmin.google" + + "apis.com/AccountSummary\022\"accountSummarie" + + "s/{account_summary}\"\272\001\n\017PropertySummary\022" + + "=\n\010property\030\001 \001(\tB+\372A(\n&analyticsadmin.g" + + "oogleapis.com/Property\022\024\n\014display_name\030\002" + + " \001(\t\022B\n\rproperty_type\030\003 \001(\0162+.google.ana" + + "lytics.admin.v1beta.PropertyType\022\016\n\006pare" + + "nt\030\004 \001(\t\"\216\002\n\031MeasurementProtocolSecret\022\021" + + "\n\004name\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\n7" + + "analyticsadmin.googleapis.com/Measuremen" + + "tProtocolSecret\022hproperties/{property}/d" + + "ataStreams/{data_stream}/measurementProt" + + "ocolSecrets/{measurement_protocol_secret" + + "}\"\210\002\n\022ChangeHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013" + + "change_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022<\n\nactor_type\030\003 \001(\0162(.google.analy" + + "tics.admin.v1beta.ActorType\022\030\n\020user_acto" + + "r_email\030\004 \001(\t\022\030\n\020changes_filtered\030\005 \001(\010\022" + + "C\n\007changes\030\006 \003(\01322.google.analytics.admi" + + "n.v1beta.ChangeHistoryChange\"\252\007\n\023ChangeH" + + "istoryChange\022\020\n\010resource\030\001 \001(\t\0229\n\006action" + + "\030\002 \001(\0162).google.analytics.admin.v1beta.A" + + "ctionType\022h\n\026resource_before_change\030\003 \001(" + + "\0132H.google.analytics.admin.v1beta.Change" + + "HistoryChange.ChangeHistoryResource\022g\n\025r" + + "esource_after_change\030\004 \001(\0132H.google.anal" + + "ytics.admin.v1beta.ChangeHistoryChange.C" + + "hangeHistoryResource\032\362\004\n\025ChangeHistoryRe" + + "source\0229\n\007account\030\001 \001(\0132&.google.analyti" + + "cs.admin.v1beta.AccountH\000\022;\n\010property\030\002 " + + "\001(\0132\'.google.analytics.admin.v1beta.Prop" + + "ertyH\000\022D\n\rfirebase_link\030\006 \001(\0132+.google.a" + + "nalytics.admin.v1beta.FirebaseLinkH\000\022G\n\017" + + "google_ads_link\030\007 \001(\0132,.google.analytics" + + ".admin.v1beta.GoogleAdsLinkH\000\022J\n\020convers" + + "ion_event\030\013 \001(\0132..google.analytics.admin" + + ".v1beta.ConversionEventH\000\022_\n\033measurement" + + "_protocol_secret\030\014 \001(\01328.google.analytic" + + "s.admin.v1beta.MeasurementProtocolSecret" + + "H\000\022W\n\027data_retention_settings\030\017 \001(\01324.go" + + "ogle.analytics.admin.v1beta.DataRetentio" + + "nSettingsH\000\022@\n\013data_stream\030\022 \001(\0132).googl" + + "e.analytics.admin.v1beta.DataStreamH\000B\n\n" + + "\010resource\"\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\013cre" + + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custo" + + "m\030\005 \001(\010B\003\340A\003:m\352Aj\n-analyticsadmin.google" + + "apis.com/ConversionEvent\0229properties/{pr" + + "operty}/conversionEvents/{conversion_eve" + + "nt}\"\261\003\n\017CustomDimension\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\022T\n\005scope\030\005 \001(\0162=.google.analytic" + + "s.admin.v1beta.CustomDimension.Dimension" + + "ScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_personaliz" + + "ation\030\006 \001(\010B\003\340A\001\"F\n\016DimensionScope\022\037\n\033DI" + + "MENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010" + + "\n\004USER\020\002:m\352Aj\n-analyticsadmin.googleapis" + + ".com/CustomDimension\0229properties/{proper" + + "ty}/customDimensions/{custom_dimension}\"" + + "\302\006\n\014CustomMetric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016p" + + "arameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_n" + + "ame\030\003 \001(\tB\003\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001" + + "\022Z\n\020measurement_unit\030\005 \001(\0162;.google.anal" + + "ytics.admin.v1beta.CustomMetric.Measurem" + + "entUnitB\003\340A\002\022N\n\005scope\030\006 \001(\01627.google.ana" + + "lytics.admin.v1beta.CustomMetric.MetricS" + + "copeB\006\340A\002\340A\005\022e\n\026restricted_metric_type\030\010" + + " \003(\0162@.google.analytics.admin.v1beta.Cus" + + "tomMetric.RestrictedMetricTypeB\003\340A\001\"\267\001\n\017" + + "MeasurementUnit\022 \n\034MEASUREMENT_UNIT_UNSP" + + "ECIFIED\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\005M" + + "ILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SECONDS\020\010\022\013\n" + + "\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricScope\022\034\n\030" + + "METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_\n" + + "\024RestrictedMetricType\022&\n\"RESTRICTED_METR" + + "IC_TYPE_UNSPECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n\014" + + "REVENUE_DATA\020\002:d\352Aa\n*analyticsadmin.goog" + + "leapis.com/CustomMetric\0223properties/{pro" + + "perty}/customMetrics/{custom_metric}\"\301\003\n" + + "\025DataRetentionSettings\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022d\n\024event_data_retention\030\002 \001(\0162F.google" + + ".analytics.admin.v1beta.DataRetentionSet" + + "tings.RetentionDuration\022\'\n\037reset_user_da" + + "ta_on_new_activity\030\003 \001(\010\"\236\001\n\021RetentionDu" + + "ration\022\"\n\036RETENTION_DURATION_UNSPECIFIED" + + "\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022" + + "\025\n\021TWENTY_SIX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_M" + + "ONTHS\020\005\022\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analytic" + + "sadmin.googleapis.com/DataRetentionSetti" + + "ngs\022+properties/{property}/dataRetention" + + "Settings*\252\004\n\020IndustryCategory\022!\n\035INDUSTR" + + "Y_CATEGORY_UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001" + + "\022#\n\037BUSINESS_AND_INDUSTRIAL_MARKETS\020\002\022\013\n" + + "\007FINANCE\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\nTECHNOLOGY" + + "\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_EN" + + "TERTAINMENT\020\010\022\026\n\022BEAUTY_AND_FITNESS\020\t\022\030\n" + + "\024BOOKS_AND_LITERATURE\020\n\022\022\n\016FOOD_AND_DRIN" + + "K\020\013\022\t\n\005GAMES\020\014\022\027\n\023HOBBIES_AND_LEISURE\020\r\022" + + "\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024INTERNET_AND_TEL" + + "ECOM\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\022PEOPLE_AND_S" + + "OCIETY\020\023\022\024\n\020PETS_AND_ANIMALS\020\024\022\017\n\013REAL_E" + + "STATE\020\025\022\r\n\tREFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006S" + + "PORTS\020\030\022\026\n\022JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPP" + + "ING\020\032*f\n\014ServiceLevel\022\035\n\031SERVICE_LEVEL_U" + + "NSPECIFIED\020\000\022\035\n\031GOOGLE_ANALYTICS_STANDAR" + + "D\020\001\022\030\n\024GOOGLE_ANALYTICS_360\020\002*J\n\tActorTy" + + "pe\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\nActionType\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*\377\002\n\031ChangeHi" + + "storyResourceType\022,\n(CHANGE_HISTORY_RESO" + + "URCE_TYPE_UNSPECIFIED\020\000\022\013\n\007ACCOUNT\020\001\022\014\n\010" + + "PROPERTY\020\002\022\021\n\rFIREBASE_LINK\020\006\022\023\n\017GOOGLE_" + + "ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_SETTINGS\020\010\022" + + "\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEASUREMENT_PRO" + + "TOCOL_SECRET\020\n\022\033\n\027DATA_RETENTION_SETTING" + + "S\020\r\022%\n!DISPLAY_VIDEO_360_ADVERTISER_LINK" + + "\020\016\022.\n*DISPLAY_VIDEO_360_ADVERTISER_LINK_" + + "PROPOSAL\020\017\022\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTI" + + "ON_SETTINGS\020\024*\202\001\n\014PropertyType\022\035\n\031PROPER" + + "TY_TYPE_UNSPECIFIED\020\000\022\032\n\026PROPERTY_TYPE_O" + + "RDINARY\020\001\022\035\n\031PROPERTY_TYPE_SUBPROPERTY\020\002" + + "\022\030\n\024PROPERTY_TYPE_ROLLUP\020\003By\n!com.google" + + ".analytics.admin.v1betaB\016ResourcesProtoP" + + "\001ZBgoogle.golang.org/genproto/googleapis" + + "/analytics/admin/v1beta;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(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_analytics_admin_v1beta_Account_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_Account_descriptor, + new java.lang.String[] { + "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", + }); + internal_static_google_analytics_admin_v1beta_Property_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_Property_descriptor, + new java.lang.String[] { + "Name", + "PropertyType", + "CreateTime", + "UpdateTime", + "Parent", + "DisplayName", + "IndustryCategory", + "TimeZone", + "CurrencyCode", + "ServiceLevel", + "DeleteTime", + "ExpireTime", + "Account", + }); + internal_static_google_analytics_admin_v1beta_DataStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_descriptor, + new java.lang.String[] { + "WebStreamData", + "AndroidAppStreamData", + "IosAppStreamData", + "Name", + "Type", + "DisplayName", + "CreateTime", + "UpdateTime", + "StreamData", + }); + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor = + internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor, + new java.lang.String[] { + "MeasurementId", "FirebaseAppId", "DefaultUri", + }); + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor = + internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor, + new java.lang.String[] { + "FirebaseAppId", "PackageName", + }); + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor = + internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor, + new java.lang.String[] { + "FirebaseAppId", "BundleId", + }); + internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor, + new java.lang.String[] { + "Name", "Project", "CreateTime", + }); + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor, + new java.lang.String[] { + "Name", + "CustomerId", + "CanManageClients", + "AdsPersonalizationEnabled", + "CreateTime", + "UpdateTime", + "CreatorEmailAddress", + }); + internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor, + new java.lang.String[] { + "Name", + "SharingWithGoogleSupportEnabled", + "SharingWithGoogleAssignedSalesEnabled", + "SharingWithGoogleAnySalesEnabled", + "SharingWithGoogleProductsEnabled", + "SharingWithOthersEnabled", + }); + internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor, + new java.lang.String[] { + "Name", "Account", "DisplayName", "PropertySummaries", + }); + internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor, + new java.lang.String[] { + "Property", "DisplayName", "PropertyType", "Parent", + }); + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "SecretValue", + }); + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor, + new java.lang.String[] { + "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", + }); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor, + new java.lang.String[] { + "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", + }); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor = + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor, + new java.lang.String[] { + "Account", + "Property", + "FirebaseLink", + "GoogleAdsLink", + "ConversionEvent", + "MeasurementProtocolSecret", + "DataRetentionSettings", + "DataStream", + "Resource", + }); + internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor, + new java.lang.String[] { + "Name", "EventName", "CreateTime", "Deletable", "Custom", + }); + internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor, + new java.lang.String[] { + "Name", + "ParameterName", + "DisplayName", + "Description", + "Scope", + "DisallowAdsPersonalization", + }); + internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor, + new java.lang.String[] { + "Name", + "ParameterName", + "DisplayName", + "Description", + "MeasurementUnit", + "Scope", + "RestrictedMetricType", + }); + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor, + new java.lang.String[] { + "Name", "EventDataRetention", "ResetUserDataOnNewActivity", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java index 00693434f4a1..08bef748079e 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for SearchChangeHistoryEvents RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest} */ -public final class SearchChangeHistoryEventsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchChangeHistoryEventsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) SearchChangeHistoryEventsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsRequest.newBuilder() to construct. - private SearchChangeHistoryEventsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchChangeHistoryEventsRequest() { account_ = ""; property_ = ""; @@ -30,38 +49,45 @@ private SearchChangeHistoryEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object account_ = ""; /** + * + * *
    * Required. The account resource for which to return change history resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ @java.lang.Override @@ -70,29 +96,31 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Required. The account resource for which to return change history resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -101,15 +129,21 @@ public java.lang.String getAccount() { } public static final int PROPERTY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ @java.lang.Override @@ -118,30 +152,32 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -150,38 +186,57 @@ public java.lang.String getProperty() { } public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List resourceType_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType> resourceType_converter_ = + java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType> + resourceType_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>() { - public com.google.analytics.admin.v1beta.ChangeHistoryResourceType convert(java.lang.Integer from) { - com.google.analytics.admin.v1beta.ChangeHistoryResourceType result = com.google.analytics.admin.v1beta.ChangeHistoryResourceType.forNumber(from); - return result == null ? com.google.analytics.admin.v1beta.ChangeHistoryResourceType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1beta.ChangeHistoryResourceType convert( + java.lang.Integer from) { + com.google.analytics.admin.v1beta.ChangeHistoryResourceType result = + com.google.analytics.admin.v1beta.ChangeHistoryResourceType.forNumber(from); + return result == null + ? com.google.analytics.admin.v1beta.ChangeHistoryResourceType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the resourceType. */ @java.lang.Override - public java.util.List getResourceTypeList() { + public java.util.List + getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>( + resourceType_, resourceType_converter_); } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of resourceType. */ @java.lang.Override @@ -189,12 +244,17 @@ public int getResourceTypeCount() { return resourceType_.size(); } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -203,26 +263,35 @@ public com.google.analytics.admin.v1beta.ChangeHistoryResourceType getResourceTy return resourceType_converter_.convert(resourceType_.get(index)); } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for resourceType. */ @java.lang.Override - public java.util.List - getResourceTypeValueList() { + public java.util.List getResourceTypeValueList() { return resourceType_; } /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -230,41 +299,59 @@ public com.google.analytics.admin.v1beta.ChangeHistoryResourceType getResourceTy public int getResourceTypeValue(int index) { return resourceType_.get(index); } + private int resourceTypeMemoizedSerializedSize; public static final int ACTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List action_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.admin.v1beta.ActionType> action_converter_ = + java.lang.Integer, com.google.analytics.admin.v1beta.ActionType> + action_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>() { public com.google.analytics.admin.v1beta.ActionType convert(java.lang.Integer from) { - com.google.analytics.admin.v1beta.ActionType result = com.google.analytics.admin.v1beta.ActionType.forNumber(from); - return result == null ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.ActionType result = + com.google.analytics.admin.v1beta.ActionType.forNumber(from); + return result == null + ? com.google.analytics.admin.v1beta.ActionType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the action. */ @java.lang.Override public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>(action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>( + action_, action_converter_); } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of action. */ @java.lang.Override @@ -272,12 +359,17 @@ public int getActionCount() { return action_.size(); } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The action at the given index. */ @@ -286,26 +378,35 @@ public com.google.analytics.admin.v1beta.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for action. */ @java.lang.Override - public java.util.List - getActionValueList() { + public java.util.List getActionValueList() { return action_; } /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -313,40 +414,50 @@ public com.google.analytics.admin.v1beta.ActionType getAction(int index) { public int getActionValue(int index) { return action_.get(index); } + private int actionMemoizedSerializedSize; public static final int ACTOR_EMAIL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList actorEmail_; /** + * + * *
    * 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]; + * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList - getActorEmailList() { + public com.google.protobuf.ProtocolStringList getActorEmailList() { return actorEmail_; } /** + * + * *
    * 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]; + * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** + * + * *
    * 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]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -354,27 +465,34 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** + * + * *
    * 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]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString - getActorEmailBytes(int index) { + public com.google.protobuf.ByteString getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } public static final int EARLIEST_CHANGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp earliestChangeTime_; /** + * + * *
    * 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]; + * + * * @return Whether the earliestChangeTime field is set. */ @java.lang.Override @@ -382,37 +500,55 @@ public boolean hasEarliestChangeTime() { return earliestChangeTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The earliestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestChangeTime() { - return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { - return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } public static final int LATEST_CHANGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp latestChangeTime_; /** + * + * *
    * 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]; + * + * * @return Whether the latestChangeTime field is set. */ @java.lang.Override @@ -420,32 +556,47 @@ public boolean hasLatestChangeTime() { return latestChangeTime_ != null; } /** + * + * *
    * 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]; + * + * * @return The latestChangeTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLatestChangeTime() { - return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } /** + * + * *
    * 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]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { - return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -454,6 +605,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -462,9 +614,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -473,6 +628,7 @@ public int getPageSize() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -481,14 +637,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -497,16 +654,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -515,6 +671,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -526,8 +683,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); @@ -582,26 +738,27 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < resourceType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(resourceType_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(resourceType_.get(i)); } size += dataSize; - if (!getResourceTypeList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }resourceTypeMemoizedSerializedSize = dataSize; + if (!getResourceTypeList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + resourceTypeMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < action_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(action_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(action_.get(i)); } size += dataSize; - if (!getActionList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }actionMemoizedSerializedSize = dataSize; + if (!getActionList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + actionMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -612,16 +769,13 @@ public int getSerializedSize() { size += 1 * getActorEmailList().size(); } if (earliestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getEarliestChangeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEarliestChangeTime()); } if (latestChangeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLatestChangeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLatestChangeTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pageToken_); @@ -634,35 +788,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other = (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) obj; + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other = + (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) obj; - if (!getAccount() - .equals(other.getAccount())) return false; - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (!getProperty().equals(other.getProperty())) return false; if (!resourceType_.equals(other.resourceType_)) return false; if (!action_.equals(other.action_)) return false; - if (!getActorEmailList() - .equals(other.getActorEmailList())) return false; + if (!getActorEmailList().equals(other.getActorEmailList())) return false; if (hasEarliestChangeTime() != other.hasEarliestChangeTime()) return false; if (hasEarliestChangeTime()) { - if (!getEarliestChangeTime() - .equals(other.getEarliestChangeTime())) return false; + if (!getEarliestChangeTime().equals(other.getEarliestChangeTime())) return false; } if (hasLatestChangeTime() != other.hasLatestChangeTime()) return false; if (hasLatestChangeTime()) { - if (!getLatestChangeTime() - .equals(other.getLatestChangeTime())) return false; + if (!getLatestChangeTime().equals(other.getLatestChangeTime())) return false; } - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -708,129 +856,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( 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.v1beta.SearchChangeHistoryEventsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest 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.v1beta.SearchChangeHistoryEventsRequest + 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.v1beta.SearchChangeHistoryEventsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for SearchChangeHistoryEvents RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -859,14 +1016,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + .getDefaultInstance(); } @java.lang.Override @@ -880,14 +1039,18 @@ public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest build( @java.lang.Override public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest buildPartial() { - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest(this); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result = + new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { if (((bitField0_ & 0x00000004) != 0)) { resourceType_ = java.util.Collections.unmodifiableList(resourceType_); bitField0_ = (bitField0_ & ~0x00000004); @@ -905,7 +1068,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.Search result.actorEmail_ = actorEmail_; } - private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.account_ = account_; @@ -914,14 +1078,14 @@ private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistory result.property_ = property_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.earliestChangeTime_ = earliestChangeTimeBuilder_ == null - ? earliestChangeTime_ - : earliestChangeTimeBuilder_.build(); + result.earliestChangeTime_ = + earliestChangeTimeBuilder_ == null + ? earliestChangeTime_ + : earliestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.latestChangeTime_ = latestChangeTimeBuilder_ == null - ? latestChangeTime_ - : latestChangeTimeBuilder_.build(); + result.latestChangeTime_ = + latestChangeTimeBuilder_ == null ? latestChangeTime_ : latestChangeTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.pageSize_ = pageSize_; @@ -935,46 +1099,51 @@ private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistory public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.SearchChangeHistoryEventsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other) { - if (other == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest other) { + if (other + == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + .getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; bitField0_ |= 0x00000001; @@ -1055,86 +1224,96 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - account_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - int tmpRaw = input.readEnum(); - ensureResourceTypeIsMutable(); - resourceType_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + account_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + property_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { int tmpRaw = input.readEnum(); ensureResourceTypeIsMutable(); resourceType_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - case 32: { - int tmpRaw = input.readEnum(); - ensureActionIsMutable(); - action_.add(tmpRaw); - break; - } // case 32 - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureResourceTypeIsMutable(); + resourceType_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + case 32: + { int tmpRaw = input.readEnum(); ensureActionIsMutable(); action_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureActorEmailIsMutable(); - actorEmail_.add(s); - break; - } // case 42 - case 50: { - input.readMessage( - getEarliestChangeTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getLatestChangeTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 64: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 74: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureActionIsMutable(); + action_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureActorEmailIsMutable(); + actorEmail_.add(s); + break; + } // case 42 + case 50: + { + input.readMessage( + getEarliestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage( + getLatestChangeTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + 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) { @@ -1144,22 +1323,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object account_ = ""; /** + * + * *
      * Required. The account resource for which to return change history resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ public java.lang.String getAccount() { java.lang.Object ref = account_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; @@ -1168,20 +1352,23 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. The account resource for which to return change history resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -1189,28 +1376,39 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. The account resource for which to return change history resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The account to set. * @return This builder for chaining. */ - public Builder setAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } account_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The account resource for which to return change history resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -1220,17 +1418,23 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Required. The account resource for which to return change history resources.
      * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for account to set. * @return This builder for chaining. */ - public Builder setAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); account_ = value; bitField0_ |= 0x00000001; @@ -1240,19 +1444,23 @@ public Builder setAccountBytes( private java.lang.Object property_ = ""; /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1261,21 +1469,24 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -1283,30 +1494,41 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } property_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -1316,18 +1538,24 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Optional. Resource name for a child property. If set, only return changes
      * made to this property or its child resources.
      * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @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(); } + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); property_ = value; bitField0_ |= 0x00000002; @@ -1335,8 +1563,8 @@ public Builder setPropertyBytes( return this; } - private java.util.List resourceType_ = - java.util.Collections.emptyList(); + private java.util.List resourceType_ = java.util.Collections.emptyList(); + private void ensureResourceTypeIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { resourceType_ = new java.util.ArrayList(resourceType_); @@ -1344,37 +1572,54 @@ private void ensureResourceTypeIsMutable() { } } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the resourceType. */ - public java.util.List getResourceTypeList() { + public java.util.List + getResourceTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>(resourceType_, resourceType_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ChangeHistoryResourceType>( + resourceType_, resourceType_converter_); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of resourceType. */ public int getResourceTypeCount() { return resourceType_.size(); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The resourceType at the given index. */ @@ -1382,12 +1627,17 @@ public com.google.analytics.admin.v1beta.ChangeHistoryResourceType getResourceTy return resourceType_converter_.convert(resourceType_.get(index)); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The resourceType to set. * @return This builder for chaining. @@ -1403,16 +1653,22 @@ public Builder setResourceType( return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The resourceType to add. * @return This builder for chaining. */ - public Builder addResourceType(com.google.analytics.admin.v1beta.ChangeHistoryResourceType value) { + public Builder addResourceType( + com.google.analytics.admin.v1beta.ChangeHistoryResourceType value) { if (value == null) { throw new NullPointerException(); } @@ -1422,17 +1678,23 @@ public Builder addResourceType(com.google.analytics.admin.v1beta.ChangeHistoryRe return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The resourceType to add. * @return This builder for chaining. */ public Builder addAllResourceType( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureResourceTypeIsMutable(); for (com.google.analytics.admin.v1beta.ChangeHistoryResourceType value : values) { resourceType_.add(value.getNumber()); @@ -1441,12 +1703,17 @@ public Builder addAllResourceType( return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearResourceType() { @@ -1456,25 +1723,34 @@ public Builder clearResourceType() { return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for resourceType. */ - public java.util.List - getResourceTypeValueList() { + public java.util.List getResourceTypeValueList() { return java.util.Collections.unmodifiableList(resourceType_); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ @@ -1482,30 +1758,39 @@ public int getResourceTypeValue(int index) { return resourceType_.get(index); } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeValue( - int index, int value) { + public Builder setResourceTypeValue(int index, int value) { ensureResourceTypeIsMutable(); resourceType_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for resourceType to add. * @return This builder for chaining. */ @@ -1516,17 +1801,21 @@ public Builder addResourceTypeValue(int value) { return this; } /** + * + * *
      * Optional. If set, only return changes if they are for a resource that matches at
      * least one of these types.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for resourceType to add. * @return This builder for chaining. */ - public Builder addAllResourceTypeValue( - java.lang.Iterable values) { + public Builder addAllResourceTypeValue(java.lang.Iterable values) { ensureResourceTypeIsMutable(); for (int value : values) { resourceType_.add(value); @@ -1535,8 +1824,8 @@ public Builder addAllResourceTypeValue( return this; } - private java.util.List action_ = - java.util.Collections.emptyList(); + private java.util.List action_ = java.util.Collections.emptyList(); + private void ensureActionIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { action_ = new java.util.ArrayList(action_); @@ -1544,37 +1833,53 @@ private void ensureActionIsMutable() { } } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the action. */ public java.util.List getActionList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>(action_, action_converter_); + java.lang.Integer, com.google.analytics.admin.v1beta.ActionType>( + action_, action_converter_); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of action. */ public int getActionCount() { return action_.size(); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The action at the given index. */ @@ -1582,18 +1887,22 @@ public com.google.analytics.admin.v1beta.ActionType getAction(int index) { return action_converter_.convert(action_.get(index)); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction( - int index, com.google.analytics.admin.v1beta.ActionType value) { + public Builder setAction(int index, com.google.analytics.admin.v1beta.ActionType value) { if (value == null) { throw new NullPointerException(); } @@ -1603,12 +1912,17 @@ public Builder setAction( return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The action to add. * @return This builder for chaining. */ @@ -1622,12 +1936,17 @@ public Builder addAction(com.google.analytics.admin.v1beta.ActionType value) { return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The action to add. * @return This builder for chaining. */ @@ -1641,12 +1960,17 @@ public Builder addAllAction( return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearAction() { @@ -1656,25 +1980,34 @@ public Builder clearAction() { return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for action. */ - public java.util.List - getActionValueList() { + public java.util.List getActionValueList() { return java.util.Collections.unmodifiableList(action_); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ @@ -1682,30 +2015,39 @@ public int getActionValue(int index) { return action_.get(index); } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ - public Builder setActionValue( - int index, int value) { + public Builder setActionValue(int index, int value) { ensureActionIsMutable(); action_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for action to add. * @return This builder for chaining. */ @@ -1716,17 +2058,21 @@ public Builder addActionValue(int value) { return this; } /** + * + * *
      * Optional. If set, only return changes that match one or more of these types of
      * actions.
      * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for action to add. * @return This builder for chaining. */ - public Builder addAllActionValue( - java.lang.Iterable values) { + public Builder addAllActionValue(java.lang.Iterable values) { ensureActionIsMutable(); for (int value : values) { action_.add(value); @@ -1735,42 +2081,52 @@ public Builder addAllActionValue( return this; } - private com.google.protobuf.LazyStringList actorEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList actorEmail_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureActorEmailIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * 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]; + * * @return A list containing the actorEmail. */ - public com.google.protobuf.ProtocolStringList - getActorEmailList() { + public com.google.protobuf.ProtocolStringList getActorEmailList() { return actorEmail_.getUnmodifiableView(); } /** + * + * *
      * 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]; + * * @return The count of actorEmail. */ public int getActorEmailCount() { return actorEmail_.size(); } /** + * + * *
      * 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]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ @@ -1778,76 +2134,90 @@ public java.lang.String getActorEmail(int index) { return actorEmail_.get(index); } /** + * + * *
      * 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]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - public com.google.protobuf.ByteString - getActorEmailBytes(int index) { + public com.google.protobuf.ByteString getActorEmailBytes(int index) { return actorEmail_.getByteString(index); } /** + * + * *
      * 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]; + * * @param index The index to set the value at. * @param value The actorEmail to set. * @return This builder for chaining. */ - public Builder setActorEmail( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setActorEmail(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActorEmailIsMutable(); actorEmail_.set(index, value); onChanged(); return this; } /** + * + * *
      * 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]; + * * @param value The actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActorEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureActorEmailIsMutable(); actorEmail_.add(value); onChanged(); return this; } /** + * + * *
      * 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]; + * * @param values The actorEmail to add. * @return This builder for chaining. */ - public Builder addAllActorEmail( - java.lang.Iterable values) { + public Builder addAllActorEmail(java.lang.Iterable values) { ensureActorEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actorEmail_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actorEmail_); onChanged(); return this; } /** + * + * *
      * 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]; + * * @return This builder for chaining. */ public Builder clearActorEmail() { @@ -1857,17 +2227,21 @@ public Builder clearActorEmail() { return this; } /** + * + * *
      * 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]; + * * @param value The bytes of the actorEmail to add. * @return This builder for chaining. */ - public Builder addActorEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addActorEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureActorEmailIsMutable(); actorEmail_.add(value); @@ -1877,39 +2251,58 @@ public Builder addActorEmailBytes( private com.google.protobuf.Timestamp earliestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestChangeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + earliestChangeTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the earliestChangeTime field is set. */ public boolean hasEarliestChangeTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * 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]; + * + * * @return The earliestChangeTime. */ public com.google.protobuf.Timestamp getEarliestChangeTime() { if (earliestChangeTimeBuilder_ == null) { - return earliestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } else { return earliestChangeTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { @@ -1925,14 +2318,17 @@ public Builder setEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setEarliestChangeTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestChangeTimeBuilder_ == null) { earliestChangeTime_ = builderForValue.build(); } else { @@ -1943,17 +2339,21 @@ public Builder setEarliestChangeTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { if (earliestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - earliestChangeTime_ != null && - earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && earliestChangeTime_ != null + && earliestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestChangeTimeBuilder().mergeFrom(value); } else { earliestChangeTime_ = value; @@ -1966,11 +2366,15 @@ public Builder mergeEarliestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearEarliestChangeTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1983,11 +2387,15 @@ public Builder clearEarliestChangeTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { bitField0_ |= 0x00000020; @@ -1995,36 +2403,48 @@ public com.google.protobuf.Timestamp.Builder getEarliestChangeTimeBuilder() { return getEarliestChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { if (earliestChangeTimeBuilder_ != null) { return earliestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return earliestChangeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : earliestChangeTime_; + return earliestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestChangeTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEarliestChangeTimeFieldBuilder() { if (earliestChangeTimeBuilder_ == null) { - earliestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEarliestChangeTime(), - getParentForChildren(), - isClean()); + earliestChangeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEarliestChangeTime(), getParentForChildren(), isClean()); earliestChangeTime_ = null; } return earliestChangeTimeBuilder_; @@ -2032,39 +2452,58 @@ public com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder() { private com.google.protobuf.Timestamp latestChangeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> latestChangeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + latestChangeTimeBuilder_; /** + * + * *
      * 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]; + * + * * @return Whether the latestChangeTime field is set. */ public boolean hasLatestChangeTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * 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]; + * + * * @return The latestChangeTime. */ public com.google.protobuf.Timestamp getLatestChangeTime() { if (latestChangeTimeBuilder_ == null) { - return latestChangeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } else { return latestChangeTimeBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * */ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { @@ -2080,14 +2519,17 @@ public Builder setLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ - public Builder setLatestChangeTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLatestChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (latestChangeTimeBuilder_ == null) { latestChangeTime_ = builderForValue.build(); } else { @@ -2098,17 +2540,21 @@ public Builder setLatestChangeTime( return this; } /** + * + * *
      * 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]; + * */ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { if (latestChangeTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - latestChangeTime_ != null && - latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && latestChangeTime_ != null + && latestChangeTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLatestChangeTimeBuilder().mergeFrom(value); } else { latestChangeTime_ = value; @@ -2121,11 +2567,15 @@ public Builder mergeLatestChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * 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]; + * */ public Builder clearLatestChangeTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2138,11 +2588,15 @@ public Builder clearLatestChangeTime() { return this; } /** + * + * *
      * 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]; + * */ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { bitField0_ |= 0x00000040; @@ -2150,43 +2604,57 @@ public com.google.protobuf.Timestamp.Builder getLatestChangeTimeBuilder() { return getLatestChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * */ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() { if (latestChangeTimeBuilder_ != null) { return latestChangeTimeBuilder_.getMessageOrBuilder(); } else { - return latestChangeTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : latestChangeTime_; + return latestChangeTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : latestChangeTime_; } } /** + * + * *
      * 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]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLatestChangeTimeFieldBuilder() { if (latestChangeTimeBuilder_ == null) { - latestChangeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLatestChangeTime(), - getParentForChildren(), - isClean()); + latestChangeTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLatestChangeTime(), getParentForChildren(), isClean()); latestChangeTime_ = null; } return latestChangeTimeBuilder_; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2195,6 +2663,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2202,6 +2671,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2210,17 +2681,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2229,6 +2703,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -2240,6 +2715,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2248,13 +2725,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -2263,6 +2740,8 @@ 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
@@ -2271,15 +2750,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2287,6 +2765,8 @@ 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
@@ -2295,18 +2775,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2315,6 +2799,7 @@ public Builder setPageToken(
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2324,6 +2809,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -2332,21 +2819,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @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(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2356,41 +2845,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) - private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest(); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsRequest 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; @@ -2402,9 +2893,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java index cbc881b591b5..eb347d9ab3ee 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsRequestOrBuilder.java @@ -1,258 +1,380 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface SearchChangeHistoryEventsRequestOrBuilder extends +public interface SearchChangeHistoryEventsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account resource for which to return change history resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Required. The account resource for which to return change history resources.
    * 
* - * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * Optional. Resource name for a child property. If set, only return changes
    * made to this property or its child resources.
    * 
* - * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the resourceType. */ java.util.List getResourceTypeList(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of resourceType. */ int getResourceTypeCount(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The resourceType at the given index. */ com.google.analytics.admin.v1beta.ChangeHistoryResourceType getResourceType(int index); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for resourceType. */ - java.util.List - getResourceTypeValueList(); + java.util.List getResourceTypeValueList(); /** + * + * *
    * Optional. If set, only return changes if they are for a resource that matches at
    * least one of these types.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of resourceType at the given index. */ int getResourceTypeValue(int index); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the action. */ java.util.List getActionList(); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of action. */ int getActionCount(); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The action at the given index. */ com.google.analytics.admin.v1beta.ActionType getAction(int index); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for action. */ - java.util.List - getActionValueList(); + java.util.List getActionValueList(); /** + * + * *
    * Optional. If set, only return changes that match one or more of these types of
    * actions.
    * 
* - * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of action at the given index. */ int getActionValue(int index); /** + * + * *
    * 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]; + * * @return A list containing the actorEmail. */ - java.util.List - getActorEmailList(); + java.util.List getActorEmailList(); /** + * + * *
    * 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]; + * * @return The count of actorEmail. */ int getActorEmailCount(); /** + * + * *
    * 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]; + * * @param index The index of the element to return. * @return The actorEmail at the given index. */ java.lang.String getActorEmail(int index); /** + * + * *
    * 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]; + * * @param index The index of the value to return. * @return The bytes of the actorEmail at the given index. */ - com.google.protobuf.ByteString - getActorEmailBytes(int index); + com.google.protobuf.ByteString getActorEmailBytes(int index); /** + * + * *
    * 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]; + * + * * @return Whether the earliestChangeTime field is set. */ boolean hasEarliestChangeTime(); /** + * + * *
    * 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]; + * + * * @return The earliestChangeTime. */ com.google.protobuf.Timestamp getEarliestChangeTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getEarliestChangeTimeOrBuilder(); /** + * + * *
    * 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]; + * + * * @return Whether the latestChangeTime field is set. */ boolean hasLatestChangeTime(); /** + * + * *
    * 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]; + * + * * @return The latestChangeTime. */ com.google.protobuf.Timestamp getLatestChangeTime(); /** + * + * *
    * 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]; + * */ com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder(); /** + * + * *
    * Optional. The maximum number of ChangeHistoryEvent items to return.
    * The service may return fewer than this value, even if there are additional
@@ -261,11 +383,14 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -274,10 +399,13 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ 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
@@ -286,8 +414,8 @@ public interface SearchChangeHistoryEventsRequestOrBuilder extends
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java index c915d09ca076..4f612e1a92a7 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Response message for SearchAccounts RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse} */ -public final class SearchChangeHistoryEventsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchChangeHistoryEventsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) SearchChangeHistoryEventsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchChangeHistoryEventsResponse.newBuilder() to construct. - private SearchChangeHistoryEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SearchChangeHistoryEventsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchChangeHistoryEventsResponse() { changeHistoryEvents_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,100 +45,122 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); } public static final int CHANGE_HISTORY_EVENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List changeHistoryEvents_; /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override - public java.util.List getChangeHistoryEventsList() { + public java.util.List + getChangeHistoryEventsList() { return changeHistoryEvents_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getChangeHistoryEventsOrBuilderList() { return changeHistoryEvents_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override public int getChangeHistoryEventsCount() { return changeHistoryEvents_.size(); } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEvents(int index) { return changeHistoryEvents_.get(index); } /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder + getChangeHistoryEventsOrBuilder(int index) { return changeHistoryEvents_.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 @@ -128,30 +169,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +201,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < changeHistoryEvents_.size(); i++) { output.writeMessage(1, changeHistoryEvents_.get(i)); } @@ -189,8 +230,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < changeHistoryEvents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, changeHistoryEvents_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, changeHistoryEvents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +244,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other = (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) obj; + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other = + (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) obj; - if (!getChangeHistoryEventsList() - .equals(other.getChangeHistoryEventsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getChangeHistoryEventsList().equals(other.getChangeHistoryEventsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +277,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( 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.v1beta.SearchChangeHistoryEventsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse 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.v1beta.SearchChangeHistoryEventsResponse + 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.v1beta.SearchChangeHistoryEventsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for SearchAccounts RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,14 +425,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + .getDefaultInstance(); } @java.lang.Override @@ -397,14 +448,18 @@ public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse build @java.lang.Override public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse buildPartial() { - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse(this); + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result = + new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { if (changeHistoryEventsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { changeHistoryEvents_ = java.util.Collections.unmodifiableList(changeHistoryEvents_); @@ -416,7 +471,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.Search } } - private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -427,46 +483,51 @@ private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistory public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.SearchChangeHistoryEventsResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse)other); + return mergeFrom( + (com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other) { - if (other == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse other) { + if (other + == com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + .getDefaultInstance()) return this; if (changeHistoryEventsBuilder_ == null) { if (!other.changeHistoryEvents_.isEmpty()) { if (changeHistoryEvents_.isEmpty()) { @@ -485,9 +546,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.SearchChangeHistoryEv changeHistoryEventsBuilder_ = null; changeHistoryEvents_ = other.changeHistoryEvents_; bitField0_ = (bitField0_ & ~0x00000001); - changeHistoryEventsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChangeHistoryEventsFieldBuilder() : null; + changeHistoryEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChangeHistoryEventsFieldBuilder() + : null; } else { changeHistoryEventsBuilder_.addAllMessages(other.changeHistoryEvents_); } @@ -524,30 +586,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.ChangeHistoryEvent m = - input.readMessage( - com.google.analytics.admin.v1beta.ChangeHistoryEvent.parser(), - extensionRegistry); - if (changeHistoryEventsBuilder_ == null) { - ensureChangeHistoryEventsIsMutable(); - changeHistoryEvents_.add(m); - } else { - changeHistoryEventsBuilder_.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: + case 10: + { + com.google.analytics.admin.v1beta.ChangeHistoryEvent m = + input.readMessage( + com.google.analytics.admin.v1beta.ChangeHistoryEvent.parser(), + extensionRegistry); + if (changeHistoryEventsBuilder_ == null) { + ensureChangeHistoryEventsIsMutable(); + changeHistoryEvents_.add(m); + } else { + changeHistoryEventsBuilder_.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) { @@ -557,28 +622,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List changeHistoryEvents_ = - java.util.Collections.emptyList(); + private java.util.List + changeHistoryEvents_ = java.util.Collections.emptyList(); + private void ensureChangeHistoryEventsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - changeHistoryEvents_ = new java.util.ArrayList(changeHistoryEvents_); + changeHistoryEvents_ = + new java.util.ArrayList( + changeHistoryEvents_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryEvent, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> changeHistoryEventsBuilder_; + com.google.analytics.admin.v1beta.ChangeHistoryEvent, + com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> + changeHistoryEventsBuilder_; /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public java.util.List getChangeHistoryEventsList() { + public java.util.List + getChangeHistoryEventsList() { if (changeHistoryEventsBuilder_ == null) { return java.util.Collections.unmodifiableList(changeHistoryEvents_); } else { @@ -586,11 +662,14 @@ public java.util.List getC } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public int getChangeHistoryEventsCount() { if (changeHistoryEventsBuilder_ == null) { @@ -600,11 +679,14 @@ public int getChangeHistoryEventsCount() { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -614,11 +696,14 @@ public com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEven } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { @@ -635,11 +720,14 @@ public Builder setChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder setChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder builderForValue) { @@ -653,13 +741,17 @@ public Builder setChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public Builder addChangeHistoryEvents(com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { + public Builder addChangeHistoryEvents( + com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { if (changeHistoryEventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,11 +765,14 @@ public Builder addChangeHistoryEvents(com.google.analytics.admin.v1beta.ChangeHi return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent value) { @@ -694,11 +789,14 @@ public Builder addChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addChangeHistoryEvents( com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder builderForValue) { @@ -712,11 +810,14 @@ public Builder addChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addChangeHistoryEvents( int index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder builderForValue) { @@ -730,18 +831,20 @@ public Builder addChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder addAllChangeHistoryEvents( java.lang.Iterable values) { if (changeHistoryEventsBuilder_ == null) { ensureChangeHistoryEventsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, changeHistoryEvents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changeHistoryEvents_); onChanged(); } else { changeHistoryEventsBuilder_.addAllMessages(values); @@ -749,11 +852,14 @@ public Builder addAllChangeHistoryEvents( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder clearChangeHistoryEvents() { if (changeHistoryEventsBuilder_ == null) { @@ -766,11 +872,14 @@ public Builder clearChangeHistoryEvents() { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ public Builder removeChangeHistoryEvents(int index) { if (changeHistoryEventsBuilder_ == null) { @@ -783,39 +892,49 @@ public Builder removeChangeHistoryEvents(int index) { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder getChangeHistoryEventsBuilder( - int index) { + public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder + getChangeHistoryEventsBuilder(int index) { return getChangeHistoryEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder + getChangeHistoryEventsOrBuilder(int index) { if (changeHistoryEventsBuilder_ == null) { - return changeHistoryEvents_.get(index); } else { + return changeHistoryEvents_.get(index); + } else { return changeHistoryEventsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public java.util.List - getChangeHistoryEventsOrBuilderList() { + public java.util.List + getChangeHistoryEventsOrBuilderList() { if (changeHistoryEventsBuilder_ != null) { return changeHistoryEventsBuilder_.getMessageOrBuilderList(); } else { @@ -823,45 +942,62 @@ public com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder getChangeHi } } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder() { - return getChangeHistoryEventsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder + addChangeHistoryEventsBuilder() { + return getChangeHistoryEventsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder addChangeHistoryEventsBuilder( - int index) { - return getChangeHistoryEventsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); + public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder + addChangeHistoryEventsBuilder(int index) { + return getChangeHistoryEventsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1beta.ChangeHistoryEvent.getDefaultInstance()); } /** + * + * *
      * Results that were accessible to the caller.
      * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - public java.util.List - getChangeHistoryEventsBuilderList() { + public java.util.List + getChangeHistoryEventsBuilderList() { return getChangeHistoryEventsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryEvent, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> + com.google.analytics.admin.v1beta.ChangeHistoryEvent, + com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder> getChangeHistoryEventsFieldBuilder() { if (changeHistoryEventsBuilder_ == null) { - changeHistoryEventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.ChangeHistoryEvent, com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder>( + changeHistoryEventsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.ChangeHistoryEvent, + com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder, + com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder>( changeHistoryEvents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -873,19 +1009,21 @@ public com.google.analytics.admin.v1beta.ChangeHistoryEvent.Builder addChangeHis 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +1032,22 @@ public 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. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1055,37 @@ public 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; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + 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() { @@ -949,27 +1095,31 @@ public Builder clearNextPageToken() { 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(); } + 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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,41 +1129,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) - private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse(); } - public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchChangeHistoryEventsResponse 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchChangeHistoryEventsResponse 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; @@ -1025,9 +1177,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java index f3a8f4299959..8686a73dfe20 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/SearchChangeHistoryEventsResponseOrBuilder.java @@ -1,75 +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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface SearchChangeHistoryEventsResponseOrBuilder extends +public interface SearchChangeHistoryEventsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - java.util.List - getChangeHistoryEventsList(); + java.util.List getChangeHistoryEventsList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ com.google.analytics.admin.v1beta.ChangeHistoryEvent getChangeHistoryEvents(int index); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ int getChangeHistoryEventsCount(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ - java.util.List + java.util.List getChangeHistoryEventsOrBuilderList(); /** + * + * *
    * Results that were accessible to the caller.
    * 
* - * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * */ com.google.analytics.admin.v1beta.ChangeHistoryEventOrBuilder getChangeHistoryEventsOrBuilder( 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(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java index 146863f6db0a..72dd45b9ee62 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ServiceLevel.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/resources.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Various levels of service for Google Analytics.
  * 
* * Protobuf enum {@code google.analytics.admin.v1beta.ServiceLevel} */ -public enum ServiceLevel - implements com.google.protobuf.ProtocolMessageEnum { +public enum ServiceLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Service level not specified or invalid.
    * 
@@ -21,6 +39,8 @@ public enum ServiceLevel */ SERVICE_LEVEL_UNSPECIFIED(0), /** + * + * *
    * The standard version of Google Analytics.
    * 
@@ -29,6 +49,8 @@ public enum ServiceLevel */ GOOGLE_ANALYTICS_STANDARD(1), /** + * + * *
    * The paid, premium version of Google Analytics.
    * 
@@ -40,6 +62,8 @@ public enum ServiceLevel ; /** + * + * *
    * Service level not specified or invalid.
    * 
@@ -48,6 +72,8 @@ public enum ServiceLevel */ public static final int SERVICE_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The standard version of Google Analytics.
    * 
@@ -56,6 +82,8 @@ public enum ServiceLevel */ public static final int GOOGLE_ANALYTICS_STANDARD_VALUE = 1; /** + * + * *
    * The paid, premium version of Google Analytics.
    * 
@@ -64,7 +92,6 @@ public enum ServiceLevel */ public static final int GOOGLE_ANALYTICS_360_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static ServiceLevel valueOf(int value) { */ public static ServiceLevel forNumber(int value) { switch (value) { - case 0: return SERVICE_LEVEL_UNSPECIFIED; - case 1: return GOOGLE_ANALYTICS_STANDARD; - case 2: return GOOGLE_ANALYTICS_360; - default: return null; + case 0: + return SERVICE_LEVEL_UNSPECIFIED; + case 1: + return GOOGLE_ANALYTICS_STANDARD; + case 2: + return GOOGLE_ANALYTICS_360; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ServiceLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ServiceLevel findValueByNumber(int number) { - return ServiceLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ServiceLevel findValueByNumber(int number) { + return ServiceLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(1); } private static final ServiceLevel[] VALUES = values(); - public static ServiceLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ServiceLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +174,3 @@ private ServiceLevel(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1beta.ServiceLevel) } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java index 2c1af477cb43..bc0f3f68c54a 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequest.java @@ -1,61 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateAccount RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateAccountRequest} */ -public final class UpdateAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAccountRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateAccountRequest) UpdateAccountRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAccountRequest.newBuilder() to construct. private UpdateAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAccountRequest() { - } + + private UpdateAccountRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateAccountRequest.class, com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateAccountRequest.class, + com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Account account_; /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the account field is set. */ @java.lang.Override @@ -63,41 +86,58 @@ public boolean hasAccount() { return account_ != null; } /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The account. */ @java.lang.Override public com.google.analytics.admin.v1beta.Account getAccount() { - return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { - return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -105,13 +145,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -119,13 +163,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -133,6 +180,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } @@ -162,12 +209,10 @@ public int getSerializedSize() { size = 0; if (account_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAccount()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccount()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,22 +222,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateAccountRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateAccountRequest other = (com.google.analytics.admin.v1beta.UpdateAccountRequest) obj; + com.google.analytics.admin.v1beta.UpdateAccountRequest other = + (com.google.analytics.admin.v1beta.UpdateAccountRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { - if (!getAccount() - .equals(other.getAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -219,129 +263,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( 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.v1beta.UpdateAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateAccountRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateAccountRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateAccountRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateAccount RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateAccountRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateAccountRequest) com.google.analytics.admin.v1beta.UpdateAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateAccountRequest.class, com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateAccountRequest.class, + com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateAccountRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +411,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; } @java.lang.Override @@ -381,8 +432,11 @@ public com.google.analytics.admin.v1beta.UpdateAccountRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateAccountRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateAccountRequest result = new com.google.analytics.admin.v1beta.UpdateAccountRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateAccountRequest result = + new com.google.analytics.admin.v1beta.UpdateAccountRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -390,14 +444,10 @@ public com.google.analytics.admin.v1beta.UpdateAccountRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1beta.UpdateAccountRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.account_ = accountBuilder_ == null - ? account_ - : accountBuilder_.build(); + result.account_ = accountBuilder_ == null ? account_ : accountBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -405,38 +455,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateAccountReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdateAccountRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateAccountRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateAccountRequest) other); } else { super.mergeFrom(other); return this; @@ -444,7 +495,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateAccountRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateAccountRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.UpdateAccountRequest.getDefaultInstance()) + return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } @@ -477,26 +529,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAccountFieldBuilder().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: + case 10: + { + input.readMessage(getAccountFieldBuilder().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) { @@ -506,46 +557,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.Account account_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> accountBuilder_; + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder> + accountBuilder_; /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the account field is set. */ public boolean hasAccount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The account. */ public com.google.analytics.admin.v1beta.Account getAccount() { if (accountBuilder_ == null) { - return account_ == null ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } else { return accountBuilder_.getMessage(); } } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { @@ -561,15 +632,18 @@ public Builder setAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAccount( - com.google.analytics.admin.v1beta.Account.Builder builderForValue) { + public Builder setAccount(com.google.analytics.admin.v1beta.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); } else { @@ -580,18 +654,22 @@ public Builder setAccount( return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { if (accountBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - account_ != null && - account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && account_ != null + && account_ != com.google.analytics.admin.v1beta.Account.getDefaultInstance()) { getAccountBuilder().mergeFrom(value); } else { account_ = value; @@ -604,12 +682,16 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAccount() { bitField0_ = (bitField0_ & ~0x00000001); @@ -622,12 +704,16 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { bitField0_ |= 0x00000001; @@ -635,38 +721,50 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { - return account_ == null ? - com.google.analytics.admin.v1beta.Account.getDefaultInstance() : account_; + return account_ == null + ? com.google.analytics.admin.v1beta.Account.getDefaultInstance() + : account_; } } /** + * + * *
      * Required. The account to update.
      * The account's `name` field is used to identify the account.
      * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder> + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { - accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Account, com.google.analytics.admin.v1beta.Account.Builder, com.google.analytics.admin.v1beta.AccountOrBuilder>( - getAccount(), - getParentForChildren(), - isClean()); + accountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Account, + com.google.analytics.admin.v1beta.Account.Builder, + com.google.analytics.admin.v1beta.AccountOrBuilder>( + getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; @@ -674,45 +772,61 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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. 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -728,16 +842,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -748,19 +864,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -773,13 +892,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -792,13 +914,16 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -806,47 +931,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +991,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateAccountRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateAccountRequest) private static final com.google.analytics.admin.v1beta.UpdateAccountRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateAccountRequest(); } @@ -870,27 +1005,27 @@ public static com.google.analytics.admin.v1beta.UpdateAccountRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAccountRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAccountRequest 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; @@ -905,6 +1040,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.UpdateAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java index 33a934337b2d..0fba6bf22d7b 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateAccountRequestOrBuilder.java @@ -1,72 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateAccountRequestOrBuilder extends +public interface UpdateAccountRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateAccountRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the account field is set. */ boolean hasAccount(); /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The account. */ com.google.analytics.admin.v1beta.Account getAccount(); /** + * + * *
    * Required. The account to update.
    * The account's `name` field is used to identify the account.
    * 
* - * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1beta.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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. 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]; + * .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. 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java similarity index 67% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java index c8f9bcddfb3d..64c6f17d4297 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequest.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateCustomDimension RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomDimensionRequest} */ -public final class UpdateCustomDimensionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCustomDimensionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) UpdateCustomDimensionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCustomDimensionRequest.newBuilder() to construct. private UpdateCustomDimensionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCustomDimensionRequest() { - } + + private UpdateCustomDimensionRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCustomDimensionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); } public static final int CUSTOM_DIMENSION_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.CustomDimension customDimension_; /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * * @return Whether the customDimension field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasCustomDimension() { return customDimension_ != null; } /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * * @return The customDimension. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { - return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } /** + * + * *
    * The CustomDimension to update
    * 
@@ -82,19 +110,25 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { - return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +136,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +154,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -159,12 +200,10 @@ public int getSerializedSize() { size = 0; if (customDimension_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCustomDimension()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomDimension()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest other = (com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) obj; + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest other = + (com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) obj; if (hasCustomDimension() != other.hasCustomDimension()) return false; if (hasCustomDimension()) { - if (!getCustomDimension() - .equals(other.getCustomDimension())) return false; + if (!getCustomDimension().equals(other.getCustomDimension())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( 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.v1beta.UpdateCustomDimensionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateCustomDimension RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomDimensionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) com.google.analytics.admin.v1beta.UpdateCustomDimensionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,13 +402,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance(); } @@ -378,23 +424,24 @@ public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result = new com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result = + new com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customDimension_ = customDimensionBuilder_ == null - ? customDimension_ - : customDimensionBuilder_.build(); + result.customDimension_ = + customDimensionBuilder_ == null ? customDimension_ : customDimensionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,38 +449,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateCustomDimensi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdateCustomDimensionRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +489,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance()) + return this; if (other.hasCustomDimension()) { mergeCustomDimension(other.getCustomDimension()); } @@ -474,26 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCustomDimensionFieldBuilder().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: + case 10: + { + input.readMessage(getCustomDimensionFieldBuilder().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) { @@ -503,38 +552,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.CustomDimension customDimension_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> customDimensionBuilder_; + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + customDimensionBuilder_; /** + * + * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * * @return Whether the customDimension field is set. */ public boolean hasCustomDimension() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * * @return The customDimension. */ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension() { if (customDimensionBuilder_ == null) { - return customDimension_ == null ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } else { return customDimensionBuilder_.getMessage(); } } /** + * + * *
      * The CustomDimension to update
      * 
@@ -555,6 +618,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1beta.CustomDimens return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -573,6 +638,8 @@ public Builder setCustomDimension( return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -581,9 +648,10 @@ public Builder setCustomDimension( */ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDimension value) { if (customDimensionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - customDimension_ != null && - customDimension_ != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && customDimension_ != null + && customDimension_ + != com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance()) { getCustomDimensionBuilder().mergeFrom(value); } else { customDimension_ = value; @@ -596,6 +664,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDime return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -613,6 +683,8 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -625,21 +697,27 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens return getCustomDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * The CustomDimension to update
      * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; */ - public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder() { + public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder + getCustomDimensionOrBuilder() { if (customDimensionBuilder_ != null) { return customDimensionBuilder_.getMessageOrBuilder(); } else { - return customDimension_ == null ? - com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() : customDimension_; + return customDimension_ == null + ? com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance() + : customDimension_; } } /** + * + * *
      * The CustomDimension to update
      * 
@@ -647,14 +725,17 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder> getCustomDimensionFieldBuilder() { if (customDimensionBuilder_ == null) { - customDimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomDimension, com.google.analytics.admin.v1beta.CustomDimension.Builder, com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( - getCustomDimension(), - getParentForChildren(), - isClean()); + customDimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomDimension, + com.google.analytics.admin.v1beta.CustomDimension.Builder, + com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>( + getCustomDimension(), getParentForChildren(), isClean()); customDimension_ = null; } return customDimensionBuilder_; @@ -662,45 +743,61 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +813,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +835,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +863,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +885,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +902,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,41 +962,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) - private static final com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest(); } - public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomDimensionRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomDimensionRequest 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; @@ -890,9 +1010,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java index 66db6b7ddff0..fc32b920cd87 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomDimensionRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateCustomDimensionRequestOrBuilder extends +public interface UpdateCustomDimensionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateCustomDimensionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * * @return Whether the customDimension field is set. */ boolean hasCustomDimension(); /** + * + * *
    * The CustomDimension to update
    * 
* * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * * @return The customDimension. */ com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(); /** + * + * *
    * The CustomDimension to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateCustomDimensionRequestOrBuilder extends com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); /** + * + * *
    * 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java index 13eb8de172e0..424b57408bfb 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequest.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateCustomMetric RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomMetricRequest} */ -public final class UpdateCustomMetricRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCustomMetricRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateCustomMetricRequest) UpdateCustomMetricRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCustomMetricRequest.newBuilder() to construct. private UpdateCustomMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCustomMetricRequest() { - } + + private UpdateCustomMetricRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCustomMetricRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); } public static final int CUSTOM_METRIC_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.CustomMetric customMetric_; /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * * @return Whether the customMetric field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasCustomMetric() { return customMetric_ != null; } /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * * @return The customMetric. */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { - return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } /** + * + * *
    * The CustomMetric to update
    * 
@@ -82,19 +110,25 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { */ @java.lang.Override public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder() { - return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +136,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +154,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customMetric_ != null) { output.writeMessage(1, getCustomMetric()); } @@ -159,12 +200,10 @@ public int getSerializedSize() { size = 0; if (customMetric_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCustomMetric()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomMetric()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateCustomMetricRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest other = (com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) obj; + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest other = + (com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) obj; if (hasCustomMetric() != other.hasCustomMetric()) return false; if (hasCustomMetric()) { - if (!getCustomMetric() - .equals(other.getCustomMetric())) return false; + if (!getCustomMetric().equals(other.getCustomMetric())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( 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.v1beta.UpdateCustomMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateCustomMetric RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateCustomMetricRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateCustomMetricRequest) com.google.analytics.admin.v1beta.UpdateCustomMetricRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; } @java.lang.Override @@ -378,8 +423,11 @@ public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest result = new com.google.analytics.admin.v1beta.UpdateCustomMetricRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateCustomMetricRequest result = + new com.google.analytics.admin.v1beta.UpdateCustomMetricRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -387,14 +435,11 @@ public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest buildPartial( private void buildPartial0(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.customMetric_ = customMetricBuilder_ == null - ? customMetric_ - : customMetricBuilder_.build(); + result.customMetric_ = + customMetricBuilder_ == null ? customMetric_ : customMetricBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,38 +447,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateCustomMetricR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdateCustomMetricRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomMetricRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.getDefaultInstance()) + return this; if (other.hasCustomMetric()) { mergeCustomMetric(other.getCustomMetric()); } @@ -474,26 +521,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCustomMetricFieldBuilder().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: + case 10: + { + input.readMessage(getCustomMetricFieldBuilder().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) { @@ -503,38 +549,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.CustomMetric customMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> customMetricBuilder_; + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + customMetricBuilder_; /** + * + * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * * @return Whether the customMetric field is set. */ public boolean hasCustomMetric() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The CustomMetric to update
      * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * * @return The customMetric. */ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric() { if (customMetricBuilder_ == null) { - return customMetric_ == null ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } else { return customMetricBuilder_.getMessage(); } } /** + * + * *
      * The CustomMetric to update
      * 
@@ -555,6 +615,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1beta.CustomMetric va return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -573,6 +635,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -581,9 +645,10 @@ public Builder setCustomMetric( */ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric value) { if (customMetricBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - customMetric_ != null && - customMetric_ != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && customMetric_ != null + && customMetric_ + != com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance()) { getCustomMetricBuilder().mergeFrom(value); } else { customMetric_ = value; @@ -596,6 +661,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -613,6 +680,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -625,6 +694,8 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricBui return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
      * The CustomMetric to update
      * 
@@ -635,11 +706,14 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOr if (customMetricBuilder_ != null) { return customMetricBuilder_.getMessageOrBuilder(); } else { - return customMetric_ == null ? - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() : customMetric_; + return customMetric_ == null + ? com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance() + : customMetric_; } } /** + * + * *
      * The CustomMetric to update
      * 
@@ -647,14 +721,17 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOr * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder> + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder> getCustomMetricFieldBuilder() { if (customMetricBuilder_ == null) { - customMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.CustomMetric, com.google.analytics.admin.v1beta.CustomMetric.Builder, com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( - getCustomMetric(), - getParentForChildren(), - isClean()); + customMetricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.CustomMetric, + com.google.analytics.admin.v1beta.CustomMetric.Builder, + com.google.analytics.admin.v1beta.CustomMetricOrBuilder>( + getCustomMetric(), getParentForChildren(), isClean()); customMetric_ = null; } return customMetricBuilder_; @@ -662,45 +739,61 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +809,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +831,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +859,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +881,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +898,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +958,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateCustomMetricRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateCustomMetricRequest) private static final com.google.analytics.admin.v1beta.UpdateCustomMetricRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateCustomMetricRequest(); } @@ -858,27 +972,27 @@ public static com.google.analytics.admin.v1beta.UpdateCustomMetricRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomMetricRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomMetricRequest 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; @@ -893,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.UpdateCustomMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java index 0901e2a99087..2e3f2238afea 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateCustomMetricRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateCustomMetricRequestOrBuilder extends +public interface UpdateCustomMetricRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateCustomMetricRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * * @return Whether the customMetric field is set. */ boolean hasCustomMetric(); /** + * + * *
    * The CustomMetric to update
    * 
* * .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * * @return The customMetric. */ com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(); /** + * + * *
    * The CustomMetric to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateCustomMetricRequestOrBuilder extends com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder(); /** + * + * *
    * 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java index 4f33279878de..d1c8260dce6c 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequest.java @@ -1,61 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateDataRetentionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest} */ -public final class UpdateDataRetentionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataRetentionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) UpdateDataRetentionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataRetentionSettingsRequest.newBuilder() to construct. - private UpdateDataRetentionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataRetentionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataRetentionSettingsRequest() { - } + + private UpdateDataRetentionSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataRetentionSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); } public static final int DATA_RETENTION_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.DataRetentionSettings dataRetentionSettings_; /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRetentionSettings field is set. */ @java.lang.Override @@ -63,41 +87,59 @@ public boolean hasDataRetentionSettings() { return dataRetentionSettings_ != null; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRetentionSettings. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings() { - return dataRetentionSettings_ == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { - return dataRetentionSettings_ == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -105,13 +147,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -119,13 +165,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -133,6 +182,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,8 +194,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataRetentionSettings_ != null) { output.writeMessage(1, getDataRetentionSettings()); } @@ -162,12 +211,11 @@ public int getSerializedSize() { size = 0; if (dataRetentionSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataRetentionSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataRetentionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,22 +225,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other = (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) obj; + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other = + (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) obj; if (hasDataRetentionSettings() != other.hasDataRetentionSettings()) return false; if (hasDataRetentionSettings()) { - if (!getDataRetentionSettings() - .equals(other.getDataRetentionSettings())) return false; + if (!getDataRetentionSettings().equals(other.getDataRetentionSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -219,129 +266,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( 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.v1beta.UpdateDataRetentionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest 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.v1beta.UpdateDataRetentionSettingsRequest + 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.v1beta.UpdateDataRetentionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateDataRetentionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,14 +416,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -381,23 +439,26 @@ public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest buil @java.lang.Override public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result = new com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result = + new com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataRetentionSettings_ = dataRetentionSettingsBuilder_ == null - ? dataRetentionSettings_ - : dataRetentionSettingsBuilder_.build(); + result.dataRetentionSettings_ = + dataRetentionSettingsBuilder_ == null + ? dataRetentionSettings_ + : dataRetentionSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -405,46 +466,51 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateDataRetention public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdateDataRetentionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + .getDefaultInstance()) return this; if (other.hasDataRetentionSettings()) { mergeDataRetentionSettings(other.getDataRetentionSettings()); } @@ -477,26 +543,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataRetentionSettingsFieldBuilder().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: + case 10: + { + input.readMessage( + getDataRetentionSettingsFieldBuilder().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) { @@ -506,48 +572,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.DataRetentionSettings dataRetentionSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> dataRetentionSettingsBuilder_; + com.google.analytics.admin.v1beta.DataRetentionSettings, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> + dataRetentionSettingsBuilder_; /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRetentionSettings field is set. */ public boolean hasDataRetentionSettings() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRetentionSettings. */ public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings() { if (dataRetentionSettingsBuilder_ == null) { - return dataRetentionSettings_ == null ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } else { return dataRetentionSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder setDataRetentionSettings( + com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,12 +648,16 @@ public Builder setDataRetentionSettings(com.google.analytics.admin.v1beta.DataRe return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataRetentionSettings( com.google.analytics.admin.v1beta.DataRetentionSettings.Builder builderForValue) { @@ -580,18 +671,24 @@ public Builder setDataRetentionSettings( return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1beta.DataRetentionSettings value) { + public Builder mergeDataRetentionSettings( + com.google.analytics.admin.v1beta.DataRetentionSettings value) { if (dataRetentionSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dataRetentionSettings_ != null && - dataRetentionSettings_ != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dataRetentionSettings_ != null + && dataRetentionSettings_ + != com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance()) { getDataRetentionSettingsBuilder().mergeFrom(value); } else { dataRetentionSettings_ = value; @@ -604,12 +701,16 @@ public Builder mergeDataRetentionSettings(com.google.analytics.admin.v1beta.Data return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataRetentionSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -622,51 +723,69 @@ public Builder clearDataRetentionSettings() { return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder getDataRetentionSettingsBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettings.Builder + getDataRetentionSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDataRetentionSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder() { + public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder() { if (dataRetentionSettingsBuilder_ != null) { return dataRetentionSettingsBuilder_.getMessageOrBuilder(); } else { - return dataRetentionSettings_ == null ? - com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() : dataRetentionSettings_; + return dataRetentionSettings_ == null + ? com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance() + : dataRetentionSettings_; } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> + com.google.analytics.admin.v1beta.DataRetentionSettings, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder> getDataRetentionSettingsFieldBuilder() { if (dataRetentionSettingsBuilder_ == null) { - dataRetentionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataRetentionSettings, com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( - getDataRetentionSettings(), - getParentForChildren(), - isClean()); + dataRetentionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataRetentionSettings, + com.google.analytics.admin.v1beta.DataRetentionSettings.Builder, + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder>( + getDataRetentionSettings(), getParentForChildren(), isClean()); dataRetentionSettings_ = null; } return dataRetentionSettingsBuilder_; @@ -674,45 +793,61 @@ public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataR private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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. 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -728,16 +863,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -748,19 +885,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -773,13 +913,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -792,13 +935,16 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -806,47 +952,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,41 +1012,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) - private static final com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest(); } - public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataRetentionSettingsRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataRetentionSettingsRequest 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; @@ -902,9 +1060,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java index e332d951da50..6ad37f6e7161 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataRetentionSettingsRequestOrBuilder.java @@ -1,72 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateDataRetentionSettingsRequestOrBuilder extends +public interface UpdateDataRetentionSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRetentionSettings field is set. */ boolean hasDataRetentionSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRetentionSettings. */ com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder(); + com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder + getDataRetentionSettingsOrBuilder(); /** + * + * *
    * 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]; + * .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. 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]; + * .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. 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java index 0edc36acd5e7..033754bc124d 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequest.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateDataStream RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataStreamRequest} */ -public final class UpdateDataStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateDataStreamRequest) UpdateDataStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataStreamRequest.newBuilder() to construct. private UpdateDataStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataStreamRequest() { - } + + private UpdateDataStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataStreamRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, + com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); } public static final int DATA_STREAM_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.DataStream dataStream_; /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; + * * @return Whether the dataStream field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasDataStream() { return dataStream_ != null; } /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; + * * @return The dataStream. */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStream getDataStream() { - return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } /** + * + * *
    * The DataStream to update
    * 
@@ -82,19 +110,25 @@ public com.google.analytics.admin.v1beta.DataStream getDataStream() { */ @java.lang.Override public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder() { - return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +136,17 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +154,16 @@ 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataStream_ != null) { output.writeMessage(1, getDataStream()); } @@ -159,12 +200,10 @@ public int getSerializedSize() { size = 0; if (dataStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataStream()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateDataStreamRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateDataStreamRequest other = (com.google.analytics.admin.v1beta.UpdateDataStreamRequest) obj; + com.google.analytics.admin.v1beta.UpdateDataStreamRequest other = + (com.google.analytics.admin.v1beta.UpdateDataStreamRequest) obj; if (hasDataStream() != other.hasDataStream()) return false; if (hasDataStream()) { - if (!getDataStream() - .equals(other.getDataStream())) return false; + if (!getDataStream().equals(other.getDataStream())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( 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.v1beta.UpdateDataStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateDataStreamRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateDataStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateDataStream RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateDataStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateDataStreamRequest) com.google.analytics.admin.v1beta.UpdateDataStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, + com.google.analytics.admin.v1beta.UpdateDataStreamRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateDataStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; } @java.lang.Override @@ -378,8 +423,11 @@ public com.google.analytics.admin.v1beta.UpdateDataStreamRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateDataStreamRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateDataStreamRequest result = new com.google.analytics.admin.v1beta.UpdateDataStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateDataStreamRequest result = + new com.google.analytics.admin.v1beta.UpdateDataStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -387,14 +435,10 @@ public com.google.analytics.admin.v1beta.UpdateDataStreamRequest buildPartial() private void buildPartial0(com.google.analytics.admin.v1beta.UpdateDataStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataStream_ = dataStreamBuilder_ == null - ? dataStream_ - : dataStreamBuilder_.build(); + result.dataStream_ = dataStreamBuilder_ == null ? dataStream_ : dataStreamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,38 +446,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateDataStreamReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdateDataStreamRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateDataStreamRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateDataStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateDataStreamRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateDataStreamRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.UpdateDataStreamRequest.getDefaultInstance()) + return this; if (other.hasDataStream()) { mergeDataStream(other.getDataStream()); } @@ -474,26 +520,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataStreamFieldBuilder().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: + case 10: + { + input.readMessage(getDataStreamFieldBuilder().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) { @@ -503,38 +548,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.DataStream dataStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> dataStreamBuilder_; + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> + dataStreamBuilder_; /** + * + * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; + * * @return Whether the dataStream field is set. */ public boolean hasDataStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The DataStream to update
      * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; + * * @return The dataStream. */ public com.google.analytics.admin.v1beta.DataStream getDataStream() { if (dataStreamBuilder_ == null) { - return dataStream_ == null ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } else { return dataStreamBuilder_.getMessage(); } } /** + * + * *
      * The DataStream to update
      * 
@@ -555,6 +614,8 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -573,6 +634,8 @@ public Builder setDataStream( return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -581,9 +644,9 @@ public Builder setDataStream( */ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream value) { if (dataStreamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dataStream_ != null && - dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dataStream_ != null + && dataStream_ != com.google.analytics.admin.v1beta.DataStream.getDefaultInstance()) { getDataStreamBuilder().mergeFrom(value); } else { dataStream_ = value; @@ -596,6 +659,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -613,6 +678,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -625,6 +692,8 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * The DataStream to update
      * 
@@ -635,11 +704,14 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil if (dataStreamBuilder_ != null) { return dataStreamBuilder_.getMessageOrBuilder(); } else { - return dataStream_ == null ? - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() : dataStream_; + return dataStream_ == null + ? com.google.analytics.admin.v1beta.DataStream.getDefaultInstance() + : dataStream_; } } /** + * + * *
      * The DataStream to update
      * 
@@ -647,14 +719,17 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil * .google.analytics.admin.v1beta.DataStream data_stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder> + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder> getDataStreamFieldBuilder() { if (dataStreamBuilder_ == null) { - dataStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.DataStream, com.google.analytics.admin.v1beta.DataStream.Builder, com.google.analytics.admin.v1beta.DataStreamOrBuilder>( - getDataStream(), - getParentForChildren(), - isClean()); + dataStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.DataStream, + com.google.analytics.admin.v1beta.DataStream.Builder, + com.google.analytics.admin.v1beta.DataStreamOrBuilder>( + getDataStream(), getParentForChildren(), isClean()); dataStream_ = null; } return dataStreamBuilder_; @@ -662,45 +737,61 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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]; + * .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_; + 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +807,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +829,22 @@ public Builder setUpdateMask( 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +857,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +879,16 @@ public Builder clearUpdateMask() { 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +896,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { 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]; + * .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_; + 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]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateDataStreamRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateDataStreamRequest) private static final com.google.analytics.admin.v1beta.UpdateDataStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateDataStreamRequest(); } @@ -858,27 +970,27 @@ public static com.google.analytics.admin.v1beta.UpdateDataStreamRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataStreamRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataStreamRequest 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; @@ -893,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.UpdateDataStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java index a64fd0cca041..1d454c49d9a3 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateDataStreamRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateDataStreamRequestOrBuilder extends +public interface UpdateDataStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateDataStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; + * * @return Whether the dataStream field is set. */ boolean hasDataStream(); /** + * + * *
    * The DataStream to update
    * 
* * .google.analytics.admin.v1beta.DataStream data_stream = 1; + * * @return The dataStream. */ com.google.analytics.admin.v1beta.DataStream getDataStream(); /** + * + * *
    * The DataStream to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateDataStreamRequestOrBuilder extends com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); /** + * + * *
    * 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]; + * .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]; + * .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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java similarity index 68% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java index 393b9090ee82..f39f8099917a 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequest.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateGoogleAdsLink RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest} */ -public final class UpdateGoogleAdsLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateGoogleAdsLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) UpdateGoogleAdsLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGoogleAdsLinkRequest.newBuilder() to construct. private UpdateGoogleAdsLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGoogleAdsLinkRequest() { - } + + private UpdateGoogleAdsLinkRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGoogleAdsLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); } public static final int GOOGLE_ADS_LINK_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * * @return Whether the googleAdsLink field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasGoogleAdsLink() { return googleAdsLink_ != null; } /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * * @return The googleAdsLink. */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } /** + * + * *
    * The GoogleAdsLink to update
    * 
@@ -82,19 +110,25 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { */ @java.lang.Override public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder() { - return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,13 +136,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -116,13 +154,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -130,6 +171,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (googleAdsLink_ != null) { output.writeMessage(1, getGoogleAdsLink()); } @@ -159,12 +200,10 @@ public int getSerializedSize() { size = 0; if (googleAdsLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getGoogleAdsLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGoogleAdsLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest other = (com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) obj; + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest other = + (com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) obj; if (hasGoogleAdsLink() != other.hasGoogleAdsLink()) return false; if (hasGoogleAdsLink()) { - if (!getGoogleAdsLink() - .equals(other.getGoogleAdsLink())) return false; + if (!getGoogleAdsLink().equals(other.getGoogleAdsLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( 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.v1beta.UpdateGoogleAdsLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateGoogleAdsLink RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,13 +402,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance(); } @@ -378,23 +424,24 @@ public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result = new com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result = + new com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.googleAdsLink_ = googleAdsLinkBuilder_ == null - ? googleAdsLink_ - : googleAdsLinkBuilder_.build(); + result.googleAdsLink_ = + googleAdsLinkBuilder_ == null ? googleAdsLink_ : googleAdsLinkBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,38 +449,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateGoogleAdsLink public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdateGoogleAdsLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -441,7 +489,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance()) + return this; if (other.hasGoogleAdsLink()) { mergeGoogleAdsLink(other.getGoogleAdsLink()); } @@ -474,26 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGoogleAdsLinkFieldBuilder().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: + case 10: + { + input.readMessage(getGoogleAdsLinkFieldBuilder().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) { @@ -503,38 +552,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.GoogleAdsLink googleAdsLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> googleAdsLinkBuilder_; + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + googleAdsLinkBuilder_; /** + * + * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * * @return Whether the googleAdsLink field is set. */ public boolean hasGoogleAdsLink() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The GoogleAdsLink to update
      * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * * @return The googleAdsLink. */ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { if (googleAdsLinkBuilder_ == null) { - return googleAdsLink_ == null ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } else { return googleAdsLinkBuilder_.getMessage(); } } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -555,6 +618,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -573,6 +638,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -581,9 +648,10 @@ public Builder setGoogleAdsLink( */ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink value) { if (googleAdsLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - googleAdsLink_ != null && - googleAdsLink_ != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && googleAdsLink_ != null + && googleAdsLink_ + != com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance()) { getGoogleAdsLinkBuilder().mergeFrom(value); } else { googleAdsLink_ = value; @@ -596,6 +664,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -613,6 +683,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -625,6 +697,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -635,11 +709,14 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink if (googleAdsLinkBuilder_ != null) { return googleAdsLinkBuilder_.getMessageOrBuilder(); } else { - return googleAdsLink_ == null ? - com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() : googleAdsLink_; + return googleAdsLink_ == null + ? com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance() + : googleAdsLink_; } } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -647,14 +724,17 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder> getGoogleAdsLinkFieldBuilder() { if (googleAdsLinkBuilder_ == null) { - googleAdsLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.GoogleAdsLink, com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( - getGoogleAdsLink(), - getParentForChildren(), - isClean()); + googleAdsLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.GoogleAdsLink, + com.google.analytics.admin.v1beta.GoogleAdsLink.Builder, + com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>( + getGoogleAdsLink(), getParentForChildren(), isClean()); googleAdsLink_ = null; } return googleAdsLinkBuilder_; @@ -662,45 +742,61 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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. 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -716,16 +812,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -736,19 +834,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -761,13 +862,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -780,13 +884,16 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -794,47 +901,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +961,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) - private static final com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest(); } @@ -858,27 +976,27 @@ public static com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGoogleAdsLinkRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGoogleAdsLinkRequest 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; @@ -893,6 +1011,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java index 4bdcc3776eda..81e0014e26db 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateGoogleAdsLinkRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateGoogleAdsLinkRequestOrBuilder extends +public interface UpdateGoogleAdsLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * * @return Whether the googleAdsLink field is set. */ boolean hasGoogleAdsLink(); /** + * + * *
    * The GoogleAdsLink to update
    * 
* * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * * @return The googleAdsLink. */ com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); /** + * + * *
    * The GoogleAdsLink to update
    * 
@@ -35,35 +59,46 @@ public interface UpdateGoogleAdsLinkRequestOrBuilder extends com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); /** + * + * *
    * 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]; + * .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. 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]; + * .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. 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java similarity index 59% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java index 79f96ec24dd1..d5da3e572531 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequest.java @@ -1,60 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateMeasurementProtocolSecret RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest} */ -public final class UpdateMeasurementProtocolSecretRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateMeasurementProtocolSecretRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) UpdateMeasurementProtocolSecretRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateMeasurementProtocolSecretRequest.newBuilder() to construct. - private UpdateMeasurementProtocolSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateMeasurementProtocolSecretRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateMeasurementProtocolSecretRequest() { - } + + private UpdateMeasurementProtocolSecretRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateMeasurementProtocolSecretRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder.class); } public static final int MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ @java.lang.Override @@ -62,37 +87,55 @@ public boolean hasMeasurementProtocolSecret() { return measurementProtocolSecret_ != null; } /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + getMeasurementProtocolSecret() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +143,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +158,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
@@ -124,6 +172,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (measurementProtocolSecret_ != null) { output.writeMessage(1, getMeasurementProtocolSecret()); } @@ -153,12 +201,12 @@ public int getSerializedSize() { size = 0; if (measurementProtocolSecret_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMeasurementProtocolSecret()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getMeasurementProtocolSecret()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +216,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other = (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) obj; + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other = + (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) obj; if (hasMeasurementProtocolSecret() != other.hasMeasurementProtocolSecret()) return false; if (hasMeasurementProtocolSecret()) { - if (!getMeasurementProtocolSecret() - .equals(other.getMeasurementProtocolSecret())) return false; + if (!getMeasurementProtocolSecret().equals(other.getMeasurementProtocolSecret())) + return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +259,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( 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.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest 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.v1beta.UpdateMeasurementProtocolSecretRequest + 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.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateMeasurementProtocolSecret RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,19 +410,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.getDefaultInstance(); + public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest build() { - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = buildPartial(); + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -372,23 +434,26 @@ public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest @java.lang.Override public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result = + new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.measurementProtocolSecret_ = measurementProtocolSecretBuilder_ == null - ? measurementProtocolSecret_ - : measurementProtocolSecretBuilder_.build(); + result.measurementProtocolSecret_ = + measurementProtocolSecretBuilder_ == null + ? measurementProtocolSecret_ + : measurementProtocolSecretBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,46 +461,52 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateMeasurementPr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdateMeasurementProtocolSecretRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest)other); + if (other + instanceof com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) { + return mergeFrom( + (com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest other) { + if (other + == com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + .getDefaultInstance()) return this; if (other.hasMeasurementProtocolSecret()) { mergeMeasurementProtocolSecret(other.getMeasurementProtocolSecret()); } @@ -468,26 +539,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMeasurementProtocolSecretFieldBuilder().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: + case 10: + { + input.readMessage( + getMeasurementProtocolSecretFieldBuilder().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) { @@ -497,45 +568,67 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.MeasurementProtocolSecret measurementProtocolSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> measurementProtocolSecretBuilder_; + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + measurementProtocolSecretBuilder_; /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ public boolean hasMeasurementProtocolSecret() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret + getMeasurementProtocolSecret() { if (measurementProtocolSecretBuilder_ == null) { - return measurementProtocolSecret_ == null ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } else { return measurementProtocolSecretBuilder_.getMessage(); } } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder setMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -549,11 +642,15 @@ public Builder setMeasurementProtocolSecret(com.google.analytics.admin.v1beta.Me return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMeasurementProtocolSecret( com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder builderForValue) { @@ -567,17 +664,24 @@ public Builder setMeasurementProtocolSecret( return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { + public Builder mergeMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.MeasurementProtocolSecret value) { if (measurementProtocolSecretBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - measurementProtocolSecret_ != null && - measurementProtocolSecret_ != com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && measurementProtocolSecret_ != null + && measurementProtocolSecret_ + != com.google.analytics.admin.v1beta.MeasurementProtocolSecret + .getDefaultInstance()) { getMeasurementProtocolSecretBuilder().mergeFrom(value); } else { measurementProtocolSecret_ = value; @@ -590,11 +694,15 @@ public Builder mergeMeasurementProtocolSecret(com.google.analytics.admin.v1beta. return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMeasurementProtocolSecret() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,48 +715,66 @@ public Builder clearMeasurementProtocolSecret() { return this; } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder + getMeasurementProtocolSecretBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMeasurementProtocolSecretFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder() { + public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder() { if (measurementProtocolSecretBuilder_ != null) { return measurementProtocolSecretBuilder_.getMessageOrBuilder(); } else { - return measurementProtocolSecret_ == null ? - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() : measurementProtocolSecret_; + return measurementProtocolSecret_ == null + ? com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance() + : measurementProtocolSecret_; } } /** + * + * *
      * Required. The measurement protocol secret to update.
      * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder> getMeasurementProtocolSecretFieldBuilder() { if (measurementProtocolSecretBuilder_ == null) { - measurementProtocolSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.MeasurementProtocolSecret, com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( - getMeasurementProtocolSecret(), - getParentForChildren(), - isClean()); + measurementProtocolSecretBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.MeasurementProtocolSecret, + com.google.analytics.admin.v1beta.MeasurementProtocolSecret.Builder, + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder>( + getMeasurementProtocolSecret(), getParentForChildren(), isClean()); measurementProtocolSecret_ = null; } return measurementProtocolSecretBuilder_; @@ -656,34 +782,47 @@ public com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getM private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -704,14 +843,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +862,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -730,9 +872,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +887,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -762,6 +906,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -774,6 +920,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -784,11 +932,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated. Omitted fields will not be updated.
      * 
@@ -796,21 +947,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,41 +974,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) - private static final com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest(); } - public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMeasurementProtocolSecretRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMeasurementProtocolSecretRequest 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; @@ -866,9 +1023,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java index 73ae731e5eac..938c81baa9ba 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateMeasurementProtocolSecretRequestOrBuilder.java @@ -1,58 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdateMeasurementProtocolSecretRequestOrBuilder extends +public interface UpdateMeasurementProtocolSecretRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the measurementProtocolSecret field is set. */ boolean hasMeasurementProtocolSecret(); /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The measurementProtocolSecret. */ com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); /** + * + * *
    * Required. The measurement protocol secret to update.
    * 
* - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); + com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder + getMeasurementProtocolSecretOrBuilder(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated. Omitted fields will not be updated.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java similarity index 66% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java index 33c01bf4aafe..75552998006c 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequest.java @@ -1,62 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Request message for UpdateProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdatePropertyRequest} */ -public final class UpdatePropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdatePropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdatePropertyRequest) UpdatePropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePropertyRequest.newBuilder() to construct. private UpdatePropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePropertyRequest() { - } + + private UpdatePropertyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePropertyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, + com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.Property property_; /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ @java.lang.Override @@ -64,43 +87,60 @@ public boolean hasProperty() { return property_ != null; } /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ @java.lang.Override public com.google.analytics.admin.v1beta.Property getProperty() { - return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -108,13 +148,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -122,13 +166,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -136,6 +183,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (property_ != null) { output.writeMessage(1, getProperty()); } @@ -165,12 +212,10 @@ public int getSerializedSize() { size = 0; if (property_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,22 +225,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.admin.v1beta.UpdatePropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdatePropertyRequest other = (com.google.analytics.admin.v1beta.UpdatePropertyRequest) obj; + com.google.analytics.admin.v1beta.UpdatePropertyRequest other = + (com.google.analytics.admin.v1beta.UpdatePropertyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +266,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( 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.v1beta.UpdatePropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdatePropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1beta.UpdatePropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdatePropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdatePropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.UpdatePropertyRequest) com.google.analytics.admin.v1beta.UpdatePropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, + com.google.analytics.admin.v1beta.UpdatePropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdatePropertyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; } @java.lang.Override @@ -384,8 +435,11 @@ public com.google.analytics.admin.v1beta.UpdatePropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdatePropertyRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdatePropertyRequest result = new com.google.analytics.admin.v1beta.UpdatePropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdatePropertyRequest result = + new com.google.analytics.admin.v1beta.UpdatePropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,14 +447,10 @@ public com.google.analytics.admin.v1beta.UpdatePropertyRequest buildPartial() { private void buildPartial0(com.google.analytics.admin.v1beta.UpdatePropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null - ? property_ - : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,38 +458,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdatePropertyReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.v1beta.UpdatePropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdatePropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdatePropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +498,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdatePropertyRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdatePropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.UpdatePropertyRequest.getDefaultInstance()) + return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } @@ -480,26 +532,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPropertyFieldBuilder().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: + case 10: + { + input.readMessage(getPropertyFieldBuilder().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) { @@ -509,49 +560,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.Property property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> propertyBuilder_; + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> + propertyBuilder_; /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ public com.google.analytics.admin.v1beta.Property getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { @@ -567,16 +638,19 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setProperty( - com.google.analytics.admin.v1beta.Property.Builder builderForValue) { + public Builder setProperty(com.google.analytics.admin.v1beta.Property.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -587,19 +661,23 @@ public Builder setProperty( return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.analytics.admin.v1beta.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -612,13 +690,17 @@ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -631,13 +713,17 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; @@ -645,40 +731,52 @@ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.analytics.admin.v1beta.Property.getDefaultInstance() : property_; + return property_ == null + ? com.google.analytics.admin.v1beta.Property.getDefaultInstance() + : property_; } } /** + * + * *
      * Required. The property to update.
      * The property's `name` field is used to identify the property to be
      * updated.
      * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder> + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.Property, com.google.analytics.admin.v1beta.Property.Builder, com.google.analytics.admin.v1beta.PropertyOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.Property, + com.google.analytics.admin.v1beta.Property.Builder, + com.google.analytics.admin.v1beta.PropertyOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; @@ -686,45 +784,61 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * 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]; + * .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. 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -740,16 +854,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -760,19 +876,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * 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]; + * .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()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -785,13 +904,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -804,13 +926,16 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -818,47 +943,57 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * 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]; + * .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_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : 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.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdatePropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdatePropertyRequest) private static final com.google.analytics.admin.v1beta.UpdatePropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdatePropertyRequest(); } @@ -882,27 +1017,27 @@ public static com.google.analytics.admin.v1beta.UpdatePropertyRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePropertyRequest 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePropertyRequest 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; @@ -917,6 +1052,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.UpdatePropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java index 7d568aea53cb..ae3d95295034 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdatePropertyRequestOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/analytics_admin.proto package com.google.analytics.admin.v1beta; -public interface UpdatePropertyRequestOrBuilder extends +public interface UpdatePropertyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdatePropertyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The property. */ com.google.analytics.admin.v1beta.Property getProperty(); /** + * + * *
    * Required. The property to update.
    * The property's `name` field is used to identify the property to be
    * updated.
    * 
* - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1beta.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.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .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. 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]; + * .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. 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]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/analytics_admin.proto diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/resources.proto diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/AsyncApproveDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/approvedisplayvideo360advertiserlinkproposal/SyncApproveDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/AsyncArchiveAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archiveaudience/SyncArchiveAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/AsyncAuditUserLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/audituserlinks/SyncAuditUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/AsyncBatchCreateUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateuserlinks/SyncBatchCreateUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/AsyncBatchDeleteUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteuserlinks/SyncBatchDeleteUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/AsyncBatchGetUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetuserlinks/SyncBatchGetUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/AsyncBatchUpdateUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateuserlinks/SyncBatchUpdateUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/AsyncCancelDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/canceldisplayvideo360advertiserlinkproposal/SyncCancelDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/AsyncCreateAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudiencePropertynameAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaudience/SyncCreateAudienceStringAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/AsyncCreateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/AsyncCreateDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkPropertynameDisplayvideo360Advertiserlink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlink/SyncCreateDisplayVideo360AdvertiserLinkStringDisplayvideo360Advertiserlink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/AsyncCreateDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalPropertynameDisplayvideo360Advertiserlinkproposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createdisplayvideo360advertiserlinkproposal/SyncCreateDisplayVideo360AdvertiserLinkProposalStringDisplayvideo360Advertiserlinkproposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/AsyncCreateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/AsyncCreateSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkPropertynameSearchads360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsearchads360link/SyncCreateSearchAds360LinkStringSearchads360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/AsyncCreateUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkAccountnameUserlink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkPropertynameUserlink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createuserlink/SyncCreateUserLinkStringUserlink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/AsyncDeleteDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlink/SyncDeleteDisplayVideo360AdvertiserLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/AsyncDeleteDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletedisplayvideo360advertiserlinkproposal/SyncDeleteDisplayVideo360AdvertiserLinkProposalString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeleteProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/AsyncDeleteSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkSearchads360Linkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesearchads360link/SyncDeleteSearchAds360LinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/AsyncDeleteUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteuserlink/SyncDeleteUserLinkUserlinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/AsyncFetchAutomatedGa4ConfigurationOptOut.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchautomatedga4configurationoptout/SyncFetchAutomatedGa4ConfigurationOptOut.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/AsyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountAccountname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccount/SyncGetAccountString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/AsyncGetAttributionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsAttributionsettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getattributionsettings/SyncGetAttributionSettingsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/AsyncGetAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceAudiencename.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaudience/SyncGetAudienceString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/AsyncGetBigQueryLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkBigquerylinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getbigquerylink/SyncGetBigQueryLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/AsyncGetDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdatastream/SyncGetDataStreamString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/AsyncGetDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkDisplayvideo360Advertiserlinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlink/SyncGetDisplayVideo360AdvertiserLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/AsyncGetDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposal.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalDisplayvideo360Advertiserlinkproposalname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdisplayvideo360advertiserlinkproposal/SyncGetDisplayVideo360AdvertiserLinkProposalString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/AsyncGetGlobalSiteTag.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTag.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagGlobalsitetagname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getglobalsitetag/SyncGetGlobalSiteTagString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/AsyncGetGoogleSignalsSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsGooglesignalssettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getgooglesignalssettings/SyncGetGoogleSignalsSettingsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/AsyncGetProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getproperty/SyncGetPropertyString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/AsyncGetSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkSearchads360Linkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getsearchads360link/SyncGetSearchAds360LinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/AsyncGetUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getuserlink/SyncGetUserLinkUserlinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccounts.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccounts/SyncListAccounts.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiences.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/AsyncListAudiencesPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiences.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaudiences/SyncListAudiencesString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/AsyncListBigQueryLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listbigquerylinks/SyncListBigQueryLinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreams.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreams.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposals.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/AsyncListDisplayVideo360AdvertiserLinkProposalsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposals.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinkproposals/SyncListDisplayVideo360AdvertiserLinkProposalsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/AsyncListDisplayVideo360AdvertiserLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listdisplayvideo360advertiserlinks/SyncListDisplayVideo360AdvertiserLinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListProperties.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listproperties/SyncListProperties.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360Links.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/AsyncListSearchAds360LinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360Links.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listsearchads360links/SyncListSearchAds360LinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/AsyncListUserLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksAccountname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listuserlinks/SyncListUserLinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/runaccessreport/SyncRunAccessReport.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/AsyncSetAutomatedGa4ConfigurationOptOut.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/setautomatedga4configurationoptout/SyncSetAutomatedGa4ConfigurationOptOut.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/AsyncUpdateAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/AsyncUpdateAttributionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateattributionsettings/SyncUpdateAttributionSettingsAttributionsettingsFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/AsyncUpdateAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudience.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaudience/SyncUpdateAudienceAudienceFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/AsyncUpdateDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedisplayvideo360advertiserlink/SyncUpdateDisplayVideo360AdvertiserLinkDisplayvideo360AdvertiserlinkFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/AsyncUpdateGoogleSignalsSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updategooglesignalssettings/SyncUpdateGoogleSignalsSettingsGooglesignalssettingsFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/AsyncUpdateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/AsyncUpdateSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360Link.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/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 similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatesearchads360link/SyncUpdateSearchAds360LinkSearchads360LinkFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/AsyncUpdateUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateuserlink/SyncUpdateUserLinkUserlink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservicesettings/getaccount/SyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/AsyncAcknowledgeUserDataCollection.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/acknowledgeuserdatacollection/SyncAcknowledgeUserDataCollection.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/AsyncArchiveCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionCustomdimensionname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustomdimension/SyncArchiveCustomDimensionString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/AsyncArchiveCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricCustommetricname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/archivecustommetric/SyncArchiveCustomMetricString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/AsyncCreateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventPropertynameConversionevent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createconversionevent/SyncCreateConversionEventStringConversionevent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/AsyncCreateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionPropertynameCustomdimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustomdimension/SyncCreateCustomDimensionStringCustomdimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/AsyncCreateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricPropertynameCustommetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createcustommetric/SyncCreateCustomMetricStringCustommetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/AsyncCreateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamPropertynameDatastream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createdatastream/SyncCreateDataStreamStringDatastream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/AsyncCreateFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkPropertynameFirebaselink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createfirebaselink/SyncCreateFirebaseLinkStringFirebaselink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/AsyncCreateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkPropertynameGoogleadslink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/creategoogleadslink/SyncCreateGoogleAdsLinkStringGoogleadslink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/AsyncCreateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretDatastreamnameMeasurementprotocolsecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createmeasurementprotocolsecret/SyncCreateMeasurementProtocolSecretStringMeasurementprotocolsecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/AsyncCreateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/createproperty/SyncCreatePropertyProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/AsyncDeleteAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountAccountname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteaccount/SyncDeleteAccountString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/AsyncDeleteConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventConversioneventname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteconversionevent/SyncDeleteConversionEventString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/AsyncDeleteDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletedatastream/SyncDeleteDataStreamString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/AsyncDeleteFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkFirebaselinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletefirebaselink/SyncDeleteFirebaseLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/AsyncDeleteGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkGoogleadslinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletegoogleadslink/SyncDeleteGoogleAdsLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/AsyncDeleteMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deletemeasurementprotocolsecret/SyncDeleteMeasurementProtocolSecretString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/AsyncDeleteProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeleteProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/deleteproperty/SyncDeletePropertyString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/AsyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountAccountname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getaccount/SyncGetAccountString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/AsyncGetConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventConversioneventname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getconversionevent/SyncGetConversionEventString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/AsyncGetCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionCustomdimensionname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustomdimension/SyncGetCustomDimensionString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/AsyncGetCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricCustommetricname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getcustommetric/SyncGetCustomMetricString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/AsyncGetDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsDataretentionsettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdataretentionsettings/SyncGetDataRetentionSettingsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/AsyncGetDataSharingSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsDatasharingsettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatasharingsettings/SyncGetDataSharingSettingsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/AsyncGetDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getdatastream/SyncGetDataStreamString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/AsyncGetMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretMeasurementprotocolsecretname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getmeasurementprotocolsecret/SyncGetMeasurementProtocolSecretString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/AsyncGetProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/getproperty/SyncGetPropertyString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccounts.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/AsyncListAccountsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccounts/SyncListAccounts.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummaries.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/AsyncListAccountSummariesPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listaccountsummaries/SyncListAccountSummaries.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/AsyncListConversionEventsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listconversionevents/SyncListConversionEventsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensions.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/AsyncListCustomDimensionsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensions.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustomdimensions/SyncListCustomDimensionsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetrics.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/AsyncListCustomMetricsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetrics.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listcustommetrics/SyncListCustomMetricsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreams.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/AsyncListDataStreamsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreams.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listdatastreams/SyncListDataStreamsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/AsyncListFirebaseLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listfirebaselinks/SyncListFirebaseLinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/AsyncListGoogleAdsLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listgoogleadslinks/SyncListGoogleAdsLinksString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecrets.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/AsyncListMeasurementProtocolSecretsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecrets.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listmeasurementprotocolsecrets/SyncListMeasurementProtocolSecretsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListProperties.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/AsyncListPropertiesPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/listproperties/SyncListProperties.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/AsyncProvisionAccountTicket.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/provisionaccountticket/SyncProvisionAccountTicket.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/AsyncSearchChangeHistoryEventsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/searchchangehistoryevents/SyncSearchChangeHistoryEvents.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/AsyncUpdateAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateaccount/SyncUpdateAccountAccountFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/AsyncUpdateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimension.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustomdimension/SyncUpdateCustomDimensionCustomdimensionFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/AsyncUpdateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetric.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatecustommetric/SyncUpdateCustomMetricCustommetricFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/AsyncUpdateDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedataretentionsettings/SyncUpdateDataRetentionSettingsDataretentionsettingsFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/AsyncUpdateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStream.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatedatastream/SyncUpdateDataStreamDatastreamFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/AsyncUpdateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updategoogleadslink/SyncUpdateGoogleAdsLinkGoogleadslinkFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/AsyncUpdateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecret.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updatemeasurementprotocolsecret/SyncUpdateMeasurementProtocolSecretMeasurementprotocolsecretFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/AsyncUpdateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdateProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateproperty/SyncUpdatePropertyPropertyFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservicesettings/getaccount/SyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/stub/analyticsadminservicestubsettings/getaccount/SyncGetAccount.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java b/owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java deleted file mode 100644 index f2a0c3e62c93..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java +++ /dev/null @@ -1,8069 +0,0 @@ -package com.google.analytics.admin.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service Interface for the Analytics Admin API (GA4).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/admin/v1alpha/analytics_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AnalyticsAdminServiceGrpc { - - private AnalyticsAdminServiceGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.admin.v1alpha.AnalyticsAdminService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAccount", - requestType = com.google.analytics.admin.v1alpha.GetAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAccountMethod() { - io.grpc.MethodDescriptor getGetAccountMethod; - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAccountMethod = getGetAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) - .build(); - } - } - } - return getGetAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAccountsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccounts", - requestType = com.google.analytics.admin.v1alpha.ListAccountsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAccountsMethod() { - io.grpc.MethodDescriptor getListAccountsMethod; - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountsMethod = getListAccountsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) - .build(); - } - } - } - return getListAccountsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", - requestType = com.google.analytics.admin.v1alpha.DeleteAccountRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAccountMethod() { - io.grpc.MethodDescriptor getDeleteAccountMethod; - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAccountMethod = getDeleteAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) - .build(); - } - } - } - return getDeleteAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", - requestType = com.google.analytics.admin.v1alpha.UpdateAccountRequest.class, - responseType = com.google.analytics.admin.v1alpha.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAccountMethod() { - io.grpc.MethodDescriptor getUpdateAccountMethod; - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAccountMethod = getUpdateAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Account.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) - .build(); - } - } - } - return getUpdateAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getProvisionAccountTicketMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", - requestType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.class, - responseType = com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getProvisionAccountTicketMethod() { - io.grpc.MethodDescriptor getProvisionAccountTicketMethod; - if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = getProvisionAccountTicketMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ProvisionAccountTicket")) - .build(); - } - } - } - return getProvisionAccountTicketMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAccountSummariesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", - requestType = com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAccountSummariesMethod() { - io.grpc.MethodDescriptor getListAccountSummariesMethod; - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = getListAccountSummariesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) - .build(); - } - } - } - return getListAccountSummariesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProperty", - requestType = com.google.analytics.admin.v1alpha.GetPropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPropertyMethod() { - io.grpc.MethodDescriptor getGetPropertyMethod; - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getGetPropertyMethod = getGetPropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetPropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) - .build(); - } - } - } - return getGetPropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPropertiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProperties", - requestType = com.google.analytics.admin.v1alpha.ListPropertiesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListPropertiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPropertiesMethod() { - io.grpc.MethodDescriptor getListPropertiesMethod; - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - AnalyticsAdminServiceGrpc.getListPropertiesMethod = getListPropertiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListPropertiesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) - .build(); - } - } - } - return getListPropertiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProperty", - requestType = com.google.analytics.admin.v1alpha.CreatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePropertyMethod() { - io.grpc.MethodDescriptor getCreatePropertyMethod; - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreatePropertyMethod = getCreatePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreatePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) - .build(); - } - } - } - return getCreatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", - requestType = com.google.analytics.admin.v1alpha.DeletePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePropertyMethod() { - io.grpc.MethodDescriptor getDeletePropertyMethod; - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getDeletePropertyMethod = getDeletePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeletePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) - .build(); - } - } - } - return getDeletePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", - requestType = com.google.analytics.admin.v1alpha.UpdatePropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePropertyMethod() { - io.grpc.MethodDescriptor getUpdatePropertyMethod; - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = getUpdatePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) - .build(); - } - } - } - return getUpdatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUserLink", - requestType = com.google.analytics.admin.v1alpha.GetUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetUserLinkMethod() { - io.grpc.MethodDescriptor getGetUserLinkMethod; - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetUserLinkMethod = AnalyticsAdminServiceGrpc.getGetUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetUserLinkMethod = getGetUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetUserLink")) - .build(); - } - } - } - return getGetUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchGetUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchGetUserLinksMethod() { - io.grpc.MethodDescriptor getBatchGetUserLinksMethod; - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchGetUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchGetUserLinksMethod = getBatchGetUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetUserLinks")) - .build(); - } - } - } - return getBatchGetUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUserLinks", - requestType = com.google.analytics.admin.v1alpha.ListUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUserLinksMethod() { - io.grpc.MethodDescriptor getListUserLinksMethod; - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListUserLinksMethod = AnalyticsAdminServiceGrpc.getListUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListUserLinksMethod = getListUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListUserLinks")) - .build(); - } - } - } - return getListUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getAuditUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AuditUserLinks", - requestType = com.google.analytics.admin.v1alpha.AuditUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.AuditUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAuditUserLinksMethod() { - io.grpc.MethodDescriptor getAuditUserLinksMethod; - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAuditUserLinksMethod = AnalyticsAdminServiceGrpc.getAuditUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getAuditUserLinksMethod = getAuditUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AuditUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AuditUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AuditUserLinks")) - .build(); - } - } - } - return getAuditUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUserLink", - requestType = com.google.analytics.admin.v1alpha.CreateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateUserLinkMethod() { - io.grpc.MethodDescriptor getCreateUserLinkMethod; - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateUserLinkMethod = AnalyticsAdminServiceGrpc.getCreateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateUserLinkMethod = getCreateUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateUserLink")) - .build(); - } - } - } - return getCreateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateUserLinksMethod() { - io.grpc.MethodDescriptor getBatchCreateUserLinksMethod; - if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchCreateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchCreateUserLinksMethod = getBatchCreateUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateUserLinks")) - .build(); - } - } - } - return getBatchCreateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUserLink", - requestType = com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.UserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateUserLinkMethod() { - io.grpc.MethodDescriptor getUpdateUserLinkMethod; - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateUserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateUserLinkMethod = getUpdateUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateUserLink")) - .build(); - } - } - } - return getUpdateUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod() { - io.grpc.MethodDescriptor getBatchUpdateUserLinksMethod; - if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchUpdateUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchUpdateUserLinksMethod = getBatchUpdateUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateUserLinks")) - .build(); - } - } - } - return getBatchUpdateUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteUserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUserLink", - requestType = com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteUserLinkMethod() { - io.grpc.MethodDescriptor getDeleteUserLinkMethod; - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteUserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteUserLinkMethod = getDeleteUserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteUserLink")) - .build(); - } - } - } - return getDeleteUserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteUserLinks", - requestType = com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod() { - io.grpc.MethodDescriptor getBatchDeleteUserLinksMethod; - if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchDeleteUserLinksMethod = AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchDeleteUserLinksMethod = getBatchDeleteUserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteUserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteUserLinks")) - .build(); - } - } - } - return getBatchDeleteUserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", - requestType = com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.FirebaseLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateFirebaseLinkMethod() { - io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = getCreateFirebaseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.FirebaseLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) - .build(); - } - } - } - return getCreateFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", - requestType = com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod() { - io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = getDeleteFirebaseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) - .build(); - } - } - } - return getDeleteFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFirebaseLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", - requestType = com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFirebaseLinksMethod() { - io.grpc.MethodDescriptor getListFirebaseLinksMethod; - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = getListFirebaseLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) - .build(); - } - } - } - return getListFirebaseLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGlobalSiteTag", - requestType = com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.class, - responseType = com.google.analytics.admin.v1alpha.GlobalSiteTag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGlobalSiteTagMethod() { - io.grpc.MethodDescriptor getGetGlobalSiteTagMethod; - if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetGlobalSiteTagMethod = AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod) == null) { - AnalyticsAdminServiceGrpc.getGetGlobalSiteTagMethod = getGetGlobalSiteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGlobalSiteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GlobalSiteTag.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGlobalSiteTag")) - .build(); - } - } - } - return getGetGlobalSiteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = getCreateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) - .build(); - } - } - } - return getCreateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = getUpdateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) - .build(); - } - } - } - return getUpdateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", - requestType = com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = getDeleteGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) - .build(); - } - } - } - return getDeleteGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", - requestType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListGoogleAdsLinksMethod() { - io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = getListGoogleAdsLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) - .build(); - } - } - } - return getListGoogleAdsLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataSharingSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataSharingSettingsMethod() { - io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; - if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = getGetDataSharingSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataSharingSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataSharingSettings")) - .build(); - } - } - } - return getGetDataSharingSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; - if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = getGetMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetMeasurementProtocolSecret")) - .build(); - } - } - } - return getGetMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", - requestType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod() { - io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; - if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = getListMeasurementProtocolSecretsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListMeasurementProtocolSecrets")) - .build(); - } - } - } - return getListMeasurementProtocolSecretsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; - if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = getCreateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateMeasurementProtocolSecret")) - .build(); - } - } - } - return getCreateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; - if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = getDeleteMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteMeasurementProtocolSecret")) - .build(); - } - } - } - return getDeleteMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; - if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = getUpdateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateMeasurementProtocolSecret")) - .build(); - } - } - } - return getUpdateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", - requestType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.class, - responseType = com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod() { - io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; - if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = getAcknowledgeUserDataCollectionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AcknowledgeUserDataCollection")) - .build(); - } - } - } - return getAcknowledgeUserDataCollectionMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", - requestType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod() { - io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; - if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = getSearchChangeHistoryEventsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("SearchChangeHistoryEvents")) - .build(); - } - } - } - return getSearchChangeHistoryEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor getGetGoogleSignalsSettingsMethod; - if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetGoogleSignalsSettingsMethod = getGetGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetGoogleSignalsSettings")) - .build(); - } - } - } - return getGetGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleSignalsSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.GoogleSignalsSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod() { - io.grpc.MethodDescriptor getUpdateGoogleSignalsSettingsMethod; - if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleSignalsSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleSignalsSettingsMethod = getUpdateGoogleSignalsSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleSignalsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GoogleSignalsSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleSignalsSettings")) - .build(); - } - } - } - return getUpdateGoogleSignalsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", - requestType = com.google.analytics.admin.v1alpha.CreateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateConversionEventMethod() { - io.grpc.MethodDescriptor getCreateConversionEventMethod; - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = getCreateConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateConversionEvent")) - .build(); - } - } - } - return getCreateConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", - requestType = com.google.analytics.admin.v1alpha.GetConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConversionEventMethod() { - io.grpc.MethodDescriptor getGetConversionEventMethod; - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getGetConversionEventMethod = getGetConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) - .build(); - } - } - } - return getGetConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", - requestType = com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteConversionEventMethod() { - io.grpc.MethodDescriptor getDeleteConversionEventMethod; - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = getDeleteConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteConversionEvent")) - .build(); - } - } - } - return getDeleteConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getListConversionEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", - requestType = com.google.analytics.admin.v1alpha.ListConversionEventsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListConversionEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListConversionEventsMethod() { - io.grpc.MethodDescriptor getListConversionEventsMethod; - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { - AnalyticsAdminServiceGrpc.getListConversionEventsMethod = getListConversionEventsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConversionEventsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) - .build(); - } - } - } - return getListConversionEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkMethod; - if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkMethod = getGetDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinks", - requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod() { - io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinksMethod; - if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinksMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinksMethod = getListDisplayVideo360AdvertiserLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinks")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkMethod; - if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkMethod = getCreateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkMethod = getDeleteDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDisplayVideo360AdvertiserLink", - requestType = com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod() { - io.grpc.MethodDescriptor getUpdateDisplayVideo360AdvertiserLinkMethod; - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDisplayVideo360AdvertiserLinkMethod = AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDisplayVideo360AdvertiserLinkMethod = getUpdateDisplayVideo360AdvertiserLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDisplayVideo360AdvertiserLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDisplayVideo360AdvertiserLink")) - .build(); - } - } - } - return getUpdateDisplayVideo360AdvertiserLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getGetDisplayVideo360AdvertiserLinkProposalMethod; - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDisplayVideo360AdvertiserLinkProposalMethod = getGetDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getGetDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDisplayVideo360AdvertiserLinkProposals", - requestType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod() { - io.grpc.MethodDescriptor getListDisplayVideo360AdvertiserLinkProposalsMethod; - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDisplayVideo360AdvertiserLinkProposalsMethod = AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod) == null) { - AnalyticsAdminServiceGrpc.getListDisplayVideo360AdvertiserLinkProposalsMethod = getListDisplayVideo360AdvertiserLinkProposalsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDisplayVideo360AdvertiserLinkProposals")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDisplayVideo360AdvertiserLinkProposals")) - .build(); - } - } - } - return getListDisplayVideo360AdvertiserLinkProposalsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getCreateDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateDisplayVideo360AdvertiserLinkProposalMethod = getCreateDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCreateDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteDisplayVideo360AdvertiserLinkProposalMethod = getDeleteDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getDeleteDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ApproveDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getApproveDisplayVideo360AdvertiserLinkProposalMethod; - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getApproveDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getApproveDisplayVideo360AdvertiserLinkProposalMethod = getApproveDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ApproveDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ApproveDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getApproveDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelDisplayVideo360AdvertiserLinkProposal", - requestType = com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, - responseType = com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod() { - io.grpc.MethodDescriptor getCancelDisplayVideo360AdvertiserLinkProposalMethod; - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCancelDisplayVideo360AdvertiserLinkProposalMethod = AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod) == null) { - AnalyticsAdminServiceGrpc.getCancelDisplayVideo360AdvertiserLinkProposalMethod = getCancelDisplayVideo360AdvertiserLinkProposalMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDisplayVideo360AdvertiserLinkProposal")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CancelDisplayVideo360AdvertiserLinkProposal")) - .build(); - } - } - } - return getCancelDisplayVideo360AdvertiserLinkProposalMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCustomDimensionMethod() { - io.grpc.MethodDescriptor getCreateCustomDimensionMethod; - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = getCreateCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomDimension")) - .build(); - } - } - } - return getCreateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCustomDimensionMethod() { - io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = getUpdateCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomDimension")) - .build(); - } - } - } - return getUpdateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCustomDimensionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", - requestType = com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCustomDimensionsMethod() { - io.grpc.MethodDescriptor getListCustomDimensionsMethod; - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = getListCustomDimensionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) - .build(); - } - } - } - return getListCustomDimensionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getArchiveCustomDimensionMethod() { - io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; - if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = getArchiveCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomDimension")) - .build(); - } - } - } - return getArchiveCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", - requestType = com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCustomDimensionMethod() { - io.grpc.MethodDescriptor getGetCustomDimensionMethod; - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = getGetCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) - .build(); - } - } - } - return getGetCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCustomMetricMethod() { - io.grpc.MethodDescriptor getCreateCustomMetricMethod; - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = getCreateCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) - .build(); - } - } - } - return getCreateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", - requestType = com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCustomMetricMethod() { - io.grpc.MethodDescriptor getUpdateCustomMetricMethod; - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = getUpdateCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) - .build(); - } - } - } - return getUpdateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCustomMetricsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", - requestType = com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCustomMetricsMethod() { - io.grpc.MethodDescriptor getListCustomMetricsMethod; - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { - AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = getListCustomMetricsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) - .build(); - } - } - } - return getListCustomMetricsMethod; - } - - private static volatile io.grpc.MethodDescriptor getArchiveCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", - requestType = com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getArchiveCustomMetricMethod() { - io.grpc.MethodDescriptor getArchiveCustomMetricMethod; - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = getArchiveCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) - .build(); - } - } - } - return getArchiveCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", - requestType = com.google.analytics.admin.v1alpha.GetCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1alpha.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCustomMetricMethod() { - io.grpc.MethodDescriptor getGetCustomMetricMethod; - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = getGetCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) - .build(); - } - } - } - return getGetCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; - if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = getGetDataRetentionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataRetentionSettings")) - .build(); - } - } - } - return getGetDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; - if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = getUpdateDataRetentionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRetentionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataRetentionSettings")) - .build(); - } - } - } - return getUpdateDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", - requestType = com.google.analytics.admin.v1alpha.CreateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDataStreamMethod() { - io.grpc.MethodDescriptor getCreateDataStreamMethod; - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = getCreateDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) - .build(); - } - } - } - return getCreateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", - requestType = com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDataStreamMethod() { - io.grpc.MethodDescriptor getDeleteDataStreamMethod; - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = getDeleteDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) - .build(); - } - } - } - return getDeleteDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", - requestType = com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataStreamMethod() { - io.grpc.MethodDescriptor getUpdateDataStreamMethod; - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = getUpdateDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) - .build(); - } - } - } - return getUpdateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", - requestType = com.google.analytics.admin.v1alpha.ListDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataStreamsMethod() { - io.grpc.MethodDescriptor getListDataStreamsMethod; - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - AnalyticsAdminServiceGrpc.getListDataStreamsMethod = getListDataStreamsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListDataStreamsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) - .build(); - } - } - } - return getListDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataStream", - requestType = com.google.analytics.admin.v1alpha.GetDataStreamRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataStreamMethod() { - io.grpc.MethodDescriptor getGetDataStreamMethod; - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataStreamMethod = getGetDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) - .build(); - } - } - } - return getGetDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAudience", - requestType = com.google.analytics.admin.v1alpha.GetAudienceRequest.class, - responseType = com.google.analytics.admin.v1alpha.Audience.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAudienceMethod() { - io.grpc.MethodDescriptor getGetAudienceMethod; - if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAudienceMethod = AnalyticsAdminServiceGrpc.getGetAudienceMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAudienceMethod = getGetAudienceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAudienceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAudience")) - .build(); - } - } - } - return getGetAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAudiencesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAudiences", - requestType = com.google.analytics.admin.v1alpha.ListAudiencesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAudiencesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAudiencesMethod() { - io.grpc.MethodDescriptor getListAudiencesMethod; - if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAudiencesMethod = AnalyticsAdminServiceGrpc.getListAudiencesMethod) == null) { - AnalyticsAdminServiceGrpc.getListAudiencesMethod = getListAudiencesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAudiences")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAudiencesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAudiencesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAudiences")) - .build(); - } - } - } - return getListAudiencesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAudience", - requestType = com.google.analytics.admin.v1alpha.CreateAudienceRequest.class, - responseType = com.google.analytics.admin.v1alpha.Audience.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAudienceMethod() { - io.grpc.MethodDescriptor getCreateAudienceMethod; - if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateAudienceMethod = AnalyticsAdminServiceGrpc.getCreateAudienceMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateAudienceMethod = getCreateAudienceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateAudienceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAudience")) - .build(); - } - } - } - return getCreateAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAudience", - requestType = com.google.analytics.admin.v1alpha.UpdateAudienceRequest.class, - responseType = com.google.analytics.admin.v1alpha.Audience.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAudienceMethod() { - io.grpc.MethodDescriptor getUpdateAudienceMethod; - if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAudienceMethod = AnalyticsAdminServiceGrpc.getUpdateAudienceMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAudienceMethod = getUpdateAudienceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.Audience.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAudience")) - .build(); - } - } - } - return getUpdateAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor getArchiveAudienceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveAudience", - requestType = com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getArchiveAudienceMethod() { - io.grpc.MethodDescriptor getArchiveAudienceMethod; - if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveAudienceMethod = AnalyticsAdminServiceGrpc.getArchiveAudienceMethod) == null) { - AnalyticsAdminServiceGrpc.getArchiveAudienceMethod = getArchiveAudienceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveAudience")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveAudience")) - .build(); - } - } - } - return getArchiveAudienceMethod; - } - - private static volatile io.grpc.MethodDescriptor 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 getGetSearchAds360LinkMethod() { - io.grpc.MethodDescriptor 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 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 getListSearchAds360LinksMethod() { - io.grpc.MethodDescriptor 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 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 getCreateSearchAds360LinkMethod() { - io.grpc.MethodDescriptor 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 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 getDeleteSearchAds360LinkMethod() { - io.grpc.MethodDescriptor 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 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 getUpdateSearchAds360LinkMethod() { - io.grpc.MethodDescriptor 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 getGetAttributionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttributionSettings", - requestType = com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAttributionSettingsMethod() { - io.grpc.MethodDescriptor getGetAttributionSettingsMethod; - if ((getGetAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAttributionSettingsMethod = getGetAttributionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttributionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAttributionSettings")) - .build(); - } - } - } - return getGetAttributionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAttributionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAttributionSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.AttributionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAttributionSettingsMethod() { - io.grpc.MethodDescriptor getUpdateAttributionSettingsMethod; - if ((getUpdateAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAttributionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAttributionSettingsMethod = getUpdateAttributionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttributionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AttributionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAttributionSettings")) - .build(); - } - } - } - return getUpdateAttributionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunAccessReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAccessReport", - requestType = com.google.analytics.admin.v1alpha.RunAccessReportRequest.class, - responseType = com.google.analytics.admin.v1alpha.RunAccessReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRunAccessReportMethod() { - io.grpc.MethodDescriptor getRunAccessReportMethod; - if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getRunAccessReportMethod = AnalyticsAdminServiceGrpc.getRunAccessReportMethod) == null) { - AnalyticsAdminServiceGrpc.getRunAccessReportMethod = getRunAccessReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAccessReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.RunAccessReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.RunAccessReportResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("RunAccessReport")) - .build(); - } - } - } - return getRunAccessReportMethod; - } - - private static volatile io.grpc.MethodDescriptor 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 getSetAutomatedGa4ConfigurationOptOutMethod() { - io.grpc.MethodDescriptor 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 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 getFetchAutomatedGa4ConfigurationOptOutMethod() { - io.grpc.MethodDescriptor 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 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 getGetBigQueryLinkMethod() { - io.grpc.MethodDescriptor 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 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 getListBigQueryLinksMethod() { - io.grpc.MethodDescriptor 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 = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AnalyticsAdminServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AnalyticsAdminServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static abstract class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountsMethod(), responseObserver); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionAccountTicketMethod(), responseObserver); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountSummariesMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPropertyMethod(), responseObserver); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPropertiesMethod(), responseObserver); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePropertyMethod(), responseObserver); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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 a GA4 Property.
-     * 
- */ - public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePropertyMethod(), responseObserver); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserLinkMethod(), responseObserver); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetUserLinksMethod(), responseObserver); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUserLinksMethod(), responseObserver); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAuditUserLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserLinkMethod(), responseObserver); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateUserLinksMethod(), responseObserver); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserLinkMethod(), responseObserver); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateUserLinksMethod(), responseObserver); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteUserLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFirebaseLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFirebaseLinkMethod(), responseObserver); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFirebaseLinksMethod(), responseObserver); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGlobalSiteTagMethod(), responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGoogleAdsLinksMethod(), responseObserver); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSharingSettingsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMeasurementProtocolSecretsMethod(), responseObserver); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeUserDataCollectionMethod(), responseObserver); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchChangeHistoryEventsMethod(), responseObserver); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleSignalsSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversionEventMethod(), responseObserver); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversionEventMethod(), responseObserver); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConversionEventsMethod(), responseObserver); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomDimensionsMethod(), responseObserver); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomMetricsMethod(), responseObserver); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataStreamMethod(), responseObserver); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataStreamMethod(), responseObserver); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataStreamMethod(), responseObserver); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataStreamsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataStreamMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single Audience.
-     * Audiences created before 2020 may not be supported.
-     * Default audiences will not show filter definitions.
-     * 
- */ - public void getAudience(com.google.analytics.admin.v1alpha.GetAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAudienceMethod(), responseObserver); - } - - /** - *
-     * Lists Audiences on a property.
-     * Audiences created before 2020 may not be supported.
-     * Default audiences will not show filter definitions.
-     * 
- */ - public void listAudiences(com.google.analytics.admin.v1alpha.ListAudiencesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAudiencesMethod(), responseObserver); - } - - /** - *
-     * Creates an Audience.
-     * 
- */ - public void createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAudienceMethod(), responseObserver); - } - - /** - *
-     * Updates an Audience on a property.
-     * 
- */ - public void updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAudienceMethod(), responseObserver); - } - - /** - *
-     * Archives an Audience on a property.
-     * 
- */ - public void archiveAudience(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(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 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); - } - - /** - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public void getAttributionSettings(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttributionSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates attribution settings on a property.
-     * 
- */ - public void updateAttributionSettings(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttributionSettingsMethod(), responseObserver); - } - - /** - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public void runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(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 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 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()) - .addMethod( - getGetAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAccountRequest, - com.google.analytics.admin.v1alpha.Account>( - this, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse>( - this, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account>( - this, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( - this, METHODID_PROVISION_ACCOUNT_TICKET))) - .addMethod( - getListAccountSummariesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest, - com.google.analytics.admin.v1alpha.ListAccountSummariesResponse>( - this, METHODID_LIST_ACCOUNT_SUMMARIES))) - .addMethod( - getGetPropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetPropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse>( - this, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - this, METHODID_UPDATE_PROPERTY))) - .addMethod( - getGetUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_GET_USER_LINK))) - .addMethod( - getBatchGetUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse>( - this, METHODID_BATCH_GET_USER_LINKS))) - .addMethod( - getListUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListUserLinksRequest, - com.google.analytics.admin.v1alpha.ListUserLinksResponse>( - this, METHODID_LIST_USER_LINKS))) - .addMethod( - getAuditUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.AuditUserLinksRequest, - com.google.analytics.admin.v1alpha.AuditUserLinksResponse>( - this, METHODID_AUDIT_USER_LINKS))) - .addMethod( - getCreateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_CREATE_USER_LINK))) - .addMethod( - getBatchCreateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse>( - this, METHODID_BATCH_CREATE_USER_LINKS))) - .addMethod( - getUpdateUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest, - com.google.analytics.admin.v1alpha.UserLink>( - this, METHODID_UPDATE_USER_LINK))) - .addMethod( - getBatchUpdateUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest, - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse>( - this, METHODID_BATCH_UPDATE_USER_LINKS))) - .addMethod( - getDeleteUserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_USER_LINK))) - .addMethod( - getBatchDeleteUserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest, - com.google.protobuf.Empty>( - this, METHODID_BATCH_DELETE_USER_LINKS))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink>( - this, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_FIREBASE_LINK))) - .addMethod( - getListFirebaseLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest, - com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse>( - this, METHODID_LIST_FIREBASE_LINKS))) - .addMethod( - getGetGlobalSiteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest, - com.google.analytics.admin.v1alpha.GlobalSiteTag>( - this, METHODID_GET_GLOBAL_SITE_TAG))) - .addMethod( - getCreateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_CREATE_GOOGLE_ADS_LINK))) - .addMethod( - getUpdateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1alpha.GoogleAdsLink>( - this, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_GOOGLE_ADS_LINK))) - .addMethod( - getListGoogleAdsLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse>( - this, METHODID_LIST_GOOGLE_ADS_LINKS))) - .addMethod( - getGetDataSharingSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1alpha.DataSharingSettings>( - this, METHODID_GET_DATA_SHARING_SETTINGS))) - .addMethod( - getGetMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getListMeasurementProtocolSecretsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse>( - this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) - .addMethod( - getCreateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getUpdateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret>( - this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getAcknowledgeUserDataCollectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse>( - this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) - .addMethod( - getSearchChangeHistoryEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( - this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) - .addMethod( - getGetGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_GET_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getUpdateGoogleSignalsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest, - com.google.analytics.admin.v1alpha.GoogleSignalsSettings>( - this, METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS))) - .addMethod( - getCreateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - this, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CONVERSION_EVENT))) - .addMethod( - getListConversionEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListConversionEventsRequest, - com.google.analytics.admin.v1alpha.ListConversionEventsResponse>( - this, METHODID_LIST_CONVERSION_EVENTS))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getListDisplayVideo360AdvertiserLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getUpdateDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink>( - this, METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getGetDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getListDisplayVideo360AdvertiserLinkProposalsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest, - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse>( - this, METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS))) - .addMethod( - getCreateDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getApproveDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse>( - this, METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCancelDisplayVideo360AdvertiserLinkProposalMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest, - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal>( - this, METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL))) - .addMethod( - getCreateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_CREATE_CUSTOM_DIMENSION))) - .addMethod( - getUpdateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_UPDATE_CUSTOM_DIMENSION))) - .addMethod( - getListCustomDimensionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest, - com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse>( - this, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>( - this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) - .addMethod( - getGetCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest, - com.google.analytics.admin.v1alpha.CustomDimension>( - this, METHODID_GET_CUSTOM_DIMENSION))) - .addMethod( - getCreateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_CREATE_CUSTOM_METRIC))) - .addMethod( - getUpdateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_UPDATE_CUSTOM_METRIC))) - .addMethod( - getListCustomMetricsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest, - com.google.analytics.admin.v1alpha.ListCustomMetricsResponse>( - this, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>( - this, METHODID_ARCHIVE_CUSTOM_METRIC))) - .addMethod( - getGetCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetCustomMetricRequest, - com.google.analytics.admin.v1alpha.CustomMetric>( - this, METHODID_GET_CUSTOM_METRIC))) - .addMethod( - getGetDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_GET_DATA_RETENTION_SETTINGS))) - .addMethod( - getUpdateDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRetentionSettings>( - this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) - .addMethod( - getCreateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_CREATE_DATA_STREAM))) - .addMethod( - getDeleteDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DATA_STREAM))) - .addMethod( - getUpdateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_UPDATE_DATA_STREAM))) - .addMethod( - getListDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListDataStreamsRequest, - com.google.analytics.admin.v1alpha.ListDataStreamsResponse>( - this, METHODID_LIST_DATA_STREAMS))) - .addMethod( - getGetDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataStreamRequest, - com.google.analytics.admin.v1alpha.DataStream>( - this, METHODID_GET_DATA_STREAM))) - .addMethod( - getGetAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>( - this, METHODID_GET_AUDIENCE))) - .addMethod( - getListAudiencesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAudiencesRequest, - com.google.analytics.admin.v1alpha.ListAudiencesResponse>( - this, METHODID_LIST_AUDIENCES))) - .addMethod( - getCreateAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>( - this, METHODID_CREATE_AUDIENCE))) - .addMethod( - getUpdateAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>( - this, METHODID_UPDATE_AUDIENCE))) - .addMethod( - getArchiveAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - 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( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings>( - this, METHODID_GET_ATTRIBUTION_SETTINGS))) - .addMethod( - getUpdateAttributionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest, - com.google.analytics.admin.v1alpha.AttributionSettings>( - this, METHODID_UPDATE_ATTRIBUTION_SETTINGS))) - .addMethod( - getRunAccessReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - 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(); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AnalyticsAdminServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public void updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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 a GA4 Property.
-     * 
- */ - public void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public void getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public void batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public void listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public void auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public void createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public void batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public void updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public void batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public void deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public void getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public void updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public void getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public void createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public void updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public void createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public void deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public void approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single Audience.
-     * Audiences created before 2020 may not be supported.
-     * Default audiences will not show filter definitions.
-     * 
- */ - public void getAudience(com.google.analytics.admin.v1alpha.GetAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAudienceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Audiences on a property.
-     * Audiences created before 2020 may not be supported.
-     * Default audiences will not show filter definitions.
-     * 
- */ - public void listAudiences(com.google.analytics.admin.v1alpha.ListAudiencesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAudiencesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an Audience.
-     * 
- */ - public void createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an Audience on a property.
-     * 
- */ - public void updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Archives an Audience on a property.
-     * 
- */ - 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 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(getUpdateSearchAds360LinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public void getAttributionSettings(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates attribution settings on a property.
-     * 
- */ - public void updateAttributionSettings(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public void runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), 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 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 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); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AnalyticsAdminServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account getAccount(com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountsResponse listAccounts(com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountsMethod(), getCallOptions(), request); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.protobuf.Empty deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Account updateAccount(com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse provisionAccountTicket(com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccountSummariesResponse listAccountSummaries(com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property getProperty(com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListPropertiesResponse listProperties(com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPropertiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property createProperty(com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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 a GA4 Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Property updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink getUserLink(com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse batchGetUserLinks(com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListUserLinksResponse listUserLinks(com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AuditUserLinksResponse auditUserLinks(com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAuditUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink createUserLink(com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse batchCreateUserLinks(com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.UserLink updateUserLink(com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse batchUpdateUserLinks(com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.protobuf.Empty deleteUserLink(com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteUserLinks(com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteUserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.FirebaseLink createFirebaseLink(com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteFirebaseLink(com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse listFirebaseLinks(com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GlobalSiteTag getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGlobalSiteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleAdsLink createGoogleAdsLink(com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleAdsLink updateGoogleAdsLink(com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteGoogleAdsLink(com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse listGoogleAdsLinks(com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataSharingSettings getDataSharingSettings(com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.protobuf.Empty deleteMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1alpha.MeasurementProtocolSecret updateMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse searchChangeHistoryEvents(com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings getGoogleSignalsSettings(com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.GoogleSignalsSettings updateGoogleSignalsSettings(com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleSignalsSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.protobuf.Empty deleteConversionEvent(com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListConversionEventsResponse listConversionEvents(com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConversionEventsMethod(), getCallOptions(), request); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse listDisplayVideo360AdvertiserLinks(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink createDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink updateDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal createDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.protobuf.Empty deleteDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse approveDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension createCustomDimension(com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension updateCustomDimension(com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomDimensionsResponse listCustomDimensions(com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomDimension(com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric createCustomMetric(com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric updateCustomMetric(com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListCustomMetricsResponse listCustomMetrics(com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomMetric(com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings getDataRetentionSettings(com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRetentionSettings updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream createDataStream(com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDataStream(com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream updateDataStream(com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListDataStreamsResponse listDataStreams(com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataStreamsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataStream getDataStream(com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * 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(com.google.analytics.admin.v1alpha.GetAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAudienceMethod(), getCallOptions(), request); - } - - /** - *
-     * 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(com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAudiencesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an Audience.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Audience createAudience(com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAudienceMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an Audience on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.Audience updateAudience(com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAudienceMethod(), getCallOptions(), request); - } - - /** - *
-     * Archives an Audience on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveAudience(com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - 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); - } - - /** - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AttributionSettings getAttributionSettings(com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttributionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates attribution settings on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AttributionSettings updateAttributionSettings(com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAttributionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public com.google.analytics.admin.v1alpha.RunAccessReportResponse runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { - 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); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AnalyticsAdminServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAccount( - com.google.analytics.admin.v1alpha.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAccounts( - com.google.analytics.admin.v1alpha.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAccount( - com.google.analytics.admin.v1alpha.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAccount( - com.google.analytics.admin.v1alpha.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture provisionAccountTicket( - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAccountSummaries( - com.google.analytics.admin.v1alpha.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProperty( - com.google.analytics.admin.v1alpha.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listProperties( - com.google.analytics.admin.v1alpha.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createProperty( - com.google.analytics.admin.v1alpha.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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 a GA4 Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteProperty( - com.google.analytics.admin.v1alpha.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProperty( - com.google.analytics.admin.v1alpha.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about a user's link to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getUserLink( - com.google.analytics.admin.v1alpha.GetUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchGetUserLinks( - com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all user links on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUserLinks( - com.google.analytics.admin.v1alpha.ListUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all user links on an account or property, including implicit ones
-     * that come from effective permissions granted by groups or organization
-     * admin roles.
-     * If a returned user link does not have direct permissions, they cannot
-     * be removed from the account or property directly with the DeleteUserLink
-     * command. They have to be removed from the group/etc that gives them
-     * permissions, which is currently only usable/discoverable in the GA or GMP
-     * UIs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture auditUserLinks( - com.google.analytics.admin.v1alpha.AuditUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAuditUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a user link on an account or property.
-     * If the user with the specified email already has permissions on the
-     * account or property, then the user's existing permissions will be unioned
-     * with the permissions specified in the new UserLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createUserLink( - com.google.analytics.admin.v1alpha.CreateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates information about multiple users' links to an account or property.
-     * This method is transactional. If any UserLink cannot be created, none of
-     * the UserLinks will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateUserLinks( - com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateUserLink( - com.google.analytics.admin.v1alpha.UpdateUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchUpdateUserLinks( - com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a user link on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUserLink( - com.google.analytics.admin.v1alpha.DeleteUserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchDeleteUserLinks( - com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteUserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createFirebaseLink( - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteFirebaseLink( - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFirebaseLinks( - com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the Site Tag for the specified web stream.
-     * Site Tags are immutable singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGlobalSiteTag( - com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGlobalSiteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createGoogleAdsLink( - com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateGoogleAdsLink( - com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteGoogleAdsLink( - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listGoogleAdsLinks( - com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataSharingSettings( - com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMeasurementProtocolSecrets( - com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateMeasurementProtocolSecret( - com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture acknowledgeUserDataCollection( - com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchChangeHistoryEvents( - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates Google Signals settings for a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateGoogleSignalsSettings( - com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleSignalsSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createConversionEvent( - com.google.analytics.admin.v1alpha.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getConversionEvent( - com.google.analytics.admin.v1alpha.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteConversionEvent( - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listConversionEvents( - com.google.analytics.admin.v1alpha.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); - } - - /** - *
-     * Look up a single DisplayVideo360AdvertiserLink
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all DisplayVideo360AdvertiserLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinks( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLink.
-     * This can only be utilized by users who have proper authorization both on
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DisplayVideo360AdvertiserLink on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDisplayVideo360AdvertiserLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DisplayVideo360AdvertiserLinkProposals on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDisplayVideo360AdvertiserLinkProposals( - com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
-     * This can only be used on cancelled proposals.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Approves a DisplayVideo360AdvertiserLinkProposal.
-     * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
-     * DisplayVideo360AdvertiserLink will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture approveDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getApproveDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels a DisplayVideo360AdvertiserLinkProposal.
-     * Cancelling can mean either:
-     * - 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCustomDimension( - com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCustomDimension( - com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCustomDimensions( - com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture archiveCustomDimension( - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCustomDimension( - com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCustomMetric( - com.google.analytics.admin.v1alpha.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCustomMetric( - com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCustomMetrics( - com.google.analytics.admin.v1alpha.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture archiveCustomMetric( - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCustomMetric( - com.google.analytics.admin.v1alpha.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataRetentionSettings( - com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataRetentionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDataStream( - com.google.analytics.admin.v1alpha.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDataStream( - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataStream( - com.google.analytics.admin.v1alpha.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataStreams( - com.google.analytics.admin.v1alpha.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataStream( - com.google.analytics.admin.v1alpha.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * 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 getAudience( - com.google.analytics.admin.v1alpha.GetAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAudienceMethod(), getCallOptions()), request); - } - - /** - *
-     * 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 listAudiences( - com.google.analytics.admin.v1alpha.ListAudiencesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAudiencesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an Audience.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAudience( - com.google.analytics.admin.v1alpha.CreateAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAudienceMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an Audience on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAudience( - com.google.analytics.admin.v1alpha.UpdateAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAudienceMethod(), getCallOptions()), request); - } - - /** - *
-     * Archives an Audience on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture archiveAudience( - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveAudienceMethod(), getCallOptions()), request); - } - - /** - *
-     * Look up a single SearchAds360Link
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture 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 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 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 updateSearchAds360Link( - com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSearchAds360LinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a AttributionSettings singleton.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAttributionSettings( - com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttributionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates attribution settings on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAttributionSettings( - com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a customized report of data access records. The report provides
-     * records of each time a user reads Google Analytics reporting data. Access
-     * records are retained for up to 2 years.
-     * Data Access Reports can be requested for a property. The property must be
-     * in Google Analytics 360. This method is only available to Administrators.
-     * These data access records include GA4 UI Reporting, GA4 UI Explorations,
-     * GA4 Data API, and other products like Firebase & Admob that can retrieve
-     * data from Google Analytics through a linkage. These records don't include
-     * property configuration changes like adding a stream or changing a
-     * property's time zone. For configuration change history, see
-     * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture runAccessReport( - com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { - 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 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 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 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 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; - private static final int METHODID_LIST_ACCOUNTS = 1; - private static final int METHODID_DELETE_ACCOUNT = 2; - private static final int METHODID_UPDATE_ACCOUNT = 3; - private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; - private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; - private static final int METHODID_GET_PROPERTY = 6; - private static final int METHODID_LIST_PROPERTIES = 7; - private static final int METHODID_CREATE_PROPERTY = 8; - private static final int METHODID_DELETE_PROPERTY = 9; - private static final int METHODID_UPDATE_PROPERTY = 10; - private static final int METHODID_GET_USER_LINK = 11; - private static final int METHODID_BATCH_GET_USER_LINKS = 12; - private static final int METHODID_LIST_USER_LINKS = 13; - private static final int METHODID_AUDIT_USER_LINKS = 14; - private static final int METHODID_CREATE_USER_LINK = 15; - private static final int METHODID_BATCH_CREATE_USER_LINKS = 16; - private static final int METHODID_UPDATE_USER_LINK = 17; - private static final int METHODID_BATCH_UPDATE_USER_LINKS = 18; - private static final int METHODID_DELETE_USER_LINK = 19; - private static final int METHODID_BATCH_DELETE_USER_LINKS = 20; - private static final int METHODID_CREATE_FIREBASE_LINK = 21; - private static final int METHODID_DELETE_FIREBASE_LINK = 22; - private static final int METHODID_LIST_FIREBASE_LINKS = 23; - private static final int METHODID_GET_GLOBAL_SITE_TAG = 24; - private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 25; - private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 26; - private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 27; - private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 28; - private static final int METHODID_GET_DATA_SHARING_SETTINGS = 29; - private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 30; - private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 31; - private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 32; - private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 33; - private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 34; - private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 35; - private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 36; - private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 37; - private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 38; - private static final int METHODID_CREATE_CONVERSION_EVENT = 39; - private static final int METHODID_GET_CONVERSION_EVENT = 40; - private static final int METHODID_DELETE_CONVERSION_EVENT = 41; - private static final int METHODID_LIST_CONVERSION_EVENTS = 42; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 43; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 44; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 45; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 46; - private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 47; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 48; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 49; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 50; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 51; - private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 52; - private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 53; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 54; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 55; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 56; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 57; - private static final int METHODID_GET_CUSTOM_DIMENSION = 58; - private static final int METHODID_CREATE_CUSTOM_METRIC = 59; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 60; - private static final int METHODID_LIST_CUSTOM_METRICS = 61; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 62; - private static final int METHODID_GET_CUSTOM_METRIC = 63; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 64; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 65; - private static final int METHODID_CREATE_DATA_STREAM = 66; - private static final int METHODID_DELETE_DATA_STREAM = 67; - private static final int METHODID_UPDATE_DATA_STREAM = 68; - private static final int METHODID_LIST_DATA_STREAMS = 69; - private static final int METHODID_GET_DATA_STREAM = 70; - private static final int METHODID_GET_AUDIENCE = 71; - private static final int METHODID_LIST_AUDIENCES = 72; - 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_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, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AnalyticsAdminServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_ACCOUNT: - serviceImpl.getAccount((com.google.analytics.admin.v1alpha.GetAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ACCOUNTS: - serviceImpl.listAccounts((com.google.analytics.admin.v1alpha.ListAccountsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ACCOUNT: - serviceImpl.deleteAccount((com.google.analytics.admin.v1alpha.DeleteAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ACCOUNT: - serviceImpl.updateAccount((com.google.analytics.admin.v1alpha.UpdateAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROVISION_ACCOUNT_TICKET: - serviceImpl.provisionAccountTicket((com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ACCOUNT_SUMMARIES: - serviceImpl.listAccountSummaries((com.google.analytics.admin.v1alpha.ListAccountSummariesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROPERTY: - serviceImpl.getProperty((com.google.analytics.admin.v1alpha.GetPropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PROPERTIES: - serviceImpl.listProperties((com.google.analytics.admin.v1alpha.ListPropertiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PROPERTY: - serviceImpl.createProperty((com.google.analytics.admin.v1alpha.CreatePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PROPERTY: - serviceImpl.deleteProperty((com.google.analytics.admin.v1alpha.DeletePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROPERTY: - serviceImpl.updateProperty((com.google.analytics.admin.v1alpha.UpdatePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_USER_LINK: - serviceImpl.getUserLink((com.google.analytics.admin.v1alpha.GetUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_USER_LINKS: - serviceImpl.batchGetUserLinks((com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USER_LINKS: - serviceImpl.listUserLinks((com.google.analytics.admin.v1alpha.ListUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_AUDIT_USER_LINKS: - serviceImpl.auditUserLinks((com.google.analytics.admin.v1alpha.AuditUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_USER_LINK: - serviceImpl.createUserLink((com.google.analytics.admin.v1alpha.CreateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_USER_LINKS: - serviceImpl.batchCreateUserLinks((com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_USER_LINK: - serviceImpl.updateUserLink((com.google.analytics.admin.v1alpha.UpdateUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_UPDATE_USER_LINKS: - serviceImpl.batchUpdateUserLinks((com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_USER_LINK: - serviceImpl.deleteUserLink((com.google.analytics.admin.v1alpha.DeleteUserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_USER_LINKS: - serviceImpl.batchDeleteUserLinks((com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_FIREBASE_LINK: - serviceImpl.createFirebaseLink((com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_FIREBASE_LINK: - serviceImpl.deleteFirebaseLink((com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FIREBASE_LINKS: - serviceImpl.listFirebaseLinks((com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_GLOBAL_SITE_TAG: - serviceImpl.getGlobalSiteTag((com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_GOOGLE_ADS_LINK: - serviceImpl.createGoogleAdsLink((com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GOOGLE_ADS_LINK: - serviceImpl.updateGoogleAdsLink((com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_GOOGLE_ADS_LINK: - serviceImpl.deleteGoogleAdsLink((com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_GOOGLE_ADS_LINKS: - serviceImpl.listGoogleAdsLinks((com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_SHARING_SETTINGS: - serviceImpl.getDataSharingSettings((com.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.getMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: - serviceImpl.listMeasurementProtocolSecrets((com.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.createMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.deleteMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.updateMeasurementProtocolSecret((com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: - serviceImpl.acknowledgeUserDataCollection((com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: - serviceImpl.searchChangeHistoryEvents((com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.getGoogleSignalsSettings((com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS: - serviceImpl.updateGoogleSignalsSettings((com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CONVERSION_EVENT: - serviceImpl.createConversionEvent((com.google.analytics.admin.v1alpha.CreateConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONVERSION_EVENT: - serviceImpl.getConversionEvent((com.google.analytics.admin.v1alpha.GetConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CONVERSION_EVENT: - serviceImpl.deleteConversionEvent((com.google.analytics.admin.v1alpha.DeleteConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONVERSION_EVENTS: - serviceImpl.listConversionEvents((com.google.analytics.admin.v1alpha.ListConversionEventsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.getDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS: - serviceImpl.listDisplayVideo360AdvertiserLinks((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.createDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.deleteDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK: - serviceImpl.updateDisplayVideo360AdvertiserLink((com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.getDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS: - serviceImpl.listDisplayVideo360AdvertiserLinkProposals((com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.createDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.deleteDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.approveDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL: - serviceImpl.cancelDisplayVideo360AdvertiserLinkProposal((com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUSTOM_DIMENSION: - serviceImpl.createCustomDimension((com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CUSTOM_DIMENSION: - serviceImpl.updateCustomDimension((com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUSTOM_DIMENSIONS: - serviceImpl.listCustomDimensions((com.google.analytics.admin.v1alpha.ListCustomDimensionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_DIMENSION: - serviceImpl.archiveCustomDimension((com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_DIMENSION: - serviceImpl.getCustomDimension((com.google.analytics.admin.v1alpha.GetCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUSTOM_METRIC: - serviceImpl.createCustomMetric((com.google.analytics.admin.v1alpha.CreateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CUSTOM_METRIC: - serviceImpl.updateCustomMetric((com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUSTOM_METRICS: - serviceImpl.listCustomMetrics((com.google.analytics.admin.v1alpha.ListCustomMetricsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_METRIC: - serviceImpl.archiveCustomMetric((com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_METRIC: - serviceImpl.getCustomMetric((com.google.analytics.admin.v1alpha.GetCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_RETENTION_SETTINGS: - serviceImpl.getDataRetentionSettings((com.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_RETENTION_SETTINGS: - serviceImpl.updateDataRetentionSettings((com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DATA_STREAM: - serviceImpl.createDataStream((com.google.analytics.admin.v1alpha.CreateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_STREAM: - serviceImpl.deleteDataStream((com.google.analytics.admin.v1alpha.DeleteDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_STREAM: - serviceImpl.updateDataStream((com.google.analytics.admin.v1alpha.UpdateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_STREAMS: - serviceImpl.listDataStreams((com.google.analytics.admin.v1alpha.ListDataStreamsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_STREAM: - serviceImpl.getDataStream((com.google.analytics.admin.v1alpha.GetDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AUDIENCE: - serviceImpl.getAudience((com.google.analytics.admin.v1alpha.GetAudienceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AUDIENCES: - serviceImpl.listAudiences((com.google.analytics.admin.v1alpha.ListAudiencesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AUDIENCE: - serviceImpl.createAudience((com.google.analytics.admin.v1alpha.CreateAudienceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AUDIENCE: - serviceImpl.updateAudience((com.google.analytics.admin.v1alpha.UpdateAudienceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ARCHIVE_AUDIENCE: - serviceImpl.archiveAudience((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) 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ATTRIBUTION_SETTINGS: - serviceImpl.updateAttributionSettings((com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_ACCESS_REPORT: - serviceImpl.runAccessReport((com.google.analytics.admin.v1alpha.RunAccessReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_AUTOMATED_GA4CONFIGURATION_OPT_OUT: - serviceImpl.setAutomatedGa4ConfigurationOptOut((com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_AUTOMATED_GA4CONFIGURATION_OPT_OUT: - serviceImpl.fetchAutomatedGa4ConfigurationOptOut((com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest) request, - (io.grpc.stub.StreamObserver) 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) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AnalyticsAdminServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AnalyticsAdminService"); - } - } - - private static final class AnalyticsAdminServiceFileDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier { - AnalyticsAdminServiceFileDescriptorSupplier() {} - } - - private static final class AnalyticsAdminServiceMethodDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) - .addMethod(getGetAccountMethod()) - .addMethod(getListAccountsMethod()) - .addMethod(getDeleteAccountMethod()) - .addMethod(getUpdateAccountMethod()) - .addMethod(getProvisionAccountTicketMethod()) - .addMethod(getListAccountSummariesMethod()) - .addMethod(getGetPropertyMethod()) - .addMethod(getListPropertiesMethod()) - .addMethod(getCreatePropertyMethod()) - .addMethod(getDeletePropertyMethod()) - .addMethod(getUpdatePropertyMethod()) - .addMethod(getGetUserLinkMethod()) - .addMethod(getBatchGetUserLinksMethod()) - .addMethod(getListUserLinksMethod()) - .addMethod(getAuditUserLinksMethod()) - .addMethod(getCreateUserLinkMethod()) - .addMethod(getBatchCreateUserLinksMethod()) - .addMethod(getUpdateUserLinkMethod()) - .addMethod(getBatchUpdateUserLinksMethod()) - .addMethod(getDeleteUserLinkMethod()) - .addMethod(getBatchDeleteUserLinksMethod()) - .addMethod(getCreateFirebaseLinkMethod()) - .addMethod(getDeleteFirebaseLinkMethod()) - .addMethod(getListFirebaseLinksMethod()) - .addMethod(getGetGlobalSiteTagMethod()) - .addMethod(getCreateGoogleAdsLinkMethod()) - .addMethod(getUpdateGoogleAdsLinkMethod()) - .addMethod(getDeleteGoogleAdsLinkMethod()) - .addMethod(getListGoogleAdsLinksMethod()) - .addMethod(getGetDataSharingSettingsMethod()) - .addMethod(getGetMeasurementProtocolSecretMethod()) - .addMethod(getListMeasurementProtocolSecretsMethod()) - .addMethod(getCreateMeasurementProtocolSecretMethod()) - .addMethod(getDeleteMeasurementProtocolSecretMethod()) - .addMethod(getUpdateMeasurementProtocolSecretMethod()) - .addMethod(getAcknowledgeUserDataCollectionMethod()) - .addMethod(getSearchChangeHistoryEventsMethod()) - .addMethod(getGetGoogleSignalsSettingsMethod()) - .addMethod(getUpdateGoogleSignalsSettingsMethod()) - .addMethod(getCreateConversionEventMethod()) - .addMethod(getGetConversionEventMethod()) - .addMethod(getDeleteConversionEventMethod()) - .addMethod(getListConversionEventsMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinksMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getUpdateDisplayVideo360AdvertiserLinkMethod()) - .addMethod(getGetDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getListDisplayVideo360AdvertiserLinkProposalsMethod()) - .addMethod(getCreateDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getDeleteDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getApproveDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCancelDisplayVideo360AdvertiserLinkProposalMethod()) - .addMethod(getCreateCustomDimensionMethod()) - .addMethod(getUpdateCustomDimensionMethod()) - .addMethod(getListCustomDimensionsMethod()) - .addMethod(getArchiveCustomDimensionMethod()) - .addMethod(getGetCustomDimensionMethod()) - .addMethod(getCreateCustomMetricMethod()) - .addMethod(getUpdateCustomMetricMethod()) - .addMethod(getListCustomMetricsMethod()) - .addMethod(getArchiveCustomMetricMethod()) - .addMethod(getGetCustomMetricMethod()) - .addMethod(getGetDataRetentionSettingsMethod()) - .addMethod(getUpdateDataRetentionSettingsMethod()) - .addMethod(getCreateDataStreamMethod()) - .addMethod(getDeleteDataStreamMethod()) - .addMethod(getUpdateDataStreamMethod()) - .addMethod(getListDataStreamsMethod()) - .addMethod(getGetDataStreamMethod()) - .addMethod(getGetAudienceMethod()) - .addMethod(getListAudiencesMethod()) - .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(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java deleted file mode 100644 index 3140c9e04fcb..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionHeaderOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessDimensionHeaderOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimensionHeader) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The dimension's name; for example 'userEmail'.
-   * 
- * - * string dimension_name = 1; - * @return The dimensionName. - */ - java.lang.String getDimensionName(); - /** - *
-   * The dimension's name; for example 'userEmail'.
-   * 
- * - * string dimension_name = 1; - * @return The bytes for dimensionName. - */ - com.google.protobuf.ByteString - getDimensionNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java deleted file mode 100644 index 662526fc300a..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricHeaderOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessMetricHeaderOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricHeader) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The metric's name; for example 'accessCount'.
-   * 
- * - * string metric_name = 1; - * @return The metricName. - */ - java.lang.String getMetricName(); - /** - *
-   * The metric's name; for example 'accessCount'.
-   * 
- * - * string metric_name = 1; - * @return The bytes for metricName. - */ - com.google.protobuf.ByteString - getMetricNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java deleted file mode 100644 index cbb334eee0fb..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValueOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessMetricValueOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetricValue) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The measurement value. For example, this value may be '13'.
-   * 
- * - * string value = 1; - * @return The value. - */ - java.lang.String getValue(); - /** - *
-   * The measurement value. For example, this value may be '13'.
-   * 
- * - * string value = 1; - * @return The bytes for value. - */ - com.google.protobuf.ByteString - getValueBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java deleted file mode 100644 index 529e856779b8..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatusOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public interface AccessQuotaStatusOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessQuotaStatus) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Quota consumed by this request.
-   * 
- * - * int32 consumed = 1; - * @return The consumed. - */ - int getConsumed(); - - /** - *
-   * Quota remaining after this request.
-   * 
- * - * int32 remaining = 2; - * @return The remaining. - */ - int getRemaining(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java deleted file mode 100644 index 054464aeb42a..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java +++ /dev/null @@ -1,350 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/access_report.proto - -package com.google.analytics.admin.v1alpha; - -public final class AccessReportProto { - private AccessReportProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/analytics/admin/v1alpha/access_" + - "report.proto\022\036google.analytics.admin.v1a" + - "lpha\")\n\017AccessDimension\022\026\n\016dimension_nam" + - "e\030\001 \001(\t\"#\n\014AccessMetric\022\023\n\013metric_name\030\001" + - " \001(\t\"7\n\017AccessDateRange\022\022\n\nstart_date\030\001 " + - "\001(\t\022\020\n\010end_date\030\002 \001(\t\"\344\002\n\026AccessFilterEx" + - "pression\022O\n\tand_group\030\001 \001(\0132:.google.ana" + - "lytics.admin.v1alpha.AccessFilterExpress" + - "ionListH\000\022N\n\010or_group\030\002 \001(\0132:.google.ana" + - "lytics.admin.v1alpha.AccessFilterExpress" + - "ionListH\000\022P\n\016not_expression\030\003 \001(\01326.goog" + - "le.analytics.admin.v1alpha.AccessFilterE" + - "xpressionH\000\022E\n\raccess_filter\030\004 \001(\0132,.goo" + - "gle.analytics.admin.v1alpha.AccessFilter" + - "H\000B\020\n\016one_expression\"i\n\032AccessFilterExpr" + - "essionList\022K\n\013expressions\030\001 \003(\01326.google" + - ".analytics.admin.v1alpha.AccessFilterExp" + - "ression\"\351\002\n\014AccessFilter\022K\n\rstring_filte" + - "r\030\002 \001(\01322.google.analytics.admin.v1alpha" + - ".AccessStringFilterH\000\022L\n\016in_list_filter\030" + - "\003 \001(\01322.google.analytics.admin.v1alpha.A" + - "ccessInListFilterH\000\022M\n\016numeric_filter\030\004 " + - "\001(\01323.google.analytics.admin.v1alpha.Acc" + - "essNumericFilterH\000\022M\n\016between_filter\030\005 \001" + - "(\01323.google.analytics.admin.v1alpha.Acce" + - "ssBetweenFilterH\000\022\022\n\nfield_name\030\001 \001(\tB\014\n" + - "\none_filter\"\225\002\n\022AccessStringFilter\022P\n\nma" + - "tch_type\030\001 \001(\0162<.google.analytics.admin." + - "v1alpha.AccessStringFilter.MatchType\022\r\n\005" + - "value\030\002 \001(\t\022\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n\t" + - "MatchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n" + - "\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020\003" + - "\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTI" + - "AL_REGEXP\020\006\"<\n\022AccessInListFilter\022\016\n\006val" + - "ues\030\001 \003(\t\022\026\n\016case_sensitive\030\002 \001(\010\"\254\002\n\023Ac" + - "cessNumericFilter\022P\n\toperation\030\001 \001(\0162=.g" + - "oogle.analytics.admin.v1alpha.AccessNume" + - "ricFilter.Operation\022;\n\005value\030\002 \001(\0132,.goo" + - "gle.analytics.admin.v1alpha.NumericValue" + - "\"\205\001\n\tOperation\022\031\n\025OPERATION_UNSPECIFIED\020" + - "\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n\022LESS_THAN" + - "_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022\031\n\025GREATER" + - "_THAN_OR_EQUAL\020\005\"\227\001\n\023AccessBetweenFilter" + - "\022@\n\nfrom_value\030\001 \001(\0132,.google.analytics." + - "admin.v1alpha.NumericValue\022>\n\010to_value\030\002" + - " \001(\0132,.google.analytics.admin.v1alpha.Nu" + - "mericValue\"J\n\014NumericValue\022\025\n\013int64_valu" + - "e\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone" + - "_value\"\355\003\n\rAccessOrderBy\022M\n\006metric\030\001 \001(\013" + - "2;.google.analytics.admin.v1alpha.Access" + - "OrderBy.MetricOrderByH\000\022S\n\tdimension\030\002 \001" + - "(\0132>.google.analytics.admin.v1alpha.Acce" + - "ssOrderBy.DimensionOrderByH\000\022\014\n\004desc\030\003 \001" + - "(\010\032$\n\rMetricOrderBy\022\023\n\013metric_name\030\001 \001(\t" + - "\032\363\001\n\020DimensionOrderBy\022\026\n\016dimension_name\030" + - "\001 \001(\t\022\\\n\norder_type\030\002 \001(\0162H.google.analy" + - "tics.admin.v1alpha.AccessOrderBy.Dimensi" + - "onOrderBy.OrderType\"i\n\tOrderType\022\032\n\026ORDE" + - "R_TYPE_UNSPECIFIED\020\000\022\020\n\014ALPHANUMERIC\020\001\022!" + - "\n\035CASE_INSENSITIVE_ALPHANUMERIC\020\002\022\013\n\007NUM" + - "ERIC\020\003B\016\n\014one_order_by\"/\n\025AccessDimensio" + - "nHeader\022\026\n\016dimension_name\030\001 \001(\t\")\n\022Acces" + - "sMetricHeader\022\023\n\013metric_name\030\001 \001(\t\"\245\001\n\tA" + - "ccessRow\022N\n\020dimension_values\030\001 \003(\01324.goo" + - "gle.analytics.admin.v1alpha.AccessDimens" + - "ionValue\022H\n\rmetric_values\030\002 \003(\01321.google" + - ".analytics.admin.v1alpha.AccessMetricVal" + - "ue\"%\n\024AccessDimensionValue\022\r\n\005value\030\001 \001(" + - "\t\"\"\n\021AccessMetricValue\022\r\n\005value\030\001 \001(\t\"\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" + - "le.analytics.admin.v1alpha.AccessQuotaSt" + - "atus\022N\n\023concurrent_requests\030\003 \001(\01321.goog" + - "le.analytics.admin.v1alpha.AccessQuotaSt" + - "atus\022]\n\"server_errors_per_project_per_ho" + - "ur\030\004 \001(\01321.google.analytics.admin.v1alph" + - "a.AccessQuotaStatus\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(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor, - new java.lang.String[] { "DimensionName", }); - internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor, - new java.lang.String[] { "MetricName", }); - internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor, - new java.lang.String[] { "StartDate", "EndDate", }); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor, - new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "AccessFilter", "OneExpression", }); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor, - new java.lang.String[] { "Expressions", }); - internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor, - new java.lang.String[] { "StringFilter", "InListFilter", "NumericFilter", "BetweenFilter", "FieldName", "OneFilter", }); - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor, - new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor, - new java.lang.String[] { "Values", "CaseSensitive", }); - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor, - new java.lang.String[] { "Operation", "Value", }); - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor, - new java.lang.String[] { "FromValue", "ToValue", }); - internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor, - new java.lang.String[] { "Int64Value", "DoubleValue", "OneValue", }); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor, - new java.lang.String[] { "Metric", "Dimension", "Desc", "OneOrderBy", }); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor = - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor, - new java.lang.String[] { "MetricName", }); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor = - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor, - new java.lang.String[] { "DimensionName", "OrderType", }); - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor, - new java.lang.String[] { "DimensionName", }); - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor, - new java.lang.String[] { "MetricName", }); - internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor, - new java.lang.String[] { "DimensionValues", "MetricValues", }); - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor, - new java.lang.String[] { "Value", }); - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor, - new java.lang.String[] { "Value", }); - internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor, - new java.lang.String[] { "TokensPerDay", "TokensPerHour", "ConcurrentRequests", "ServerErrorsPerProjectPerHour", "TokensPerProjectPerHour", }); - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor, - new java.lang.String[] { "Consumed", "Remaining", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java deleted file mode 100644 index 6c0aab20c0c3..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AcknowledgeUserDataCollectionResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// 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 AcknowledgeUserDataCollectionResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java deleted file mode 100644 index 6dfb8f638b63..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java +++ /dev/null @@ -1,2248 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/analytics_admin.proto - -package com.google.analytics.admin.v1alpha; - -public final class AnalyticsAdminProto { - private AnalyticsAdminProto() {} - 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_RunAccessReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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 - internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/analytics/admin/v1alpha/analyti" + - "cs_admin.proto\022\036google.analytics.admin.v" + - "1alpha\0322google/analytics/admin/v1alpha/a" + - "ccess_report.proto\032-google/analytics/adm" + - "in/v1alpha/audience.proto\032.google/analyt" + - "ics/admin/v1alpha/resources.proto\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032\033google/pro" + - "tobuf/empty.proto\032 google/protobuf/field" + - "_mask.proto\032\037google/protobuf/timestamp.p" + - "roto\"\244\004\n\026RunAccessReportRequest\022\016\n\006entit" + - "y\030\001 \001(\t\022C\n\ndimensions\030\002 \003(\0132/.google.ana" + - "lytics.admin.v1alpha.AccessDimension\022=\n\007" + - "metrics\030\003 \003(\0132,.google.analytics.admin.v" + - "1alpha.AccessMetric\022D\n\013date_ranges\030\004 \003(\013" + - "2/.google.analytics.admin.v1alpha.Access" + - "DateRange\022P\n\020dimension_filter\030\005 \001(\01326.go" + - "ogle.analytics.admin.v1alpha.AccessFilte" + - "rExpression\022M\n\rmetric_filter\030\006 \001(\01326.goo" + - "gle.analytics.admin.v1alpha.AccessFilter" + - "Expression\022\016\n\006offset\030\007 \001(\003\022\r\n\005limit\030\010 \001(" + - "\003\022\021\n\ttime_zone\030\t \001(\t\022@\n\torder_bys\030\n \003(\0132" + - "-.google.analytics.admin.v1alpha.AccessO" + - "rderBy\022\033\n\023return_entity_quota\030\013 \001(\010\"\277\002\n\027" + - "RunAccessReportResponse\022P\n\021dimension_hea" + - "ders\030\001 \003(\01325.google.analytics.admin.v1al" + - "pha.AccessDimensionHeader\022J\n\016metric_head" + - "ers\030\002 \003(\01322.google.analytics.admin.v1alp" + - "ha.AccessMetricHeader\0227\n\004rows\030\003 \003(\0132).go" + - "ogle.analytics.admin.v1alpha.AccessRow\022\021" + - "\n\trow_count\030\004 \001(\005\022:\n\005quota\030\005 \001(\0132+.googl" + - "e.analytics.admin.v1alpha.AccessQuota\"P\n" + - "\021GetAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'" + - "\n%analyticsadmin.googleapis.com/Account\"" + - "R\n\023ListAccountsRequest\022\021\n\tpage_size\030\001 \001(" + - "\005\022\022\n\npage_token\030\002 \001(\t\022\024\n\014show_deleted\030\003 " + - "\001(\010\"j\n\024ListAccountsResponse\0229\n\010accounts\030" + - "\001 \003(\0132\'.google.analytics.admin.v1alpha.A" + - "ccount\022\027\n\017next_page_token\030\002 \001(\t\"S\n\024Delet" + - "eAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a" + - "nalyticsadmin.googleapis.com/Account\"\213\001\n" + - "\024UpdateAccountRequest\022=\n\007account\030\001 \001(\0132\'" + - ".google.analytics.admin.v1alpha.AccountB" + - "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMaskB\003\340A\002\"o\n\035ProvisionAccountTi" + - "cketRequest\0228\n\007account\030\001 \001(\0132\'.google.an" + - "alytics.admin.v1alpha.Account\022\024\n\014redirec" + - "t_uri\030\002 \001(\t\";\n\036ProvisionAccountTicketRes" + - "ponse\022\031\n\021account_ticket_id\030\001 \001(\t\"R\n\022GetP" + - "ropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&an" + - "alyticsadmin.googleapis.com/Property\"i\n\025" + - "ListPropertiesRequest\022\023\n\006filter\030\001 \001(\tB\003\340" + - "A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + - "\t\022\024\n\014show_deleted\030\004 \001(\010\"o\n\026ListPropertie" + - "sResponse\022<\n\nproperties\030\001 \003(\0132(.google.a" + - "nalytics.admin.v1alpha.Property\022\027\n\017next_" + - "page_token\030\002 \001(\t\"\216\001\n\025UpdatePropertyReque" + - "st\022?\n\010property\030\001 \001(\0132(.google.analytics." + - "admin.v1alpha.PropertyB\003\340A\002\0224\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + - "\002\"X\n\025CreatePropertyRequest\022?\n\010property\030\001" + - " \001(\0132(.google.analytics.admin.v1alpha.Pr" + - "opertyB\003\340A\002\"U\n\025DeletePropertyRequest\022<\n\004" + - "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" + - "eapis.com/Property\"R\n\022GetUserLinkRequest" + - "\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.g" + - "oogleapis.com/UserLink\"\231\001\n\030BatchGetUserL" + - "inksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&ana" + - "lyticsadmin.googleapis.com/UserLink\022=\n\005n" + - "ames\030\002 \003(\tB.\340A\002\372A(\n&analyticsadmin.googl" + - "eapis.com/UserLink\"Y\n\031BatchGetUserLinksR" + - "esponse\022<\n\nuser_links\030\001 \003(\0132(.google.ana" + - "lytics.admin.v1alpha.UserLink\"}\n\024ListUse" + - "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" + - "nalyticsadmin.googleapis.com/UserLink\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025" + - "ListUserLinksResponse\022<\n\nuser_links\030\001 \003(" + - "\0132(.google.analytics.admin.v1alpha.UserL" + - "ink\022\027\n\017next_page_token\030\002 \001(\t\"~\n\025AuditUse" + - "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a" + - "nalyticsadmin.googleapis.com/UserLink\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026" + - "AuditUserLinksResponse\022A\n\nuser_links\030\001 \003" + - "(\0132-.google.analytics.admin.v1alpha.Audi" + - "tUserLink\022\027\n\017next_page_token\030\002 \001(\t\"\267\001\n\025C" + - "reateUserLinkRequest\022>\n\006parent\030\001 \001(\tB.\340A" + - "\002\372A(\022&analyticsadmin.googleapis.com/User" + - "Link\022\034\n\017notify_new_user\030\002 \001(\010B\003\340A\001\022@\n\tus" + - "er_link\030\003 \001(\0132(.google.analytics.admin.v" + - "1alpha.UserLinkB\003\340A\002\"\312\001\n\033BatchCreateUser" + - "LinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&an" + - "alyticsadmin.googleapis.com/UserLink\022\035\n\020" + - "notify_new_users\030\002 \001(\010B\003\340A\001\022L\n\010requests\030" + - "\003 \003(\01325.google.analytics.admin.v1alpha.C" + - "reateUserLinkRequestB\003\340A\002\"\\\n\034BatchCreate" + - "UserLinksResponse\022<\n\nuser_links\030\001 \003(\0132(." + - "google.analytics.admin.v1alpha.UserLink\"" + - "Y\n\025UpdateUserLinkRequest\022@\n\tuser_link\030\001 " + - "\001(\0132(.google.analytics.admin.v1alpha.Use" + - "rLinkB\003\340A\002\"\253\001\n\033BatchUpdateUserLinksReque" + - "st\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadm" + - "in.googleapis.com/UserLink\022L\n\010requests\030\002" + - " \003(\01325.google.analytics.admin.v1alpha.Up" + - "dateUserLinkRequestB\003\340A\002\"\\\n\034BatchUpdateU" + - "serLinksResponse\022<\n\nuser_links\030\001 \003(\0132(.g" + - "oogle.analytics.admin.v1alpha.UserLink\"U" + - "\n\025DeleteUserLinkRequest\022<\n\004name\030\001 \001(\tB.\340" + - "A\002\372A(\n&analyticsadmin.googleapis.com/Use" + - "rLink\"\253\001\n\033BatchDeleteUserLinksRequest\022>\n" + - "\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.go" + - "ogleapis.com/UserLink\022L\n\010requests\030\002 \003(\0132" + - "5.google.analytics.admin.v1alpha.DeleteU" + - "serLinkRequestB\003\340A\002\"\251\001\n\031CreateFirebaseLi" + - "nkRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analy" + - "ticsadmin.googleapis.com/FirebaseLink\022H\n" + - "\rfirebase_link\030\002 \001(\0132,.google.analytics." + - "admin.v1alpha.FirebaseLinkB\003\340A\002\"]\n\031Delet" + - "eFirebaseLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + - "A,\n*analyticsadmin.googleapis.com/Fireba" + - "seLink\"\205\001\n\030ListFirebaseLinksRequest\022B\n\006p" + - "arent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.goog" + - "leapis.com/FirebaseLink\022\021\n\tpage_size\030\002 \001" + - "(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListFirebaseLi" + - "nksResponse\022D\n\016firebase_links\030\001 \003(\0132,.go" + - "ogle.analytics.admin.v1alpha.FirebaseLin" + - "k\022\027\n\017next_page_token\030\002 \001(\t\"\\\n\027GetGlobalS" + - "iteTagRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+ana" + - "lyticsadmin.googleapis.com/GlobalSiteTag" + - "\"\256\001\n\032CreateGoogleAdsLinkRequest\022C\n\006paren" + - "t\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.googleap" + - "is.com/GoogleAdsLink\022K\n\017google_ads_link\030" + - "\002 \001(\0132-.google.analytics.admin.v1alpha.G" + - "oogleAdsLinkB\003\340A\002\"\232\001\n\032UpdateGoogleAdsLin" + - "kRequest\022F\n\017google_ads_link\030\001 \001(\0132-.goog" + - "le.analytics.admin.v1alpha.GoogleAdsLink" + - "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" + - "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" + - "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" + - "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" + - "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" + - "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\"~\n\032ListGoogleAdsLinksResponse\022" + - "G\n\020google_ads_links\030\001 \003(\0132-.google.analy" + - "tics.admin.v1alpha.GoogleAdsLink\022\027\n\017next" + - "_page_token\030\002 \001(\t\"h\n\035GetDataSharingSetti" + - "ngsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyt" + - "icsadmin.googleapis.com/DataSharingSetti" + - "ngs\"D\n\033ListAccountSummariesRequest\022\021\n\tpa" + - "ge_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034Li" + - "stAccountSummariesResponse\022I\n\021account_su" + - "mmaries\030\001 \003(\0132..google.analytics.admin.v" + - "1alpha.AccountSummary\022\027\n\017next_page_token" + - "\030\002 \001(\t\"\206\001\n$AcknowledgeUserDataCollection" + - "Request\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analy" + - "ticsadmin.googleapis.com/Property\022\034\n\017ack" + - "nowledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUs" + - "erDataCollectionResponse\"\203\004\n SearchChang" + - "eHistoryEventsRequest\022>\n\007account\030\001 \001(\tB-" + - "\340A\002\372A\'\n%analyticsadmin.googleapis.com/Ac" + - "count\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analyti" + - "csadmin.googleapis.com/Property\022U\n\rresou" + - "rce_type\030\003 \003(\01629.google.analytics.admin." + - "v1alpha.ChangeHistoryResourceTypeB\003\340A\001\022?" + - "\n\006action\030\004 \003(\0162*.google.analytics.admin." + - "v1alpha.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005" + - " \003(\tB\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\001\022;\n\022late" + - "st_change_time\030\007 \001(\0132\032.google.protobuf.T" + - "imestampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n" + - "\npage_token\030\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeH" + - "istoryEventsResponse\022Q\n\025change_history_e" + - "vents\030\001 \003(\01322.google.analytics.admin.v1a" + - "lpha.ChangeHistoryEvent\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"t\n#GetMeasurementProtocolSecret" + - "Request\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analytics" + - "admin.googleapis.com/MeasurementProtocol" + - "Secret\"\336\001\n&CreateMeasurementProtocolSecr" + - "etRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analy" + - "ticsadmin.googleapis.com/MeasurementProt" + - "ocolSecret\022c\n\033measurement_protocol_secre" + - "t\030\002 \001(\01329.google.analytics.admin.v1alpha" + - ".MeasurementProtocolSecretB\003\340A\002\"w\n&Delet" + - "eMeasurementProtocolSecretRequest\022M\n\004nam" + - "e\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.googleap" + - "is.com/MeasurementProtocolSecret\"\276\001\n&Upd" + - "ateMeasurementProtocolSecretRequest\022c\n\033m" + - "easurement_protocol_secret\030\001 \001(\01329.googl" + - "e.analytics.admin.v1alpha.MeasurementPro" + - "tocolSecretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032." + - "google.protobuf.FieldMask\"\237\001\n%ListMeasur" + - "ementProtocolSecretsRequest\022O\n\006parent\030\001 " + - "\001(\tB?\340A\002\372A9\0227analyticsadmin.googleapis.c" + - "om/MeasurementProtocolSecret\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\242\001\n&ListMeas" + - "urementProtocolSecretsResponse\022_\n\034measur" + - "ement_protocol_secrets\030\001 \003(\01329.google.an" + - "alytics.admin.v1alpha.MeasurementProtoco" + - "lSecret\022\027\n\017next_page_token\030\002 \001(\t\"l\n\037GetG" + - "oogleSignalsSettingsRequest\022I\n\004name\030\001 \001(" + - "\tB;\340A\002\372A5\n3analyticsadmin.googleapis.com" + - "/GoogleSignalsSettings\"\267\001\n\"UpdateGoogleS" + - "ignalsSettingsRequest\022[\n\027google_signals_" + - "settings\030\001 \001(\01325.google.analytics.admin." + - "v1alpha.GoogleSignalsSettingsB\003\340A\002\0224\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "askB\003\340A\002\"\265\001\n\034CreateConversionEventReques" + - "t\022N\n\020conversion_event\030\001 \001(\0132/.google.ana" + - "lytics.admin.v1alpha.ConversionEventB\003\340A" + - "\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/\022-analyticsadmi" + - "n.googleapis.com/ConversionEvent\"`\n\031GetC" + - "onversionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + - "\372A/\n-analyticsadmin.googleapis.com/Conve" + - "rsionEvent\"c\n\034DeleteConversionEventReque" + - "st\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin" + - ".googleapis.com/ConversionEvent\"\213\001\n\033List" + - "ConversionEventsRequest\022E\n\006parent\030\001 \001(\tB" + - "5\340A\002\372A/\022-analyticsadmin.googleapis.com/C" + - "onversionEvent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + - "e_token\030\003 \001(\t\"\203\001\n\034ListConversionEventsRe" + - "sponse\022J\n\021conversion_events\030\001 \003(\0132/.goog" + - "le.analytics.admin.v1alpha.ConversionEve" + - "nt\022\027\n\017next_page_token\030\002 \001(\t\"|\n\'GetDispla" + - "yVideo360AdvertiserLinkRequest\022Q\n\004name\030\001" + - " \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis." + - "com/DisplayVideo360AdvertiserLink\"\247\001\n)Li" + - "stDisplayVideo360AdvertiserLinksRequest\022" + - "S\n\006parent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin." + - "googleapis.com/DisplayVideo360Advertiser" + - "Link\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + - "\001(\t\"\260\001\n*ListDisplayVideo360AdvertiserLin" + - "ksResponse\022i\n\"display_video_360_advertis" + - "er_links\030\001 \003(\0132=.google.analytics.admin." + - "v1alpha.DisplayVideo360AdvertiserLink\022\027\n" + - "\017next_page_token\030\002 \001(\t\"\360\001\n*CreateDisplay" + - "Video360AdvertiserLinkRequest\022S\n\006parent\030" + - "\001 \001(\tBC\340A\002\372A=\022;analyticsadmin.googleapis" + - ".com/DisplayVideo360AdvertiserLink\022m\n!di" + - "splay_video_360_advertiser_link\030\002 \001(\0132=." + - "google.analytics.admin.v1alpha.DisplayVi" + - "deo360AdvertiserLinkB\003\340A\002\"\177\n*DeleteDispl" + - "ayVideo360AdvertiserLinkRequest\022Q\n\004name\030" + - "\001 \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis" + - ".com/DisplayVideo360AdvertiserLink\"\314\001\n*U" + - "pdateDisplayVideo360AdvertiserLinkReques" + - "t\022h\n!display_video_360_advertiser_link\030\001" + - " \001(\0132=.google.analytics.admin.v1alpha.Di" + - "splayVideo360AdvertiserLink\0224\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + - "\002\"\214\001\n/GetDisplayVideo360AdvertiserLinkPr" + - "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana" + - "lyticsadmin.googleapis.com/DisplayVideo3" + - "60AdvertiserLinkProposal\"\267\001\n1ListDisplay" + - "Video360AdvertiserLinkProposalsRequest\022[" + - "\n\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.g" + - "oogleapis.com/DisplayVideo360AdvertiserL" + - "inkProposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\"\311\001\n2ListDisplayVideo360Advert" + - "iserLinkProposalsResponse\022z\n+display_vid" + - "eo_360_advertiser_link_proposals\030\001 \003(\0132E" + - ".google.analytics.admin.v1alpha.DisplayV" + - "ideo360AdvertiserLinkProposal\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"\221\002\n2CreateDisplayVideo360" + - "AdvertiserLinkProposalRequest\022[\n\006parent\030" + - "\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis" + - ".com/DisplayVideo360AdvertiserLinkPropos" + - "al\022~\n*display_video_360_advertiser_link_" + - "proposal\030\002 \001(\0132E.google.analytics.admin." + - "v1alpha.DisplayVideo360AdvertiserLinkPro" + - "posalB\003\340A\002\"\217\001\n2DeleteDisplayVideo360Adve" + - "rtiserLinkProposalRequest\022Y\n\004name\030\001 \001(\tB" + - "K\340A\002\372AE\nCanalyticsadmin.googleapis.com/D" + - "isplayVideo360AdvertiserLinkProposal\"\220\001\n" + - "3ApproveDisplayVideo360AdvertiserLinkPro" + - "posalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanal" + - "yticsadmin.googleapis.com/DisplayVideo36" + - "0AdvertiserLinkProposal\"\240\001\n4ApproveDispl" + - "ayVideo360AdvertiserLinkProposalResponse" + - "\022h\n!display_video_360_advertiser_link\030\001 " + - "\001(\0132=.google.analytics.admin.v1alpha.Dis" + - "playVideo360AdvertiserLink\"\217\001\n2CancelDis" + - "playVideo360AdvertiserLinkProposalReques" + - "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin." + - "googleapis.com/DisplayVideo360Advertiser" + - "LinkProposal\"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/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" + - "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" + - "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" + - "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.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" + - "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(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(), - com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(), - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor, - new java.lang.String[] { "Entity", "Dimensions", "Metrics", "DateRanges", "DimensionFilter", "MetricFilter", "Offset", "Limit", "TimeZone", "OrderBys", "ReturnEntityQuota", }); - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor, - new java.lang.String[] { "DimensionHeaders", "MetricHeaders", "Rows", "RowCount", "Quota", }); - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor, - new java.lang.String[] { "PageSize", "PageToken", "ShowDeleted", }); - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor, - new java.lang.String[] { "Accounts", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor, - new java.lang.String[] { "Account", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor, - new java.lang.String[] { "Account", "RedirectUri", }); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor, - new java.lang.String[] { "AccountTicketId", }); - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor, - new java.lang.String[] { "Filter", "PageSize", "PageToken", "ShowDeleted", }); - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor, - new java.lang.String[] { "Properties", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor, - new java.lang.String[] { "Property", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor, - new java.lang.String[] { "Property", }); - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "Names", }); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor, - new java.lang.String[] { "Parent", "NotifyNewUser", "UserLink", }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "NotifyNewUsers", "Requests", }); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", }); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor, - new java.lang.String[] { "UserLink", }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor, - new java.lang.String[] { "UserLinks", }); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", }); - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor, - new java.lang.String[] { "Parent", "FirebaseLink", }); - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor, - new java.lang.String[] { "FirebaseLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { "Parent", "GoogleAdsLink", }); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { "GoogleAdsLink", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor, - new java.lang.String[] { "GoogleAdsLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor, - new java.lang.String[] { "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor, - new java.lang.String[] { "AccountSummaries", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor, - new java.lang.String[] { "Property", "Acknowledgement", }); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor, - new java.lang.String[] { "Account", "Property", "ResourceType", "Action", "ActorEmail", "EarliestChangeTime", "LatestChangeTime", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor, - new java.lang.String[] { "ChangeHistoryEvents", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "Parent", "MeasurementProtocolSecret", }); - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "MeasurementProtocolSecret", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor, - new java.lang.String[] { "MeasurementProtocolSecrets", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor, - new java.lang.String[] { "GoogleSignalsSettings", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor, - new java.lang.String[] { "ConversionEvent", "Parent", }); - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor, - new java.lang.String[] { "ConversionEvents", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor, - new java.lang.String[] { "DisplayVideo360AdvertiserLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { "Parent", "DisplayVideo360AdvertiserLink", }); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor, - new java.lang.String[] { "DisplayVideo360AdvertiserLink", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(66); - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor = - getDescriptor().getMessageTypes().get(67); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor = - getDescriptor().getMessageTypes().get(68); - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor, - new java.lang.String[] { "DisplayVideo360AdvertiserLinkProposals", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(69); - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { "Parent", "DisplayVideo360AdvertiserLinkProposal", }); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(70); - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(71); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor = - getDescriptor().getMessageTypes().get(72); - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor, - new java.lang.String[] { "DisplayVideo360AdvertiserLink", }); - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor = - getDescriptor().getMessageTypes().get(73); - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor, - new java.lang.String[] { "Name", }); - 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, - new java.lang.String[] { "Parent", "CustomDimension", }); - internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor = - 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, - new java.lang.String[] { "CustomDimension", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor = - 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, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor = - 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, - new java.lang.String[] { "CustomDimensions", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor = - 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, - new java.lang.String[] { "Parent", "CustomMetric", }); - internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor = - 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, - new java.lang.String[] { "CustomMetric", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor = - 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, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor = - 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, - new java.lang.String[] { "CustomMetrics", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor = - 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, - new java.lang.String[] { "DataRetentionSettings", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor = - 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, - new java.lang.String[] { "Parent", "DataStream", }); - internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor = - 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, - new java.lang.String[] { "DataStream", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor = - 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, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor = - 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, - new java.lang.String[] { "DataStreams", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor = - 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, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor = - 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, - new java.lang.String[] { "Audiences", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor = - 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, - new java.lang.String[] { "Parent", "Audience", }); - internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor = - 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, - new java.lang.String[] { "Audience", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor = - 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, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor = - 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); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(); - com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 32dc0f288d6a..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,587 +0,0 @@ -// 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ApproveDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); - } - - // Construct using com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.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_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest build() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest other) { - if (other == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest.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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApproveDisplayVideo360AdvertiserLinkProposalRequest 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.ApproveDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 75c6a0099dd2..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 ApproveDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java deleted file mode 100644 index 2803a67a6566..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java +++ /dev/null @@ -1,657 +0,0 @@ -// 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} - */ -public final class ApproveDisplayVideo360AdvertiserLinkProposalResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() to construct. - private ApproveDisplayVideo360AdvertiserLinkProposalResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ApproveDisplayVideo360AdvertiserLinkProposalResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); - } - - @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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.Builder.class); - } - - public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; - /** - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - @java.lang.Override - public boolean hasDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ != null; - } - /** - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return The displayVideo360AdvertiserLink. - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; - } - /** - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; - } - - 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 (displayVideo360AdvertiserLink_ != null) { - output.writeMessage(1, getDisplayVideo360AdvertiserLink()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (displayVideo360AdvertiserLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDisplayVideo360AdvertiserLink()); - } - 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse other = (com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) obj; - - if (hasDisplayVideo360AdvertiserLink() != other.hasDisplayVideo360AdvertiserLink()) return false; - if (hasDisplayVideo360AdvertiserLink()) { - if (!getDisplayVideo360AdvertiserLink() - .equals(other.getDisplayVideo360AdvertiserLink())) 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 (hasDisplayVideo360AdvertiserLink()) { - hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_FIELD_NUMBER; - hash = (53 * hash) + getDisplayVideo360AdvertiserLink().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom( - 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse 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 ApproveDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.class, com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.Builder.class); - } - - // Construct using com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - displayVideo360AdvertiserLink_ = null; - if (displayVideo360AdvertiserLinkBuilder_ != null) { - displayVideo360AdvertiserLinkBuilder_.dispose(); - displayVideo360AdvertiserLinkBuilder_ = 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_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse build() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse buildPartial() { - com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse result = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.displayVideo360AdvertiserLink_ = displayVideo360AdvertiserLinkBuilder_ == null - ? displayVideo360AdvertiserLink_ - : displayVideo360AdvertiserLinkBuilder_.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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse other) { - if (other == com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse.getDefaultInstance()) return this; - if (other.hasDisplayVideo360AdvertiserLink()) { - mergeDisplayVideo360AdvertiserLink(other.getDisplayVideo360AdvertiserLink()); - } - 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( - getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(), - extensionRegistry); - 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 com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> displayVideo360AdvertiserLinkBuilder_; - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - public boolean hasDisplayVideo360AdvertiserLink() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return The displayVideo360AdvertiserLink. - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink() { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - return displayVideo360AdvertiserLink_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; - } else { - return displayVideo360AdvertiserLinkBuilder_.getMessage(); - } - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - public Builder setDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - displayVideo360AdvertiserLink_ = value; - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - public Builder setDisplayVideo360AdvertiserLink( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder builderForValue) { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLink_ = builderForValue.build(); - } else { - displayVideo360AdvertiserLinkBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - public Builder mergeDisplayVideo360AdvertiserLink(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink value) { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - displayVideo360AdvertiserLink_ != null && - displayVideo360AdvertiserLink_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance()) { - getDisplayVideo360AdvertiserLinkBuilder().mergeFrom(value); - } else { - displayVideo360AdvertiserLink_ = value; - } - } else { - displayVideo360AdvertiserLinkBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - public Builder clearDisplayVideo360AdvertiserLink() { - bitField0_ = (bitField0_ & ~0x00000001); - displayVideo360AdvertiserLink_ = null; - if (displayVideo360AdvertiserLinkBuilder_ != null) { - displayVideo360AdvertiserLinkBuilder_.dispose(); - displayVideo360AdvertiserLinkBuilder_ = null; - } - onChanged(); - return this; - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder getDisplayVideo360AdvertiserLinkBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getDisplayVideo360AdvertiserLinkFieldBuilder().getBuilder(); - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder() { - if (displayVideo360AdvertiserLinkBuilder_ != null) { - return displayVideo360AdvertiserLinkBuilder_.getMessageOrBuilder(); - } else { - return displayVideo360AdvertiserLink_ == null ? - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.getDefaultInstance() : displayVideo360AdvertiserLink_; - } - } - /** - *
-     * The DisplayVideo360AdvertiserLink created as a result of approving the
-     * proposal.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder> - getDisplayVideo360AdvertiserLinkFieldBuilder() { - if (displayVideo360AdvertiserLinkBuilder_ == null) { - displayVideo360AdvertiserLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder>( - getDisplayVideo360AdvertiserLink(), - getParentForChildren(), - isClean()); - displayVideo360AdvertiserLink_ = null; - } - return displayVideo360AdvertiserLinkBuilder_; - } - @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.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - private static final com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse(); - } - - public static com.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApproveDisplayVideo360AdvertiserLinkProposalResponse 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.ApproveDisplayVideo360AdvertiserLinkProposalResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java deleted file mode 100644 index c2df993259b9..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// 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 ApproveDisplayVideo360AdvertiserLinkProposalResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - boolean hasDisplayVideo360AdvertiserLink(); - /** - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return The displayVideo360AdvertiserLink. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); - /** - *
-   * The DisplayVideo360AdvertiserLink created as a result of approving the
-   * proposal.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java deleted file mode 100644 index 3db08fadde13..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveAudienceRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// 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 ArchiveAudienceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveAudienceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: properties/1234/audiences/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format: properties/1234/audiences/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java deleted file mode 100644 index eb9284a542f2..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 ArchiveCustomDimensionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java deleted file mode 100644 index 412f11e61dec..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ArchiveCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 ArchiveCustomMetricRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ArchiveCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java deleted file mode 100644 index 84b13180957f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceProto.java +++ /dev/null @@ -1,333 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/audience.proto - -package com.google.analytics.admin.v1alpha; - -public final class AudienceProto { - private AudienceProto() {} - 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_AudienceDimensionOrMetricFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_Audience_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/analytics/admin/v1alpha/audienc" + - "e.proto\022\036google.analytics.admin.v1alpha\032" + - "\037google/api/field_behavior.proto\032\031google" + - "/api/resource.proto\032\036google/protobuf/dur" + - "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" + - "t_filter\030\003 \001(\0132L.google.analytics.admin." + - "v1alpha.AudienceDimensionOrMetricFilter." + - "InListFilterH\000\022g\n\016numeric_filter\030\004 \001(\0132M" + - ".google.analytics.admin.v1alpha.Audience" + - "DimensionOrMetricFilter.NumericFilterH\000\022" + - "g\n\016between_filter\030\005 \001(\0132M.google.analyti" + - "cs.admin.v1alpha.AudienceDimensionOrMetr" + - "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\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\"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" + - "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(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor, - new java.lang.String[] { "StringFilter", "InListFilter", "NumericFilter", "BetweenFilter", "FieldName", "AtAnyPointInTime", "InAnyNDayPeriod", "OneFilter", }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_StringFilter_descriptor, - new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_InListFilter_descriptor, - new java.lang.String[] { "Values", "CaseSensitive", }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericValue_descriptor, - new java.lang.String[] { "Int64Value", "DoubleValue", "OneValue", }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(3); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_NumericFilter_descriptor, - new java.lang.String[] { "Operation", "Value", }); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_descriptor.getNestedTypes().get(4); - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceDimensionOrMetricFilter_BetweenFilter_descriptor, - new java.lang.String[] { "FromValue", "ToValue", }); - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceEventFilter_descriptor, - new java.lang.String[] { "EventName", "EventParameterFilterExpression", }); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpression_descriptor, - new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "DimensionOrMetricFilter", "EventFilter", "Expr", }); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceFilterExpressionList_descriptor, - new java.lang.String[] { "FilterExpressions", }); - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceSimpleFilter_descriptor, - new java.lang.String[] { "Scope", "FilterExpression", }); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor, - new java.lang.String[] { "Scope", "SequenceMaximumDuration", "SequenceSteps", }); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor = - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceSequenceFilter_AudienceSequenceStep_descriptor, - new java.lang.String[] { "Scope", "ImmediatelyFollows", "ConstraintDuration", "FilterExpression", }); - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceFilterClause_descriptor, - new java.lang.String[] { "SimpleFilter", "SequenceFilter", "ClauseType", "Filter", }); - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AudienceEventTrigger_descriptor, - new java.lang.String[] { "EventName", "LogCondition", }); - internal_static_google_analytics_admin_v1alpha_Audience_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_Audience_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_Audience_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "MembershipDurationDays", "AdsPersonalizationEnabled", "EventTrigger", "ExclusionDurationMode", "FilterClauses", }); - 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.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java deleted file mode 100644 index 19c072b5a1c5..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSequenceFilterOrBuilder.java +++ /dev/null @@ -1,104 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/audience.proto - -package com.google.analytics.admin.v1alpha; - -public interface AudienceSequenceFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSequenceFilter) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return The enum numeric value on the wire for scope. - */ - int getScopeValue(); - /** - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return The scope. - */ - com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); - - /** - *
-   * Optional. Defines the time period in which the whole sequence must occur.
-   * 
- * - * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the sequenceMaximumDuration field is set. - */ - boolean hasSequenceMaximumDuration(); - /** - *
-   * Optional. Defines the time period in which the whole sequence must occur.
-   * 
- * - * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The sequenceMaximumDuration. - */ - com.google.protobuf.Duration getSequenceMaximumDuration(); - /** - *
-   * Optional. Defines the time period in which the whole sequence must occur.
-   * 
- * - * .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder(); - - /** - *
-   * Required. An ordered sequence of steps. A user must complete each step in
-   * order to join the sequence filter.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getSequenceStepsList(); - /** - *
-   * Required. An ordered sequence of steps. A user must complete each step in
-   * order to join the sequence filter.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index); - /** - *
-   * Required. An ordered sequence of steps. A user must complete each step in
-   * order to join the sequence filter.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - int getSequenceStepsCount(); - /** - *
-   * Required. An ordered sequence of steps. A user must complete each step in
-   * order to join the sequence filter.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getSequenceStepsOrBuilderList(); - /** - *
-   * Required. An ordered sequence of steps. A user must complete each step in
-   * order to join the sequence filter.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java deleted file mode 100644 index 5b6fed000a65..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AudienceSimpleFilterOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/audience.proto - -package com.google.analytics.admin.v1alpha; - -public interface AudienceSimpleFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AudienceSimpleFilter) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return The enum numeric value on the wire for scope. - */ - int getScopeValue(); - /** - *
-   * Required. Immutable. Specifies the scope for this filter.
-   * 
- * - * .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return The scope. - */ - com.google.analytics.admin.v1alpha.AudienceFilterScope getScope(); - - /** - *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or
-   * event filters.
-   * 
- * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return Whether the filterExpression field is set. - */ - boolean hasFilterExpression(); - /** - *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or
-   * event filters.
-   * 
- * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return The filterExpression. - */ - com.google.analytics.admin.v1alpha.AudienceFilterExpression getFilterExpression(); - /** - *
-   * Required. Immutable. A logical expression of Audience dimension, metric, or
-   * event filters.
-   * 
- * - * .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index bb4074c9b4ba..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,587 +0,0 @@ -// 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 CancelDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CancelDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use CancelDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CancelDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CancelDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CancelDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest 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 CancelDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); - } - - // Construct using com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.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_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest build() { - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { - com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest other) { - if (other == com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest.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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.CancelDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelDisplayVideo360AdvertiserLinkProposalRequest 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.CancelDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index ce3f4889e237..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 CancelDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java deleted file mode 100644 index 2a81a07d57fa..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAudienceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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 CreateAudienceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAudienceRequest) - 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 audience to create.
-   * 
- * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the audience field is set. - */ - boolean hasAudience(); - /** - *
-   * Required. The audience to create.
-   * 
- * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The audience. - */ - com.google.analytics.admin.v1alpha.Audience getAudience(); - /** - *
-   * Required. The audience to create.
-   * 
- * - * .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java deleted file mode 100644 index 26033401075a..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// 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 CreateConversionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The conversion event to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the conversionEvent field is set. - */ - boolean hasConversionEvent(); - /** - *
-   * Required. The conversion event to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The conversionEvent. - */ - com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); - /** - *
-   * Required. The conversion event to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); - - /** - *
-   * 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) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * 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) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 63fe5fc15c4f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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 CreateCustomDimensionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomDimensionRequest) - 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 CustomDimension to create.
-   * 
- * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the customDimension field is set. - */ - boolean hasCustomDimension(); - /** - *
-   * Required. The CustomDimension to create.
-   * 
- * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The customDimension. - */ - com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension(); - /** - *
-   * Required. The CustomDimension to create.
-   * 
- * - * .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java deleted file mode 100644 index b4b64d9ebafb..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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 CreateCustomMetricRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateCustomMetricRequest) - 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 CustomMetric to create.
-   * 
- * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the customMetric field is set. - */ - boolean hasCustomMetric(); - /** - *
-   * Required. The CustomMetric to create.
-   * 
- * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The customMetric. - */ - com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric(); - /** - *
-   * Required. The CustomMetric to create.
-   * 
- * - * .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java deleted file mode 100644 index d38913bfb913..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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 CreateDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDataStreamRequest) - 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 DataStream to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the dataStream field is set. - */ - boolean hasDataStream(); - /** - *
-   * Required. The DataStream to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The dataStream. - */ - com.google.analytics.admin.v1alpha.DataStream getDataStream(); - /** - *
-   * Required. The DataStream to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 056b5acb3501..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,809 +0,0 @@ -// 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 CreateDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class CreateDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private CreateDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDisplayVideo360AdvertiserLinkProposalRequest() { - parent_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.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 DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal_; - /** - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the displayVideo360AdvertiserLinkProposal field is set. - */ - @java.lang.Override - public boolean hasDisplayVideo360AdvertiserLinkProposal() { - return displayVideo360AdvertiserLinkProposal_ != null; - } - /** - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The displayVideo360AdvertiserLinkProposal. - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { - return displayVideo360AdvertiserLinkProposal_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; - } - /** - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - @java.lang.Override - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { - return displayVideo360AdvertiserLinkProposal_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; - } - - 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 (displayVideo360AdvertiserLinkProposal_ != null) { - output.writeMessage(2, getDisplayVideo360AdvertiserLinkProposal()); - } - 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 (displayVideo360AdvertiserLinkProposal_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDisplayVideo360AdvertiserLinkProposal()); - } - 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.CreateDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (hasDisplayVideo360AdvertiserLinkProposal() != other.hasDisplayVideo360AdvertiserLinkProposal()) return false; - if (hasDisplayVideo360AdvertiserLinkProposal()) { - if (!getDisplayVideo360AdvertiserLinkProposal() - .equals(other.getDisplayVideo360AdvertiserLinkProposal())) 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 (hasDisplayVideo360AdvertiserLinkProposal()) { - hash = (37 * hash) + DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_FIELD_NUMBER; - hash = (53 * hash) + getDisplayVideo360AdvertiserLinkProposal().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest 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 CreateDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); - } - - // Construct using com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - displayVideo360AdvertiserLinkProposal_ = null; - if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { - displayVideo360AdvertiserLinkProposalBuilder_.dispose(); - displayVideo360AdvertiserLinkProposalBuilder_ = 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_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest build() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.displayVideo360AdvertiserLinkProposal_ = displayVideo360AdvertiserLinkProposalBuilder_ == null - ? displayVideo360AdvertiserLinkProposal_ - : displayVideo360AdvertiserLinkProposalBuilder_.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.CreateDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasDisplayVideo360AdvertiserLinkProposal()) { - mergeDisplayVideo360AdvertiserLinkProposal(other.getDisplayVideo360AdvertiserLinkProposal()); - } - 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( - getDisplayVideo360AdvertiserLinkProposalFieldBuilder().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.DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> displayVideo360AdvertiserLinkProposalBuilder_; - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the displayVideo360AdvertiserLinkProposal field is set. - */ - public boolean hasDisplayVideo360AdvertiserLinkProposal() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The displayVideo360AdvertiserLinkProposal. - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal() { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - return displayVideo360AdvertiserLinkProposal_ == null ? com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; - } else { - return displayVideo360AdvertiserLinkProposalBuilder_.getMessage(); - } - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - displayVideo360AdvertiserLinkProposal_ = value; - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setDisplayVideo360AdvertiserLinkProposal( - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder builderForValue) { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposal_ = builderForValue.build(); - } else { - displayVideo360AdvertiserLinkProposalBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder mergeDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal value) { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - displayVideo360AdvertiserLinkProposal_ != null && - displayVideo360AdvertiserLinkProposal_ != com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance()) { - getDisplayVideo360AdvertiserLinkProposalBuilder().mergeFrom(value); - } else { - displayVideo360AdvertiserLinkProposal_ = value; - } - } else { - displayVideo360AdvertiserLinkProposalBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder clearDisplayVideo360AdvertiserLinkProposal() { - bitField0_ = (bitField0_ & ~0x00000002); - displayVideo360AdvertiserLinkProposal_ = null; - if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { - displayVideo360AdvertiserLinkProposalBuilder_.dispose(); - displayVideo360AdvertiserLinkProposalBuilder_ = null; - } - onChanged(); - return this; - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder getDisplayVideo360AdvertiserLinkProposalBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getDisplayVideo360AdvertiserLinkProposalFieldBuilder().getBuilder(); - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder() { - if (displayVideo360AdvertiserLinkProposalBuilder_ != null) { - return displayVideo360AdvertiserLinkProposalBuilder_.getMessageOrBuilder(); - } else { - return displayVideo360AdvertiserLinkProposal_ == null ? - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.getDefaultInstance() : displayVideo360AdvertiserLinkProposal_; - } - } - /** - *
-     * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-     * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder> - getDisplayVideo360AdvertiserLinkProposalFieldBuilder() { - if (displayVideo360AdvertiserLinkProposalBuilder_ == null) { - displayVideo360AdvertiserLinkProposalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal.Builder, com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder>( - getDisplayVideo360AdvertiserLinkProposal(), - getParentForChildren(), - isClean()); - displayVideo360AdvertiserLinkProposal_ = null; - } - return displayVideo360AdvertiserLinkProposalBuilder_; - } - @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.CreateDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDisplayVideo360AdvertiserLinkProposalRequest 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.CreateDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 276ca7813e16..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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 CreateDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest) - 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 DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the displayVideo360AdvertiserLinkProposal field is set. - */ - boolean hasDisplayVideo360AdvertiserLinkProposal(); - /** - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The displayVideo360AdvertiserLinkProposal. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposal(); - /** - *
-   * Required. The DisplayVideo360AdvertiserLinkProposal to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 41bf5ad15a2b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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 CreateDisplayVideo360AdvertiserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest) - 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 DisplayVideo360AdvertiserLink to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the displayVideo360AdvertiserLink field is set. - */ - boolean hasDisplayVideo360AdvertiserLink(); - /** - *
-   * Required. The DisplayVideo360AdvertiserLink to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The displayVideo360AdvertiserLink. - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink getDisplayVideo360AdvertiserLink(); - /** - *
-   * Required. The DisplayVideo360AdvertiserLink to create.
-   * 
- * - * .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkOrBuilder getDisplayVideo360AdvertiserLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index ae17db521f7b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// 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 CreateFirebaseLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. 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. 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(); - - /** - *
-   * Required. The Firebase link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the firebaseLink field is set. - */ - boolean hasFirebaseLink(); - /** - *
-   * Required. The Firebase link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The firebaseLink. - */ - com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink(); - /** - *
-   * Required. The Firebase link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 72a64848bb17..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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 CreateGoogleAdsLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest) - 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 GoogleAdsLink to create.
-   * 
- * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the googleAdsLink field is set. - */ - boolean hasGoogleAdsLink(); - /** - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The googleAdsLink. - */ - com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink(); - /** - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index 698e00d225d9..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// 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 CreateMeasurementProtocolSecretRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the measurementProtocolSecret field is set. - */ - boolean hasMeasurementProtocolSecret(); - /** - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The measurementProtocolSecret. - */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecret getMeasurementProtocolSecret(); - /** - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java deleted file mode 100644 index fb9f826a731c..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreatePropertyRequestOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// 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 CreatePropertyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreatePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the property field is set. - */ - boolean hasProperty(); - /** - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The property. - */ - com.google.analytics.admin.v1alpha.Property getProperty(); - /** - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java deleted file mode 100644 index 2062721d5a44..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSearchAds360LinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java deleted file mode 100644 index a49448044c16..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,67 +0,0 @@ -// 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 CreateUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: accounts/1234
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Example format: accounts/1234
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * 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]; - * @return The notifyNewUser. - */ - boolean getNotifyNewUser(); - - /** - *
-   * Required. The user link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - *
-   * Required. The user link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - *
-   * Required. The user link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java deleted file mode 100644 index 2ced5a1f008c..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccountRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 DeleteAccountRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java deleted file mode 100644 index 8faa9524b4f5..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 DeleteConversionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java deleted file mode 100644 index ad5a87cc10ee..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 DeleteDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DataStream to delete.
-   * Example format: properties/1234/dataStreams/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 DataStream to delete.
-   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java deleted file mode 100644 index 25864aca36b0..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java +++ /dev/null @@ -1,587 +0,0 @@ -// 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 DeleteDisplayVideo360AdvertiserLinkProposal RPC.
- * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} - */ -public final class DeleteDisplayVideo360AdvertiserLinkProposalRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeleteDisplayVideo360AdvertiserLinkProposalRequest.newBuilder() to construct. - private DeleteDisplayVideo360AdvertiserLinkProposalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteDisplayVideo360AdvertiserLinkProposalRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeleteDisplayVideo360AdvertiserLinkProposalRequest(); - } - - @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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest)) { - return super.equals(obj); - } - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest other = (com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom( - 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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 DeleteDisplayVideo360AdvertiserLinkProposal RPC.
-   * 
- * - * Protobuf type {@code google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.class, com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.Builder.class); - } - - // Construct using com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.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_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest build() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest result = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest.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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-     * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - private static final com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest(); - } - - public static com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDisplayVideo360AdvertiserLinkProposalRequest 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.DeleteDisplayVideo360AdvertiserLinkProposalRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index 076306d35a8a..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 DeleteDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 13d21b2dfe8b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 DeleteDisplayVideo360AdvertiserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinks/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 DisplayVideo360AdvertiserLink to delete.
-   * Example format: properties/1234/displayVideo360AdvertiserLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index ea671afc61bd..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 DeleteFirebaseLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 3f29cf8659bb..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// 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 DeleteGoogleAdsLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: properties/1234/googleAdsLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index c28a143c0b7f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 DeleteMeasurementProtocolSecretRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java deleted file mode 100644 index f1db0fd43240..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeletePropertyRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 DeletePropertyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeletePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java deleted file mode 100644 index 9e4018376a04..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSearchAds360LinkRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java deleted file mode 100644 index 6443a0a2fcc7..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// 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 DeleteUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format: accounts/1234/userLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java deleted file mode 100644 index b8ba0f68718c..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetFilterExpressionListOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// 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 - 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java deleted file mode 100644 index 56b62d70e984..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetProto.java +++ /dev/null @@ -1,156 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java deleted file mode 100644 index b7695941fdb4..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchAutomatedGa4ConfigurationOptOutResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java deleted file mode 100644 index 65eda19d57aa..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccountRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 GetAccountRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java deleted file mode 100644 index f5c3da79d367..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAttributionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetAttributionSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAttributionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the attribution settings to retrieve.
-   * Format: properties/{property}/attributionSettings
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the attribution settings to retrieve.
-   * Format: properties/{property}/attributionSettings
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java deleted file mode 100644 index 6e032eba306d..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAudienceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetAudienceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAudienceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Audience to get.
-   * Example format: properties/1234/audiences/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 Audience to get.
-   * Example format: properties/1234/audiences/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java deleted file mode 100644 index 85b5054e89aa..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetBigQueryLinkRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java deleted file mode 100644 index 1fe2ec1d85d0..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 GetConversionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 1f3349e8cac3..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetCustomDimensionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java deleted file mode 100644 index d22f4b1f0560..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetCustomMetricRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java deleted file mode 100644 index 420e9134905b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRetentionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// 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 GetDataRetentionSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java deleted file mode 100644 index 800d242e2a00..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataSharingSettingsRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 GetDataSharingSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataSharingSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java deleted file mode 100644 index a36c24d56d24..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DataStream to get.
-   * Example format: properties/1234/dataStreams/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 DataStream to get.
-   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java deleted file mode 100644 index f187967453e9..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetDisplayVideo360AdvertiserLinkProposalRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java deleted file mode 100644 index 21e6060eb995..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDisplayVideo360AdvertiserLinkRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetDisplayVideo360AdvertiserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DisplayVideo360AdvertiserLink to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLink/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 DisplayVideo360AdvertiserLink to get.
-   * Example format: properties/1234/displayVideo360AdvertiserLink/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java deleted file mode 100644 index f39642313bc3..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetGoogleSignalsSettingsRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 GetGoogleSignalsSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the google signals settings to retrieve.
-   * Format: properties/{property}/googleSignalsSettings
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the google signals settings to retrieve.
-   * Format: properties/{property}/googleSignalsSettings
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index a0649645bf25..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 GetMeasurementProtocolSecretRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java deleted file mode 100644 index d15bc73fa05f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetPropertyRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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 GetPropertyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetPropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java deleted file mode 100644 index ed2dfff8ba49..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSearchAds360LinkRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java deleted file mode 100644 index 8bb7da16de4b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// 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 GetUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: accounts/1234/userLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format: accounts/1234/userLinks/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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java deleted file mode 100644 index 49cdb9fa6319..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder.java +++ /dev/null @@ -1,75 +0,0 @@ -// 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 ListDisplayVideo360AdvertiserLinkProposalsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - */ - java.util.List - getDisplayVideo360AdvertiserLinkProposalsList(); - /** - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal getDisplayVideo360AdvertiserLinkProposals(int index); - /** - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - */ - int getDisplayVideo360AdvertiserLinkProposalsCount(); - /** - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - */ - java.util.List - getDisplayVideo360AdvertiserLinkProposalsOrBuilderList(); - /** - *
-   * List of DisplayVideo360AdvertiserLinkProposals.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - */ - com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalOrBuilder getDisplayVideo360AdvertiserLinkProposalsOrBuilder( - 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java deleted file mode 100644 index 1e662a84da34..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ProvisionAccountTicketResponseOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// 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 ProvisionAccountTicketResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ProvisionAccountTicketResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * @return The accountTicketId. - */ - java.lang.String getAccountTicketId(); - /** - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * @return The bytes for accountTicketId. - */ - com.google.protobuf.ByteString - getAccountTicketIdBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java deleted file mode 100644 index 5acaedcb3cd0..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java +++ /dev/null @@ -1,733 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/resources.proto - -package com.google.analytics.admin.v1alpha; - -public final class ResourcesProto { - private ResourcesProto() {} - 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_Account_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_Property_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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 - internal_static_google_analytics_admin_v1alpha_LinkProposalStatusDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ConversionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CustomMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - 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; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/analytics/admin/v1alpha/resourc" + - "es.proto\022\036google.analytics.admin.v1alpha" + - "\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(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1alpha_Account_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_Account_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_Account_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", }); - internal_static_google_analytics_admin_v1alpha_Property_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_Property_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_Property_descriptor, - new java.lang.String[] { "Name", "PropertyType", "CreateTime", "UpdateTime", "Parent", "DisplayName", "IndustryCategory", "TimeZone", "CurrencyCode", "ServiceLevel", "DeleteTime", "ExpireTime", "Account", }); - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_DataStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor, - new java.lang.String[] { "WebStreamData", "AndroidAppStreamData", "IosAppStreamData", "Name", "Type", "DisplayName", "CreateTime", "UpdateTime", "StreamData", }); - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_WebStreamData_descriptor, - new java.lang.String[] { "MeasurementId", "FirebaseAppId", "DefaultUri", }); - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_AndroidAppStreamData_descriptor, - new java.lang.String[] { "FirebaseAppId", "PackageName", }); - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor = - internal_static_google_analytics_admin_v1alpha_DataStream_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataStream_IosAppStreamData_descriptor, - new java.lang.String[] { "FirebaseAppId", "BundleId", }); - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_UserLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UserLink_descriptor, - new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", }); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_AuditUserLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AuditUserLink_descriptor, - new java.lang.String[] { "Name", "EmailAddress", "DirectRoles", "EffectiveRoles", }); - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1alpha_FirebaseLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_FirebaseLink_descriptor, - new java.lang.String[] { "Name", "Project", "CreateTime", }); - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GlobalSiteTag_descriptor, - new java.lang.String[] { "Name", "Snippet", }); - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GoogleAdsLink_descriptor, - new java.lang.String[] { "Name", "CustomerId", "CanManageClients", "AdsPersonalizationEnabled", "CreateTime", "UpdateTime", "CreatorEmailAddress", }); - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataSharingSettings_descriptor, - new java.lang.String[] { "Name", "SharingWithGoogleSupportEnabled", "SharingWithGoogleAssignedSalesEnabled", "SharingWithGoogleAnySalesEnabled", "SharingWithGoogleProductsEnabled", "SharingWithOthersEnabled", }); - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1alpha_AccountSummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccountSummary_descriptor, - new java.lang.String[] { "Name", "Account", "DisplayName", "PropertySummaries", }); - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1alpha_PropertySummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_PropertySummary_descriptor, - new java.lang.String[] { "Property", "DisplayName", "PropertyType", "Parent", }); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_MeasurementProtocolSecret_descriptor, - new java.lang.String[] { "Name", "DisplayName", "SecretValue", }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor, - new java.lang.String[] { "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor, - new java.lang.String[] { "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor = - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChangeHistoryChange_ChangeHistoryResource_descriptor, - new java.lang.String[] { "Account", "Property", "FirebaseLink", "GoogleAdsLink", "GoogleSignalsSettings", "DisplayVideo360AdvertiserLink", "DisplayVideo360AdvertiserLinkProposal", "ConversionEvent", "MeasurementProtocolSecret", "CustomDimension", "CustomMetric", "DataRetentionSettings", "SearchAds360Link", "DataStream", "AttributionSettings", "ExpandedDataSet", "BigqueryLink", "Resource", }); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor, - new java.lang.String[] { "Name", "AdvertiserId", "AdvertiserDisplayName", "AdsPersonalizationEnabled", "CampaignDataSharingEnabled", "CostDataSharingEnabled", }); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLinkProposal_descriptor, - new java.lang.String[] { "Name", "AdvertiserId", "LinkProposalStatusDetails", "AdvertiserDisplayName", "ValidationEmail", "AdsPersonalizationEnabled", "CampaignDataSharingEnabled", "CostDataSharingEnabled", }); - 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, - new java.lang.String[] { "LinkProposalInitiatingProduct", "RequestorEmail", "LinkProposalState", }); - internal_static_google_analytics_admin_v1alpha_ConversionEvent_descriptor = - 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, - new java.lang.String[] { "Name", "EventName", "CreateTime", "Deletable", "Custom", }); - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor = - 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, - new java.lang.String[] { "Name", "State", "Consent", }); - internal_static_google_analytics_admin_v1alpha_CustomDimension_descriptor = - 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, - new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "Scope", "DisallowAdsPersonalization", }); - internal_static_google_analytics_admin_v1alpha_CustomMetric_descriptor = - 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, - new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "MeasurementUnit", "Scope", "RestrictedMetricType", }); - internal_static_google_analytics_admin_v1alpha_DataRetentionSettings_descriptor = - 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, - new java.lang.String[] { "Name", "EventDataRetention", "ResetUserDataOnNewActivity", }); - internal_static_google_analytics_admin_v1alpha_AttributionSettings_descriptor = - 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, - new java.lang.String[] { "Name", "AcquisitionConversionEventLookbackWindow", "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); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java deleted file mode 100644 index 598c96402ece..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java +++ /dev/null @@ -1,411 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java deleted file mode 100644 index 7071a6e05cca..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java deleted file mode 100644 index 5f523e40ed5f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateUserLinkRequestOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// 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 UpdateUserLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateUserLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The user link to update.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the userLink field is set. - */ - boolean hasUserLink(); - /** - *
-   * Required. The user link to update.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The userLink. - */ - com.google.analytics.admin.v1alpha.UserLink getUserLink(); - /** - *
-   * Required. The user link to update.
-   * 
- * - * .google.analytics.admin.v1alpha.UserLink user_link = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.UserLinkOrBuilder getUserLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java b/owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java deleted file mode 100644 index 9f6d1fc29d04..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java +++ /dev/null @@ -1,4375 +0,0 @@ -package com.google.analytics.admin.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service Interface for the Analytics Admin API (GA4).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/admin/v1beta/analytics_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AnalyticsAdminServiceGrpc { - - private AnalyticsAdminServiceGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.admin.v1beta.AnalyticsAdminService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAccount", - requestType = com.google.analytics.admin.v1beta.GetAccountRequest.class, - responseType = com.google.analytics.admin.v1beta.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAccountMethod() { - io.grpc.MethodDescriptor getGetAccountMethod; - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAccountMethod = AnalyticsAdminServiceGrpc.getGetAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAccountMethod = getGetAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Account.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccount")) - .build(); - } - } - } - return getGetAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAccountsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccounts", - requestType = com.google.analytics.admin.v1beta.ListAccountsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListAccountsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAccountsMethod() { - io.grpc.MethodDescriptor getListAccountsMethod; - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountsMethod = AnalyticsAdminServiceGrpc.getListAccountsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountsMethod = getListAccountsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccounts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccounts")) - .build(); - } - } - } - return getListAccountsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAccount", - requestType = com.google.analytics.admin.v1beta.DeleteAccountRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAccountMethod() { - io.grpc.MethodDescriptor getDeleteAccountMethod; - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAccountMethod = AnalyticsAdminServiceGrpc.getDeleteAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAccountMethod = getDeleteAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccount")) - .build(); - } - } - } - return getDeleteAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAccount", - requestType = com.google.analytics.admin.v1beta.UpdateAccountRequest.class, - responseType = com.google.analytics.admin.v1beta.Account.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAccountMethod() { - io.grpc.MethodDescriptor getUpdateAccountMethod; - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAccountMethod = AnalyticsAdminServiceGrpc.getUpdateAccountMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAccountMethod = getUpdateAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Account.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccount")) - .build(); - } - } - } - return getUpdateAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getProvisionAccountTicketMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProvisionAccountTicket", - requestType = com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.class, - responseType = com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getProvisionAccountTicketMethod() { - io.grpc.MethodDescriptor getProvisionAccountTicketMethod; - if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getProvisionAccountTicketMethod = AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod) == null) { - AnalyticsAdminServiceGrpc.getProvisionAccountTicketMethod = getProvisionAccountTicketMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionAccountTicket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ProvisionAccountTicket")) - .build(); - } - } - } - return getProvisionAccountTicketMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAccountSummariesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccountSummaries", - requestType = com.google.analytics.admin.v1beta.ListAccountSummariesRequest.class, - responseType = com.google.analytics.admin.v1beta.ListAccountSummariesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAccountSummariesMethod() { - io.grpc.MethodDescriptor getListAccountSummariesMethod; - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccountSummariesMethod = AnalyticsAdminServiceGrpc.getListAccountSummariesMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccountSummariesMethod = getListAccountSummariesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccountSummaries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListAccountSummariesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccountSummaries")) - .build(); - } - } - } - return getListAccountSummariesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProperty", - requestType = com.google.analytics.admin.v1beta.GetPropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPropertyMethod() { - io.grpc.MethodDescriptor getGetPropertyMethod; - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetPropertyMethod = AnalyticsAdminServiceGrpc.getGetPropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getGetPropertyMethod = getGetPropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetPropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetProperty")) - .build(); - } - } - } - return getGetPropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPropertiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProperties", - requestType = com.google.analytics.admin.v1beta.ListPropertiesRequest.class, - responseType = com.google.analytics.admin.v1beta.ListPropertiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPropertiesMethod() { - io.grpc.MethodDescriptor getListPropertiesMethod; - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListPropertiesMethod = AnalyticsAdminServiceGrpc.getListPropertiesMethod) == null) { - AnalyticsAdminServiceGrpc.getListPropertiesMethod = getListPropertiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProperties")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListPropertiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListPropertiesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListProperties")) - .build(); - } - } - } - return getListPropertiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProperty", - requestType = com.google.analytics.admin.v1beta.CreatePropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreatePropertyMethod() { - io.grpc.MethodDescriptor getCreatePropertyMethod; - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreatePropertyMethod = AnalyticsAdminServiceGrpc.getCreatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreatePropertyMethod = getCreatePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreatePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateProperty")) - .build(); - } - } - } - return getCreatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProperty", - requestType = com.google.analytics.admin.v1beta.DeletePropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePropertyMethod() { - io.grpc.MethodDescriptor getDeletePropertyMethod; - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeletePropertyMethod = AnalyticsAdminServiceGrpc.getDeletePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getDeletePropertyMethod = getDeletePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeletePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteProperty")) - .build(); - } - } - } - return getDeletePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProperty", - requestType = com.google.analytics.admin.v1beta.UpdatePropertyRequest.class, - responseType = com.google.analytics.admin.v1beta.Property.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePropertyMethod() { - io.grpc.MethodDescriptor getUpdatePropertyMethod; - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdatePropertyMethod = AnalyticsAdminServiceGrpc.getUpdatePropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdatePropertyMethod = getUpdatePropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdatePropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.Property.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateProperty")) - .build(); - } - } - } - return getUpdatePropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFirebaseLink", - requestType = com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.class, - responseType = com.google.analytics.admin.v1beta.FirebaseLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateFirebaseLinkMethod() { - io.grpc.MethodDescriptor getCreateFirebaseLinkMethod; - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateFirebaseLinkMethod = getCreateFirebaseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.FirebaseLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateFirebaseLink")) - .build(); - } - } - } - return getCreateFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFirebaseLink", - requestType = com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod() { - io.grpc.MethodDescriptor getDeleteFirebaseLinkMethod; - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteFirebaseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteFirebaseLinkMethod = getDeleteFirebaseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFirebaseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteFirebaseLink")) - .build(); - } - } - } - return getDeleteFirebaseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFirebaseLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFirebaseLinks", - requestType = com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.class, - responseType = com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFirebaseLinksMethod() { - io.grpc.MethodDescriptor getListFirebaseLinksMethod; - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListFirebaseLinksMethod = AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListFirebaseLinksMethod = getListFirebaseLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFirebaseLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListFirebaseLinks")) - .build(); - } - } - } - return getListFirebaseLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGoogleAdsLink", - requestType = com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getCreateGoogleAdsLinkMethod; - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateGoogleAdsLinkMethod = getCreateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateGoogleAdsLink")) - .build(); - } - } - } - return getCreateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGoogleAdsLink", - requestType = com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.class, - responseType = com.google.analytics.admin.v1beta.GoogleAdsLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getUpdateGoogleAdsLinkMethod; - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateGoogleAdsLinkMethod = getUpdateGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GoogleAdsLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateGoogleAdsLink")) - .build(); - } - } - } - return getUpdateGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGoogleAdsLink", - requestType = com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod() { - io.grpc.MethodDescriptor getDeleteGoogleAdsLinkMethod; - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteGoogleAdsLinkMethod = AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteGoogleAdsLinkMethod = getDeleteGoogleAdsLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGoogleAdsLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteGoogleAdsLink")) - .build(); - } - } - } - return getDeleteGoogleAdsLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGoogleAdsLinks", - requestType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.class, - responseType = com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListGoogleAdsLinksMethod() { - io.grpc.MethodDescriptor getListGoogleAdsLinksMethod; - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListGoogleAdsLinksMethod = AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListGoogleAdsLinksMethod = getListGoogleAdsLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGoogleAdsLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListGoogleAdsLinks")) - .build(); - } - } - } - return getListGoogleAdsLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataSharingSettings", - requestType = com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.class, - responseType = com.google.analytics.admin.v1beta.DataSharingSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataSharingSettingsMethod() { - io.grpc.MethodDescriptor getGetDataSharingSettingsMethod; - if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataSharingSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataSharingSettingsMethod = getGetDataSharingSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataSharingSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataSharingSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataSharingSettings")) - .build(); - } - } - } - return getGetDataSharingSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getGetMeasurementProtocolSecretMethod; - if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getGetMeasurementProtocolSecretMethod = getGetMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetMeasurementProtocolSecret")) - .build(); - } - } - } - return getGetMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMeasurementProtocolSecrets", - requestType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod() { - io.grpc.MethodDescriptor getListMeasurementProtocolSecretsMethod; - if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListMeasurementProtocolSecretsMethod = AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod) == null) { - AnalyticsAdminServiceGrpc.getListMeasurementProtocolSecretsMethod = getListMeasurementProtocolSecretsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMeasurementProtocolSecrets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListMeasurementProtocolSecrets")) - .build(); - } - } - } - return getListMeasurementProtocolSecretsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getCreateMeasurementProtocolSecretMethod; - if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateMeasurementProtocolSecretMethod = getCreateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateMeasurementProtocolSecret")) - .build(); - } - } - } - return getCreateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getDeleteMeasurementProtocolSecretMethod; - if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteMeasurementProtocolSecretMethod = getDeleteMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteMeasurementProtocolSecret")) - .build(); - } - } - } - return getDeleteMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMeasurementProtocolSecret", - requestType = com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.class, - responseType = com.google.analytics.admin.v1beta.MeasurementProtocolSecret.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod() { - io.grpc.MethodDescriptor getUpdateMeasurementProtocolSecretMethod; - if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateMeasurementProtocolSecretMethod = AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateMeasurementProtocolSecretMethod = getUpdateMeasurementProtocolSecretMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMeasurementProtocolSecret")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.MeasurementProtocolSecret.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateMeasurementProtocolSecret")) - .build(); - } - } - } - return getUpdateMeasurementProtocolSecretMethod; - } - - private static volatile io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AcknowledgeUserDataCollection", - requestType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.class, - responseType = com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod() { - io.grpc.MethodDescriptor getAcknowledgeUserDataCollectionMethod; - if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getAcknowledgeUserDataCollectionMethod = AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod) == null) { - AnalyticsAdminServiceGrpc.getAcknowledgeUserDataCollectionMethod = getAcknowledgeUserDataCollectionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeUserDataCollection")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("AcknowledgeUserDataCollection")) - .build(); - } - } - } - return getAcknowledgeUserDataCollectionMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchChangeHistoryEvents", - requestType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.class, - responseType = com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod() { - io.grpc.MethodDescriptor getSearchChangeHistoryEventsMethod; - if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getSearchChangeHistoryEventsMethod = AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod) == null) { - AnalyticsAdminServiceGrpc.getSearchChangeHistoryEventsMethod = getSearchChangeHistoryEventsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchChangeHistoryEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("SearchChangeHistoryEvents")) - .build(); - } - } - } - return getSearchChangeHistoryEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversionEvent", - requestType = com.google.analytics.admin.v1beta.CreateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateConversionEventMethod() { - io.grpc.MethodDescriptor getCreateConversionEventMethod; - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateConversionEventMethod = AnalyticsAdminServiceGrpc.getCreateConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateConversionEventMethod = getCreateConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateConversionEvent")) - .build(); - } - } - } - return getCreateConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConversionEvent", - requestType = com.google.analytics.admin.v1beta.GetConversionEventRequest.class, - responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConversionEventMethod() { - io.grpc.MethodDescriptor getGetConversionEventMethod; - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetConversionEventMethod = AnalyticsAdminServiceGrpc.getGetConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getGetConversionEventMethod = getGetConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetConversionEvent")) - .build(); - } - } - } - return getGetConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConversionEvent", - requestType = com.google.analytics.admin.v1beta.DeleteConversionEventRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteConversionEventMethod() { - io.grpc.MethodDescriptor getDeleteConversionEventMethod; - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteConversionEventMethod = AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteConversionEventMethod = getDeleteConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteConversionEvent")) - .build(); - } - } - } - return getDeleteConversionEventMethod; - } - - private static volatile io.grpc.MethodDescriptor getListConversionEventsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConversionEvents", - requestType = com.google.analytics.admin.v1beta.ListConversionEventsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListConversionEventsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListConversionEventsMethod() { - io.grpc.MethodDescriptor getListConversionEventsMethod; - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListConversionEventsMethod = AnalyticsAdminServiceGrpc.getListConversionEventsMethod) == null) { - AnalyticsAdminServiceGrpc.getListConversionEventsMethod = getListConversionEventsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversionEvents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListConversionEventsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListConversionEventsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListConversionEvents")) - .build(); - } - } - } - return getListConversionEventsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomDimension", - requestType = com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCustomDimensionMethod() { - io.grpc.MethodDescriptor getCreateCustomDimensionMethod; - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateCustomDimensionMethod = getCreateCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomDimension")) - .build(); - } - } - } - return getCreateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomDimension", - requestType = com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCustomDimensionMethod() { - io.grpc.MethodDescriptor getUpdateCustomDimensionMethod; - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomDimensionMethod = AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomDimensionMethod = getUpdateCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomDimension")) - .build(); - } - } - } - return getUpdateCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCustomDimensionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomDimensions", - requestType = com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCustomDimensionsMethod() { - io.grpc.MethodDescriptor getListCustomDimensionsMethod; - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomDimensionsMethod = AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod) == null) { - AnalyticsAdminServiceGrpc.getListCustomDimensionsMethod = getListCustomDimensionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomDimensions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomDimensions")) - .build(); - } - } - } - return getListCustomDimensionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomDimension", - requestType = com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getArchiveCustomDimensionMethod() { - io.grpc.MethodDescriptor getArchiveCustomDimensionMethod; - if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomDimensionMethod = AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomDimensionMethod = getArchiveCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomDimension")) - .build(); - } - } - } - return getArchiveCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCustomDimensionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomDimension", - requestType = com.google.analytics.admin.v1beta.GetCustomDimensionRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomDimension.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCustomDimensionMethod() { - io.grpc.MethodDescriptor getGetCustomDimensionMethod; - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomDimensionMethod = AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod) == null) { - AnalyticsAdminServiceGrpc.getGetCustomDimensionMethod = getGetCustomDimensionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomDimension")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomDimension.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomDimension")) - .build(); - } - } - } - return getGetCustomDimensionMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCustomMetric", - requestType = com.google.analytics.admin.v1beta.CreateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCustomMetricMethod() { - io.grpc.MethodDescriptor getCreateCustomMetricMethod; - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateCustomMetricMethod = AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateCustomMetricMethod = getCreateCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateCustomMetric")) - .build(); - } - } - } - return getCreateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCustomMetric", - requestType = com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCustomMetricMethod() { - io.grpc.MethodDescriptor getUpdateCustomMetricMethod; - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateCustomMetricMethod = AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateCustomMetricMethod = getUpdateCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateCustomMetric")) - .build(); - } - } - } - return getUpdateCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCustomMetricsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCustomMetrics", - requestType = com.google.analytics.admin.v1beta.ListCustomMetricsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListCustomMetricsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCustomMetricsMethod() { - io.grpc.MethodDescriptor getListCustomMetricsMethod; - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListCustomMetricsMethod = AnalyticsAdminServiceGrpc.getListCustomMetricsMethod) == null) { - AnalyticsAdminServiceGrpc.getListCustomMetricsMethod = getListCustomMetricsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomMetrics")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListCustomMetricsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListCustomMetrics")) - .build(); - } - } - } - return getListCustomMetricsMethod; - } - - private static volatile io.grpc.MethodDescriptor getArchiveCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ArchiveCustomMetric", - requestType = com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getArchiveCustomMetricMethod() { - io.grpc.MethodDescriptor getArchiveCustomMetricMethod; - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getArchiveCustomMetricMethod = AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getArchiveCustomMetricMethod = getArchiveCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ArchiveCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ArchiveCustomMetric")) - .build(); - } - } - } - return getArchiveCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCustomMetricMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCustomMetric", - requestType = com.google.analytics.admin.v1beta.GetCustomMetricRequest.class, - responseType = com.google.analytics.admin.v1beta.CustomMetric.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCustomMetricMethod() { - io.grpc.MethodDescriptor getGetCustomMetricMethod; - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetCustomMetricMethod = AnalyticsAdminServiceGrpc.getGetCustomMetricMethod) == null) { - AnalyticsAdminServiceGrpc.getGetCustomMetricMethod = getGetCustomMetricMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomMetric")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetCustomMetricRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CustomMetric.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetCustomMetric")) - .build(); - } - } - } - return getGetCustomMetricMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataRetentionSettings", - requestType = com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor getGetDataRetentionSettingsMethod; - if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataRetentionSettingsMethod = getGetDataRetentionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataRetentionSettings")) - .build(); - } - } - } - return getGetDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataRetentionSettings", - requestType = com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.class, - responseType = com.google.analytics.admin.v1beta.DataRetentionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod() { - io.grpc.MethodDescriptor getUpdateDataRetentionSettingsMethod; - if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataRetentionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDataRetentionSettingsMethod = getUpdateDataRetentionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataRetentionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataRetentionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataRetentionSettings")) - .build(); - } - } - } - return getUpdateDataRetentionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDataStream", - requestType = com.google.analytics.admin.v1beta.CreateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1beta.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDataStreamMethod() { - io.grpc.MethodDescriptor getCreateDataStreamMethod; - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateDataStreamMethod = AnalyticsAdminServiceGrpc.getCreateDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateDataStreamMethod = getCreateDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.CreateDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateDataStream")) - .build(); - } - } - } - return getCreateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDataStream", - requestType = com.google.analytics.admin.v1beta.DeleteDataStreamRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDataStreamMethod() { - io.grpc.MethodDescriptor getDeleteDataStreamMethod; - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteDataStreamMethod = AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteDataStreamMethod = getDeleteDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteDataStream")) - .build(); - } - } - } - return getDeleteDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataStream", - requestType = com.google.analytics.admin.v1beta.UpdateDataStreamRequest.class, - responseType = com.google.analytics.admin.v1beta.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataStreamMethod() { - io.grpc.MethodDescriptor getUpdateDataStreamMethod; - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataStreamMethod = AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDataStreamMethod = getUpdateDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataStream")) - .build(); - } - } - } - return getUpdateDataStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDataStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDataStreams", - requestType = com.google.analytics.admin.v1beta.ListDataStreamsRequest.class, - responseType = com.google.analytics.admin.v1beta.ListDataStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDataStreamsMethod() { - io.grpc.MethodDescriptor getListDataStreamsMethod; - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListDataStreamsMethod = AnalyticsAdminServiceGrpc.getListDataStreamsMethod) == null) { - AnalyticsAdminServiceGrpc.getListDataStreamsMethod = getListDataStreamsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDataStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListDataStreamsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ListDataStreamsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListDataStreams")) - .build(); - } - } - } - return getListDataStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataStream", - requestType = com.google.analytics.admin.v1beta.GetDataStreamRequest.class, - responseType = com.google.analytics.admin.v1beta.DataStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataStreamMethod() { - io.grpc.MethodDescriptor getGetDataStreamMethod; - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataStreamMethod = AnalyticsAdminServiceGrpc.getGetDataStreamMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataStreamMethod = getGetDataStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.GetDataStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.DataStream.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataStream")) - .build(); - } - } - } - return getGetDataStreamMethod; - } - - /** - * 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 = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AnalyticsAdminServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AnalyticsAdminServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AnalyticsAdminServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - }; - return AnalyticsAdminServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static abstract class AnalyticsAdminServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountMethod(), responseObserver); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountsMethod(), responseObserver); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public void updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccountMethod(), responseObserver); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionAccountTicketMethod(), responseObserver); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries(com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccountSummariesMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPropertyMethod(), responseObserver); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPropertiesMethod(), responseObserver); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePropertyMethod(), responseObserver); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public void deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public void updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePropertyMethod(), responseObserver); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFirebaseLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFirebaseLinkMethod(), responseObserver); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFirebaseLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGoogleAdsLinkMethod(), responseObserver); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGoogleAdsLinksMethod(), responseObserver); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataSharingSettingsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMeasurementProtocolSecretsMethod(), responseObserver); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeUserDataCollectionMethod(), responseObserver); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchChangeHistoryEventsMethod(), responseObserver); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent(com.google.analytics.admin.v1beta.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConversionEventMethod(), responseObserver); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent(com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConversionEventMethod(), responseObserver); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents(com.google.analytics.admin.v1beta.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConversionEventsMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomDimensionsMethod(), responseObserver); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomMetricsMethod(), responseObserver); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getArchiveCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomMetricMethod(), responseObserver); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDataStreamMethod(), responseObserver); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDataStreamMethod(), responseObserver); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataStreamMethod(), responseObserver); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDataStreamsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataStreamMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetAccountRequest, - com.google.analytics.admin.v1beta.Account>( - this, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListAccountsRequest, - com.google.analytics.admin.v1beta.ListAccountsResponse>( - this, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteAccountRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateAccountRequest, - com.google.analytics.admin.v1beta.Account>( - this, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>( - this, METHODID_PROVISION_ACCOUNT_TICKET))) - .addMethod( - getListAccountSummariesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListAccountSummariesRequest, - com.google.analytics.admin.v1beta.ListAccountSummariesResponse>( - this, METHODID_LIST_ACCOUNT_SUMMARIES))) - .addMethod( - getGetPropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetPropertyRequest, - com.google.analytics.admin.v1beta.Property>( - this, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListPropertiesRequest, - com.google.analytics.admin.v1beta.ListPropertiesResponse>( - this, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreatePropertyRequest, - com.google.analytics.admin.v1beta.Property>( - this, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeletePropertyRequest, - com.google.analytics.admin.v1beta.Property>( - this, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdatePropertyRequest, - com.google.analytics.admin.v1beta.Property>( - this, METHODID_UPDATE_PROPERTY))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1beta.FirebaseLink>( - this, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_FIREBASE_LINK))) - .addMethod( - getListFirebaseLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest, - com.google.analytics.admin.v1beta.ListFirebaseLinksResponse>( - this, METHODID_LIST_FIREBASE_LINKS))) - .addMethod( - getCreateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink>( - this, METHODID_CREATE_GOOGLE_ADS_LINK))) - .addMethod( - getUpdateGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest, - com.google.analytics.admin.v1beta.GoogleAdsLink>( - this, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_GOOGLE_ADS_LINK))) - .addMethod( - getListGoogleAdsLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest, - com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse>( - this, METHODID_LIST_GOOGLE_ADS_LINKS))) - .addMethod( - getGetDataSharingSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest, - com.google.analytics.admin.v1beta.DataSharingSettings>( - this, METHODID_GET_DATA_SHARING_SETTINGS))) - .addMethod( - getGetMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( - this, METHODID_GET_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getListMeasurementProtocolSecretsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest, - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse>( - this, METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS))) - .addMethod( - getCreateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( - this, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getUpdateMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest, - com.google.analytics.admin.v1beta.MeasurementProtocolSecret>( - this, METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getAcknowledgeUserDataCollectionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest, - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse>( - this, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) - .addMethod( - getSearchChangeHistoryEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse>( - this, METHODID_SEARCH_CHANGE_HISTORY_EVENTS))) - .addMethod( - getCreateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent>( - this, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent>( - this, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteConversionEventRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CONVERSION_EVENT))) - .addMethod( - getListConversionEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListConversionEventsRequest, - com.google.analytics.admin.v1beta.ListConversionEventsResponse>( - this, METHODID_LIST_CONVERSION_EVENTS))) - .addMethod( - getCreateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension>( - this, METHODID_CREATE_CUSTOM_DIMENSION))) - .addMethod( - getUpdateCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension>( - this, METHODID_UPDATE_CUSTOM_DIMENSION))) - .addMethod( - getListCustomDimensionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest, - com.google.analytics.admin.v1beta.ListCustomDimensionsResponse>( - this, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>( - this, METHODID_ARCHIVE_CUSTOM_DIMENSION))) - .addMethod( - getGetCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetCustomDimensionRequest, - com.google.analytics.admin.v1beta.CustomDimension>( - this, METHODID_GET_CUSTOM_DIMENSION))) - .addMethod( - getCreateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric>( - this, METHODID_CREATE_CUSTOM_METRIC))) - .addMethod( - getUpdateCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric>( - this, METHODID_UPDATE_CUSTOM_METRIC))) - .addMethod( - getListCustomMetricsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListCustomMetricsRequest, - com.google.analytics.admin.v1beta.ListCustomMetricsResponse>( - this, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>( - this, METHODID_ARCHIVE_CUSTOM_METRIC))) - .addMethod( - getGetCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetCustomMetricRequest, - com.google.analytics.admin.v1beta.CustomMetric>( - this, METHODID_GET_CUSTOM_METRIC))) - .addMethod( - getGetDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings>( - this, METHODID_GET_DATA_RETENTION_SETTINGS))) - .addMethod( - getUpdateDataRetentionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest, - com.google.analytics.admin.v1beta.DataRetentionSettings>( - this, METHODID_UPDATE_DATA_RETENTION_SETTINGS))) - .addMethod( - getCreateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream>( - this, METHODID_CREATE_DATA_STREAM))) - .addMethod( - getDeleteDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteDataStreamRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DATA_STREAM))) - .addMethod( - getUpdateDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream>( - this, METHODID_UPDATE_DATA_STREAM))) - .addMethod( - getListDataStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListDataStreamsRequest, - com.google.analytics.admin.v1beta.ListDataStreamsResponse>( - this, METHODID_LIST_DATA_STREAMS))) - .addMethod( - getGetDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetDataStreamRequest, - com.google.analytics.admin.v1beta.DataStream>( - this, METHODID_GET_DATA_STREAM))) - .build(); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AnalyticsAdminServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public void getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public void listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public void deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public void updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public void provisionAccountTicket(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public void listAccountSummaries(com.google.analytics.admin.v1beta.ListAccountSummariesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public void getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public void listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public void createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public void deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public void updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public void deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public void listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public void createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public void updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public void deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public void listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public void getDataSharingSettings(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public void getMeasurementProtocolSecret(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public void listMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public void createMeasurementProtocolSecret(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public void deleteMeasurementProtocolSecret(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public void updateMeasurementProtocolSecret(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * 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.
-     * 
- */ - public void acknowledgeUserDataCollection(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public void searchChangeHistoryEvents(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public void createConversionEvent(com.google.analytics.admin.v1beta.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public void getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public void deleteConversionEvent(com.google.analytics.admin.v1beta.DeleteConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public void listConversionEvents(com.google.analytics.admin.v1beta.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public void createCustomDimension(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public void updateCustomDimension(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public void listCustomDimensions(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public void archiveCustomDimension(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public void getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public void createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public void updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public void listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public void archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public void getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public void getDataRetentionSettings(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public void updateDataRetentionSettings(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public void createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public void deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public void updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public void listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public void getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AnalyticsAdminServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.analytics.admin.v1beta.Account getAccount(com.google.analytics.admin.v1beta.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListAccountsResponse listAccounts(com.google.analytics.admin.v1beta.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountsMethod(), getCallOptions(), request); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.protobuf.Empty deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public com.google.analytics.admin.v1beta.Account updateAccount(com.google.analytics.admin.v1beta.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse provisionAccountTicket(com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProvisionAccountTicketMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListAccountSummariesResponse listAccountSummaries(com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccountSummariesMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property getProperty(com.google.analytics.admin.v1beta.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListPropertiesResponse listProperties(com.google.analytics.admin.v1beta.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPropertiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property createProperty(com.google.analytics.admin.v1beta.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.Property updateProperty(com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1beta.FirebaseLink createFirebaseLink(com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteFirebaseLink(com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFirebaseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListFirebaseLinksResponse listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFirebaseLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.analytics.admin.v1beta.GoogleAdsLink createGoogleAdsLink(com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.analytics.admin.v1beta.GoogleAdsLink updateGoogleAdsLink(com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.protobuf.Empty deleteGoogleAdsLink(com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGoogleAdsLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListGoogleAdsLinksResponse listGoogleAdsLinks(com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGoogleAdsLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataSharingSettings getDataSharingSettings(com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataSharingSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse listMeasurementProtocolSecrets(com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMeasurementProtocolSecretsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret createMeasurementProtocolSecret(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.protobuf.Empty deleteMeasurementProtocolSecret(com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.analytics.admin.v1beta.MeasurementProtocolSecret updateMeasurementProtocolSecret(com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMeasurementProtocolSecretMethod(), getCallOptions(), request); - } - - /** - *
-     * 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.
-     * 
- */ - public com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection(com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAcknowledgeUserDataCollectionMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse searchChangeHistoryEvents(com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchChangeHistoryEventsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1beta.ConversionEvent createConversionEvent(com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(com.google.analytics.admin.v1beta.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.protobuf.Empty deleteConversionEvent(com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConversionEventMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListConversionEventsResponse listConversionEvents(com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConversionEventsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomDimension createCustomDimension(com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomDimension updateCustomDimension(com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListCustomDimensionsResponse listCustomDimensions(com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomDimensionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomDimension(com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomDimensionMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomMetric createCustomMetric(com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomMetric updateCustomMetric(com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListCustomMetricsResponse listCustomMetrics(com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCustomMetricsMethod(), getCallOptions(), request); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.protobuf.Empty archiveCustomMetric(com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getArchiveCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCustomMetricMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataRetentionSettings getDataRetentionSettings(com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataRetentionSettings updateDataRetentionSettings(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataRetentionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataStream createDataStream(com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteDataStream(com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataStream updateDataStream(com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.analytics.admin.v1beta.ListDataStreamsResponse listDataStreams(com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDataStreamsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.analytics.admin.v1beta.DataStream getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataStreamMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static final class AnalyticsAdminServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AnalyticsAdminServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AnalyticsAdminServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AnalyticsAdminServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAccount( - com.google.analytics.admin.v1beta.GetAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns all accounts accessible by the caller.
-     * Note that these accounts might not currently have GA4 properties.
-     * Soft-deleted (ie: "trashed") accounts are excluded by default.
-     * Returns an empty list if no relevant accounts are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAccounts( - com.google.analytics.admin.v1beta.ListAccountsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountsMethod(), getCallOptions()), request); - } - - /** - *
-     * Marks target Account as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted accounts.
-     * However, they can be restored using the Trash Can UI.
-     * If the accounts are not restored before the expiration time, the account
-     * and all child resources (eg: Properties, GoogleAdsLinks, Streams,
-     * UserLinks) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAccount( - com.google.analytics.admin.v1beta.DeleteAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAccount( - com.google.analytics.admin.v1beta.UpdateAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Requests a ticket for creating an account.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture provisionAccountTicket( - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProvisionAccountTicketMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns summaries of all accounts accessible by the caller.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAccountSummaries( - com.google.analytics.admin.v1beta.ListAccountSummariesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccountSummariesMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single "GA4" Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProperty( - com.google.analytics.admin.v1beta.GetPropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child Properties under the specified parent Account.
-     * Only "GA4" properties will be returned.
-     * Properties will be excluded if the caller does not have access.
-     * Soft-deleted (ie: "trashed") properties are excluded by default.
-     * Returns an empty list if no relevant properties are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listProperties( - com.google.analytics.admin.v1beta.ListPropertiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPropertiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an "GA4" property with the specified location and attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createProperty( - com.google.analytics.admin.v1beta.CreatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Marks target Property as soft-deleted (ie: "trashed") and returns it.
-     * This API does not have a method to restore soft-deleted properties.
-     * However, they can be restored using the Trash Can UI.
-     * If the properties are not restored before the expiration time, the Property
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteProperty( - com.google.analytics.admin.v1beta.DeletePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProperty( - com.google.analytics.admin.v1beta.UpdatePropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createFirebaseLink( - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a FirebaseLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteFirebaseLink( - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFirebaseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists FirebaseLinks on a property.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFirebaseLinks( - com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFirebaseLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createGoogleAdsLink( - com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateGoogleAdsLink( - com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a GoogleAdsLink on a property
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteGoogleAdsLink( - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGoogleAdsLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists GoogleAdsLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listGoogleAdsLinks( - com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGoogleAdsLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Get data sharing settings on an account.
-     * Data sharing settings are singletons.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataSharingSettings( - com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataSharingSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single "GA4" MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns child MeasurementProtocolSecrets under the specified parent
-     * Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMeasurementProtocolSecrets( - com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMeasurementProtocolSecretsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a measurement protocol secret.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateMeasurementProtocolSecret( - com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMeasurementProtocolSecretMethod(), getCallOptions()), request); - } - - /** - *
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture acknowledgeUserDataCollection( - com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAcknowledgeUserDataCollectionMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchChangeHistoryEvents( - com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchChangeHistoryEventsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createConversionEvent( - com.google.analytics.admin.v1beta.CreateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getConversionEvent( - com.google.analytics.admin.v1beta.GetConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a conversion event in a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteConversionEvent( - com.google.analytics.admin.v1beta.DeleteConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConversionEventMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a list of conversion events in the specified parent property.
-     * Returns an empty list if no conversion events are found.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listConversionEvents( - com.google.analytics.admin.v1beta.ListConversionEventsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConversionEventsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCustomDimension( - com.google.analytics.admin.v1beta.CreateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCustomDimension( - com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CustomDimensions on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCustomDimensions( - com.google.analytics.admin.v1beta.ListCustomDimensionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomDimensionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Archives a CustomDimension on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture archiveCustomDimension( - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single CustomDimension.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCustomDimension( - com.google.analytics.admin.v1beta.GetCustomDimensionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomDimensionMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCustomMetric( - com.google.analytics.admin.v1beta.CreateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCustomMetric( - com.google.analytics.admin.v1beta.UpdateCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CustomMetrics on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCustomMetrics( - com.google.analytics.admin.v1beta.ListCustomMetricsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCustomMetricsMethod(), getCallOptions()), request); - } - - /** - *
-     * Archives a CustomMetric on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture archiveCustomMetric( - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getArchiveCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single CustomMetric.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCustomMetric( - com.google.analytics.admin.v1beta.GetCustomMetricRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCustomMetricMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataRetentionSettings( - com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the singleton data retention settings for this property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataRetentionSettings( - com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataRetentionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDataStream( - com.google.analytics.admin.v1beta.CreateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDataStream( - com.google.analytics.admin.v1beta.DeleteDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataStream on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataStream( - com.google.analytics.admin.v1beta.UpdateDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DataStreams on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDataStreams( - com.google.analytics.admin.v1beta.ListDataStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDataStreamsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single DataStream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataStream( - com.google.analytics.admin.v1beta.GetDataStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataStreamMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_ACCOUNT = 0; - private static final int METHODID_LIST_ACCOUNTS = 1; - private static final int METHODID_DELETE_ACCOUNT = 2; - private static final int METHODID_UPDATE_ACCOUNT = 3; - private static final int METHODID_PROVISION_ACCOUNT_TICKET = 4; - private static final int METHODID_LIST_ACCOUNT_SUMMARIES = 5; - private static final int METHODID_GET_PROPERTY = 6; - private static final int METHODID_LIST_PROPERTIES = 7; - private static final int METHODID_CREATE_PROPERTY = 8; - private static final int METHODID_DELETE_PROPERTY = 9; - private static final int METHODID_UPDATE_PROPERTY = 10; - private static final int METHODID_CREATE_FIREBASE_LINK = 11; - private static final int METHODID_DELETE_FIREBASE_LINK = 12; - private static final int METHODID_LIST_FIREBASE_LINKS = 13; - private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 14; - private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 15; - private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 16; - private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 17; - private static final int METHODID_GET_DATA_SHARING_SETTINGS = 18; - private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 19; - private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 20; - private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 21; - private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 22; - private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 23; - private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 24; - private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 25; - private static final int METHODID_CREATE_CONVERSION_EVENT = 26; - private static final int METHODID_GET_CONVERSION_EVENT = 27; - private static final int METHODID_DELETE_CONVERSION_EVENT = 28; - private static final int METHODID_LIST_CONVERSION_EVENTS = 29; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 30; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 31; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 32; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 33; - private static final int METHODID_GET_CUSTOM_DIMENSION = 34; - private static final int METHODID_CREATE_CUSTOM_METRIC = 35; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 36; - private static final int METHODID_LIST_CUSTOM_METRICS = 37; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 38; - private static final int METHODID_GET_CUSTOM_METRIC = 39; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 40; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 41; - private static final int METHODID_CREATE_DATA_STREAM = 42; - private static final int METHODID_DELETE_DATA_STREAM = 43; - private static final int METHODID_UPDATE_DATA_STREAM = 44; - private static final int METHODID_LIST_DATA_STREAMS = 45; - private static final int METHODID_GET_DATA_STREAM = 46; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AnalyticsAdminServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AnalyticsAdminServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_ACCOUNT: - serviceImpl.getAccount((com.google.analytics.admin.v1beta.GetAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ACCOUNTS: - serviceImpl.listAccounts((com.google.analytics.admin.v1beta.ListAccountsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ACCOUNT: - serviceImpl.deleteAccount((com.google.analytics.admin.v1beta.DeleteAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ACCOUNT: - serviceImpl.updateAccount((com.google.analytics.admin.v1beta.UpdateAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROVISION_ACCOUNT_TICKET: - serviceImpl.provisionAccountTicket((com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ACCOUNT_SUMMARIES: - serviceImpl.listAccountSummaries((com.google.analytics.admin.v1beta.ListAccountSummariesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROPERTY: - serviceImpl.getProperty((com.google.analytics.admin.v1beta.GetPropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PROPERTIES: - serviceImpl.listProperties((com.google.analytics.admin.v1beta.ListPropertiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PROPERTY: - serviceImpl.createProperty((com.google.analytics.admin.v1beta.CreatePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PROPERTY: - serviceImpl.deleteProperty((com.google.analytics.admin.v1beta.DeletePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROPERTY: - serviceImpl.updateProperty((com.google.analytics.admin.v1beta.UpdatePropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_FIREBASE_LINK: - serviceImpl.createFirebaseLink((com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_FIREBASE_LINK: - serviceImpl.deleteFirebaseLink((com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FIREBASE_LINKS: - serviceImpl.listFirebaseLinks((com.google.analytics.admin.v1beta.ListFirebaseLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_GOOGLE_ADS_LINK: - serviceImpl.createGoogleAdsLink((com.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GOOGLE_ADS_LINK: - serviceImpl.updateGoogleAdsLink((com.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_GOOGLE_ADS_LINK: - serviceImpl.deleteGoogleAdsLink((com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_GOOGLE_ADS_LINKS: - serviceImpl.listGoogleAdsLinks((com.google.analytics.admin.v1beta.ListGoogleAdsLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_SHARING_SETTINGS: - serviceImpl.getDataSharingSettings((com.google.analytics.admin.v1beta.GetDataSharingSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.getMeasurementProtocolSecret((com.google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS: - serviceImpl.listMeasurementProtocolSecrets((com.google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.createMeasurementProtocolSecret((com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.deleteMeasurementProtocolSecret((com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET: - serviceImpl.updateMeasurementProtocolSecret((com.google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION: - serviceImpl.acknowledgeUserDataCollection((com.google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_CHANGE_HISTORY_EVENTS: - serviceImpl.searchChangeHistoryEvents((com.google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CONVERSION_EVENT: - serviceImpl.createConversionEvent((com.google.analytics.admin.v1beta.CreateConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONVERSION_EVENT: - serviceImpl.getConversionEvent((com.google.analytics.admin.v1beta.GetConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CONVERSION_EVENT: - serviceImpl.deleteConversionEvent((com.google.analytics.admin.v1beta.DeleteConversionEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONVERSION_EVENTS: - serviceImpl.listConversionEvents((com.google.analytics.admin.v1beta.ListConversionEventsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUSTOM_DIMENSION: - serviceImpl.createCustomDimension((com.google.analytics.admin.v1beta.CreateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CUSTOM_DIMENSION: - serviceImpl.updateCustomDimension((com.google.analytics.admin.v1beta.UpdateCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUSTOM_DIMENSIONS: - serviceImpl.listCustomDimensions((com.google.analytics.admin.v1beta.ListCustomDimensionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_DIMENSION: - serviceImpl.archiveCustomDimension((com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_DIMENSION: - serviceImpl.getCustomDimension((com.google.analytics.admin.v1beta.GetCustomDimensionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUSTOM_METRIC: - serviceImpl.createCustomMetric((com.google.analytics.admin.v1beta.CreateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CUSTOM_METRIC: - serviceImpl.updateCustomMetric((com.google.analytics.admin.v1beta.UpdateCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUSTOM_METRICS: - serviceImpl.listCustomMetrics((com.google.analytics.admin.v1beta.ListCustomMetricsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ARCHIVE_CUSTOM_METRIC: - serviceImpl.archiveCustomMetric((com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUSTOM_METRIC: - serviceImpl.getCustomMetric((com.google.analytics.admin.v1beta.GetCustomMetricRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_RETENTION_SETTINGS: - serviceImpl.getDataRetentionSettings((com.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_RETENTION_SETTINGS: - serviceImpl.updateDataRetentionSettings((com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DATA_STREAM: - serviceImpl.createDataStream((com.google.analytics.admin.v1beta.CreateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATA_STREAM: - serviceImpl.deleteDataStream((com.google.analytics.admin.v1beta.DeleteDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_STREAM: - serviceImpl.updateDataStream((com.google.analytics.admin.v1beta.UpdateDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATA_STREAMS: - serviceImpl.listDataStreams((com.google.analytics.admin.v1beta.ListDataStreamsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_STREAM: - serviceImpl.getDataStream((com.google.analytics.admin.v1beta.GetDataStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AnalyticsAdminServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AnalyticsAdminService"); - } - } - - private static final class AnalyticsAdminServiceFileDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier { - AnalyticsAdminServiceFileDescriptorSupplier() {} - } - - private static final class AnalyticsAdminServiceMethodDescriptorSupplier - extends AnalyticsAdminServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AnalyticsAdminServiceFileDescriptorSupplier()) - .addMethod(getGetAccountMethod()) - .addMethod(getListAccountsMethod()) - .addMethod(getDeleteAccountMethod()) - .addMethod(getUpdateAccountMethod()) - .addMethod(getProvisionAccountTicketMethod()) - .addMethod(getListAccountSummariesMethod()) - .addMethod(getGetPropertyMethod()) - .addMethod(getListPropertiesMethod()) - .addMethod(getCreatePropertyMethod()) - .addMethod(getDeletePropertyMethod()) - .addMethod(getUpdatePropertyMethod()) - .addMethod(getCreateFirebaseLinkMethod()) - .addMethod(getDeleteFirebaseLinkMethod()) - .addMethod(getListFirebaseLinksMethod()) - .addMethod(getCreateGoogleAdsLinkMethod()) - .addMethod(getUpdateGoogleAdsLinkMethod()) - .addMethod(getDeleteGoogleAdsLinkMethod()) - .addMethod(getListGoogleAdsLinksMethod()) - .addMethod(getGetDataSharingSettingsMethod()) - .addMethod(getGetMeasurementProtocolSecretMethod()) - .addMethod(getListMeasurementProtocolSecretsMethod()) - .addMethod(getCreateMeasurementProtocolSecretMethod()) - .addMethod(getDeleteMeasurementProtocolSecretMethod()) - .addMethod(getUpdateMeasurementProtocolSecretMethod()) - .addMethod(getAcknowledgeUserDataCollectionMethod()) - .addMethod(getSearchChangeHistoryEventsMethod()) - .addMethod(getCreateConversionEventMethod()) - .addMethod(getGetConversionEventMethod()) - .addMethod(getDeleteConversionEventMethod()) - .addMethod(getListConversionEventsMethod()) - .addMethod(getCreateCustomDimensionMethod()) - .addMethod(getUpdateCustomDimensionMethod()) - .addMethod(getListCustomDimensionsMethod()) - .addMethod(getArchiveCustomDimensionMethod()) - .addMethod(getGetCustomDimensionMethod()) - .addMethod(getCreateCustomMetricMethod()) - .addMethod(getUpdateCustomMetricMethod()) - .addMethod(getListCustomMetricsMethod()) - .addMethod(getArchiveCustomMetricMethod()) - .addMethod(getGetCustomMetricMethod()) - .addMethod(getGetDataRetentionSettingsMethod()) - .addMethod(getUpdateDataRetentionSettingsMethod()) - .addMethod(getCreateDataStreamMethod()) - .addMethod(getDeleteDataStreamMethod()) - .addMethod(getUpdateDataStreamMethod()) - .addMethod(getListDataStreamsMethod()) - .addMethod(getGetDataStreamMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java deleted file mode 100644 index becd2ed551ea..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AcknowledgeUserDataCollectionResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface AcknowledgeUserDataCollectionResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java deleted file mode 100644 index d181f79cf6a7..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java +++ /dev/null @@ -1,1176 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public final class AnalyticsAdminProto { - private AnalyticsAdminProto() {} - 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_v1beta_GetAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/analytics/admin/v1beta/analytic" + - "s_admin.proto\022\035google.analytics.admin.v1" + - "beta\032-google/analytics/admin/v1beta/reso" + - "urces.proto\032\034google/api/annotations.prot" + - "o\032\027google/api/client.proto\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032\033google/protobuf/empty.proto\032 goo" + - "gle/protobuf/field_mask.proto\032\037google/pr" + - "otobuf/timestamp.proto\"P\n\021GetAccountRequ" + - "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmi" + - "n.googleapis.com/Account\"R\n\023ListAccounts" + - "Request\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token" + - "\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"i\n\024ListAcco" + - "untsResponse\0228\n\010accounts\030\001 \003(\0132&.google." + - "analytics.admin.v1beta.Account\022\027\n\017next_p" + - "age_token\030\002 \001(\t\"S\n\024DeleteAccountRequest\022" + - ";\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsadmin.go" + - "ogleapis.com/Account\"\212\001\n\024UpdateAccountRe" + - "quest\022<\n\007account\030\001 \001(\0132&.google.analytic" + - "s.admin.v1beta.AccountB\003\340A\002\0224\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + - "\002\"n\n\035ProvisionAccountTicketRequest\0227\n\007ac" + - "count\030\001 \001(\0132&.google.analytics.admin.v1b" + - "eta.Account\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Pro" + - "visionAccountTicketResponse\022\031\n\021account_t" + - "icket_id\030\001 \001(\t\"R\n\022GetPropertyRequest\022<\n\004" + - "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl" + - "eapis.com/Property\"i\n\025ListPropertiesRequ" + - "est\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 " + - "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_deleted\030" + - "\004 \001(\010\"n\n\026ListPropertiesResponse\022;\n\nprope" + - "rties\030\001 \003(\0132\'.google.analytics.admin.v1b" + - "eta.Property\022\027\n\017next_page_token\030\002 \001(\t\"\215\001" + - "\n\025UpdatePropertyRequest\022>\n\010property\030\001 \001(" + - "\0132\'.google.analytics.admin.v1beta.Proper" + - "tyB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr" + - "otobuf.FieldMaskB\003\340A\002\"W\n\025CreatePropertyR" + - "equest\022>\n\010property\030\001 \001(\0132\'.google.analyt" + - "ics.admin.v1beta.PropertyB\003\340A\002\"U\n\025Delete" + - "PropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&a" + - "nalyticsadmin.googleapis.com/Property\"\250\001" + - "\n\031CreateFirebaseLinkRequest\022B\n\006parent\030\001 " + - "\001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis.c" + - "om/FirebaseLink\022G\n\rfirebase_link\030\002 \001(\0132+" + - ".google.analytics.admin.v1beta.FirebaseL" + - "inkB\003\340A\002\"]\n\031DeleteFirebaseLinkRequest\022@\n" + - "\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.goog" + - "leapis.com/FirebaseLink\"\205\001\n\030ListFirebase" + - "LinksRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + - "alyticsadmin.googleapis.com/FirebaseLink" + - "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + - "y\n\031ListFirebaseLinksResponse\022C\n\016firebase" + - "_links\030\001 \003(\0132+.google.analytics.admin.v1" + - "beta.FirebaseLink\022\027\n\017next_page_token\030\002 \001" + - "(\t\"\255\001\n\032CreateGoogleAdsLinkRequest\022C\n\006par" + - "ent\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.google" + - "apis.com/GoogleAdsLink\022J\n\017google_ads_lin" + - "k\030\002 \001(\0132,.google.analytics.admin.v1beta." + - "GoogleAdsLinkB\003\340A\002\"\231\001\n\032UpdateGoogleAdsLi" + - "nkRequest\022E\n\017google_ads_link\030\001 \001(\0132,.goo" + - "gle.analytics.admin.v1beta.GoogleAdsLink" + - "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq" + - "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm" + - "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List" + - "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340" + - "A\002\372A-\022+analyticsadmin.googleapis.com/Goo" + - "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\"}\n\032ListGoogleAdsLinksResponse\022" + - "F\n\020google_ads_links\030\001 \003(\0132,.google.analy" + - "tics.admin.v1beta.GoogleAdsLink\022\027\n\017next_" + - "page_token\030\002 \001(\t\"h\n\035GetDataSharingSettin" + - "gsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyti" + - "csadmin.googleapis.com/DataSharingSettin" + - "gs\"D\n\033ListAccountSummariesRequest\022\021\n\tpag" + - "e_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\034Lis" + - "tAccountSummariesResponse\022H\n\021account_sum" + - "maries\030\001 \003(\0132-.google.analytics.admin.v1" + - "beta.AccountSummary\022\027\n\017next_page_token\030\002" + - " \001(\t\"\206\001\n$AcknowledgeUserDataCollectionRe" + - "quest\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analyti" + - "csadmin.googleapis.com/Property\022\034\n\017ackno" + - "wledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUser" + - "DataCollectionResponse\"\201\004\n SearchChangeH" + - "istoryEventsRequest\022>\n\007account\030\001 \001(\tB-\340A" + - "\002\372A\'\n%analyticsadmin.googleapis.com/Acco" + - "unt\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analytics" + - "admin.googleapis.com/Property\022T\n\rresourc" + - "e_type\030\003 \003(\01628.google.analytics.admin.v1" + - "beta.ChangeHistoryResourceTypeB\003\340A\001\022>\n\006a" + - "ction\030\004 \003(\0162).google.analytics.admin.v1b" + - "eta.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\t" + - "B\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\003\340A\001\022;\n\022latest_c" + - "hange_time\030\007 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npag" + - "e_token\030\t \001(\tB\003\340A\001\"\216\001\n!SearchChangeHisto" + - "ryEventsResponse\022P\n\025change_history_event" + - "s\030\001 \003(\01321.google.analytics.admin.v1beta." + - "ChangeHistoryEvent\022\027\n\017next_page_token\030\002 " + - "\001(\t\"t\n#GetMeasurementProtocolSecretReque" + - "st\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin" + - ".googleapis.com/MeasurementProtocolSecre" + - "t\"\335\001\n&CreateMeasurementProtocolSecretReq" + - "uest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsa" + - "dmin.googleapis.com/MeasurementProtocolS" + - "ecret\022b\n\033measurement_protocol_secret\030\002 \001" + - "(\01328.google.analytics.admin.v1beta.Measu" + - "rementProtocolSecretB\003\340A\002\"w\n&DeleteMeasu" + - "rementProtocolSecretRequest\022M\n\004name\030\001 \001(" + - "\tB?\340A\002\372A9\n7analyticsadmin.googleapis.com" + - "/MeasurementProtocolSecret\"\275\001\n&UpdateMea" + - "surementProtocolSecretRequest\022b\n\033measure" + - "ment_protocol_secret\030\001 \001(\01328.google.anal" + - "ytics.admin.v1beta.MeasurementProtocolSe" + - "cretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMask\"\237\001\n%ListMeasurementPr" + - "otocolSecretsRequest\022O\n\006parent\030\001 \001(\tB?\340A" + - "\002\372A9\0227analyticsadmin.googleapis.com/Meas" + - "urementProtocolSecret\022\021\n\tpage_size\030\002 \001(\005" + - "\022\022\n\npage_token\030\003 \001(\t\"\241\001\n&ListMeasurement" + - "ProtocolSecretsResponse\022^\n\034measurement_p" + - "rotocol_secrets\030\001 \003(\01328.google.analytics" + - ".admin.v1beta.MeasurementProtocolSecret\022" + - "\027\n\017next_page_token\030\002 \001(\t\"\264\001\n\034CreateConve" + - "rsionEventRequest\022M\n\020conversion_event\030\001 " + - "\001(\0132..google.analytics.admin.v1beta.Conv" + - "ersionEventB\003\340A\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/" + - "\022-analyticsadmin.googleapis.com/Conversi" + - "onEvent\"`\n\031GetConversionEventRequest\022C\n\004" + - "name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googl" + - "eapis.com/ConversionEvent\"c\n\034DeleteConve" + - "rsionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n" + - "-analyticsadmin.googleapis.com/Conversio" + - "nEvent\"\213\001\n\033ListConversionEventsRequest\022E" + - "\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.g" + - "oogleapis.com/ConversionEvent\022\021\n\tpage_si" + - "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\034ListCon" + - "versionEventsResponse\022I\n\021conversion_even" + - "ts\030\001 \003(\0132..google.analytics.admin.v1beta" + - ".ConversionEvent\022\027\n\017next_page_token\030\002 \001(" + - "\t\"\264\001\n\034CreateCustomDimensionRequest\022E\n\006pa" + - "rent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.googl" + - "eapis.com/CustomDimension\022M\n\020custom_dime" + - "nsion\030\002 \001(\0132..google.analytics.admin.v1b" + - "eta.CustomDimensionB\003\340A\002\"\236\001\n\034UpdateCusto" + - "mDimensionRequest\022H\n\020custom_dimension\030\001 " + - "\001(\0132..google.analytics.admin.v1beta.Cust" + - "omDimension\0224\n\013update_mask\030\002 \001(\0132\032.googl" + - "e.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033ListCustom" + - "DimensionsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A" + - "/\022-analyticsadmin.googleapis.com/CustomD" + - "imension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + - "n\030\003 \001(\t\"\202\001\n\034ListCustomDimensionsResponse" + - "\022I\n\021custom_dimensions\030\001 \003(\0132..google.ana" + - "lytics.admin.v1beta.CustomDimension\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\"d\n\035ArchiveCustomDim" + - "ensionRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-ana" + - "lyticsadmin.googleapis.com/CustomDimensi" + - "on\"`\n\031GetCustomDimensionRequest\022C\n\004name\030" + - "\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.googleapis" + - ".com/CustomDimension\"\250\001\n\031CreateCustomMet" + - "ricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*anal" + - "yticsadmin.googleapis.com/CustomMetric\022G" + - "\n\rcustom_metric\030\002 \001(\0132+.google.analytics" + - ".admin.v1beta.CustomMetricB\003\340A\002\"\225\001\n\031Upda" + - "teCustomMetricRequest\022B\n\rcustom_metric\030\001" + - " \001(\0132+.google.analytics.admin.v1beta.Cus" + - "tomMetric\0224\n\013update_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMaskB\003\340A\002\"\205\001\n\030ListCustomMe" + - "tricsRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*an" + - "alyticsadmin.googleapis.com/CustomMetric" + - "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + - "y\n\031ListCustomMetricsResponse\022C\n\016custom_m" + - "etrics\030\001 \003(\0132+.google.analytics.admin.v1" + - "beta.CustomMetric\022\027\n\017next_page_token\030\002 \001" + - "(\t\"^\n\032ArchiveCustomMetricRequest\022@\n\004name" + - "\030\001 \001(\tB2\340A\002\372A,\n*analyticsadmin.googleapi" + - "s.com/CustomMetric\"Z\n\026GetCustomMetricReq" + - "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadm" + - "in.googleapis.com/CustomMetric\"l\n\037GetDat" + - "aRetentionSettingsRequest\022I\n\004name\030\001 \001(\tB" + - ";\340A\002\372A5\n3analyticsadmin.googleapis.com/D" + - "ataRetentionSettings\"\266\001\n\"UpdateDataReten" + - "tionSettingsRequest\022Z\n\027data_retention_se" + - "ttings\030\001 \001(\01324.google.analytics.admin.v1" + - "beta.DataRetentionSettingsB\003\340A\002\0224\n\013updat" + - "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + - "B\003\340A\002\"\240\001\n\027CreateDataStreamRequest\022@\n\006par" + - "ent\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.google" + - "apis.com/DataStream\022C\n\013data_stream\030\002 \001(\013" + - "2).google.analytics.admin.v1beta.DataStr" + - "eamB\003\340A\002\"Y\n\027DeleteDataStreamRequest\022>\n\004n" + - "ame\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.google" + - "apis.com/DataStream\"\217\001\n\027UpdateDataStream" + - "Request\022>\n\013data_stream\030\001 \001(\0132).google.an" + - "alytics.admin.v1beta.DataStream\0224\n\013updat" + - "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" + - "B\003\340A\002\"\201\001\n\026ListDataStreamsRequest\022@\n\006pare" + - "nt\030\001 \001(\tB0\340A\002\372A*\022(analyticsadmin.googlea" + - "pis.com/DataStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n" + - "\npage_token\030\003 \001(\t\"s\n\027ListDataStreamsResp" + - "onse\022?\n\014data_streams\030\001 \003(\0132).google.anal" + - "ytics.admin.v1beta.DataStream\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"V\n\024GetDataStreamRequest\022>" + - "\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyticsadmin.goo" + - "gleapis.com/DataStream2\353L\n\025AnalyticsAdmi" + - "nService\022\220\001\n\nGetAccount\0220.google.analyti" + - "cs.admin.v1beta.GetAccountRequest\032&.goog" + - "le.analytics.admin.v1beta.Account\"(\202\323\344\223\002" + - "\033\022\031/v1beta/{name=accounts/*}\332A\004name\022\221\001\n\014" + - "ListAccounts\0222.google.analytics.admin.v1" + - "beta.ListAccountsRequest\0323.google.analyt" + - "ics.admin.v1beta.ListAccountsResponse\"\030\202" + - "\323\344\223\002\022\022\020/v1beta/accounts\022\206\001\n\rDeleteAccoun" + - "t\0223.google.analytics.admin.v1beta.Delete" + - "AccountRequest\032\026.google.protobuf.Empty\"(" + - "\202\323\344\223\002\033*\031/v1beta/{name=accounts/*}\332A\004name" + - "\022\266\001\n\rUpdateAccount\0223.google.analytics.ad" + - "min.v1beta.UpdateAccountRequest\032&.google" + - ".analytics.admin.v1beta.Account\"H\202\323\344\223\002,2" + - "!/v1beta/{account.name=accounts/*}:\007acco" + - "unt\332A\023account,update_mask\022\311\001\n\026ProvisionA" + - "ccountTicket\022<.google.analytics.admin.v1" + - "beta.ProvisionAccountTicketRequest\032=.goo" + - "gle.analytics.admin.v1beta.ProvisionAcco" + - "untTicketResponse\"2\202\323\344\223\002,\"\'/v1beta/accou" + - "nts:provisionAccountTicket:\001*\022\261\001\n\024ListAc" + - "countSummaries\022:.google.analytics.admin." + - "v1beta.ListAccountSummariesRequest\032;.goo" + - "gle.analytics.admin.v1beta.ListAccountSu" + - "mmariesResponse\" \202\323\344\223\002\032\022\030/v1beta/account" + - "Summaries\022\225\001\n\013GetProperty\0221.google.analy" + - "tics.admin.v1beta.GetPropertyRequest\032\'.g" + - "oogle.analytics.admin.v1beta.Property\"*\202" + - "\323\344\223\002\035\022\033/v1beta/{name=properties/*}\332A\004nam" + - "e\022\231\001\n\016ListProperties\0224.google.analytics." + - "admin.v1beta.ListPropertiesRequest\0325.goo" + - "gle.analytics.admin.v1beta.ListPropertie" + - "sResponse\"\032\202\323\344\223\002\024\022\022/v1beta/properties\022\240\001" + - "\n\016CreateProperty\0224.google.analytics.admi" + - "n.v1beta.CreatePropertyRequest\032\'.google." + - "analytics.admin.v1beta.Property\"/\202\323\344\223\002\036\"" + - "\022/v1beta/properties:\010property\332A\010property" + - "\022\233\001\n\016DeleteProperty\0224.google.analytics.a" + - "dmin.v1beta.DeletePropertyRequest\032\'.goog" + - "le.analytics.admin.v1beta.Property\"*\202\323\344\223" + - "\002\035*\033/v1beta/{name=properties/*}\332A\004name\022\276" + - "\001\n\016UpdateProperty\0224.google.analytics.adm" + - "in.v1beta.UpdatePropertyRequest\032\'.google" + - ".analytics.admin.v1beta.Property\"M\202\323\344\223\0020" + - "2$/v1beta/{property.name=properties/*}:\010" + - "property\332A\024property,update_mask\022\326\001\n\022Crea" + - "teFirebaseLink\0228.google.analytics.admin." + - "v1beta.CreateFirebaseLinkRequest\032+.googl" + - "e.analytics.admin.v1beta.FirebaseLink\"Y\202" + - "\323\344\223\002<\"+/v1beta/{parent=properties/*}/fir" + - "ebaseLinks:\rfirebase_link\332A\024parent,fireb" + - "ase_link\022\242\001\n\022DeleteFirebaseLink\0228.google" + - ".analytics.admin.v1beta.DeleteFirebaseLi" + - "nkRequest\032\026.google.protobuf.Empty\":\202\323\344\223\002" + - "-*+/v1beta/{name=properties/*/firebaseLi" + - "nks/*}\332A\004name\022\304\001\n\021ListFirebaseLinks\0227.go" + - "ogle.analytics.admin.v1beta.ListFirebase" + - "LinksRequest\0328.google.analytics.admin.v1" + - "beta.ListFirebaseLinksResponse\"<\202\323\344\223\002-\022+" + - "/v1beta/{parent=properties/*}/firebaseLi" + - "nks\332A\006parent\022\336\001\n\023CreateGoogleAdsLink\0229.g" + - "oogle.analytics.admin.v1beta.CreateGoogl" + - "eAdsLinkRequest\032,.google.analytics.admin" + - ".v1beta.GoogleAdsLink\"^\202\323\344\223\002?\",/v1beta/{" + - "parent=properties/*}/googleAdsLinks:\017goo" + - "gle_ads_link\332A\026parent,google_ads_link\022\363\001" + - "\n\023UpdateGoogleAdsLink\0229.google.analytics" + - ".admin.v1beta.UpdateGoogleAdsLinkRequest" + - "\032,.google.analytics.admin.v1beta.GoogleA" + - "dsLink\"s\202\323\344\223\002O2.google.analytics.admin.v1" + - "beta.GetDataRetentionSettingsRequest\0324.g" + - "oogle.analytics.admin.v1beta.DataRetenti" + - "onSettings\"@\202\323\344\223\0023\0221/v1beta/{name=proper" + - "ties/*/dataRetentionSettings}\332A\004name\022\251\002\n" + - "\033UpdateDataRetentionSettings\022A.google.an" + - "alytics.admin.v1beta.UpdateDataRetention" + - "SettingsRequest\0324.google.analytics.admin" + - ".v1beta.DataRetentionSettings\"\220\001\202\323\344\223\002d2I" + - "/v1beta/{data_retention_settings.name=pr" + - "operties/*/dataRetentionSettings}:\027data_" + - "retention_settings\332A#data_retention_sett" + - "ings,update_mask\022\312\001\n\020CreateDataStream\0226." + - "google.analytics.admin.v1beta.CreateData" + - "StreamRequest\032).google.analytics.admin.v" + - "1beta.DataStream\"S\202\323\344\223\0028\")/v1beta/{paren" + - "t=properties/*}/dataStreams:\013data_stream" + - "\332A\022parent,data_stream\022\234\001\n\020DeleteDataStre" + - "am\0226.google.analytics.admin.v1beta.Delet" + - "eDataStreamRequest\032\026.google.protobuf.Emp" + - "ty\"8\202\323\344\223\002+*)/v1beta/{name=properties/*/d" + - "ataStreams/*}\332A\004name\022\333\001\n\020UpdateDataStrea" + - "m\0226.google.analytics.admin.v1beta.Update" + - "DataStreamRequest\032).google.analytics.adm" + - "in.v1beta.DataStream\"d\202\323\344\223\002D25/v1beta/{d" + - "ata_stream.name=properties/*/dataStreams" + - "/*}:\013data_stream\332A\027data_stream,update_ma" + - "sk\022\274\001\n\017ListDataStreams\0225.google.analytic" + - "s.admin.v1beta.ListDataStreamsRequest\0326." + - "google.analytics.admin.v1beta.ListDataSt" + - "reamsResponse\":\202\323\344\223\002+\022)/v1beta/{parent=p" + - "roperties/*}/dataStreams\332A\006parent\022\251\001\n\rGe" + - "tDataStream\0223.google.analytics.admin.v1b" + - "eta.GetDataStreamRequest\032).google.analyt" + - "ics.admin.v1beta.DataStream\"8\202\323\344\223\002+\022)/v1" + - "beta/{name=properties/*/dataStreams/*}\332A" + - "\004name\032\204\001\312A\035analyticsadmin.googleapis.com" + - "\322Aahttps://www.googleapis.com/auth/analy" + - "tics.edit,https://www.googleapis.com/aut" + - "h/analytics.readonlyB~\n!com.google.analy" + - "tics.admin.v1betaB\023AnalyticsAdminProtoP\001" + - "ZBgoogle.golang.org/genproto/googleapis/" + - "analytics/admin/v1beta;adminb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1beta_GetAccountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountsRequest_descriptor, - new java.lang.String[] { "PageSize", "PageToken", "ShowDeleted", }); - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountsResponse_descriptor, - new java.lang.String[] { "Accounts", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteAccountRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateAccountRequest_descriptor, - new java.lang.String[] { "Account", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketRequest_descriptor, - new java.lang.String[] { "Account", "RedirectUri", }); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ProvisionAccountTicketResponse_descriptor, - new java.lang.String[] { "AccountTicketId", }); - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetPropertyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListPropertiesRequest_descriptor, - new java.lang.String[] { "Filter", "PageSize", "PageToken", "ShowDeleted", }); - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListPropertiesResponse_descriptor, - new java.lang.String[] { "Properties", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdatePropertyRequest_descriptor, - new java.lang.String[] { "Property", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreatePropertyRequest_descriptor, - new java.lang.String[] { "Property", }); - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeletePropertyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateFirebaseLinkRequest_descriptor, - new java.lang.String[] { "Parent", "FirebaseLink", }); - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteFirebaseLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListFirebaseLinksResponse_descriptor, - new java.lang.String[] { "FirebaseLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { "Parent", "GoogleAdsLink", }); - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { "GoogleAdsLink", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteGoogleAdsLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListGoogleAdsLinksResponse_descriptor, - new java.lang.String[] { "GoogleAdsLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetDataSharingSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountSummariesRequest_descriptor, - new java.lang.String[] { "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListAccountSummariesResponse_descriptor, - new java.lang.String[] { "AccountSummaries", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionRequest_descriptor, - new java.lang.String[] { "Property", "Acknowledgement", }); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AcknowledgeUserDataCollectionResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsRequest_descriptor, - new java.lang.String[] { "Account", "Property", "ResourceType", "Action", "ActorEmail", "EarliestChangeTime", "LatestChangeTime", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_SearchChangeHistoryEventsResponse_descriptor, - new java.lang.String[] { "ChangeHistoryEvents", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "Parent", "MeasurementProtocolSecret", }); - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateMeasurementProtocolSecretRequest_descriptor, - new java.lang.String[] { "MeasurementProtocolSecret", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListMeasurementProtocolSecretsResponse_descriptor, - new java.lang.String[] { "MeasurementProtocolSecrets", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateConversionEventRequest_descriptor, - new java.lang.String[] { "ConversionEvent", "Parent", }); - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteConversionEventRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListConversionEventsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListConversionEventsResponse_descriptor, - new java.lang.String[] { "ConversionEvents", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateCustomDimensionRequest_descriptor, - new java.lang.String[] { "Parent", "CustomDimension", }); - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateCustomDimensionRequest_descriptor, - new java.lang.String[] { "CustomDimension", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomDimensionsResponse_descriptor, - new java.lang.String[] { "CustomDimensions", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ArchiveCustomDimensionRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetCustomDimensionRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateCustomMetricRequest_descriptor, - new java.lang.String[] { "Parent", "CustomMetric", }); - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateCustomMetricRequest_descriptor, - new java.lang.String[] { "CustomMetric", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomMetricsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListCustomMetricsResponse_descriptor, - new java.lang.String[] { "CustomMetrics", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ArchiveCustomMetricRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetCustomMetricRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetDataRetentionSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateDataRetentionSettingsRequest_descriptor, - new java.lang.String[] { "DataRetentionSettings", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CreateDataStreamRequest_descriptor, - new java.lang.String[] { "Parent", "DataStream", }); - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DeleteDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateDataStreamRequest_descriptor, - new java.lang.String[] { "DataStream", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListDataStreamsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ListDataStreamsResponse_descriptor, - new java.lang.String[] { "DataStreams", "NextPageToken", }); - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GetDataStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.analytics.admin.v1beta.ResourcesProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java deleted file mode 100644 index fa96da2f857f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface ArchiveCustomDimensionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to archive.
-   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java deleted file mode 100644 index 2057fe0da3b3..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ArchiveCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface ArchiveCustomMetricRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ArchiveCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to archive.
-   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java deleted file mode 100644 index 9e11ea6ed3f2..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateConversionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The conversion event to create.
-   * 
- * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the conversionEvent field is set. - */ - boolean hasConversionEvent(); - /** - *
-   * Required. The conversion event to create.
-   * 
- * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The conversionEvent. - */ - com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(); - /** - *
-   * Required. The conversion event to create.
-   * 
- * - * .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder(); - - /** - *
-   * 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) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * 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) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java deleted file mode 100644 index d24b60dcb03f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateCustomDimensionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomDimensionRequest) - 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 CustomDimension to create.
-   * 
- * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the customDimension field is set. - */ - boolean hasCustomDimension(); - /** - *
-   * Required. The CustomDimension to create.
-   * 
- * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The customDimension. - */ - com.google.analytics.admin.v1beta.CustomDimension getCustomDimension(); - /** - *
-   * Required. The CustomDimension to create.
-   * 
- * - * .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimensionOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java deleted file mode 100644 index 617aa3db8120..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateCustomMetricRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateCustomMetricRequest) - 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 CustomMetric to create.
-   * 
- * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the customMetric field is set. - */ - boolean hasCustomMetric(); - /** - *
-   * Required. The CustomMetric to create.
-   * 
- * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The customMetric. - */ - com.google.analytics.admin.v1beta.CustomMetric getCustomMetric(); - /** - *
-   * Required. The CustomMetric to create.
-   * 
- * - * .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java deleted file mode 100644 index 62f65fa742ce..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateDataStreamRequest) - 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 DataStream to create.
-   * 
- * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the dataStream field is set. - */ - boolean hasDataStream(); - /** - *
-   * Required. The DataStream to create.
-   * 
- * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The dataStream. - */ - com.google.analytics.admin.v1beta.DataStream getDataStream(); - /** - *
-   * Required. The DataStream to create.
-   * 
- * - * .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index 1639b9b77ea5..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateFirebaseLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. 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. 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(); - - /** - *
-   * Required. The Firebase link to create.
-   * 
- * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the firebaseLink field is set. - */ - boolean hasFirebaseLink(); - /** - *
-   * Required. The Firebase link to create.
-   * 
- * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The firebaseLink. - */ - com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink(); - /** - *
-   * Required. The Firebase link to create.
-   * 
- * - * .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 840a0f30b0b2..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateGoogleAdsLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest) - 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 GoogleAdsLink to create.
-   * 
- * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the googleAdsLink field is set. - */ - boolean hasGoogleAdsLink(); - /** - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The googleAdsLink. - */ - com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink(); - /** - *
-   * Required. The GoogleAdsLink to create.
-   * 
- * - * .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index c2202d8c206a..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreateMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreateMeasurementProtocolSecretRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource where this secret will be created.
-   * Format: properties/{property}/dataStreams/{dataStream}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the measurementProtocolSecret field is set. - */ - boolean hasMeasurementProtocolSecret(); - /** - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The measurementProtocolSecret. - */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecret getMeasurementProtocolSecret(); - /** - *
-   * Required. The measurement protocol secret to create.
-   * 
- * - * .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java deleted file mode 100644 index 8ab88dcabcfe..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/CreatePropertyRequestOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface CreatePropertyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.CreatePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the property field is set. - */ - boolean hasProperty(); - /** - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The property. - */ - com.google.analytics.admin.v1beta.Property getProperty(); - /** - *
-   * Required. The property to create.
-   * Note: the supplied property must specify its parent.
-   * 
- * - * .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java deleted file mode 100644 index 20cfff233a21..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteAccountRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteAccountRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Account to soft-delete.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java deleted file mode 100644 index f7e750ef6920..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteConversionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the conversion event to delete.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java deleted file mode 100644 index c7ffb2703cce..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DataStream to delete.
-   * Example format: properties/1234/dataStreams/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 DataStream to delete.
-   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java deleted file mode 100644 index 3b8cd011092e..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteFirebaseLinkRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteFirebaseLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteFirebaseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id}
-   * Example: properties/1234/firebaseLinks/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java deleted file mode 100644 index 1ffcbfad88eb..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteGoogleAdsLinkRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteGoogleAdsLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: properties/1234/googleAdsLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index 2477b686f2f7..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeleteMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeleteMeasurementProtocolSecretRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the MeasurementProtocolSecret to delete.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java deleted file mode 100644 index eaa84c19360c..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/DeletePropertyRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface DeletePropertyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.DeletePropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Property to soft-delete.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java deleted file mode 100644 index 76dec26c5de2..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetAccountRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetAccountRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetAccountRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the account to lookup.
-   * Format: accounts/{account}
-   * Example: "accounts/100"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java deleted file mode 100644 index 0ca49b0a771f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetConversionEventRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetConversionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetConversionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/456"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the conversion event to retrieve.
-   * Format: properties/{property}/conversionEvents/{conversion_event}
-   * Example: "properties/123/conversionEvents/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java deleted file mode 100644 index 94a2ac02e74d..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomDimensionRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetCustomDimensionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomDimensionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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 CustomDimension to get.
-   * Example format: properties/1234/customDimensions/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java deleted file mode 100644 index 5e3f96e3e8dd..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetCustomMetricRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetCustomMetricRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetCustomMetricRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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 CustomMetric to get.
-   * Example format: properties/1234/customMetrics/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java deleted file mode 100644 index 1b84faa01607..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataRetentionSettingsRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetDataRetentionSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataRetentionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataRetentionSettings
-   * Example: "properties/1000/dataRetentionSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java deleted file mode 100644 index 41e1d9655ece..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataSharingSettingsRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetDataSharingSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataSharingSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the settings to lookup.
-   * Format: accounts/{account}/dataSharingSettings
-   * Example: "accounts/1000/dataSharingSettings"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java deleted file mode 100644 index 7aeee8b2ff0f..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetDataStreamRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetDataStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetDataStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DataStream to get.
-   * Example format: properties/1234/dataStreams/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 DataStream to get.
-   * Example format: properties/1234/dataStreams/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/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java deleted file mode 100644 index 29a992dbe343..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetMeasurementProtocolSecretRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetMeasurementProtocolSecretRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the measurement protocol secret to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java deleted file mode 100644 index 24140fc992d3..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/GetPropertyRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface GetPropertyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.GetPropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the property to lookup.
-   * Format: properties/{property_id}
-   * Example: "properties/1000"
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java deleted file mode 100644 index a36b49d849a6..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ProvisionAccountTicketResponseOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/analytics_admin.proto - -package com.google.analytics.admin.v1beta; - -public interface ProvisionAccountTicketResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ProvisionAccountTicketResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * @return The accountTicketId. - */ - java.lang.String getAccountTicketId(); - /** - *
-   * The param to be passed in the ToS link.
-   * 
- * - * string account_ticket_id = 1; - * @return The bytes for accountTicketId. - */ - com.google.protobuf.ByteString - getAccountTicketIdBytes(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java deleted file mode 100644 index 6df050befa39..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java +++ /dev/null @@ -1,473 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/resources.proto - -package com.google.analytics.admin.v1beta; - -public final class ResourcesProto { - private ResourcesProto() {} - 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_v1beta_Account_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_Property_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/analytics/admin/v1beta/resource" + - "s.proto\022\035google.analytics.admin.v1beta\032\037" + - "google/api/field_behavior.proto\032\031google/" + - "api/resource.proto\032\037google/protobuf/time" + - "stamp.proto\032\036google/protobuf/wrappers.pr" + - "oto\"\216\002\n\007Account\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cr" + - "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" + - "rotobuf.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\007delete" + - "d\030\006 \001(\010B\003\340A\003:>\352A;\n%analyticsadmin.google" + - "apis.com/Account\022\022accounts/{account}\"\266\005\n" + - "\010Property\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\rproperty" + - "_type\030\016 \001(\0162+.google.analytics.admin.v1b" + - "eta.PropertyTypeB\003\340A\005\0224\n\013create_time\030\003 \001" + - "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + - "pdate_time\030\004 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\022\023\n\006parent\030\002 \001(\tB\003\340A\005\022\031\n\014displa" + - "y_name\030\005 \001(\tB\003\340A\002\022J\n\021industry_category\030\006" + - " \001(\0162/.google.analytics.admin.v1beta.Ind" + - "ustryCategory\022\026\n\ttime_zone\030\007 \001(\tB\003\340A\002\022\025\n" + - "\rcurrency_code\030\010 \001(\t\022G\n\rservice_level\030\n " + - "\001(\0162+.google.analytics.admin.v1beta.Serv" + - "iceLevelB\003\340A\003\0224\n\013delete_time\030\013 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\003\0224\n\013expire_ti" + - "me\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\003\022>\n\007account\030\r \001(\tB-\340A\005\372A\'\n%analyticsadm" + - "in.googleapis.com/Account:B\352A?\n&analytic" + - "sadmin.googleapis.com/Property\022\025properti" + - "es/{property}\"\365\007\n\nDataStream\022R\n\017web_stre" + - "am_data\030\006 \001(\01327.google.analytics.admin.v" + - "1beta.DataStream.WebStreamDataH\000\022a\n\027andr" + - "oid_app_stream_data\030\007 \001(\0132>.google.analy" + - "tics.admin.v1beta.DataStream.AndroidAppS" + - "treamDataH\000\022Y\n\023ios_app_stream_data\030\010 \001(\013" + - "2:.google.analytics.admin.v1beta.DataStr" + - "eam.IosAppStreamDataH\000\022\021\n\004name\030\001 \001(\tB\003\340A" + - "\003\022N\n\004type\030\002 \001(\01628.google.analytics.admin" + - ".v1beta.DataStream.DataStreamTypeB\006\340A\005\340A" + - "\002\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_time\030\004" + - " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + - "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\032d\n\rWebStreamData\022\033\n\016measurem" + - "ent_id\030\001 \001(\tB\003\340A\003\022\034\n\017firebase_app_id\030\002 \001" + - "(\tB\003\340A\003\022\030\n\013default_uri\030\003 \001(\tB\003\340A\005\032O\n\024And" + - "roidAppStreamData\022\034\n\017firebase_app_id\030\001 \001" + - "(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\005\032K\n\020Io" + - "sAppStreamData\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\016DataS" + - "treamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFIE" + - "D\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(analyticsadmin.googleapis.com/DataS" + - "tream\022/properties/{property}/dataStreams" + - "/{data_stream}B\r\n\013stream_data\"\323\001\n\014Fireba" + - "seLink\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_time\030\003 \001(\0132\032.google.pr" + - "otobuf.TimestampB\003\340A\003:d\352Aa\n*analyticsadm" + - "in.googleapis.com/FirebaseLink\0223properti" + - "es/{property}/firebaseLinks/{firebase_li" + - "nk}\"\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\033ads_personalizati" + - "on_enabled\030\005 \001(\0132\032.google.protobuf.BoolV" + - "alue\0224\n\013create_time\030\007 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\022\"\n\025crea" + - "tor_email_address\030\t \001(\tB\003\340A\003:h\352Ae\n+analy" + - "ticsadmin.googleapis.com/GoogleAdsLink\0226" + - "properties/{property}/googleAdsLinks/{go" + - "ogle_ads_link}\"\353\002\n\023DataSharingSettings\022\021" + - "\n\004name\030\001 \001(\tB\003\340A\003\022+\n#sharing_with_google" + - "_support_enabled\030\002 \001(\010\0222\n*sharing_with_g" + - "oogle_assigned_sales_enabled\030\003 \001(\010\022-\n%sh" + - "aring_with_google_any_sales_enabled\030\004 \001(" + - "\010\022,\n$sharing_with_google_products_enable" + - "d\030\005 \001(\010\022#\n\033sharing_with_others_enabled\030\006" + - " \001(\010:^\352A[\n1analyticsadmin.googleapis.com" + - "/DataSharingSettings\022&accounts/{account}" + - "/dataSharingSettings\"\224\002\n\016AccountSummary\022" + - "\014\n\004name\030\001 \001(\t\022;\n\007account\030\002 \001(\tB*\372A\'\n%ana" + - "lyticsadmin.googleapis.com/Account\022\024\n\014di" + - "splay_name\030\003 \001(\t\022J\n\022property_summaries\030\004" + - " \003(\0132..google.analytics.admin.v1beta.Pro" + - "pertySummary:U\352AR\n,analyticsadmin.google" + - "apis.com/AccountSummary\022\"accountSummarie" + - "s/{account_summary}\"\272\001\n\017PropertySummary\022" + - "=\n\010property\030\001 \001(\tB+\372A(\n&analyticsadmin.g" + - "oogleapis.com/Property\022\024\n\014display_name\030\002" + - " \001(\t\022B\n\rproperty_type\030\003 \001(\0162+.google.ana" + - "lytics.admin.v1beta.PropertyType\022\016\n\006pare" + - "nt\030\004 \001(\t\"\216\002\n\031MeasurementProtocolSecret\022\021" + - "\n\004name\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\n7" + - "analyticsadmin.googleapis.com/Measuremen" + - "tProtocolSecret\022hproperties/{property}/d" + - "ataStreams/{data_stream}/measurementProt" + - "ocolSecrets/{measurement_protocol_secret" + - "}\"\210\002\n\022ChangeHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013" + - "change_time\030\002 \001(\0132\032.google.protobuf.Time" + - "stamp\022<\n\nactor_type\030\003 \001(\0162(.google.analy" + - "tics.admin.v1beta.ActorType\022\030\n\020user_acto" + - "r_email\030\004 \001(\t\022\030\n\020changes_filtered\030\005 \001(\010\022" + - "C\n\007changes\030\006 \003(\01322.google.analytics.admi" + - "n.v1beta.ChangeHistoryChange\"\252\007\n\023ChangeH" + - "istoryChange\022\020\n\010resource\030\001 \001(\t\0229\n\006action" + - "\030\002 \001(\0162).google.analytics.admin.v1beta.A" + - "ctionType\022h\n\026resource_before_change\030\003 \001(" + - "\0132H.google.analytics.admin.v1beta.Change" + - "HistoryChange.ChangeHistoryResource\022g\n\025r" + - "esource_after_change\030\004 \001(\0132H.google.anal" + - "ytics.admin.v1beta.ChangeHistoryChange.C" + - "hangeHistoryResource\032\362\004\n\025ChangeHistoryRe" + - "source\0229\n\007account\030\001 \001(\0132&.google.analyti" + - "cs.admin.v1beta.AccountH\000\022;\n\010property\030\002 " + - "\001(\0132\'.google.analytics.admin.v1beta.Prop" + - "ertyH\000\022D\n\rfirebase_link\030\006 \001(\0132+.google.a" + - "nalytics.admin.v1beta.FirebaseLinkH\000\022G\n\017" + - "google_ads_link\030\007 \001(\0132,.google.analytics" + - ".admin.v1beta.GoogleAdsLinkH\000\022J\n\020convers" + - "ion_event\030\013 \001(\0132..google.analytics.admin" + - ".v1beta.ConversionEventH\000\022_\n\033measurement" + - "_protocol_secret\030\014 \001(\01328.google.analytic" + - "s.admin.v1beta.MeasurementProtocolSecret" + - "H\000\022W\n\027data_retention_settings\030\017 \001(\01324.go" + - "ogle.analytics.admin.v1beta.DataRetentio" + - "nSettingsH\000\022@\n\013data_stream\030\022 \001(\0132).googl" + - "e.analytics.admin.v1beta.DataStreamH\000B\n\n" + - "\010resource\"\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\013cre" + - "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\022\026\n\tdeletable\030\004 \001(\010B\003\340A\003\022\023\n\006custo" + - "m\030\005 \001(\010B\003\340A\003:m\352Aj\n-analyticsadmin.google" + - "apis.com/ConversionEvent\0229properties/{pr" + - "operty}/conversionEvents/{conversion_eve" + - "nt}\"\261\003\n\017CustomDimension\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\022T\n\005scope\030\005 \001(\0162=.google.analytic" + - "s.admin.v1beta.CustomDimension.Dimension" + - "ScopeB\006\340A\002\340A\005\022)\n\034disallow_ads_personaliz" + - "ation\030\006 \001(\010B\003\340A\001\"F\n\016DimensionScope\022\037\n\033DI" + - "MENSION_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010" + - "\n\004USER\020\002:m\352Aj\n-analyticsadmin.googleapis" + - ".com/CustomDimension\0229properties/{proper" + - "ty}/customDimensions/{custom_dimension}\"" + - "\302\006\n\014CustomMetric\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\036\n\016p" + - "arameter_name\030\002 \001(\tB\006\340A\002\340A\005\022\031\n\014display_n" + - "ame\030\003 \001(\tB\003\340A\002\022\030\n\013description\030\004 \001(\tB\003\340A\001" + - "\022Z\n\020measurement_unit\030\005 \001(\0162;.google.anal" + - "ytics.admin.v1beta.CustomMetric.Measurem" + - "entUnitB\003\340A\002\022N\n\005scope\030\006 \001(\01627.google.ana" + - "lytics.admin.v1beta.CustomMetric.MetricS" + - "copeB\006\340A\002\340A\005\022e\n\026restricted_metric_type\030\010" + - " \003(\0162@.google.analytics.admin.v1beta.Cus" + - "tomMetric.RestrictedMetricTypeB\003\340A\001\"\267\001\n\017" + - "MeasurementUnit\022 \n\034MEASUREMENT_UNIT_UNSP" + - "ECIFIED\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\005M" + - "ILES\020\006\022\020\n\014MILLISECONDS\020\007\022\013\n\007SECONDS\020\010\022\013\n" + - "\007MINUTES\020\t\022\t\n\005HOURS\020\n\"6\n\013MetricScope\022\034\n\030" + - "METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_\n" + - "\024RestrictedMetricType\022&\n\"RESTRICTED_METR" + - "IC_TYPE_UNSPECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n\014" + - "REVENUE_DATA\020\002:d\352Aa\n*analyticsadmin.goog" + - "leapis.com/CustomMetric\0223properties/{pro" + - "perty}/customMetrics/{custom_metric}\"\301\003\n" + - "\025DataRetentionSettings\022\021\n\004name\030\001 \001(\tB\003\340A" + - "\003\022d\n\024event_data_retention\030\002 \001(\0162F.google" + - ".analytics.admin.v1beta.DataRetentionSet" + - "tings.RetentionDuration\022\'\n\037reset_user_da" + - "ta_on_new_activity\030\003 \001(\010\"\236\001\n\021RetentionDu" + - "ration\022\"\n\036RETENTION_DURATION_UNSPECIFIED" + - "\020\000\022\016\n\nTWO_MONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022" + - "\025\n\021TWENTY_SIX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_M" + - "ONTHS\020\005\022\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analytic" + - "sadmin.googleapis.com/DataRetentionSetti" + - "ngs\022+properties/{property}/dataRetention" + - "Settings*\252\004\n\020IndustryCategory\022!\n\035INDUSTR" + - "Y_CATEGORY_UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001" + - "\022#\n\037BUSINESS_AND_INDUSTRIAL_MARKETS\020\002\022\013\n" + - "\007FINANCE\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\nTECHNOLOGY" + - "\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_EN" + - "TERTAINMENT\020\010\022\026\n\022BEAUTY_AND_FITNESS\020\t\022\030\n" + - "\024BOOKS_AND_LITERATURE\020\n\022\022\n\016FOOD_AND_DRIN" + - "K\020\013\022\t\n\005GAMES\020\014\022\027\n\023HOBBIES_AND_LEISURE\020\r\022" + - "\023\n\017HOME_AND_GARDEN\020\016\022\030\n\024INTERNET_AND_TEL" + - "ECOM\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\022PEOPLE_AND_S" + - "OCIETY\020\023\022\024\n\020PETS_AND_ANIMALS\020\024\022\017\n\013REAL_E" + - "STATE\020\025\022\r\n\tREFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006S" + - "PORTS\020\030\022\026\n\022JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPP" + - "ING\020\032*f\n\014ServiceLevel\022\035\n\031SERVICE_LEVEL_U" + - "NSPECIFIED\020\000\022\035\n\031GOOGLE_ANALYTICS_STANDAR" + - "D\020\001\022\030\n\024GOOGLE_ANALYTICS_360\020\002*J\n\tActorTy" + - "pe\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\nActionType\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*\377\002\n\031ChangeHi" + - "storyResourceType\022,\n(CHANGE_HISTORY_RESO" + - "URCE_TYPE_UNSPECIFIED\020\000\022\013\n\007ACCOUNT\020\001\022\014\n\010" + - "PROPERTY\020\002\022\021\n\rFIREBASE_LINK\020\006\022\023\n\017GOOGLE_" + - "ADS_LINK\020\007\022\033\n\027GOOGLE_SIGNALS_SETTINGS\020\010\022" + - "\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEASUREMENT_PRO" + - "TOCOL_SECRET\020\n\022\033\n\027DATA_RETENTION_SETTING" + - "S\020\r\022%\n!DISPLAY_VIDEO_360_ADVERTISER_LINK" + - "\020\016\022.\n*DISPLAY_VIDEO_360_ADVERTISER_LINK_" + - "PROPOSAL\020\017\022\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTI" + - "ON_SETTINGS\020\024*\202\001\n\014PropertyType\022\035\n\031PROPER" + - "TY_TYPE_UNSPECIFIED\020\000\022\032\n\026PROPERTY_TYPE_O" + - "RDINARY\020\001\022\035\n\031PROPERTY_TYPE_SUBPROPERTY\020\002" + - "\022\030\n\024PROPERTY_TYPE_ROLLUP\020\003By\n!com.google" + - ".analytics.admin.v1betaB\016ResourcesProtoP" + - "\001ZBgoogle.golang.org/genproto/googleapis" + - "/analytics/admin/v1beta;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(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_analytics_admin_v1beta_Account_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1beta_Account_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_Account_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "DisplayName", "RegionCode", "Deleted", }); - internal_static_google_analytics_admin_v1beta_Property_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1beta_Property_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_Property_descriptor, - new java.lang.String[] { "Name", "PropertyType", "CreateTime", "UpdateTime", "Parent", "DisplayName", "IndustryCategory", "TimeZone", "CurrencyCode", "ServiceLevel", "DeleteTime", "ExpireTime", "Account", }); - internal_static_google_analytics_admin_v1beta_DataStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1beta_DataStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_descriptor, - new java.lang.String[] { "WebStreamData", "AndroidAppStreamData", "IosAppStreamData", "Name", "Type", "DisplayName", "CreateTime", "UpdateTime", "StreamData", }); - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor = - internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_WebStreamData_descriptor, - new java.lang.String[] { "MeasurementId", "FirebaseAppId", "DefaultUri", }); - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor = - internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_AndroidAppStreamData_descriptor, - new java.lang.String[] { "FirebaseAppId", "PackageName", }); - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor = - internal_static_google_analytics_admin_v1beta_DataStream_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataStream_IosAppStreamData_descriptor, - new java.lang.String[] { "FirebaseAppId", "BundleId", }); - internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1beta_FirebaseLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_FirebaseLink_descriptor, - new java.lang.String[] { "Name", "Project", "CreateTime", }); - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_GoogleAdsLink_descriptor, - new java.lang.String[] { "Name", "CustomerId", "CanManageClients", "AdsPersonalizationEnabled", "CreateTime", "UpdateTime", "CreatorEmailAddress", }); - internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1beta_DataSharingSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataSharingSettings_descriptor, - new java.lang.String[] { "Name", "SharingWithGoogleSupportEnabled", "SharingWithGoogleAssignedSalesEnabled", "SharingWithGoogleAnySalesEnabled", "SharingWithGoogleProductsEnabled", "SharingWithOthersEnabled", }); - internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1beta_AccountSummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccountSummary_descriptor, - new java.lang.String[] { "Name", "Account", "DisplayName", "PropertySummaries", }); - internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1beta_PropertySummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_PropertySummary_descriptor, - new java.lang.String[] { "Property", "DisplayName", "PropertyType", "Parent", }); - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_MeasurementProtocolSecret_descriptor, - new java.lang.String[] { "Name", "DisplayName", "SecretValue", }); - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ChangeHistoryEvent_descriptor, - new java.lang.String[] { "Id", "ChangeTime", "ActorType", "UserActorEmail", "ChangesFiltered", "Changes", }); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor, - new java.lang.String[] { "Resource", "Action", "ResourceBeforeChange", "ResourceAfterChange", }); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor = - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ChangeHistoryChange_ChangeHistoryResource_descriptor, - new java.lang.String[] { "Account", "Property", "FirebaseLink", "GoogleAdsLink", "ConversionEvent", "MeasurementProtocolSecret", "DataRetentionSettings", "DataStream", "Resource", }); - internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1beta_ConversionEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_ConversionEvent_descriptor, - new java.lang.String[] { "Name", "EventName", "CreateTime", "Deletable", "Custom", }); - internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1beta_CustomDimension_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CustomDimension_descriptor, - new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "Scope", "DisallowAdsPersonalization", }); - internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1beta_CustomMetric_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_CustomMetric_descriptor, - new java.lang.String[] { "Name", "ParameterName", "DisplayName", "Description", "MeasurementUnit", "Scope", "RestrictedMetricType", }); - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_DataRetentionSettings_descriptor, - new java.lang.String[] { "Name", "EventDataRetention", "ResetUserDataOnNewActivity", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}